Towards Effective Code-Integrated Reasoning
Not on the map. Why?
Abstract (arXiv)
In this paper, we investigate code-integrated reasoning, where models generate code when necessary and integrate feedback by executing it through a code interpreter. To acquire this capability, models must learn when and how to use external code tools effectively, which is supported by tool-augmented reinforcement learning (RL) through interactive learning. Despite its benefits, tool-augmented RL can still suffer from potential instability in the learning dynamics. In light of this challenge, we present a systematic approach to improving the training effectiveness and stability of tool-augmented RL for code-integrated reasoning. Specifically, we develop enhanced training strategies that balance exploration and stability, progressively building tool-use capabilities while improving reasoning performance. Through extensive experiments on five mainstream mathematical reasoning benchmarks, our model demonstrates significant performance improvements over multiple competitive baselines. Furthermore, we conduct an in-depth analysis of the mechanism and effect of code-integrated reasoning, revealing several key insights, such as the extension of model's capability boundaries and the simultaneous improvement of reasoning efficiency through code integration. All data and code for reproducing this work are available at: https://github.com/RUCAIBox/CIR.
Key facts. Cited by 23 papers in the map (data through 14 Oct 2026). Builds on 20 of its 22 references that are in the map. First posted on arXiv 30 May 2025.
Builds on
20 of 22 references.
References · 20
- 2025Qwen3 Technical Reportcited by 8,820
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2023A Survey of Large Language Modelscited by 2,576
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,345
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
- 2025SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wildcited by 511
- 2025Process Reinforcement through Implicit Rewardscited by 504
- 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMscited by 392
- 2025RAGEN: Understanding Self-Evolution in LLM Agents via Multi-Turn Reinforcement Learningcited by 386
8 more
- 2025Cognitive Behaviors that Enable Self-Improving Reasoners, or, Four Habits of Highly Effective STaRscited by 377
- 2025R1-Searcher: Incentivizing the Search Capability in LLMs via Reinforcement Learningcited by 336
- 2025ToRL: Scaling Tool-Integrated RLcited by 169
- 2025An Empirical Study on Eliciting and Improving R1-like Reasoning Modelscited by 78
- 2025Challenging the Boundaries of Reasoning: An Olympiad-Level Math Benchmark for Large Language Modelscited by 70
- 2025Agent RL Scaling Law: Agent RL with Spontaneous Code Execution for Mathematical Problem Solvingcited by 62
- 2025SimpleDeepSearcher: Deep Information Seeking via Web-Powered Reasoning Trajectory Synthesiscited by 55
- 2025R1-Searcher++: Incentivizing the Dynamic Knowledge Acquisition of LLMs via Reinforcement Learningcited by 30
Built on by
Citing papers per year: 2025: 12; 2026: 11.
23 papers.
Sort:
By area:
- 2025Agentic Reinforced Policy Optimizationcited by 172
- 2025SimpleTIR: End-to-End Reinforcement Learning for Multi-Turn Tool-Integrated Reasoningcited by 146
- 2025Chain-of-Agents: End-to-End Agent Foundation Models via Multi-Agent Distillation and Agentic RLcited by 80
- 2025Understanding Tool-Integrated Reasoningcited by 38
- 2025From Trial-and-Error to Improvement: A Systematic Analysis of LLM Exploration Mechanisms in RLVRcited by 17
- 2025Toward Effective Tool-Integrated Reasoning via Self-Evolved Preference Learningcited by 17
- 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learningcited by 17
- 2025AgentMath: Empowering Mathematical Reasoning for Large Language Models via Tool-Augmented Agentcited by 17
- 2026ClawGym: A Scalable Framework for Building Effective Claw Agentscited by 15
- 2025Learn the Ropes, Then Trust the Wins: Self-imitation with Progressive Exploration for Agentic Reinforcement Learningcited by 11
- 2025MTIR-SQL: Multi-turn Tool-Integrated Reasoning Reinforcement Learning for Text-to-SQLcited by 10
- 2025A2FM: An Adaptive Agent Foundation Model for Tool-Aware Hybrid Reasoningcited by 6
11 more
- 2026Learning from the Irrecoverable: Error-Localized Policy Optimization for Tool-Integrated LLM Reasoningcited by 6
- 2026The Tool-Overuse Illusion: Why Does LLM Prefer External Tools over Internal Knowledge?cited by 6
- 2025How Many Code and Test Cases Are Enough? Evaluating Test Cases Generation from a Binary-Matrix Perspectivecited by 4
- 2026STARE: Surprisal-Guided Token-Level Advantage Reweighting for Policy Entropy Stabilitycited by 3
- 2026R^3: Replay, Reflection, and Ranking Rewards for LLM Reinforcement Learningcited by 2
- 2026When to Trust Tools? Adaptive Tool Trust Calibration For Tool-Integrated Math Reasoningcited by 2
- 2026PruneTIR: Inference-Time Tool Call Pruning for Effective yet Efficient Tool-Integrated Reasoningcited by 2
- 2026ClawGym II: Exploring Black-Box RL on Agent Harnesscited by 2
- 2026AdaTIR: Adaptive Tool-Integrated Reasoning via Difficulty-Aware Policy Optimizationcited by 1
- 2026Implicit Hierarchical GRPO: Decoupling Tool Invocation from Execution for Tool-Integrated Mathematical Reasoningcited by 1
- 2026Tool-Aware Optimization with Entropy Guidance for Efficient Agentic Reinforcement Learningcited by 1
- 2026ClawGym II: Exploring Black-Box RL on Agent Harness17 Aug 2026
- 2026STARE: Surprisal-Guided Token-Level Advantage Reweighting for Policy Entropy Stability17 Jun 2026
- 2026Tool-Aware Optimization with Entropy Guidance for Efficient Agentic Reinforcement Learning2 Jun 2026
- 2026Implicit Hierarchical GRPO: Decoupling Tool Invocation from Execution for Tool-Integrated Mathematical Reasoning18 May 2026
- 2026PruneTIR: Inference-Time Tool Call Pruning for Effective yet Efficient Tool-Integrated Reasoning11 May 2026
- 2026ClawGym: A Scalable Framework for Building Effective Claw Agents29 Apr 2026
- 2026When to Trust Tools? Adaptive Tool Trust Calibration For Tool-Integrated Math Reasoning9 Apr 2026
- 2026The Tool-Overuse Illusion: Why Does LLM Prefer External Tools over Internal Knowledge?3 Mar 2026
- 2026Learning from the Irrecoverable: Error-Localized Policy Optimization for Tool-Integrated LLM Reasoning10 Feb 2026
- 2026R^3: Replay, Reflection, and Ranking Rewards for LLM Reinforcement Learning27 Jan 2026
- 2026AdaTIR: Adaptive Tool-Integrated Reasoning via Difficulty-Aware Policy Optimization21 Jan 2026
- 2025AgentMath: Empowering Mathematical Reasoning for Large Language Models via Tool-Augmented Agent23 Dec 2025
11 more
- 2025MTIR-SQL: Multi-turn Tool-Integrated Reasoning Reinforcement Learning for Text-to-SQL29 Oct 2025
- 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learning27 Oct 2025
- 2025A2FM: An Adaptive Agent Foundation Model for Tool-Aware Hybrid Reasoning13 Oct 2025
- 2025How Many Code and Test Cases Are Enough? Evaluating Test Cases Generation from a Binary-Matrix Perspective9 Oct 2025
- 2025Toward Effective Tool-Integrated Reasoning via Self-Evolved Preference Learning27 Sep 2025
- 2025Learn the Ropes, Then Trust the Wins: Self-imitation with Progressive Exploration for Agentic Reinforcement Learning26 Sep 2025
- 2025SimpleTIR: End-to-End Reinforcement Learning for Multi-Turn Tool-Integrated Reasoning2 Sep 2025
- 2025Understanding Tool-Integrated Reasoning26 Aug 2025
- 2025From Trial-and-Error to Improvement: A Systematic Analysis of LLM Exploration Mechanisms in RLVR11 Aug 2025
- 2025Chain-of-Agents: End-to-End Agent Foundation Models via Multi-Agent Distillation and Agentic RL6 Aug 2025
- 2025Agentic Reinforced Policy Optimization26 Jul 2025
- 2025Agentic Reinforced Policy Optimizationcited by 172
- 2025SimpleTIR: End-to-End Reinforcement Learning for Multi-Turn Tool-Integrated Reasoningcited by 146
- 2025Chain-of-Agents: End-to-End Agent Foundation Models via Multi-Agent Distillation and Agentic RLcited by 80
- 2025Understanding Tool-Integrated Reasoningcited by 38
- 2025From Trial-and-Error to Improvement: A Systematic Analysis of LLM Exploration Mechanisms in RLVRcited by 17
- 2025Toward Effective Tool-Integrated Reasoning via Self-Evolved Preference Learningcited by 17
- 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learningcited by 17
- 2025AgentMath: Empowering Mathematical Reasoning for Large Language Models via Tool-Augmented Agentcited by 17
- 2025MTIR-SQL: Multi-turn Tool-Integrated Reasoning Reinforcement Learning for Text-to-SQLcited by 10
- 2025A2FM: An Adaptive Agent Foundation Model for Tool-Aware Hybrid Reasoningcited by 6
- 2026Learning from the Irrecoverable: Error-Localized Policy Optimization for Tool-Integrated LLM Reasoningcited by 6
- 2026STARE: Surprisal-Guided Token-Level Advantage Reweighting for Policy Entropy Stabilitycited by 3
12 most cited of 17 All 17 (JSON)
- 2026STARE: Surprisal-Guided Token-Level Advantage Reweighting for Policy Entropy Stability17 Jun 2026
- 2026Implicit Hierarchical GRPO: Decoupling Tool Invocation from Execution for Tool-Integrated Mathematical Reasoning18 May 2026
- 2026PruneTIR: Inference-Time Tool Call Pruning for Effective yet Efficient Tool-Integrated Reasoning11 May 2026
- 2026When to Trust Tools? Adaptive Tool Trust Calibration For Tool-Integrated Math Reasoning9 Apr 2026
- 2026Learning from the Irrecoverable: Error-Localized Policy Optimization for Tool-Integrated LLM Reasoning10 Feb 2026
- 2026R^3: Replay, Reflection, and Ranking Rewards for LLM Reinforcement Learning27 Jan 2026
- 2026AdaTIR: Adaptive Tool-Integrated Reasoning via Difficulty-Aware Policy Optimization21 Jan 2026
- 2025AgentMath: Empowering Mathematical Reasoning for Large Language Models via Tool-Augmented Agent23 Dec 2025
- 2025MTIR-SQL: Multi-turn Tool-Integrated Reasoning Reinforcement Learning for Text-to-SQL29 Oct 2025
- 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learning27 Oct 2025
- 2025A2FM: An Adaptive Agent Foundation Model for Tool-Aware Hybrid Reasoning13 Oct 2025
- 2025Toward Effective Tool-Integrated Reasoning via Self-Evolved Preference Learning27 Sep 2025
12 newest of 17 All 17 (JSON)
- 2026ClawGym: A Scalable Framework for Building Effective Claw Agentscited by 15
- 2025Learn the Ropes, Then Trust the Wins: Self-imitation with Progressive Exploration for Agentic Reinforcement Learningcited by 11
- 2026Tool-Aware Optimization with Entropy Guidance for Efficient Agentic Reinforcement Learningcited by 1
- 2026Tool-Aware Optimization with Entropy Guidance for Efficient Agentic Reinforcement Learning2 Jun 2026
- 2026ClawGym: A Scalable Framework for Building Effective Claw Agents29 Apr 2026
- 2025Learn the Ropes, Then Trust the Wins: Self-imitation with Progressive Exploration for Agentic Reinforcement Learning26 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025To Code or not to Code? Adaptive Tool Integration for Math Language Models via Expectation-Maximization
- 2026Learning to Use Tools: Reinforcement Learning for Tool-Integrated Mathematical Reasoning
- 2025R1-Code-Interpreter: LLMs Reason with Code via Supervised and Multi-stage Reinforcement Learning
- 2025Tool-Augmented Policy Optimization: Synergizing Reasoning and Adaptive Tool Use with Reinforcement Learning
- 2025THOR: Tool-Integrated Hierarchical Optimization via RL for Mathematical Reasoning
- 2026Exploring Extrinsic and Intrinsic Properties for Effective Reasoning with Code Interpreter
- 2025Agentic Reasoning and Tool Integration for LLMs via Reinforcement Learning
- 2026Enhancing the Code Reasoning Capabilities of LLMs via Consistency-based Reinforcement Learning