Papers
arxiv:2602.05758

LongR: Unleashing Long-Context Reasoning via Reinforcement Learning with Dense Utility Rewards

Published on Oct 12
Ā· Submitted by
Qize Yu
on Oct 14
Authors:
,
,
,
,
,
,
,

Abstract

LongR improves long-context reasoning by combining interleaved document consultation with a contextual density reward, achieving substantial gains across benchmarks and reinforcement learning algorithms.

Reinforcement Learning (RL) has emerged as a key driver for LLM reasoning. This capability is equally pivotal in long-context scenarios---such as long-dialogue understanding and structured data analysis---where the challenge extends beyond consuming tokens to performing rigorous deduction. While existing efforts focus on data synthesis or architectural changes, recent work points out that relying solely on sparse, outcome-only rewards yields limited gains, as such coarse signals are often insufficient to effectively guide the complex long-context reasoning. To address this, we propose LongR, a unified framework that enhances long-context performance by integrating a dynamic ``Think-and-Read'' mechanism---which interleaves reasoning with document consultation---with a contextual density reward based on relative information gain to quantify the utility of the relevant documents, without evidence annotations. Empirically, LongR achieves a gain of over 9\% on LongBench v2 and consistent improvements on RULER and InfiniteBench, demonstrating robust efficiency in navigating extensive contexts. Furthermore, LongR consistently enhances performance across diverse RL algorithms (e.g., DAPO, GSPO). Finally, we conduct in-depth analyses to investigate the impact of reasoning chain length on efficiency and the model's robustness against distractors.

Community

Paper author Paper submitter

🧠 Long context ≠ effective reasoning. We introduce LongR, an RL framework that teaches LLMs to ā€œThink-and-Readā€ā€”interleaving reasoning with document consultation, guided by more than just final-answer correctness. Our key idea is a dense contextual reward based on relative information gain, encouraging models to extract informative, document-grounded evidence without evidence annotations or rigid document chunking. A progressive curriculum helps this behavior emerge through RL, without handcrafted long-context reasoning demonstrations. arXiv šŸ“ˆ On LongBench v2, LongR improves Qwen3-4B by 9.79 percentage points over SFT and 5.03 points over outcome-only DAPO, alongside improvements on RULER and InfiniteBench. The takeaway: better long-context reasoning is not just about processing more tokens—it is about learning to use the evidence within them. arXiv We’d love to hear your thoughts! šŸš€

This is an automated message from the Librarian Bot. I found the following papers similar to this paper.

The following papers were recommended by the Semantic Scholar API

Please give a thumbs up to this comment if you found it helpful!

If you want recommendations for any Paper on Hugging Face checkout this Space

You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2602.05758
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2602.05758 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2602.05758 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2602.05758 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.