Back to AI News
arxiv

Spectral Degeneration of Self-Attention under Isotropic Score Geometry

This paper introduces an idealized spectral model for the pre-softmax score matrix in transformers, motivated by the rotational isotropy of query and key representations. The authors prove that the row-wise softmax map transforms this structure into a degenerate attention matrix where dominant modes are preserved while bulk spectral distributions concentrate at zero. The stable rank remains bounded for bidirectional attention but grows logarithmically for causal attention, explaining how attention compresses non-dominant directions.

AI Brief

Provides a rigorous theoretical explanation for how self-attention preserves dominant directions while compressing bulk modes, offering fundamental insights into transformer behavior.

arXiv:2611.02778v1 Announce Type: cross Abstract: We study the spectral structure of the self-attention matrix in Transformer models through an idealized spectral model for the pre-softmax score matrix. Motivated by the rotational isotropy of query and key representations, our model replaces the random token-space orientation of the score matrix by its canonical singular-value representative with a logarithmic spike--bulk separation. Empirical diagnostics on pretrained vision and language transformers motivate this model: token-space singular matrices have nearly uniform eigen-angle distributions, and score spectra are dominated by a small number of effective directions. We then prove that the row-wise softmax map transforms this structure into a degenerate attention matrix: dominant modes are preserved, whereas the bulk spectral distributions concentrate at zero. Stable rank remains bounded for bidirectional attention but grows logarithmically for causal attention. Within the canonical model, these results explain how attention can preserve a small number of dominant directions while compressing the remaining bulk modes.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!