TL;DR
Current AI agents often over-rely on external tools like search engines or code interpreters, a habit called "cognitive offloading" that wastes compute and stunts internal reasoning. This paper introduces Optimal Tool Call-controlled Policy Optimization (OTC-PO), a reinforcement learning framework that trains LLMs to maximize accuracy while minimizing tool usage. By treating tool efficiency as a reward multiplier, OTC-PO reduces tool calls by up to 68.3% and boosts tool productivity by up to 215.4% without sacrificing accuracy.
What Problem Does This Paper Address?
Tool-integrated reasoning (TIR) has successfully expanded large language model (LLM) capabilities by letting them query search engines or run code to solve complex tasks. However, standard reinforcement learning (RL) pipelines for these agents typically reward the model based solely on the correctness of the final answer.
This creates a loophole: models learn to indiscriminately spam tool calls even for simple questions they could easily answer using their internal knowledge. The authors call this phenomenon cognitive offloading. It causes massive computational overhead, increases operational costs, introduces latency during inference, and prevents the model from developing robust internal meta-reasoning capabilities. The challenge is teaching models when it is truly necessary to act and how to do so economically.
Methods
The authors propose OTC-PO, a lightweight, plug-and-play RL framework that can be integrated into standard RL pipelines like Proximal Policy Optimization (PPO) and Group Relative Preference Optimization (GRPO), resulting in OTC-PPO and OTC-GRPO.
The core innovation is a tool-integrated reward design that multiplies the standard correctness reward ($r_\phi$) by a tool efficiency coefficient ($r_{tool}$):
$$r_{\phi}^{tool} = \alpha \times r_{tool} \times r_\phi$$
Because it is multiplicative, if the final answer is wrong ($r_\phi = 0$), the tool reward is nullified. This prevents the model from "reward hacking" by simply making zero tool calls and guessing blindly to maximize efficiency rewards.
To determine the penalty, the framework needs to know the optimal (minimal) number of tool calls ($n$) required for a given question. Since this number is unknown in advance and varies by question and model, OTC-GRPO dynamically approximates it by tracking the minimum number of tool calls that successfully yielded a correct answer across a sampled group of trajectories.
The authors also introduce a new evaluation metric: Tool Productivity (TP), defined as the ratio of correctly answered questions to the total number of tool calls across all test cases.
Datasets
The framework was evaluated across two tool modalities:
- Search Tool: Trained on Natural Questions (NQ) and HotpotQA. Out-of-domain (OOD) generalization was tested on TriviaQA, PopQA, 2Wiki, Musique, and Bamboogle.
- Code Tool: Evaluated using the ToRL setup on complex math benchmarks including AIME24, AIME25, and the MATH dataset.
Key Insights and Ideas
- The Scale Paradox: Interestingly, the authors found that larger models (e.g., Qwen-7B vs. Qwen-3B) are actually more prone to cognitive offloading and excessive tool use when unpenalized. Explicitly penalizing tool usage is therefore critical for unlocking the true internal reasoning potential of larger LLMs.
- Acting Less Forces Better Thinking: Restricting tool access acts as a regularizer. Instead of firing off multiple shallow, redundant search queries, the model learns to formulate single, information-rich queries or rely entirely on its own parametric knowledge when confident.
- Multiplicative vs. Additive Rewards: Simply subtracting a penalty for tool calls (an additive reward) leads to unstable training. A multiplicative reward ensures that efficiency is only rewarded if the task is successfully completed.
Key Results
- Massive Efficiency Gains: OTC-PPO and OTC-GRPO reduced the number of tool calls by up to 68.3% compared to baseline methods like Search-R1.
- Boosted Tool Productivity: Tool Productivity (TP) improved significantly—by up to 215.4% on search benchmarks and up to 199.4% on math tasks (AIME24).
- Preserved Accuracy: Crucially, these efficiency gains came with virtually no drop in exact match (EM) accuracy. In some out-of-domain tasks, OTC-PPO even outperformed the baseline in accuracy while using far fewer tool calls.
- Faster Training: By minimizing real-time tool interactions (like waiting for a search API or code execution environment), OTC-PO drastically reduced training runtime and response lengths.
Limitations and Future Work
- Simple Tool Environments: The experiments were limited to single-tool setups (either search or a code interpreter). The authors note that future work should extend this framework to multi-tool environments where models must choose between different types of tools.
- Hyperparameter Sensitivity: The scaling factor $\alpha$ and smooth constants require careful tuning. Setting $\alpha$ too high can cause large reward fluctuations, making it harder for the model to converge during training.
Summary updated