Think Longer to Explore Deeper: Learn to Explore In-Context via Length-Incentivized Reinforcement Learning

Futing Wang, Jianhao Yan, Yun Luo, Ganqu Cui, Zhi Wang +4 more
2/12/2026
cs.CL

No official code found. Best implementation: LINs-lab/LIE (19 stars, last commit 2026-02-18).

Abstract

Achieving effective test-time scaling requires models to engage in In-Context Exploration -- the intrinsic ability to generate, verify, and refine multiple reasoning hypotheses within a single continuous context. Grounded in State Coverage theory, our analysis identifies a critical bottleneck to enabling this capability: while broader state coverage requires longer reasoning trajectories, the probability of sampling such sequences decays exponentially during autoregressive generation, a phenomenon we term the ``Shallow Exploration Trap''. To bridge this gap, we propose Length-Incentivized Exploration(\method). This simple yet effective recipe explicitly encourages models to explore more via a length-based reward coupled with a redundancy penalty, thereby maximizing state coverage in two-step manner. Comprehensive experiments across different models (Qwen3, Llama) demonstrate that \method effectively incentivize in-context exploration. As a result, our method achieves an average improvement of 4.4\% on in-domain tasks and a 2.7\% gain on out-of-domain benchmarks.

View on arXivView PDF

Code Implementations(1)

LINs-lab/LIECommunity73%

[preprint] Think Longer to Explore Deeper: Learn to Explore In-Context via Length-Incentivized Reinforcement Learning

191Shell, PythonFeb 10, 20268 months ago

Similar Papers

Cite this paper

@article{wang2026think,
  title  = {Think Longer to Explore Deeper: Learn to Explore In-Context via Length-Incentivized Reinforcement Learning},
  author = {Futing Wang and Jianhao Yan and Yun Luo and Ganqu Cui and Zhi Wang and Xiaoye Qu and Yue Zhang and Yu Cheng and Tao Lin},
  year   = {2026},
  eprint = {2602.11748},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.11748v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.11748.svg)](https://codeofpaper.com/paper/2602.11748)

Discussion