Explore the research collection
3 entries · Follow this search
- Paper
The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinks
Mechanistically studies two recurring Transformer phenomena: massive activations (a few tokens show extreme outliers in a few channels) and attention sinks (certain tokens attract disproportionate attention mass regardless of relevance). Through systematic experiments, shows their co-occurrence is largely an architectural artifact of modern Transformer design, and the two serve related but distinct functions: massive activations operate globally — inducing near-constant hidden representations that persist across layers, effectively functioning as implicit parameters — while attention sinks operate locally, modulating attention outputs across heads and biasing individual heads toward short-range dependencies. The pre-norm configuration is the key architectural choice that enables the co-occurrence; ablating it decouples the two phenomena. Practical upshot: modifying normalization logic or adding dynamic gating can eradicate massive activations without hurting LM performance, giving a structural path to safer ultra-low-precision quantization and efficient KV-cache management.
- Paper
Would This Change Your Answer? Evaluating Explanations of LLM Behavior in the Wild with Counterfactual Experiments
Evaluates explanations of LLM behavior through counterfactual simulatability: is the explanation useful for predicting the model's behavior on related counterfactual inputs? Introduces CHIVE (Counterfactual Hypothesis Investigation Via Edits), an agentic pipeline that identifies unexpected naturally-occurring model behaviors in the wild and investigates them with counterfactual prompt edits, yielding thousands of high-quality explanations with supporting counterfactual evidence. Two applications: (1) testing whether common interpretability techniques help an agent predict counterfactual model behaviors — surprisingly, no uplift from any technique studied (activation oracle / NLA / SAE conditions do not beat the transcript baseline: transcript 73.6 acc / 81.4 AUROC vs AO 72.7/80.9, NLA 71.3/80.3, SAE 71.9/81.0, per the paper chart); the authors note tool outputs almost always restate feature and behavior already visible in the transcript and almost never state the causal relationship explicitly. (2) Training models on CHIVE-generated counterfactuals generalizes to various out-of-distribution settings.
- Paper
Shared Circuits for Shared Grammar: Tracing Subject-Verb Agreement Across Languages
Asks when multilingual LLMs' internal mechanisms overlap cross-lingually, via present-tense subject-verb agreement (a morphosyntactic process weakly expressed in English). Uses activation patching and attention analysis across 29 languages and five open-source model families to identify the attention heads causally implicated in agreement and compare head-level signatures across languages. Languages with overt person/number inflection show more similar agreement circuitry than non-conjugating languages, with strongest sharing when the analysis isolates recovery of the inflectional contrast itself. English becomes more similar to conjugating languages precisely where overt agreement is required. Many implicated heads share attention patterns across languages, suggesting cross-lingual overlap reflects shared functional roles as well as shared localization. Conclusion: multilingual LLMs reuse partially shared computational structure for morphosyntactic agreement rather than fully separate language-specific solutions.