English

ToRL: Scaling Tool-Integrated RL

Computation and Language 2025-04-01 v1

Abstract

We introduce ToRL (Tool-Integrated Reinforcement Learning), a framework for training large language models (LLMs) to autonomously use computational tools via reinforcement learning. Unlike supervised fine-tuning, ToRL allows models to explore and discover optimal strategies for tool use. Experiments with Qwen2.5-Math models show significant improvements: ToRL-7B reaches 43.3\% accuracy on AIME~24, surpassing reinforcement learning without tool integration by 14\% and the best existing Tool-Integrated Reasoning (TIR) model by 17\%. Further analysis reveals emergent behaviors such as strategic tool invocation, self-regulation of ineffective code, and dynamic adaptation between computational and analytical reasoning, all arising purely through reward-driven learning.

Keywords

Cite

@article{arxiv.2503.23383,
  title  = {ToRL: Scaling Tool-Integrated RL},
  author = {Xuefeng Li and Haoyang Zou and Pengfei Liu},
  journal= {arXiv preprint arXiv:2503.23383},
  year   = {2025}
}
R2 v1 2026-06-28T22:39:28.619Z