Finding Interpretable Prompt-Specific Circuits in Language Models
This paper introduces ACC++, an improved circuit-tracing method that extracts interpretable, prompt-specific attention circuits from a single forward pass, revealing how language models utilize distinct, language-dependent signals to solve tasks like indirect object identification across different linguistic contexts.
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 massive, bustling city where millions of tiny workers (neurons) pass notes to each other to answer a question. For a long time, we could see what the city produced (the answer), but we had no idea how the workers decided to send those notes. It was like watching a magic show without knowing the tricks.
This paper introduces a new tool called ACC++ that acts like a high-tech "X-ray vision" for these models. It doesn't just guess; it traces the exact path of information as it flows through the model to solve a specific problem.
Here is a simple breakdown of what the paper does and finds:
1. The Problem: The "Black Box" City
When a model answers a prompt (like "When Mary and John went to the store, John gave the bottle to..."), it has to figure out that the answer is "Mary."
- Old way: Researchers tried to figure out which workers were involved by turning them on and off one by one (like pulling fuses in a house to see which light goes out). This was slow, messy, and often gave a blurry picture with too many "false alarms."
- The new tool (ACC++): Instead of pulling fuses, ACC++ listens to the "whispers" between workers. It identifies the specific, low-volume channels (called signals) that carry the crucial information needed to make a decision.
2. How ACC++ Works: The "Signal Detective"
Think of the model's attention mechanism (where it decides what to focus on) as a radio station.
- The Old Method: It tried to find the whole radio tower that was broadcasting.
- ACC++: It zooms in to find the exact frequency (a specific signal) and the exact microphone (the worker) that is speaking on that frequency.
- The Magic: It does this in a single pass, instantly. It strips away the noise and leaves you with a clean, simple map showing exactly which workers talked to which, and what they said.
3. The Big Discovery: The "Prompt-Specific" Blueprint
The most exciting finding is that the model doesn't use the same blueprint for every question. It changes its strategy based on how you ask the question.
The "Name Game" Analogy (The IOI Task):
The researchers tested the model with a game: "When [Name A] and [Name B] went to the store, [Name B] gave a gift to [Name A]." The model needs to pick Name A.
- Scenario A: "When Mary and John went..." (Mary is first).
- Scenario B: "When John and Mary went..." (John is first).
The paper found that the model uses completely different internal circuits for these two scenarios, even though the task is the same.
- In one case, the model uses a "Second Item" detector.
- In the other, it uses a "Structural Pattern" detector.
- The Takeaway: The model is flexible. It has a toolbox of different strategies and picks the right one based on the exact wording of your prompt.
4. The Multilingual Mystery: Same Workers, Different Languages
The researchers also tested the model with different languages (English, Spanish, French, Portuguese).
- The Finding: The model uses the same group of workers (the same internal components) to solve the problem in all languages.
- The Twist: However, the messages (signals) those workers pass to each other are language-specific.
- The Analogy: Imagine a construction crew building a house. They use the same crew members (workers) whether they are building in New York or Paris. But in New York, they speak English and pass blueprints in English; in Paris, they speak French and pass blueprints in French. The structure of the work is the same, but the language of the communication changes.
- Bonus Discovery: The paper found that the "distance" between the circuits for different languages matches how similar the languages are to each other. Spanish and Portuguese circuits look more alike than English and French circuits, just like the languages themselves.
5. Why This Matters (According to the Paper)
- Clarity: It turns a messy, confusing web of connections into a clean, readable map.
- Interpretability: The tool can even translate these internal "whispers" into plain English. For example, it can tell you, "This worker is looking for the second item in a list," or "This worker is recognizing a proper name."
- Efficiency: It finds these answers much faster and with less "noise" than previous methods.
Summary
This paper gives us a new pair of glasses that lets us see exactly how an AI thinks, word by word. It reveals that the AI isn't just a static machine; it's a dynamic problem-solver that rearranges its internal team and changes its communication style depending on how you ask it a question and what language you use. It proves that we can understand the "mechanics" of these models without needing to break them apart.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.