This paper, "Rethinking Contextualization by Reinterpreting Attention Head Channels," offers a fresh, mathematically grounded perspective on how Transformer-based language models (LMs) actually process information. Instead of treating attention heads as a collection of discrete, heuristic "tools" (like an "induction head" or a "comma head"), the authors propose a unifying principle based on information theory and linear algebra.
TL;DR
Contextualization in Transformers follows a general "information gradient" where information-rich, specific words act as sources that write their semantics into information-poor "sinks" (like pronouns). By reinterpreting attention heads as gated channels defined by their singular vectors, the authors provide a mechanistic framework that enables automated interpretation and continuous embedding of head functionality.
What Problem Does This Paper Address?
Contextualization—the process by which a word like "bank" gains a specific meaning based on surrounding words like "river" or "money"—is the core of modern NLP. However, our understanding of how Transformers do this is fragmented.
Current research often relies on a "dictionary" approach: identifying specific attention heads and naming them based on observed behaviors (e.g., "this head looks at the previous token"). The authors argue this approach is unscientific and scales poorly. It’s like trying to understand a gas by tracking every individual molecule rather than using the general principles of thermodynamics. They seek a "general principle" that explains the global behavior of contextualization across all words and heads.
Methods
The authors decompose contextualization into three testable hypotheses, illustrated in Figure 1:
- Static Information: Words have inherent, varying amounts of information before any processing occurs (e.g., "Newton" is more informative than "he").
- Information Gradient: During processing, information flows from high-information "sources" to low-information "sinks."
- Fine-grained Selectivity: This flow isn't random; it's gated by semantic matching (e.g., "Newton" transmits information to "he," but not to "she").
To prove this mechanistically, they use Singular Value Decomposition (SVD) on the attention weight matrices ($W_Q^\top W_K$ and $W_O W_V$). They reinterpret these matrices not just as weights, but as gated channels. The singular vectors act as "listening" and "writing" features that determine which information is allowed to pass through the channel.
Datasets
The study evaluates 10 different LMs (including BERT, Llama 2/3, Qwen, and OLMo) using:
- Sampled Vocabulary: 800 words across 16 semantic categories (e.g., Famous People, Frequent Verbs, Prepositions), sampled using GPT-4o-mini.
- Query Set: 150 queries designed to measure a word's "Information Gain" (how much it changes the model's output distribution).
- Templates: 128 sentence templates used to measure "Absorption" (how much a word's internal representation changes across different contexts).
- The Pile: 5 million tokens used for automated feature interpretation.
Key Insights and Ideas
- The "Sink" Nature of Low-Info Words: Words that carry little inherent information (like pronouns or common nouns) show the highest variance in their hidden states across different sentences. They are "sponges" designed to absorb context.
- Heads as Polyfunctional Channels: A single attention head isn't just one "thing." Because a head has multiple singular vectors, it can act as multiple different semantic channels simultaneously. This explains the "polysemy" of attention heads observed in prior work.
- Automated Discovery: By treating singular vectors as features, the authors can use AutoInterp (automated interpretation) to label what a head is "listening" for without human intuition. For example, one vector might listen for "holiday-related words" while another in the same head listens for "positional markers."
- Continuous Head Embedding: Instead of a discrete list of head types, the authors show that heads can be embedded into a continuous vector space based on their singular vectors. This allows for a geometric analysis of how different heads relate to one another.
Key Results
- Validation of the Gradient: The authors found a clear correlation: words with high "Static Information Gain" (measured at the output) had high "Absorption Resistance" (their hidden states remained stable across contexts).
- Selective Transmission: Using activation patching, they proved that information flow is highly selective. An animate noun like "man" modifies the representation of the pronoun "who" significantly more than it modifies "which" (Figure 6).
- Mechanistic Grounding: They demonstrated that the top singular vectors of the $W_O W_V$ matrices (which control "writing") point specifically toward the hidden states of high-information words. This provides the "why" behind the information gradient.
- Interpretability Performance: Their automated interpretation method (AutoInterp) achieved an average F1 score of 0.426, significantly outperforming random baselines (0.143) and providing human-understandable labels for head operations.
Limitations and Future Work
- Feature Purity: Unlike Sparse Autoencoders (SAEs), singular vectors are not guaranteed to be "monosemantic." A single vector might represent a mixture of concepts, making interpretation difficult.
- Dynamic Information: The paper mostly treats a word's information as "static." Future work could explore "absorption-relay dynamics," where a word absorbs information in early layers and then becomes a source for other words in later layers.
- Optimization Pressure: While the authors observed that this gradient exists, it remains unclear exactly how the training process (next-token prediction) forces the model to adopt this specific information-routing strategy.
Summary updated