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

H$^2$R:基于分层提示的强化学习数学推理奖励框架

H$^2$R: Hierarchical Hint-Based Reward for Mathematical Reasoning via Reinforcement Learning

New York University Shanghai(上海纽约大学)

He Tu, Siye Li, Hongyi Wen

AI总结:

该研究提出H$^2$R框架,利用数学问题的分层子问题结构作为中间奖励信号,构建HiMath基准验证,可提升Qwen2.5-Math-7B等大语言模型的数学推理准确率。

摘要:

带有可验证奖励的强化学习(RLVR)在提升大语言模型的数学推理能力方面展现出巨大潜力,但现有方法为复杂多步推理任务提供的中间监督有限。为填补这一空白,我们提出了**分层提示式奖励(Hierarchical Hint-based Reward)**框架,该框架在RLVR训练期间利用数学问题的内在子问题结构作为结构化中间条件信号。与思维链提示不同,这些分层提示是逻辑上有依据的中间里程碑,可有效缩短指向最终答案的推理跨度。为验证该框架,我们引入了**HiMath**——一个分层结构化数学问题基准。在多种大语言模型上,即使不进行特定任务训练,分层提示也能持续提升推理性能。当通过H$^2$R将其集成到RL训练中时,它们使Qwen2.5-Math-7B在HiMath上的准确率从30.4%提升至39.1%,使用“最优分层提示”时准确率最高达45.6%。这一显著提升表明,在奖励设计中纳入可靠的中间检查点对于维持复杂数学推理至关重要。

英文摘要:

Reinforcement Learning with Verifiable Rewards has shown great promise in enhancing mathematical reasoning in large language models. However, existing approaches provide limited intermediate supervision for complex, multi-step reasoning tasks. To bridge this gap, we propose \textbf{Hierarchical Hint-based Reward}, a framework that leverages the intrinsic sub-question structure of mathematical problems as structured intermediate conditioning signals during RLVR training. Unlike chain-of-thought prompting, these hierarchical hints serve as logically grounded intermediate milestones that effectively reduce the reasoning horizon toward the final answer. To validate this framework, we introduce \textbf{HiMath}, a benchmark of hierarchically structured mathematical problems. Across diverse LLMs, hierarchical hints consistently improve reasoning performance even without task-specific training. When integrated into RL training via H$^2$R, they boost Qwen2.5-Math-7B accuracy on HiMath from 30.4\% to 39.1\% using hierarchical hints, and up to 45.6\% with Oracle Hierarchical Hints. This pronounced improvement demonstrates that incorporating reliable intermediate checkpoints into reward design is essential for sustaining complex mathematical reasoning.

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

↑