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

局部连贯性还是全局有效性?数学领域中RLVR轨迹的研究

Local Coherence or Global Validity? Investigating RLVR Traces in Math Domains

Arizona State University(亚利桑那州立大学)

Soumya Rani Samineni, Durgesh Kalwar, Vardaan Gangal, Siddhant Bhambri, Subbarao Kambhampati

AI总结:

该研究针对现有RLVR后训练声称改善推理却未关注中间token的问题,提出基于FOL的轨迹连贯性指标,通过实验发现RL后训练提升局部轨迹连贯性但不保证全局有效解,提示需谨慎看待RL改善推理的结论。

摘要:

基于可验证奖励强化学习(Reinforcement Learning with Verifiable Rewards, RLVR)的大语言模型(Large Language Models, LLMs)后训练已被证明可提升推理任务的准确率,且持续受到广泛关注。然而现有RLVR方法通常对所有token一视同仁,未考虑token层面的优势。这些方法主要基于最终答案正确率或Pass@K指标评估性能,却声称RL后训练能改善推理轨迹。这促使我们研究RL后训练对未被直接激励的中间token的影响。\n为开展研究,我们设计了在GSM8K数据集上采用GRPO算法、基于Qwen-2.5-0.5B模型的实验方案。我们提出轨迹连贯性指标——一种基于一阶逻辑(First-Order Logic, FOL)的度量方法,通过识别轨迹中的错误来衡量推理步骤的一致性。我们区分了轨迹有效性和轨迹连贯性:前者指逻辑合理性,后者通过无错误程度衡量局部连贯性。\n结果表明,RL后训练整体提升了轨迹连贯性,在基础模型失败但RL模型成功的问题上提升最为显著。出人意料的是,RL增强了局部连贯性,却未必能生成有效或正确的解。这凸显了一个关键区别:推理步骤的局部连贯性提升并不保证最终答案正确。我们认为,关于RL改善推理的结论需谨慎审视,因为这些结论可能基于轨迹连贯性的提升,而这未必能转化为完全有效的数学证明。

英文摘要:

Reinforcement Learning with Verifiable Rewards (RLVR)-based post-training of Large Language Models (LLMs) has been shown to improve accuracy on reasoning tasks and continues to attract significant attention. Existing RLVR methods, however, typically treat all tokens uniformly without accounting for token-level advantages. These methods primarily evaluate performance based on final answer correctness or Pass@K accuracy, and yet make claims about RL post-training leading to improved reasoning traces. This motivates our investigation into the effect of RL post-training on intermediate tokens which are not directly incentivized. To study this, we design an experimental setup using the GRPO algorithm with Qwen-2.5-0.5B model on the GSM8K dataset. We introduce trace coherence, a First-Order Logic (FOL)-based measure to capture the consistency of reasoning steps by identifying errors in the traces. We distinguish between trace validity and trace coherence, noting that the former implies logical soundness while the latter measures local coherence via lack of errors. Our results show that RL post-training overall improves trace coherence with the most significant gains on problems where the base model fails but the RL model succeeds. Surprisingly, RL enhances local coherence without necessarily producing valid or correct solutions. This highlights a crucial distinction: improved local coherence in reasoning steps does not guarantee final answer correctness. We argue that claims of improved reasoning via RL must be examined with care, as these may be based on improved trace coherence, which may not translate into fully valid mathematical proofs.

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

↑