← Research highlights

arXiv · September 2026

Spurious Tool Use: When RL Agents Learn the Wrong Reason to Act

Yiwei Yang*, Haoxiang Zhang*, Bingbing Wen, Yao Lu, Yuchen Wu, Lei Zhang, Julian McAuley, Pan Lu, Bill Howe

The right answer can hide the wrong action

An agent can answer correctly while calling tools it never needed. We study how reinforcement learning turns irrelevant prompt cues into tool-use shortcuts, and introduce a reward that discourages unnecessary calls.

40.1% → 0.2%Unnecessary search calls after adding the tool-necessity reward
83.0% → 92.8%Answer accuracy in the same evaluation

GSM8K with the WEB_INDEX cue present. Results compare cue-trained agents before and after the reward intervention; see Table 1 of the paper.

How we isolate the shortcut

  1. Train with a correlation

    Pair factual questions with search-associated cues during GRPO training, alongside math questions that use a Python interpreter.

  2. Change the cue, keep the question

    Evaluate matched questions with and without the irrelevant cue. Extra search calls on math problems reveal shortcut behavior.

  3. Reward necessary tool use

    An LLM judge assesses each tool call. A penalty for unnecessary calls supplements the final-answer reward.

The cue changes the action

GSM8K evaluation · WEB_INDEX training condition
TrainingTest cueSearch callsAccuracy
Cue-trainedAbsent0.9%84.4%
Cue-trainedPresent40.1%83.0%
+ Tool-necessity rewardAbsent0.2%88.8%
+ Tool-necessity rewardPresent0.2%92.8%

Search is unnecessary for these math questions. Values are percentages from Table 1; they describe this controlled setting, not all agent tasks.

What this tells us

Citation

@article{yang2026spurioustooluse,
  title = {Spurious Tool Use: When RL Agents Learn the Wrong Reason to Act},
  author = {Yang, Yiwei and Zhang, Haoxiang and Wen, Bingbing and
            Lu, Yao and Wu, Yuchen and Zhang, Lei and
            McAuley, Julian and Lu, Pan and Howe, Bill},
  journal = {arXiv preprint arXiv:2609.16268},
  year = {2026},
  url = {https://arxiv.org/abs/2609.16268}
}