Jiming Feng, Junliang Li
The study reveals that a small fraction of attention heads in Transformers exhibit near-idempotent behavior under composition, with their output-value operators nearly satisfying T² ≈ αT. This property emerges from specific geometric orientations in key-value spaces and is significantly disrupted when key orientations are randomized, indicating trained alignment rather than inherent structure. Value sharing enables a local algebraic structure across heads, extending individual idempotence to a collective operator system.
Understanding the geometric and algebraic regularities in attention mechanisms provides insight into how Transformers learn and represent information. This could inform more efficient architectures, better initialization strategies, and improved interpretability by identifying which structural properties are actively learned during training.
Thank you to arXiv for use of its open access interoperability. arxiv.org. aibrief.ai is not affiliated with or endorsed by arXiv.