← Latest papers
🤖 AI

Controlling Tool Use with Heading-Specific Activation Steering

This paper demonstrates that while steering vectors extracted from heading-anchors can effectively control tool invocation in large language models, geometric analysis reveals that these vectors lack the clean linear structure typical of parametric concepts, exhibiting instead diffuse, bimodal alignments and distinct signatures for different tool types that reflect the non-parametric nature of external tools.

Original authors: Yuqi Chen, Vincent Siu, Yang Liu, Dawn Song, Chenguang Wang

Published 2026-07-08
📖 5 min read🧠 Deep dive

Original authors: Yuqi Chen, Vincent Siu, Yang Liu, Dawn Song, Chenguang Wang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a large language model (LLM) as a brilliant, knowledgeable chef who has memorized millions of recipes (parametric knowledge). However, this chef also has a drawer full of external tools: a search engine, a calculator, and a phone to call a customer for clarification.

The problem is that this chef sometimes gets a bit anxious. Even when they know the answer from memory, they might panic and grab the calculator or call the customer unnecessarily. This wastes time, costs money, and slows things down.

This paper investigates a way to "steer" the chef's brain to stop these unnecessary actions without retraining the chef from scratch. Here is the breakdown of their discovery:

1. The "Traffic Light" in the Brain

The researchers found that when the model is about to decide, "Should I use a tool?" or "Should I just think about this?", there is a specific moment in its internal processing (right before it writes a heading like ### Code or ### Search) where a decision is made.

They discovered a "steering vector"—think of it as a magic nudge or a traffic light signal—that lives inside the model's brain at that exact moment.

  • The Nudge: If you add this specific signal to the model's brain, it acts like a "Stop" sign, effectively telling the model, "Don't use the tool; just think."
  • The Reverse Nudge: If you remove this signal (by projecting the brain's activity in the opposite direction), it acts like a "Go" sign, making the model use tools even more than usual.

This is surprising because tools aren't "hard-coded" into the model's memory like facts are; they exist only in the conversation context. Yet, the model still has a stable internal signal for when it thinks it needs them.

2. The "Goldilocks" Effect (It Works Best for Math)

The researchers tested this on three types of tasks:

  • Math: These are problems the chef can usually solve with their own brain (memory).
  • Time: These require looking up current data (like "What time is it in Tokyo right now?").
  • Intention: These require asking the user for missing details (like "What color do you want?").

The Result:

  • In Math, the "Stop" signal worked beautifully. The chef stopped grabbing the calculator for simple addition and just solved it in their head. The answers were still correct, but the tool usage dropped dramatically.
  • In Time and Intention, the "Stop" signal was too strong. When they told the chef "Don't use tools," the chef stopped looking up the time or asking for details, and the answers became wrong.

The Lesson: The steering works great when the model shouldn't be using tools, but it's dangerous to use it blindly when the model needs tools to get the right answer.

3. The "Messy Map" (Geometry is Weird)

Usually, when scientists find a "concept" inside a computer brain (like "honesty" or "refusal"), it looks like a clean, straight line on a map. If you move along that line, the behavior changes predictably.

However, the researchers found that the "Tool Use" signal is messy.

  • The Analogy: Imagine trying to find the "North" direction on a map. For "Honesty," North is a straight arrow. For "Tool Use," North looks like a cloud of fog with two different clusters. The model's brain doesn't have a single, clean "I need a tool" button. Instead, it has a scattered, fuzzy collection of signals that only look like a decision when you zoom out.
  • Different Tools, Different Maps: The internal signal for "Search" is quite different from the signal for "Ask the User." They don't overlap much. It's like the chef has a completely different set of nerves for calling a customer than for using a calculator.

4. Why Does It Work If the Map is Messy?

This is the biggest mystery the paper leaves open. Even though the internal map of "Tool Use" is fuzzy and scattered, the "magic nudge" still works perfectly to stop the model from using tools.

The authors suggest it's because the model makes its decision at a very specific "bottleneck"—the moment it has to write the heading (like ### Code). Even if the path to that decision is messy, hitting that specific bottleneck with the right nudge is enough to change the outcome.

Summary

The paper proves that you can control whether an AI uses external tools by tweaking a specific signal in its brain at the moment it decides to act.

  • Good news: You can stop it from wasting time on tools it doesn't need (like in math).
  • Bad news: If you turn the signal off too much, it stops using tools it actually needs (like checking the time).
  • The Twist: The internal mechanism for this decision is messy and scattered, not a clean straight line, which makes it a unique and tricky part of how AI thinks.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →