NTH

LongCapHarness: Capability-Guided Auto-Harnessing for Long-Context Reasoning

AuthorsTao Zhang, Yuhang He

AffiliationsMicrosoft Research Asia

November 22, 2026 2 min read
Watch on YouTube
The one-line take

LongCapHarness aims to improve long-context reasoning by refining how an LLM uses its existing capabilities rather than training it on more data.

Key results

79.32
Llama 3-8B HELMET/RULER aggregate score

LongCapHarness result.

78.73
Qwen2.5-3B HELMET/RULER aggregate score

LongCapHarness result after harness transfer.

100.00
Recall score

Achieved by both execution models.

94.62
Llama 3-8B RULER score

LongCapHarness result.

34.47
LongBench-v2 Medium score

Qwen2.5-3B; exceeds PolicyLong.

541.47
Development cost

Estimated dollars, compared with 3696.00 dollars for NExtLong training.

What the paper found

LongCapHarness takes a different route to long-context reasoning: instead of synthesizing training data or post-training a model, it uses recursive self-improvement to build reusable workflows from capability primitives, such as evidence retrieval, relevance judgment, and ordering. The harnessing agent, GPT-5.6-Sol from OpenAI, revises primitive implementations, shared state, and control logic against reference answers; execution uses Llama 3-8B from Meta, and the resulting harnesses transfer to Qwen2.5-3B. On HELMET and RULER, the aggregate scores are 79.32 for Llama 3-8B and 78.73 for Qwen2.5-3B; both models reach 100.00 on Recall, while Llama 3-8B scores 94.62 on RULER. The approach also scores 34.47 on LongBench-v2’s Medium subset, above PolicyLong, but 27.85 on its Long subset, below PolicyLong. Estimated development cost is 541.47 dollars, compared with 3696.00 dollars for NExtLong training. The results suggest that explicitly structuring task operations can unlock models’ latent long-context capabilities, though semantic reasoning still depends on the execution model.

Original abstract

Existing methods enhancing an LLM's long-context reasoning capability often rely on data synthesis and follow-up LLM post-training. However, the data synthesis strategy and the post-training recipes are empirically driven and computationally intensive. In this work, we propose a new framework, dubbed LongCapHarness, to instead harness the underlying capabilities for long-context reasoning. The harnessing process recursively revises and updates capability primitive implementation, capability state and control logic through recursive self-improvement on the development set. With neither data synthesis nor LLM post-training, LongCapHarness is applied to Llama3-8B and transferred to Qwen2.5-3B. LongCapHarness substantially outperforms recent data-synthesis-based baselines on HELMET and RULER benchmarks; its estimated development cost is less than 50% of the estimated training costs of NExtLong and PolicyLong. We hope these results motivate further research into harnessing the latent capabilities of LLMs to solve tasks beyond their explicit training.

Read the original paper

More in AI Reasoning

Browse all 54 papers →
03Reasoning

Scaling Lean Theorem Proving for Real-World Code Verification

Debargha Ganguly, Divya Raghunathan, Dejan Jovanović, Vikash Singh, Soonho Kong, Aaron Tomb, Aman Goel, Ferhat Erata, Sam Bayless

EasyProver tackles Lean proofs at scale and introduces harder verification challenges grounded in real Rust code.

Read analysis