2025-05-23 · 专家 · 机器学习 · 自然语言处理

AceReason-Nemotron: Advancing Math and Code Reasoning through Reinforcement Learning

该论文通过大规模强化学习(RL)显著提升了小型和中型数学和代码推理模型的能力,实现了在数学和代码基准测试中超越现有蒸馏模型的性能。

更新于 2025-08-14。作者:Yang Chen、Zhuolin Yang、Zihan Liu、Chankyu Lee、Peng Xu、Mohammad Shoeybi、Bryan Catanzaro、Wei Ping。

中文摘要

尽管在大型强化学习(RL)推理方面取得了近期进展,但构建高性能推理模型的训练方法仍然难以捉摸。前沿模型(如DeepSeek-R1)的关键实现细节,包括数据整理策略和RL训练方法,通常被省略。此外,近期研究表明,对于较小模型而言,蒸馏仍然比RL更有效。在本工作中,我们展示了大规模RL可以显著增强强大、中小型模型的推理能力,实现的结果超过了最先进的基于蒸馏的模型。我们系统地通过广泛的消融研究来研究RL训练过程,并提出了一种简单而有效的方法:首先在纯数学提示上进行训练,然后在进行代码提示的训练。值得注意的是,我们发现仅数学的RL不仅显著提高了强大蒸馏模型在数学基准测试(例如,对于7B/14B模型,AIME 2025上提高+14.6%/+17.2%)上的性能,也提高了代码推理任务(例如,对于7B/14B模型,LiveCodeBench上提高+6.8%/+5.8%)的性能。此外,扩展的仅代码的RL迭代进一步提高了代码基准测试的性能,同时数学结果几乎没有或没有下降。我们开发了一个健壮的数据整理流程,以收集具有高质量、可验证答案和测试用例的具有挑战性的提示,以实现跨两个领域的基于验证的RL。最后,我们确定了关键的实验洞察,包括带有逐步增加的响应长度的课程学习和基于策略参数更新的稳定化效应。我们发现,RL不仅激发了在预训练和监督微调(例如,蒸馏)期间获得的基础推理能力,还推动了模型推理能力的极限,使其能够解决以前无法解决的问题。

英文摘要

Despite recent progress in large-scale reinforcement learning (RL) for reasoning, the training recipe for building high-performing reasoning models remains elusive. Key implementation details of frontier models, such as DeepSeek-R1, including data curation strategies and RL training recipe, are often omitted. Moreover, recent research indicates distillation remains more effective than RL for smaller models. In this work, we demonstrate that large-scale RL can significantly enhance the reasoning capabilities of strong, small- and mid-sized models, achieving results that surpass those of state-of-the-art distillation-based models. We systematically study the RL training process through extensive ablations and propose a simple yet effective approach: first training on math-only prompts, then on code-only prompts. Notably, we find that math-only RL not only significantly enhances the performance of strong distilled models on math benchmarks (e.g., +14.6% / +17.2% on AIME 2025 for the 7B / 14B models), but also code reasoning tasks (e.g., +6.8% / +5.8% on LiveCodeBench for the 7B / 14B models). In addition, extended code-only RL iterations further improve performance on code benchmarks with minimal or no degradation in math results. We develop a robust data curation pipeline to collect challenging prompts with high-quality, verifiable answers and test cases to enable verification-based RL across both domains. Finally, we identify key experimental insights, including curriculum learning with progressively increasing response lengths and the stabilizing effect of on-policy parameter updates. We find that RL not only elicits the foundational reasoning capabilities acquired during pretraining and supervised fine-tuning (e.g., distillation), but also pushes the limits of the model's reasoning ability, enabling it to solve problems that were previously unsolvable.

解读

一句话总结

该论文通过大规模强化学习(RL)显著提升了小型和中型数学和代码推理模型的能力,实现了在数学和代码基准测试中超越现有蒸馏模型的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源