TL;DR
LLMs often "overuse" external tools (like search or calculators) when their internal knowledge would suffice. This paper demonstrates that we can steer this behavior by manipulating internal activations at specific "heading" tokens (e.g., ### Code), providing a lightweight way to suppress or amplify tool use without retraining. Surprisingly, these steering vectors work effectively even though tool definitions are provided in-context rather than being "baked into" the model's weights.
What Problem Does This Paper Address?
As LLMs become more agentic, they rely on external tools to handle tasks like complex math or real-time search. However, they often suffer from tool overuse: invoking a tool when it isn't needed, repeating calls, or relying on tools that increase latency and cost without adding value.
Existing solutions usually involve expensive fine-tuning or "wrapper" logic that filters outputs. The authors investigate a deeper question: Does the decision to use a tool have a stable internal representation? This is non-trivial because, unlike concepts like "sentiment" or "honesty" which are learned during training, tools are often defined entirely within the inference-time prompt (non-parametric). The researchers want to know if we can find a "switch" inside the model's hidden states to control this behavior.
Methods
The authors employ a technique called Heading-Specific Activation Steering.
- Structured Trajectories: They use prompts that force the model to use explicit headers, such as
### Reasoning,### Code, or### Search. - Vector Extraction: By comparing the hidden states at the
###token when the model chooses "Reasoning" versus when it chooses a "Tool," they extract a "steering vector" (a direction in activation space). - Activation Addition: During inference, they add this vector to the model's hidden states at a specific "bottleneck" layer (found to be around 45–60% of the model's depth). Adding the vector pushes the model away from tool use (suppression).
- Orthogonalization: Conversely, they try "removing" this direction from the activations, which effectively amplifies tool use, proving the vector captures a bidirectional causal lever.
Datasets
The study evaluates five open-source models (Mistral and Llama-3.1 variants) across three domains from the SMART benchmark:
- Math: Where parametric reasoning often suffices (Tool: Code).
- Time: Requires up-to-date info (Tool: Search).
- Intention: Requires clarifying user intent (Tool: AskUser).
- IN3 Dataset: Used specifically to measure "Missing Details Recovery" in the Intention domain.
Key Insights and Ideas
- Causality vs. Geometry: This is the paper's most striking "aha moment." Usually, steering vectors represent clean, linear concepts. Here, the vectors are causally effective but geometrically messy. Tool-invocation steps show a "diffuse, bimodal" alignment with the vector, meaning the model doesn't have one single "tool-use" direction. Yet, intervening at the structural "heading" token still works.
- The Non-Parametric Nature of Tools: Because tools are injected via context, they don't recruit the same stable internal signatures as "baked-in" concepts like refusal. Different tools (e.g., Code vs. Search) recruit largely distinct feature dimensions with very low overlap.
- The "Elbow" Layer: Across all five models, the optimal layer for intervention was consistently in the middle of the network (0.45–0.60 normalized depth), suggesting that tool-use decisions stabilize at a consistent relative point in the processing pipeline.
Key Results
- Effective Suppression: In the Math domain, activation addition reduced tool calls significantly—for example, Mistral-Small dropped from 1.55 to 0.13 average calls per query—with only a modest hit to accuracy.
- Bidirectional Control: Orthogonalization (removing the suppression component) successfully increased tool use above the baseline across all models, confirming the vector captures the "decision" to use a tool.
- Domain Sensitivity: While suppression is "safe" in Math (where the model is smart enough to skip the tool), it causes major performance drops in the Time and Intention domains, where the tools are actually necessary for the task.
- Robustness: The steering effect isn't just "word-spotting." The vector extracted for
### Codestill suppressed tool use even when the heading was renamed to### Action_B.
Limitations and Future Work
- Schema Sensitivity: While the vectors show some transferability, they are still somewhat sensitive to the output format (e.g., Markdown vs. JSON). A "fully format-independent" representation remains elusive.
- The "Why" of Irregularity: The authors acknowledge that the relationship between the geometric irregularity (the messy bimodal distribution) and the high causal effectiveness is still an open question.
- Multi-turn Dependencies: Because steering changes the model's trajectory, it's difficult to reconcile the "probing" analysis (which looks at static states) with the "steering" results (which involve a sequential process). Future work could look at how these interventions affect long-term agentic planning.
Summary updated