arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2506.04723cs.AI
收藏

超越准确率:强化学习下大语言模型数学推理的剖析

Beyond Accuracy: Dissecting Mathematical Reasoning for LLMs Under Reinforcement Learning

University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Salesforce AI Research(Salesforce AI研究)

Jiayu Wang, Yifei Ming, Zixuan Ke, Caiming Xiong, Shafiq Joty, Aws Albarghouthi, Frederic Sala

AI总结:

本文提出SPARKLE框架剖析强化学习对LLM数学推理的影响,发现RL增强内部策略制定与知识整合,并引入SparkleRL-PSS流水线有效利用困难问题,提升推理性能与数据效率。

摘要:

强化学习(RL)已成为提升语言模型在复杂推理任务上性能的主导范式。尽管基于RL的训练方法(如GRPO)展示了显著的实证收益,但关于RL为何以及如何提升性能的细粒度理解仍然缺乏。为弥补这一空白,我们引入了SPARKLE,一个细粒度的分析框架,从三个关键维度剖析RL的效果:(1)计划遵循与执行,(2)知识整合,以及(3)子问题链。利用该框架,我们获得了超越单纯准确率的见解。例如,向模型提供显式的人工构建的分步计划,在最具挑战性的基准上反而可能降低性能,但经过RL调优的模型表现出更强的鲁棒性,其性能下降幅度显著小于基础模型或SFT模型。这表明RL可能主要不是增强外部计划的执行,而是赋予模型制定并遵循更适合其推理过程的内部策略的能力。相反,我们观察到RL增强了模型将提供的知识整合到其推理过程中的能力,在不同任务上产生一致的收益。最后,我们研究了困难问题——那些不产生RL信号且推理轨迹质量参差不齐的问题——是否仍能被有效用于训练。我们引入了SparkleRL-PSS,一个多阶段RL流水线,通过部分步骤脚手架重用困难问题,无需额外数据生成即可有效引导探索。综合来看,我们的发现为理解RL如何塑造模型行为提供了原则性基础,为构建更自适应、数据高效且可解释的推理任务RL流水线提供了实用见解。我们的代码、数据和检查点可在 https://sparkle-reasoning.github.io/ 获取。

英文摘要:

Reinforcement learning (RL) has become the dominant paradigm for improving the performance of language models on complex reasoning tasks. Despite the substantial empirical gains demonstrated by RL-based training methods like GRPO, a granular understanding of why and how RL enhances performance is still lacking. To bridge this gap, we introduce SPARKLE, a fine-grained analytic framework to dissect the effects of RL across three key dimensions: (1) plan following and execution, (2) knowledge integration, and (3) chain of subproblems. Using this framework, we gain insights beyond mere accuracy. For instance, providing models with explicit human-crafted, step-by-step plans can surprisingly degrade performance on the most challenging benchmarks, yet RL-tuned models exhibit greater robustness, experiencing markedly smaller performance drops than base or SFT models. This suggests that RL may not primarily enhance the execution of external plans but rather empower models to formulate and follow internal strategies better suited to their reasoning processes. Conversely, we observe that RL enhances models' ability to integrate provided knowledge into their reasoning process, yielding consistent gains across diverse tasks. Finally, we study whether difficult problems -- those yielding no RL signals and mixed-quality reasoning traces -- can still be effectively used for training. We introduce SparkleRL-PSS, a multi-stage RL pipeline that reuses hard problems with partial step scaffolding, guiding exploration effectively without additional data generation. Together, our findings provide a principled foundation for understanding how RL shapes model behavior, offering practical insights for building more adaptive, data-efficient, and interpretable RL pipelines for reasoning tasks. Our code, data, and checkpoints are available at: https://sparkle-reasoning.github.io/.

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

↑