2025-09-03 · 专家 · 机器学习 · 自然语言处理

SimpleTIR: End-to-End Reinforcement Learning for Multi-Turn Tool-Integrated Reasoning

SimpleTIR通过过滤掉包含“无效回合”的轨迹,稳定了多回合工具集成推理(TIR)的训练过程,显著提高了数学推理基准测试的性能。

更新于 2025-09-03。作者:Zhenghai Xue、Longtao Zheng、Qian Liu、Yingru Li、Xiaosen Zheng、Zejun Ma、Bo An。

中文摘要

大型语言模型(LLMs)通过与外部工具互动,可以显著提高其推理能力,这种模式被称为工具集成推理(TIR)。然而,将TIR扩展到多轮场景并使用强化学习(RL)进行训练时,常常受到训练不稳定性和性能崩溃的阻碍。我们发现,这种不稳定性主要是由外部工具反馈的分布漂移造成的,导致生成低概率的标记。这个问题在连续的回合中加剧,引起灾难性的梯度范数爆炸,从而破坏训练过程。为了应对这一挑战,我们引入了SimpleTIR,这是一个即插即用的算法,可以稳定多轮TIR训练。其核心策略是识别并过滤掉包含空转的轨迹,即既不产生代码块也不提供最终答案的回合。通过从策略更新中去除这些问题轨迹,SimpleTIR有效地阻断了有害的高幅度梯度,从而稳定了学习动态。大量实验表明,SimpleTIR在具有挑战性的数学推理基准测试中实现了最先进的性能,特别是当从Qwen2.5-7B基础模型开始时,将AIME24分数从纯文本基线22.1提升到了50.5。此外,通过避免监督微调的限制,SimpleTIR鼓励模型发现多样化和复杂的推理模式,例如自我纠正和交叉验证。

英文摘要

Large Language Models (LLMs) can significantly improve their reasoning capabilities by interacting with external tools, a paradigm known as Tool-Integrated Reasoning (TIR). However, extending TIR to multi-turn scenarios using Reinforcement Learning (RL) is often hindered by training instability and performance collapse. We identify that such instability is primarily caused by a distributional drift from external tool feedback, leading to the generation of low-probability tokens. This issue compounds over successive turns, causing catastrophic gradient norm explosions that derail the training process. To address this challenge, we introduce SimpleTIR , a plug-and-play algorithm that stabilizes multi-turn TIR training. Its core strategy is to identify and filter out trajectories containing void turns, i.e., turns that yield neither a code block nor a final answer. By removing these problematic trajectories from the policy update, SimpleTIR effectively blocks the harmful, high-magnitude gradients, thus stabilizing the learning dynamics. Extensive experiments show that SimpleTIR achieves state-of-the-art performance on challenging math reasoning benchmarks, notably elevating the AIME24 score from a text-only baseline of 22.1 to 50.5 when starting from the Qwen2.5-7B base model. Furthermore, by avoiding the constraints of supervised fine-tuning, SimpleTIR encourages the model to discover diverse and sophisticated reasoning patterns, such as self-correction and cross-validation.

解读

一句话总结

SimpleTIR通过过滤掉包含“无效回合”的轨迹,稳定了多回合工具集成推理(TIR)的训练过程,显著提高了数学推理基准测试的性能。

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

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

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

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

来源