LongCapHarness: Capability-Guided Auto-Harnessing for Long-Context Reasoning
AuthorsTao Zhang, Yuhang He
AffiliationsMicrosoft Research Asia
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
LongCapHarness result.
LongCapHarness result after harness transfer.
Achieved by both execution models.
LongCapHarness result.
Qwen2.5-3B; exceeds PolicyLong.
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 paperMore in AI Reasoning
Browse all 54 papers →LeanDojo-v2: A Comprehensive Library for AI-Assisted Theorem Proving in Lean
Ryan Hsiang, William Adkisson, Robert Joseph George, Anima Anandkumar
LeanDojo-v2 brings Lean-based AI theorem proving into one toolkit, making it easier to train models and explore proofs.
Learning Evidence-Grounded Reasoning for Context-Aware Time Series Forecasting
Xingpeng Gao, Mingyue Cheng, Daoyu Wang, Huajian Zhang, Xiaoyu Tao
CastReasoner teaches language models to identify useful contextual evidence and use it to improve time-series forecasts.
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.