Abstract
Prior work on in-context copying has shown the existence of induction heads, which attend to and promote individual tokens during copying. In this work we introduce a new type of induction head: concept-level induction heads, which copy entire lexical units instead of individual tokens. Concept induction heads learn to attend to the ends of multi-token words throughout training, working in parallel with token-level induction heads to copy meaningful text. We show that these heads are responsible for semantic tasks like word-level translation, whereas token induction heads are vital for tasks that can only be done verbatim, like copying nonsense tokens. These two "routes" operate independently: in fact, we show that ablation of token induction heads causes models to paraphrase where they would otherwise copy verbatim. In light of these findings, we argue that although token induction heads are vital for specific tasks, concept induction heads may be more broadly relevant for in-context learning.
Introduction: The Verbatim Gap in In-Context Learning
Large Language Models (LLMs) exhibit a remarkable ability to learn from context, a phenomenon largely attributed to "induction heads." These circuits identify patterns like A B ... A and predict the subsequent token B. However, traditional induction heads are specialized for verbatim copying at the token level. This creates a conceptual gap: how do models handle tasks requiring the transfer of meaning rather than specific characters? For example, translating "pommes de terre" (three tokens) to "potatoes" (one token) requires a mechanism that operates on abstract concepts.
This research proposes a "dual-route" model of induction, drawing an analogy to human cognitive processes. Just as the human brain uses sublexical routes for sounding out letters and lexical routes for recognizing whole words, LLMs possess distinct circuits for token-level and concept-level copying.
Methodology: Isolating the Lexical Route
To identify and analyze these circuits, researchers employed several mechanistic interpretability techniques. The primary method was causal mediation (patching). By comparing "clean" prompts (containing a semantic pattern) with "corrupted" prompts, they could "patch" activations from specific heads to see which ones restored the model's ability to predict the correct semantic successor.
Additionally, the team used Last-Token Matching Scores to verify if heads attended to the ends of multi-token words—positions known to concentrate semantic information. They also developed a "Concept Lens" by summing the Output-Value matrices of identified heads to project internal states into vocabulary space, effectively decoding the abstract concepts being processed.
Key Insights: Semantic Anchors and AI "Dyslexia"
The study revealed several critical properties of concept induction heads:
- Semantic Anchors: These heads specifically target the final token of a word span. This confirms that LLMs treat the last token as a "mailbox" where the integrated meaning of a multi-token word is stored before being "shipped" to future positions in the sequence.
- Language-Agnostic Representations: Through cross-lingual patching experiments, the researchers proved these heads carry language-independent meanings. By patching activations from a Spanish-Italian prompt into a Japanese-Chinese prompt, the model would output the correct meaning in the target language of the base prompt, regardless of the source language in the patched activation.
- The Paraphrase Effect: In a striking parallel to "deep dyslexia" in humans—where damage to sublexical routes leads patients to read "CANARY" as "parrot"—the authors found that ablating token induction heads in LLMs induces a similar state. The model ceases verbatim copying and begins to paraphrase, such as rewriting code logic using different but semantically equivalent syntax.
Empirical Results and Distribution
The researchers established a double dissociation between the two routes. Ablating concept heads severely degraded performance on semantic tasks like translation and synonym matching while leaving verbatim copying of nonsense strings intact. Conversely, removing token heads disabled verbatim copying but allowed semantic tasks to persist via paraphrasing.
As shown in the layer distribution analysis, concept induction heads (represented by red diamonds) tend to cluster in the mid-early layers of models like Llama-2 and Llama-3. In contrast, token induction heads (blue circles) are more sporadically distributed and often appear later in the architecture. This suggests that semantic integration happens relatively early in the model's forward pass.
Conclusion and Future Directions
The discovery of concept induction heads provides a more complete picture of how LLMs perform in-context learning. While token heads are essential for rote memorization and verbatim tasks, concept heads drive the semantic flexibility that makes these models useful for translation and reasoning. Future work remains to address potential biases toward high-resource languages and to explore how these dual routes scale in even larger or multimodal architectures.
Summary updated