arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.02841cs.AIcs.CLcs.LG
收藏

StepHint:多层级逐步提示增强强化学习推理能力

StepHint: Multi-level Stepwise Hints Enhance Reinforcement Learning to Reason

GSAI, Renmin University of China(清华大学);Peking University(北京大学);Ant Group(蚂蚁集团);SCS, Wuhan University(武汉大学)

Kaiyi Zhang, Ang Lv, Jinpeng Li, Yongbo Wang, Feng Wang, Haoyuan Hu, Rui Yan

AI总结:

针对RLVR中近失奖励与探索停滞问题,提出StepHint算法,通过多层级逐步提示引导模型探索解空间,在六个数学基准上取得更优性能与泛化能力。

摘要:

带可验证奖励的强化学习(RLVR)是提升大语言模型(LLMs)复杂推理能力的一种有前景的方法。然而,当前的RLVR方法面临两大挑战:近失奖励问题,即一个小错误会使原本正确的推理过程失效,严重阻碍训练效率;以及探索停滞问题,即模型倾向于聚焦其“舒适区”内的解,缺乏探索潜在更有效替代方案的动机。为解决这些挑战,我们提出StepHint,一种新颖的RLVR算法,利用多层级逐步提示帮助模型更有效地探索解空间。StepHint从更强的模型生成有效推理链,并使用我们提出的自适应划分方法将这些推理链划分为推理步骤。最初几步被用作提示,同时向模型提供多层级提示(每个层级包含不同数量的步骤)。该方法将模型的探索引导至有前景的解子空间,同时保留其独立探索的灵活性。通过提供提示,StepHint缓解了近失奖励问题,从而提升训练效率。此外,外部推理路径帮助模型发展更好的推理能力,使其能够超越“舒适区”并缓解探索停滞。StepHint在六个数学基准上优于竞争性的RLVR增强方法,同时展现出更优的泛化能力,并在域外基准上超越基线方法。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR) is a promising approach for improving the complex reasoning abilities of large language models (LLMs). However, current RLVR methods face two significant challenges: the near-miss reward problem, where a small mistake can invalidate an otherwise correct reasoning process, greatly hindering training efficiency; and exploration stagnation, where models tend to focus on solutions within their ``comfort zone,'' lacking the motivation to explore potentially more effective alternatives. To address these challenges, we propose StepHint, a novel RLVR algorithm that utilizes multi-level stepwise hints to help models explore the solution space more effectively. StepHint generates valid reasoning chains from stronger models and partitions these chains into reasoning steps using our proposed adaptive partitioning method. The initial few steps are used as hints, and simultaneously, multiple-level hints (each comprising a different number of steps) are provided to the model. This approach directs the model's exploration toward a promising solution subspace while preserving its flexibility for independent exploration. By providing hints, StepHint mitigates the near-miss reward problem, thereby improving training efficiency. Additionally, the external reasoning pathways help the model develop better reasoning abilities, enabling it to move beyond its ``comfort zone'' and mitigate exploration stagnation. StepHint outperforms competitive RLVR enhancement methods across six mathematical benchmarks, while also demonstrating superior generalization and excelling over baselines on out-of-domain benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑