A Few Neurons Reveal When LLMs Misuse Tools: Sparse Detection and Selective Steering for Reliable Tool Use
On the map: LLM agents and tool use → Tool learning and function calling
Abstract (arXiv)
Agentic LLMs exhibit three consequential tool-use failures: invalid arguments (validity), unnecessary calls (over-calling), and omitted calls when tools are needed (missing). We find that a small, failure-specific set of MLP neurons could distinguish such failures with linearly separable decision boundaries. Building on this observation, we introduce PRISMS (Probing Representations In Support of Monitoring and Steering), a closed-loop framework that shares a failure-specific neuron basis between sparse detection and activation steering. PRISMS selects contribution-critical MLP neurons and fits an L1-regularized detector on their activations. Across six models from the Qwen3, Llama, and Gemma families, over-calling and missing are detected at the pre-generation prompt boundary with ROC-AUC 0.90-1.00, while validity is detected from the generated tool-call span with ROC-AUC 0.86-0.90. These results are achieved with highly sparse readouts: only 1-2 MLP neurons for missing, 2-16 for over-calling, and approximately 128 for validity. These sparse detectors match or outperform dense residual-stream baselines using 23-627 times fewer features. The shared neuron basis also supports bidirectional control over tool-calling behavior, suppressing unnecessary calls and eliciting omitted ones. PRISMS therefore gates intervention on predicted failure risk to mitigate the collateral effects of unconditional steering. Across all six models, PRISMS reduces pooled over-calling rate by 80% (from 0.131 to 0.026) while increasing tool-required accuracy by 14.2 percentage points (from 0.689 to 0.831). PRISMS thus provides lightweight failure detection and selective intervention across model families.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 18 of its 21 references that are in the map. First posted on arXiv 31 Jul 2026.
Builds on
18 of 21 references.
Closest ancestors · 8
Same direction, newest first
- 2026Controlling Tool Use with Heading-Specific Activation Steering7 Jul
- 2026Pushing the Limits of LLM Tool Calling via Experiential Knowledge Integration and Activation9 Jun
- 2026Model-Adaptive Tool Necessity Reveals the Knowing-Doing Gap in LLM Tool Use13 May
- 2026LLM Agents Already Know When to Call Tools -- Even Without Reasoning10 May
- 2026Tool Calling is Linearly Readable and Steerable in Language Models8 May
- 2026ASA: Backbone-Training-Free Representation Engineering for Tool-Calling Agents4 Feb
- 2024Reducing Tool Hallucination via Reliability Alignment5 Dec
- 2024ToolACE: Winning the Points of LLM Function Calling2 Sep
Other references · 10
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
- 2023Steering Language Models With Activation Engineeringcited by 824
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 220
- 2025H-Neurons: On the Existence, Impact, and Origin of Hallucination-Associated Neurons in LLMscited by 19
- 2026Internal Representations as Indicators of Hallucinations in Agent Tool Selectioncited by 18
- 2025The Reasoning Trap: How Enhancing LLM Reasoning Amplifies Tool Hallucinationcited by 12
- 2026TACT: Mitigating Overthinking and Overacting in Coding Agents via Activation Steeringcited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Looking Is Not Picking: An Attention-Segment Account of Tool-Selection Failures in LLM Agents
- 2026To Call or Not to Call: Diagnosing Intrinsic Over-Calling Bias in LLM Agents
- 2026Perturbation Probing: A Two-Pass-per-Prompt Diagnostic for FFN Behavioral Circuits in Aligned LLMs
- 2026ToolFailBench: Diagnosing Tool-Use Failures in LLM Agents
- 2026The Calls are Coming from Inside the Model: Investigating Probe-based Detection of Tool-Calling Errors in LLMs
- 2026Calibration is the Bottleneck: An Action-Class Diagnostic of Multi-Turn Tool-Calling
- 2026Tunable Tool-Call Rates in LLM Agents via Representation Steering
- 2026Evaluate the Stack, Not the Layer: Do Deterministic and LLM Gates for Agent Actions Fail Independently?