TL;DR
Researchers have discovered a fundamental split in how Large Language Models (LLMs) handle tasks: the internal vectors that causally drive performance are surprisingly tied to specific prompt formats, while a separate, disjoint set of vectors represents the abstract concept itself. This "causality vs. invariance" divide suggests that LLMs don't rely on a single unified circuit for reasoning, but rather use different mechanisms for task execution and conceptual understanding.
What Problem Does This Paper Address?
In the quest to understand how LLMs "think," researchers previously identified Function Vectors (FVs)—compact representations of a task (like "find the antonym") that, when injected into a model, can trigger that behavior. It was widely assumed that these FVs represented the abstract concept of the task.
However, this paper challenges the "single-circuit hypothesis." If an LLM truly understands the concept of an "antonym," that representation should be invariant—it shouldn't matter if the question is asked in English, French, or as a multiple-choice quiz. The authors investigate whether the vectors that drive behavior are the same as those that encode abstract, format-independent knowledge.
Methods
The authors compare two types of internal representations across models like Llama 3.1 and Qwen 2.5:
- Function Vectors (FVs): Identified using Activation Patching (AP). This technique finds "Causal Heads"—the specific attention heads that, when their activations are modified, directly change the model's output. These are the "doers."
- Concept Vectors (CVs): Identified using Representational Similarity Analysis (RSA). The authors looked for "Invariant Heads"—heads whose internal patterns cluster by the underlying concept (e.g., "Antonym") regardless of whether the input format was open-ended text or multiple-choice. These are the "knowers."
To test these, they used Steering Experiments on a diagnostic task called AmbiguousICL, where a prompt contains two conflicting tasks (e.g., "find the antonym" vs. "translate to French"). By injecting FVs or CVs, they could see which vector was better at forcing the model to follow a specific concept across different languages and formats.
Datasets and Formats
The study utilized 21 datasets covering seven relational concepts: Antonym, Categorical, Causal, Synonym, Translation, Present-Past, and Singular-Plural.
Each concept was presented in three formats:
- Open-ended English (OE-EN)
- Open-ended French or Spanish (OE-FR/ES)
- Multiple-choice English (MC)
The researchers used a mix of existing benchmarks and new pairs generated via GPT-4o, ensuring high-quality translations via DeepL.
Key Insights and Ideas
- The Orthogonality of Format: FVs are not invariant. An FV extracted from a multiple-choice prompt is nearly orthogonal (mathematically unrelated) to an FV for the same concept extracted from an open-ended prompt. FVs "mix" the concept with the surface-level format.
- Disjoint Mechanisms: Surprisingly, the "Causal Heads" (FVs) and "Invariant Heads" (CVs) are almost entirely different sets of attention heads. Even though they appear in similar layers of the model, they seem to serve different roles.
- The Steering Trade-off: FVs are powerful but brittle. They provide the largest performance gains when the test format matches the extraction format ("in-distribution"). CVs provide smaller gains but are far more robust; they can steer the model successfully even when the language or question type changes ("out-of-distribution").
- Format Artifacts: When you steer a model with an FV extracted from a French prompt, the model often starts outputting French words, even if the task is just "find the antonym." CVs do not suffer from this; they steer the meaning without dragging along the format.
Key Results
- Similarity Gap: Within the same format, FVs for a concept are highly similar (cosine similarity ≈ 0.90). Across formats, they drop significantly, whereas CVs maintain much more stable similarity scores across formats.
- Head Overlap: For the top 20 heads identified by each method, the overlap was nearly zero. This confirms that the model's "causal circuit" and "conceptual representation" are physically separated in the architecture.
- KL Divergence: In steering tests, CVs showed significantly lower KL divergence between in-distribution and out-of-distribution settings compared to FVs. This means CVs produce a more consistent "conceptual shift" in the model's probability distribution, regardless of the prompt's surface form.
Limitations and Future Work
The authors acknowledge a few key limitations:
- Global vs. Local RSA: Their method for finding CVs looked for heads that encode all tested concepts invariantly. This might miss heads that are specialized for just one specific concept (e.g., a head that only knows "Antonyms").
- The "Why" of Separation: It remains unclear why the model separates these functions. The authors propose two hypotheses: either CVs and FVs act as an "encoder/decoder" pair, or CVs serve as a "backup circuit" that the model only relies on when standard task-specific circuits fail.
- Developmental Path: The paper doesn't explore when these separate heads emerge during the training process—a potentially fruitful area for future mechanistic interpretability research.
Summary updated