Spurious Tool Use: When RL Agents Learn the Wrong Reason to Act
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Large language model (LLM) agents increasingly interleave natural language reasoning with external tools such as web search and code execution. These tool-use policies are often optimized via reinforcement learning (RL), which can amplify spurious correlations in the training data. In this work, we study when and why RL-trained agents learn shortcut tool-selection policies: invoking tools based on superficial prompt cues rather than genuine task requirements. We construct controlled synthetic environments combining factual question answering and mathematical reasoning tasks, and inject cues that are strongly correlated with specific tools during training but causally irrelevant to tool necessity. Across counterfactual evaluations where cues are present but the associated tools are not required, agents exhibit substantial shortcut behavior, with spurious tool invocation rates increasing by up to 39 percent. However, shortcut formation is not universal: across the conditions we test, it arises only when the agent has already learned to use the target tool reliably, suggesting that task competence, rather than dataset imbalance alone, is a key factor in shortcut learning. A swapped-cue analysis further shows that semantic alignment between cues and tools substantially amplifies this effect. To mitigate these failures, we introduce a dense, decision-level reward in which an LLM judge evaluates the necessity of each tool call. This tool-necessity reward effectively suppresses cue-driven tool use while preserving task performance, providing a practical approach to improving the robustness of LLM agent tool-use policies.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 26 of its 37 references that are in the map. First posted on arXiv 14 Sep 2026.
Builds on
26 of 37 references.
Closest ancestors · 5
Same direction, newest first
- 2025VerlTool: Towards Holistic Agentic Reinforcement Learning with Tool Use1 Sep
- 2025Agent RL Scaling Law: Agent RL with Spontaneous Code Execution for Mathematical Problem Solving12 May
- 2025Acting Less is Reasoning More! Teaching Model to Act Efficiently21 Apr
- 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMs15 Apr
- 2023ART: Automatic multi-step reasoning and tool-use for large language models16 Mar
Other references · 21
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
- 2019Invariant Risk Minimizationcited by 1,854
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
- 2025Search-o1: Agentic Search-Enhanced Large Reasoning Modelscited by 433
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 381
- 2025R1-Searcher: Incentivizing the Search Capability in LLMs via Reinforcement Learningcited by 336
- 2025DeepMath-103K: A Large-Scale, Challenging, Decontaminated, and Verifiable Mathematical Dataset for Advancing Reasoningcited by 280
- 2025ZeroSearch: Incentivize the Search Capability of LLMs without Searchingcited by 208
9 more
- 2022Correct-N-Contrast: A Contrastive Approach for Improving Robustness to Spurious Correlationscited by 172
- 2025ToRL: Scaling Tool-Integrated RLcited by 169
- 2025ReSearch: Learning to Reason with Search for LLMs via Reinforcement Learningcited by 161
- 2025SimpleTIR: End-to-End Reinforcement Learning for Multi-Turn Tool-Integrated Reasoningcited by 146
- 2025StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy Optimizationcited by 88
- 2025Reinforcing Multi-Turn Reasoning in LLM Agents via Fine-Grained Reward Structure and Credit Assignmentcited by 79
- 2025In-the-Flow Agentic System Optimization for Effective Planning and Tool Usecited by 72
- 2025Escaping the SpuriVerse: Can Large Vision-Language Models Generalize Beyond Seen Spurious Correlations?cited by 14
- 2025Reducing Cognitive Overhead in Tool Use via Multi-Small-Agent Reinforcement Learningcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Reasoning and Tool-use Compete in Agentic RL:From Quantifying Interference to Disentangled Tuning
- 2026On Effectiveness and Efficiency of Agentic Tool-calling and RL Training
- 2025Tool-R1: Sample-Efficient Reinforcement Learning for Agentic Tool Use
- 2025Nemotron-Research-Tool-N1: Exploring Tool-Using Language Models with Reinforced Reasoning
- 2025AutoTIR: Autonomous Tools Integrated Reasoning via Reinforcement Learning
- 2026ToolSearcher: Optimizing Tool Selection at Scale via Reinforcement Learning
- 2026ToolAnchor: Anchoring Counterfactual Context to Boost Agentic Tool-use Capability
- 2026Joint Optimization of Tool Creation and Use for Large Language Model Agents