CLJan 15

Measuring Affinity between Attention-Head Weight Subspaces via the Projection Kernel

arXiv:2601.10266v11 citationsh-index: 6
Originality Incremental advance
AI Analysis

This provides a more precise tool for interpreting Transformer internal structures, which is incremental but useful for researchers in model interpretability.

The paper tackled the problem of understanding relationships between attention heads in Transformers by measuring the similarity of their weight subspaces using the Projection Kernel, showing it reproduces known interactions on the IOI task more clearly than prior metrics like the Composition Score.

Understanding relationships between attention heads is essential for interpreting the internal structure of Transformers, yet existing metrics do not capture this structure well. We focus on the subspaces spanned by attention-head weight matrices and quantify head-to-head relationships using the Projection Kernel (PK), a principal-angle-based measure of subspace similarity. Experiments show that PK reproduces known head-to-head interactions on the IOI task more clearly than prior metrics such as the Composition Score. We further introduce a framework to quantify the informativeness of PK distributions by comparing them with a reference distribution derived from random orthogonal subspaces. As an application, we analyze a directed graph constructed from PK and show that, in GPT2-small, L4H7 acts as a hub by functioning as an identity head.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes