mlsanityData to 7 Oct 2026

Decomposing Query-Key Feature Interactions Using Contrastive Covariances

arXiv 2602.04752 ↗First posted 4 Feb 2026cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Despite the central role of attention heads in Transformers, we lack tools to understand why a model attends to a particular token. To address this, we study the query-key (QK) space -- the bilinear joint embedding space between queries and keys. We present a contrastive covariance method to decompose the QK space into low-rank, human-interpretable components. It is when features in keys and queries align in these low-rank subspaces that high attention scores are produced. We first study our method both analytically and empirically in a simplified setting. We then apply our method to large language models to identify human-interpretable QK subspaces for categorical semantic features and binding features. Finally, we demonstrate how attention scores can be attributed to our identified features.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 31 of its 40 references that are in the map. First posted on arXiv 4 Feb 2026.

Builds on

31 of 40 references.

References · 31

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2025Qwen3 Technical Reportcited by 8,195
  4. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  5. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
  6. 2022Toy Models of Superpositioncited by 928
  7. 2019Attention is not Explanationcited by 916
  8. 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 313
  9. 2019Revealing the Dark Secrets of BERTcited by 300
  10. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
  11. 2016Understanding Neural Networks through Representation Erasurecited by 223
  12. 2024Not All Language Model Features Are One-Dimensionally Linearcited by 201
19 more
  1. 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 111
  2. 2023How do Language Models Bind Entities in Context?cited by 102
  3. 2018Seq2Seq-Vis: A Visual Debugging Tool for Sequence-to-Sequence Modelscited by 69
  4. 2022VL-InterpreT: An Interactive Visualization Tool for Interpreting Vision-Language Transformerscited by 53
  5. 2023AttentionViz: A Global View of Transformer Attentioncited by 50
  6. 2026When Models Manipulate Manifolds: The Geometry of a Counting Taskcited by 43
  7. 2024Talking Heads: Understanding Inter-layer Communication in Transformer Language Modelscited by 39
  8. 2025Language Models use Lookbacks to Track Beliefscited by 36
  9. 2024Representational Analysis of Binding in Language Modelscited by 27
  10. 2025Mixing Mechanisms: How Language Models Retrieve Bound Entities In-Contextcited by 24
  11. 2024Automatically Identifying Local and Global Circuits with Linear Computation Graphscited by 22
  12. 2025Does Object Binding Naturally Emerge in Large Pretrained Vision Transformers?cited by 19
  13. 2024Dissecting Query-Key Interaction in Vision Transformerscited by 12
  14. 2025The Geometry of Self-Verification in a Task-Specific Reasoning Modelcited by 12
  15. 2025Decomposing Representation Space into Interpretable Subspaces with Unsupervised Learningcited by 7
  16. 2025LLMs Process Lists With General Filter Headscited by 7
  17. 2025Beyond Components: Singular Vector-Based Interpretability of Transformer Circuitscited by 6
  18. 2026Bi-Orthogonal Factor Decomposition for Vision Transformerscited by 4
  19. 2025Extracting Rule-based Descriptions of Attention Features in Transformerscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.