LongR: 通过密集效用奖励的强化学习解锁长上下文推理
LongR: Unleashing Long-Context Reasoning via Reinforcement Learning with Dense Utility Rewards
AI总结:
LongR通过整合动态'思考与阅读'机制和上下文密度奖励,提升长上下文推理性能,在多个基准测试中取得显著成效。
摘要:
强化学习已成为推动大语言模型(LLM)推理能力的关键驱动力。这种能力在长上下文场景中同样至关重要——例如长对话理解和结构化数据分析,其中挑战不仅限于处理令牌,还涉及严谨的推理。尽管现有研究主要集中在数据合成或架构改变上,但近期工作指出,仅依赖稀疏的、仅结果的奖励信号收益有限,因为此类粗略信号往往不足以有效引导复杂的长上下文推理。为此,我们提出了LongR,一个统一的框架,通过整合动态的
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。