Research map / Architectures and efficiency / Attention and transformers
Measuring Affinity between Attention-Head Weight Subspaces via the Projection Kernel
Hiroaki Yamagiwa, Yusuke Takase, Hidetoshi Shimodaira
SB Intuitions · Kyoto University · RIKEN AIP
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Use Projection Kernel instead of Composition Score | head similarity · IOI head detection (OQ) | PR-AUC: 0.227 -> 0.446 | Improved |
| Use Projection Kernel instead of Composition Score | head similarity · IOI head detection (OK) | PR-AUC: 0.352 -> 0.451 | Improved |
| Use Projection Kernel instead of Composition Score | head similarity · IOI head detection (OV) | PR-AUC: 0.215 -> 0.289 | Improved |
| Use Projection Kernel instead of Linear CKA / Procrustes Similarity | head similarity · IOI head detection (OV) | PR-AUC: 0.409 / 0.428 vs 0.289 | Hurt |
| Use Projection Kernel instead of Composition Score | head-class classification (QQ, KK, VV, OO) · IOI head classes | PR-AUC / ROC-AUC: PR-AUC 0.013 -> 0.047; ROC-AUC 0.785 -> 0.809 | Improved |
| Use PK instead of CS in a two-layer attention-only model | head similarity · attn-only-2l Previous Token to Induction heads | qualitative score pattern | Improved |
| Restrict comparison to top 3% of head pairs | PK versus CS correlation · GPT2-small scatter plots | correlation | Mixed |
| Apply weight preprocessing that simplifies pretrained weights | PK and CS · GPT2-small | score stability: PK largely unchanged; CS changes substantially | Improved |
| Aggregate token generation probabilities per head over OpenWebText | head top-token interpretation · GPT2-small | interpretability | No clear effect |
Open problems this paper states
- “Does not account for Layer Normalization.” → Theory covers only simplified one-layer or single-head attention. (an open problem in sparse and structured attention)
- “Ignores feed-forward layers, so it cannot fully account for the internal computations of language models.” → Theory covers only simplified one-layer or single-head attention. (an open problem in sparse and structured attention)
- “Analysis covers only GPT2-small, leaving larger models such as BLOOM and Qwen2 unevaluated.” → Experiments stay at small model scale. (an open problem in sparse and structured attention)
Open problems in sparse and structured attention
How well do the theory and the efficient designs of attention carry over from simplified models to full-scale transformers?
- Theory covers only simplified one-layer or single-head attention. · 12 papers state it
- Experiments stay at small model scale. · 8 papers state it
- Theory assumes token distributions that real data does not match. · 7 papers state it
Closest papers by meaning
- What are you sinking? A geometric approach on attention sink (NeurIPS 2025 · similarity 0.86)
- Dissecting the Interplay of Attention Paths in a Statistical Mechanics Theory of Transformers (NeurIPS 2024 · similarity 0.85)
- Coeff-Tuning: A Graph Filter Subspace View for Tuning Attention-Based Large Models (CVPR 2025 · similarity 0.85)
- Attention-based PCA (NeurIPS 2026 · similarity 0.85)
- Data-Adaptive Mahalanobis Metric Learning for Cross-Head Attention in Transformers (NeurIPS 2026 · similarity 0.85)
- Dissecting Query-Key Interaction in Vision Transformers (NeurIPS 2024 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.