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

不要踏进同一条河两次:从试错中学习推理

Do Not Step Into the Same River Twice: Learning to Reason from Trial and Error

National Key Laboratory for Multimedia Information Processing(国家多媒体信息处理重点实验室);School of Computer Science(计算机学院);LLM Department, Tencent(腾讯LLM部门)

Chenming Tang, Hsiu-Yuan Huang, Weijie Liu, Clive Bai, Saiyong Yang, Yunfang Wu

AI总结:

本文提出LTE方法,通过提示模型自身之前的错误来提升推理能力,优于传统方法并在多个数学推理基准上表现更佳。

摘要:

可验证奖励的强化学习(RLVR)显著提升了语言模型的推理能力。然而,现有RLVR方法训练LMs基于其自身的on-policy响应,受限于初始能力,易导致探索停滞,即LMs无法解决更多训练问题且无法进一步从训练数据中学习。一些方法尝试通过利用off-policy解决方案来解决这一问题,但依赖外部专家指导,存在可用性和可扩展性限制。本文提出LTE(Learning to reason from Trial and Error),一种通过提示LMs其之前自行制造的错误来学习推理的方法,无需任何外部专家指导。实验验证了LTE的有效性,其在六个数学推理基准上,对于Qwen3-8B-Base模型,在Pass@1和Pass@k上分别比正常组策略优化(GRPO)高出5.02和9.96。进一步分析确认LTE成功缓解了探索停滞,并增强了训练过程中的利用和探索。我们的代码可在https://github.com/JamyDon/LTE获取。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR) has significantly boosted the reasoning capability of language models (LMs). However, existing RLVR approaches train LMs based on their own on-policy responses and are constrained by the initial capability of LMs, thus prone to exploration stagnation, in which LMs fail to solve more training problems and cannot further learn from the training data. Some approaches try to address this by leveraging off-policy solutions to training problems, but rely on external expert guidance that is limited in availability and scalability. In this work, we propose LTE (Learning to reason from Trial and Error), an approach that hints LMs with their previously self-made mistakes, not requiring any external expert guidance. Experiments validate the effectiveness of LTE, which outperforms the normal group relative policy optimization (GRPO) by 5.02 in Pass@1 and 9.96 in Pass@k on average across six mathematical reasoning benchmarks for Qwen3-8B-Base and even performs better than methods that require external guidance. Further analysis confirms that LTE successfully mitigates exploration stagnation and enhances both exploitation and exploration during training. Our code is available at https://github.com/JamyDon/LTE.

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

↑