# ReTool: Reinforcement Learning for Strategic Tool Use in LLMs

- **ID:** 970
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2504.11536
- **Authors:** Feng, Jiazhan, Huang, Shijue, Qu, Xingwei, Zhang, Ge, Qin, Yujia, Zhong, Baoquan, Jiang, Chengquan, Chi, Jinxin, et al. (9 authors)
- **Venue:** arXiv 2504.11536
- **Publisher:** arXiv 2504.11536
- **Published:** 2025
- **Source:** arxiv
- **Access:** open arXiv PDF/abs
- **Tags:** arxiv, 2504-11536, reasoning-rl, agents-tools, linkedin-thread
- **Topics:** reasoning / RL; agents / tools
- **Added:** 2026-09-15
- **Verified:** 2026-09-15
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/970

## Summary

While reasoning models (e.g., DeepSeek R1) trained with reinforcement learning (RL), excel in textual reasoning, they struggle in scenarios requiring structured problem-solving, such as geometric reasoning, concise computation, or complex equation solving-areas where computational tools like code interpreters (CI) demo…

## Attributes

- **Purpose:** ReTool: Reinforcement Learning for Strategic Tool Use in LLMs
- **Domain:** reasoning / RL; agents / tools
- **Used for:** LLM research reference
- **Time period:** arXiv 2025/04/15; Discord LinkedIn mid harvested 2026-09-15
- **Author type:** academic/industry (see abs)

## From the source (fetched 2026-10-03)

- **Published:** Apr 15, 2025 (arXiv)
- **Last revised:** Apr 17, 2025 (arXiv)
- **arXiv categories:** cs.CL, cs.AI (arXiv)
- **Author comment:** fix typos (arXiv)
- **Citations:** 406 (62 influential) (Semantic Scholar)
- **References:** 25 (Semantic Scholar)

## Abstract

While reasoning models (e.g., DeepSeek R1) trained with reinforcement learning (RL), excel in textual reasoning, they struggle in scenarios requiring structured problem-solving, such as geometric reasoning, concise computation, or complex equation solving-areas where computational tools like code interpreters (CI) demonstrate distinct advantages. To bridge this gap, we propose ReTool, which enhances long-form reasoning with tool-integrated learning, including two key features: (1) dynamic interleaving of real-time code execution within natural language reasoning processes, and (2) an automated RL paradigm that allows policy rollouts with multi-turn real-time code execution and teaches the model in learning when and how to invoke tools based on outcome feedback. ReTool employs a systematic training framework, beginning with synthetic cold-start data generation to produce code-augmented long-form reasoning traces for fine-tuning base models. Subsequent RL training leverages task outcomes as rewards to iteratively refine the model's tool use strategy, enabling autonomous discovery of optimal tool invocation patterns without human priors. Experiments on the challenging MATH Olympiad benchmark AIME demonstrate ReTool's superiority: Our 32B model achieves 67% accuracy with 400 training steps, outperforming text-based RL baseline (40% accuracy, 1080 steps) in efficiency and performance. Remarkably, ReTool-32B attains 72.5% accuracy in extended settings, surpassing OpenAI's o1-preview by 27.9%. Further analysis reveals emergent behaviors such as code self-correction, signaling an ''aha moment'' in which the model autonomously masters adaptive tool use. These findings highlight the promise of outcome-driven tool integration for advancing complex mathematical reasoning and offer new insights into hybrid neuro-symbolic systems.

## Research notes

- From LinkedIn thread (Discord mid 1363519255978442784). Primary: https://www.linkedin.com/posts/philipp-schmid-a6a2bb196_more-research-on-integrating-tool-use-in-activity-7319635177138245632-eY6Q.

## Cites, within this collection

- [s1: Simple test-time scaling](https://papers.projxon.ai/entries/3) (paper 2025, #3)

## Cited by, within this collection

- [Multi-Turn On-Policy Distillation with Prefix Replay](https://papers.projxon.ai/entries/472) (paper 2026, #472)
- [Targeting Pivotal Decisions for Credit Assignment in Agentic Reinforcement Learning](https://papers.projxon.ai/entries/860) (paper 2026, #860)

## Similar entries

- [From $f(x)$ and $g(x)$ to $f(g(x))$: LLMs Learn New Skills in RL by Composing Old Ones](https://papers.projxon.ai/entries/937) (paper, #937)
- [The Art of Scaling Reinforcement Learning Compute for LLMs](https://papers.projxon.ai/entries/961) (paper, #961)
- [LoongRL: Reinforcement Learning for Advanced Reasoning over Long Contexts](https://papers.projxon.ai/entries/930) (paper, #930)
- [Token-Efficient RL for LLM Reasoning](https://papers.projxon.ai/entries/964) (paper, #964)
- [DAG-Math: Graph-of-Thought Guided Mathematical Reasoning in LLMs](https://papers.projxon.ai/entries/935) (paper, #935)
- [The Markovian Thinker: Architecture-Agnostic Linear Scaling of Reasoning](https://papers.projxon.ai/entries/952) (paper, #952)
