AutoTIR: Autonomous Tools Integrated Reasoning via Reinforcement Learning
By: Yifan Wei , Xiaoyan Yu , Yixuan Weng and more
Potential Business Impact:
Lets AI learn to pick the best tool.
Large Language Models (LLMs), when enhanced through reasoning-oriented post-training, evolve into powerful Large Reasoning Models (LRMs). Tool-Integrated Reasoning (TIR) further extends their capabilities by incorporating external tools, but existing methods often rely on rigid, predefined tool-use patterns that risk degrading core language competence. Inspired by the human ability to adaptively select tools, we introduce AutoTIR, a reinforcement learning framework that enables LLMs to autonomously decide whether and which tool to invoke during the reasoning process, rather than following static tool-use strategies. AutoTIR leverages a hybrid reward mechanism that jointly optimizes for task-specific answer correctness, structured output adherence, and penalization of incorrect tool usage, thereby encouraging both precise reasoning and efficient tool integration. Extensive evaluations across diverse knowledge-intensive, mathematical, and general language modeling tasks demonstrate that AutoTIR achieves superior overall performance, significantly outperforming baselines and exhibits superior generalization in tool-use behavior. These results highlight the promise of reinforcement learning in building truly generalizable and scalable TIR capabilities in LLMs. The code and data are available at https://github.com/weiyifan1023/AutoTIR.
Similar Papers
Understanding Tool-Integrated Reasoning
Machine Learning (CS)
Makes computers solve harder problems using tools.
Dissecting Tool-Integrated Reasoning: An Empirical Study and Analysis
Computation and Language
Helps computers solve math and other problems better.
Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learning
Computation and Language
Helps computers check answers using math.