Manuscript Offprint
arXiv:2611.02778Spectral Degeneration of Self-Attention under Isotropic Score Geometry
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
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.
1 Introduction
Transformers have become the dominant architecture in modern machine learning, powering large language models and state-of-the-art systems in vision, speech, and multimodal learning. Introduced in the seminal work “Attention Is All You Need” [Vaswani et al., 2017], the transformer replaces recurrence and convolution with a simple yet powerful mechanism: self-attention.
Given query and key matrices , self-attention computes a score matrix , followed by a row-wise softmax normalization , which defines how information is aggregated across tokens. This mechanism is at the core of language models such as BERT [Devlin et al., 2019, Liu et al., 2019] and GPT-style architectures [Radford et al., 2018, 2019, Brown et al., 2020] and vision models such as Vision Transformers (ViT) [Dosovitskiy et al., 2021], enabling scalable modeling of long-range dependencies.
Despite its empirical success, the theoretical understanding of attention remains limited, especially in the trained regime. A central open question is to characterize the structure of the attention matrix , which governs information flow and expressivity [Bordelon et al., 2024, Sakai et al., 2025]. Recent studies [Dong et al., 2021, Noci et al., 2022, Nait Saada et al., 2025, Hayase et al., 2026, Sanyal et al., 2026] suggest that attention matrices often exhibit degeneration phenomena, where they become close to low-rank or even rank-one structures in deep layers. Understanding the origin of this degeneration is critical for explaining both the strengths and limitations of transformer models.
In this paper, we propose a new perspective based on the geometry of the query and key matrices. Motivated by isotropy diagnostics in trained representations, we study a canonical spectral model that isolates a mechanism of attention degeneration under softmax normalization. Specifically, we hypothesize that in trained transformers, the query and key matrices exhibit an approximate token-
40th Conference on Neural Information Processing Systems (NeurIPS 2026).
space orthogonal invariance, meaning that their token-space singular vectors behave as if they were drawn from a Haar distribution.
This is analogous to the feature-space rotational invariance exploited in RaBitQ [Gao and Long, 2024, Gao et al., 2025] and TurboQuant [Zandieh et al., 2026], where random rotations in feature space support efficient quantization. A shared orthogonal right rotation, , preserves the score matrix . In contrast, left rotation acts on the token dimension and does not preserve in the deterministic way, but instead characterizes its statistical structure.
In high dimension this isotropic picture has a concrete implication for the entries , where and are token-level query and key vectors. When distinct-token directions are approximately independent and isotropic, their cosine similarities satisfy for , in probability as the feature dimension grows. This concentration describes angular geometry rather than the magnitude of the scaled scores, which also depends on query and key norms. It motivates studying score spectra separately from their orientation. In our spectral surrogate model, we keep the singular values and replace the token-space orientation by the canonical representative .
Empirical observation. We support this hypothesis with empirical evidence from both vision and language models: a pretrained Vision Transformer evaluated on Imagenette [Howard, 2019], and GPT-2 evaluated on Wikitext-103. Across these settings, the token-space singular matrices exhibit spectral behavior consistent with Haar-distributed orthogonal matrices. In particular, their eigen-angle distributions are close to uniform on the unit circle, consistent with one spectral consequence of token-space isotropy. Details are discussed in Section 4.
From geometry to degeneration. Motivated by high-dimensional isotropy, we analyze softmax() and its causal counterpart, where the diagonal surrogate contains the singular values of . We assume that bulk values lie below and spikes above it, with diverging additive margins.
In the bidirectional model, softmax normalization makes bulk rows asymptotically uniform, while spike weights dominate the normalization and concentrate rows on canonical basis vectors. When the number of spikes satisfies , the leading singular values and eigenvalues converge to 1, while the rest vanish. We extend this spike-bulk analysis to causal attention and generalized row-normalized attention maps.
Main contributions. Our contributions can be summarized as follows:
- We formulate a canonical diagonal score model motivated by token-space isotropy and provide empirical diagnostics of token-space geometry in pretrained transformers.
- We characterize the eigenvalue and singular-value spectra of canonical bidirectional attention and show that, under spike-bulk separation, their empirical distributions concentrate on . Our results include a non-asymptotic characterization of the ordered eigenvalues and spectral profiles with explicit error bounds.
- To the best of our knowledge, we provide the first joint characterization of eigenvalue and singular-value degeneration in causal attention. Under the canonical spike-bulk score model, we derive exact eigenvalues and quantitative singular-value bounds, showing that bounded bulk scores yield harmonic bulk eigenvalue decay and at most logarithmically many bulk singular values above any fixed positive threshold.
Collapse in width. In a different regime, Nait Saada et al. [2025] analyze attention matrices in the width limit by modeling the score matrix as an i.i.d. random matrix. They show that the softmax attention matrix behaves like a random Markov matrix and exhibits rank collapse driven by a spectral gap. However, this analysis relies on the strong i.i.d. assumption on , which does not reflect the structured nature of trained transformers.
Hayase et al. [2026] study the spectrum of attention matrices at initialization through a Gaussian equivalence framework. Unlike the i.i.d. model of Nait Saada et al. [2025], their analysis accounts for the structured dependence in the score matrix , which arises even at initialization from the shared input and weight matrices. They provide a random matrix characterization of attention in the infinite-width limit, capturing these correlations. However, their results remain restricted to randomly initialized networks and do not address the trained regime.
Token-space isotropy observed in both Gaussian-initialized and trained transformers motivates our canonical diagonal score surrogate, which isolates a mechanism of degeneration under row-wise softmax normalization. We derive asymptotic singular-value bounds and a non-asymptotic eigenvalue characterization, and extend the analysis to causal attention and generalized softmax attention with alternative activations.
3 Main result
3.1 Setup
Let be the input sequence matrix, where is the context length and is the hidden dimension. Let be the query and key projection matrices. We define , and the (scaled) score matrix . The attention matrix is the row stochastic matrix given by the row-wise softmax:
Token-space isotropy motivates examining the singular value decomposition , with . We use to define the following canonical attention model.
Assumption 1 (Spectral canonical model). Let denote the singular values of the pre-softmax score matrix , and let . The model attention matrices are defined by
where is the causal mask defined below. We write for the model under discussion. In the causal model, the singular values are placed in descending diagonal order.
Assumption 2 (Spectral separation of ). Let be the diagonal entries of . There exist an integer and functions , with , such that, for all sufficiently large :
- The spikes (): The spike entries lie above the logarithmic normalization scale by a diverging margin, with , and hence
- The bulk (): The remaining bulk entries lie below the same scale by a diverging margin, with , and hence
The singular spectrum exhibits a strict gap between the bulk and the spikes, with no singular value lying between the two thresholds.
The logarithmic threshold comes from the softmax normalization: . The diagonal weight competes with unit off-diagonal weights, placing the transition between averaging and diagonal concentration at (Figure 1).
For a fixed head dimension , the score matrix satisfies . Consequently, the number of spikes is sublinear in sequence length, with .
Motivated by isotropy, the canonical model retains the score singular values and aligns the left and right singular directions with the token axes, isolating the spectral effects of softmax normalization and causal masking. Section 4 compares the model with attention in pretrained transformers.

Figure 1: Qualitative spike–bulk separation under Assumption 2. Spike and bulk scores satisfy and , respectively; the open band between them contains no score entries. The dashed curve marks the normalization scale .
3.2 Attention degeneration
In this subsection, . Throughout the remaining analysis, we use
for the spike fraction and the bidirectional approximation error scale, respectively.
Theorem 1 (Attention Singular Degeneration). Under Assumptions 1 and 2, as , the following hold:
- Singular-value profile. Define
For , the ordered deterministic profile is
The endpoint profiles are for and for . The singular values of satisfy the uniform approximation
In particular, for .
- Sublinear spikes. If , the leading singular values converge uniformly to 1, with
- Spectral degeneration. If , the empirical singular-value distribution converges weakly to .
The proof of Theorem 1 gives the exact diagonal-plus-rank-one decomposition
where is the all-ones vector, is the row partition function, with , and with .
When a bulk is present, all bulk rows perform the same averaging operation in the limit and therefore contribute a single direction. Together with the directions retained by the spike rows, this shared averaging direction forms a -dimensional subspace.
From decomposition (1), we derive a closed-form characteristic equation and show that the canonical attention matrix has real eigenvalues despite its asymmetry.
Theorem 2 (Attention Eigen Degeneration). Under Assumptions 1 and 2, write for the diagonal entries of .
- Exact spectral structure. For every , the eigenvalues are real and lie in , with . For , they satisfy
For , this also gives the bounds
- Eigenvalue profile. As , the spike and bulk eigenvalues satisfy
If , the remaining eigenvalue satisfies
and hence converges to whenever . In particular, if , the leading eigenvalues converge uniformly to 1.
- Spectral degeneration. If , the empirical eigenvalue distribution converges weakly to .
Remark 1 (Bounded Bulk). If the bulk scores satisfy for , with a constant independent of , then
Consequently, the contributions in Theorems 1–2 improve to , and the profile errors become .
3.3 Causal attention
We now turn to causal attention, the masked variant used in decoder architectures [Radford et al., 2018, 2019, Brown et al., 2020]. The lower-triangular mask changes the asymptotic operator structure: even benign bulk scores leave a triangular averaging component rather than the same collapse seen in bidirectional attention. Throughout this subsection, , where the causal mask is
Under Assumption 2, the first token positions contain the spikes and the remaining positions form the bulk. Since the causal matrix is lower triangular, its eigenvalues are exactly its diagonal entries. The spike eigenvalues remain close to one, while harmonic bulk decay follows once the relevant bulk scores are uniformly bounded.
Theorem 3 (Eigenvalues of Causal Attention). Under Assumptions 1 and 2, for any sequence length , the eigenvalues of are real and equal to its diagonal entries:
The largest eigenvalue is exactly . As ,
• The largest eigenvalues converge to 1, with speed .
• The r least eigenvalues decay harmonically:
provided that, for some , the last r bulk scores are uniformly bounded, i.e., for . In particular, if all bulk scores , , are uniformly bounded, then .
• Spectral degeneration. If , the empirical eigenvalue distribution of converges weakly to .
The singular values are subtler because triangularity no longer identifies them. The next result describes their spectral degeneration under spectral separation, with sharper bulk bounds when the bulk scores are uniformly bounded.
Theorem 4 (Singular Values of Causal Attention). Under Assumption 1, A satisfies, for every sequence length ,
Under the additional spectral-separation assumption 2, the following conclusions hold:
- Spike subspace. For and all sufficiently large , there exists a -dimensional subspace such that
Moreover, for ,
- Spectral degeneration. If , the empirical singular-value distribution of converges weakly to .
If, in addition, there exists a constant , independent of , such that for all , then there exists a constant , depending only on , such that the following further estimates hold for all sufficiently large :
- Bulk singular-value upper bounds. For every ordered bulk index ,
Moreover, for every fixed , . Consequently, for every sequence with ,
Weak spectral degeneration holds under spectral separation, while the stronger logarithmic bounds use the additional bounded-bulk condition. The causal mask gives the bulk a Hardy-type lower triangular averaging structure, already visible when .
3.4 Encoder versus decoder
Within the canonical model, bounded bulk scores give an bulk term for bidirectional attention, whereas causal attention has at most logarithmically many bulk singular values above any fixed threshold. This contrast suggests a spectral perspective on encoder and decoder representations: concentration in a few directions may favor selective aggregation, while retaining additional directions may support the range of continuations in sequential prediction.
The contrast is already visible when : bidirectional attention returns the global average, while causal attention averages each prefix,
Zero-score attention (512 tokens)
(a) Bidirectional attention
Global averaging

(b) Causal attention
Prefix averaging

Singular-value index i (log scale)
Figure 2: Ordered singular values of zero-score attention at . Bidirectional attention has rank one, whereas causal prefix averaging retains a nonzero singular-value tail.
Here , whereas . Their operator norms remain of constant order: and . Figure 2 compares their ordered singular values.
To quantify this difference more precisely, we introduce the stable rank and entropy-based effective ranks. For a nonzero matrix with singular values , define
Here is the effective rank of Roy and Vetterli [2007], while uses squared singular values; we take .
Theorem 5 (Informal: Spectral ranks). Consider canonical bidirectional and causal attention with a fixed number of spectrally separated spikes and bulk scores uniformly bounded by . As ,
Moreover, , while when its linear bulk mass and entropy moment vanish.
Precise conditions and bounds are given in Theorems 6 and 7 in Appendix D. These bounds distinguish the two attention patterns despite their common limiting empirical spectral law . Relative to context length, the stable ranks decay as and , respectively, quantifying how causal masking slows spectral degeneration as context length grows. Further technical remarks on the causal singular-value bounds are collected in Appendix C.5.
4 Experiment
Our experiments on pretrained GPT-2 and ViT connect the spectral model to trained attention through three questions: how token-space singular factors are oriented, how score strength is distributed across singular directions, and how real and canonical attention spectra compare after softmax.
4.1 Eigen-angle diagnostics of token-space singular factors
Imagenette data We examine the pretrained ViT-B/16 model with SWAG weights [Singh et al., 2022], using the validation split of Imagenette. Each image is mapped to a token matrix at each layer. For every layer input, we compute a full singular value decomposition , and examine the square token-space singular factor . Its eigenvalues lie on the unit circle, so we write with . Haar orthogonal matrices have
Mean IQR (25-75%) 10-90%

Figure 3: Discrepancies between the GPT-2 token-space singular eigen-angle distribution and the uniform distribution on as a function of sequence length on the Wikitext-103 validation split. Linear- and log-scale summaries are shown for Kullback-Leibler divergence, Kolmogorov distance, and Wasserstein distance, with means, interquartile ranges, and 10–90% bands. Kullback-Leibler divergence is calculated by histogram binning with 50 bins.
asymptotically uniform empirical eigen-angles [Diaconis and Shahshahani, 1994, Theorem 3], giving a necessary asymptotic diagnostic for Haar behavior. We measure discrepancies from the uniform distribution using Kullback-Leibler divergence, Kolmogorov distance, and angular Wasserstein distance. Figure 7 shows that the measured discrepancies are consistently close to zero across ViT layers, supporting the isotropy motivation for the spectral canonical model in the vision setting.
Wikitext data We apply the same diagnostic to the token-space singular factor of GPT-2 hidden-state inputs on the Wikitext-103 validation split [Merity et al., 2017], with sequence lengths from 17 to 471 tokens. Figure 3 shows decreasing discrepancies with sequence length, indicating increasingly uniform empirical eigen-angle distributions over the tested range.
4.2 Effective rank of the score matrix
Our theory allows a nonzero bulk, but the spike-bulk analysis is most informative when a few dominant singular directions capture most of the score matrix energy. We therefore measure the intrinsic rank of GPT-2 score matrices on the Wikitext-103 validation split as varies. Figure 4 shows that both rank surrogates remain moderate across the tested sequence lengths rather than scaling linearly with , motivating the spike-bulk structure in Assumption 2.
4.3 Real-versus-canonical attention spectra
We examine the spectral canonical model by directly comparing real attention with the attention induced by the score singular values. For each head, we construct and , using the same mask and placing the score singular values in descending diagonal order. Here M is the causal mask for GPT-2 and zero for ViT. These score and attention diagnostics are computed separately for each head of the intact pretrained networks, with aggregation only after the spectral measurements are obtained (see Appendix F.5 for head-resolved summaries). Measure the Wasserstein distance between their empirical singular-value distributions:
Median IQR (25-75%) 10-90%


Figure 4: Stable rank and effective rank of GPT-2 score matrices on the Wikitext-103 validation split as a function of sequence length. Curves show the median trend, with interquartile ranges and wider percentile bands.
Figure 5 shows a substantial decrease in spectral discrepancy as GPT-2 context length grows from 64 to 1,024. The median distance falls from 0.3002 to 0.0942 across all layers and from 0.3290 to 0.0748 in the last layer. At , ViT has layerwise medians between 0.0367 and 0.1037, with greater variation across image-head pairs in early layers (Figure 6). These observations support bulk spectral similarity, with decreasing discrepancy over the tested GPT-2 lengths.
Rank proxies complement this distributional comparison by measuring spectral concentration. At GPT-2 length 1,024, the pooled stable-rank medians are 1.18 for real attention and 27.51 for canonical attention; the corresponding medians are 314.06 and 95.12. Thus proximity of equally weighted spectral distributions coexists with different concentration and entropy profiles. The sampling and numerical details and the relation to leading spectral modes are discussed in Appendix F.3.

Figure 5: GPT-2 real-versus-canonical attention spectral discrepancy across sequence lengths, pooled over all layers (left) and restricted to the last layer (right). Each length uses nested prefixes of the same 12 documents, with 12 heads per layer. Curves show median ; IQR and 10–90% bands summarize variation across the paired observations.
4.4 Score-level geometry and spectral structure
We apply the eigen-angle diagnostics directly to the actual scores, decomposing independently for every sample, layer, and head. The analysis covers 1,646 GPT-2 sequences and 3,925 ViT images, with all 12 layers and 12 heads. For both GPT-2 factors, the mean angular

Figure 6: ViT real-versus-canonical attention spectral discrepancy across layers at sequence length 577, with 20 images and 12 heads per layer. Boxes show medians and IQRs, with whiskers extending to 1.5 times the IQR. All layer medians are below 0.104.
decreases from approximately 0.31 in the 17–64 length band to 0.10 in the 385–471 band; the pooled ViT mean is approximately 0.08 for each factor. KL and Kolmogorov discrepancies show similar GPT-2 length trends and remain small across ViT layers (Figures 8 and 9). These measurements extend the near-uniform eigen-angle patterns from hidden-state inputs to the computed score singular factors, supporting the isotropy motivation for Assumption 1.
Figures 10 and 11 complement these geometric diagnostics with logarithmic score spectra for one input per model. Each layer pools nonzero singular values after independent per-head decomposition; an empirical-gap split highlights a high-value group above a lower bulk. Together with the modest score-rank proxies in Figure 4, these descriptive spectra motivate a model with a few dominant score directions. The quantitative thresholds in Assumption 2 specify the asymptotic separation regime analyzed by the theory. The structural bound supplies a length-independent upper bound on the number of spikes which depends on the input and learned projections.
5 Conclusion
Despite the empirical success of self-attention, a spectral analysis of attention matrices under consistent assumptions from initialization to the trained regime has been largely missing. Our central observation is that the token-space singular factors exhibit nearly uniform empirical eigen-angle distributions across a range of Transformer-based models, including both encoder and decoder architectures, in long-sequence regimes. This empirical property motivates our spectral canonical model for the score matrix, while the observed effective ranks motivate the spike-bulk assumption on its singular values. Together these assumptions make the spectrum of the attention matrix amenable to non-asymptotic and asymptotic analysis that characterizes degeneration, or rank collapse, within the canonical model. The theory provides a model mechanism for spectral compression observed in practice, offering one perspective on why this architecture has been so effective in LLMs.
Future work could study how alignment of dominant token subspaces across heads and the value and output projections shape the effective dimension of multi-head attention, including the effects of residual connections and normalization. Isotropy and spike-bulk diagnostics could also test for analogous spectral compression in the input-dependent recurrences of selective state-space models such as Mamba [Gu and Dao, 2024]. This would support comparisons with attention at the level of their learned sequence operators.
Acknowledgments and Disclosure of Funding
We thank the reviewers for their constructive remarks. Jianfeng Yao's research is supported by NSFC Grant RFIS-A10120230617, the Guangdong Pearl River Talent Program Grant 2023JC10X022, and the Guangdong Provincial Key Laboratory of Mathematical Foundations for Artificial Intelligence (2023B1212010001). The authors declare no competing interests.
References
Blake Bordelon, Hamza Chaudhry, and Cengiz Pehlevan. Infinite limits of multi-head transformer dynamics. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang, editors, Advances in Neural Information Processing Systems, volume 37, pages 35824–35878. Curran Associates, Inc., 2024. doi: 10.52202/079017-1130. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/3eff068e195daace49955348de9f8398-Paper-Conference.pdf.
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language Models Are Few-Shot Learners. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 1877–1901. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper_files/paper/2020/file/1457c0d6fbcb4967418bfb8ac142f64a-Paper.pdf.
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 248–255, 2009. doi: 10.1109/CVPR.2009.5206848.
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In Jill Burstein, Christy Doran, and Thamar Solorio, editors, Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1423. URL https://aclanthology.org/N19-1423/.
Persi Diaconis and Mehrdad Shahshahani. On the eigenvalues of random matrices. Journal of Applied Probability, 31:49–62, 1994. ISSN 00219002. URL http://www.jstor.org/stable/3214948.
Yihe Dong, Jean-Baptiste Cordonnier, and Andreas Loukas. Attention is not all you need: pure attention loses rank doubly exponentially with depth. In Marina Meila and Tong Zhang, editors, Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 2793–2803. PMLR, 18–24 Jul 2021. URL https://proceedings.mlr.press/v139/dong21a.html.
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net, 2021. URL https://openreview.net/forum?id=YicbFdNTTy.
Jianyang Gao and Cheng Long. RaBitQ: Quantizing High-Dimensional Vectors with a Theoretical Error Bound for Approximate Nearest Neighbor Search. In Proceedings of the ACM on Management of Data, volume 2, New York, NY, USA, May 2024. Association for Computing Machinery. doi: 10.1145/3654970. URL https://doi.org/10.1145/3654970.
Jianyang Gao, Yutong Gou, Yuexuan Xu, Yongyi Yang, Cheng Long, and Raymond Chi-Wing Wong. Practical and asymptotically optimal quantization of high-dimensional vectors in euclidean space for approximate nearest neighbor search. In Proceedings of the ACM on Management of Data, volume 3, New York, NY, USA, June 2025. Association for Computing Machinery. doi: 10.1145/3725413. URL https://doi.org/10.1145/3725413.
Albert Gu and Tri Dao. Mamba: Linear-Time Sequence Modeling with Selective State Spaces. In First Conference on Language Modeling, 2024. URL https://openreview.net/forum?id=tEYskw1VY2.
Tomohiro Hayase, Benoit Collins, and Ryo Karakida. Gaussian equivalence for self-attention: Asymptotic spectral analysis of attention matrix. In The 29th International Conference on Artificial Intelligence and Statistics, 2026. URL https://openreview.net/forum?id=ABbVGvqaj3.
Jeremy Howard. Imagenette: A smaller subset of 10 easily classified classes from ImageNet, March 2019. URL https://github.com/fastai/imagenette.
Zhenyu Liao, Jiaqing Liu, TianQi Hou, Difan Zou, and Zenan Ling. On the interpolation error of nonlinear attention versus linear regression, 2026. URL https://arxiv.org/abs/2506.18656.
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. RoBERTa: A Robustly Optimized BERT Pretraining Approach, 2019. URL https://arxiv.org/abs/1907.11692.
Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models. In International Conference on Learning Representations, 2017. URL https://openreview.net/forum?id=Byj72udxe.
Thiziri Nait Saada, Alireza Naderi, and Jared Tanner. Mind the gap: a spectral analysis of rank collapse and signal propagation in attention layers. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 45561–45587. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v267/nait-saada25a.html.
Lorenzo Noci, Sotiris Anagnostidis, Luca Biggio, Antonio Orvieto, Sidak Pal Singh, and Aurelien Lucchi. Signal propagation in transformers: Theoretical perspectives and the role of rank collapse. In S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems, volume 35, pages 27198–27211. Curran Associates, Inc., 2022. URL https://proceedings.neurips.cc/paper_files/paper/2022/file/ae0cba715b60c4052359b3d52a2cff7f-Paper-Conference.pdf.
Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving Language Understanding by Generative Pre-Training. Technical report, OpenAI, 2018. URL https://cdn.openai.com/research-covers/language-unsupervised/language_understanding_paper.pdf.
Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language Models Are Unsupervised Multitask Learners. Technical report, OpenAI, 2019. URL https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf.
Olivier Roy and Martin Vetterli. The effective rank: A measure of effective dimensionality. In 2007 15th European Signal Processing Conference, pages 606–610, 2007. URL https://www.eurasip.org/Proceedings/Eusipco/Eusipco2007/Papers/a5p-h05.pdf.
Mana Sakai, Ryo Karakida, and Masaaki Imaizumi. Infinite-width limit of a single attention layer: Analysis via tensor programs. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen, editors, Advances in Neural Information Processing Systems, volume 38, pages 35630–35664. Curran Associates, Inc., 2025. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/33201f38001dd381aba2c462051449ba-Paper-Conference.pdf.
Sunny Sanyal, Ravid Shwartz-Ziv, Alex Dimakis, and Sujay Sanghavi. When attention collapses: How degenerate layers in LLMs enable smaller, stronger models. Transactions on Machine Learning Research, 2026. ISSN 2835-8856. URL https://openreview.net/forum?id=2zQn0bUoPf.
Mannat Singh, Laura Gustafson, Aaron Adcock, Vinicius de Freitas Reis, Bugra Gedik, Raj Prateek Kosaraju, Dhruv Mahajan, Ross Girshick, Piotr Dollár, and Laurens van der Maaten. Revisiting weakly supervised pre-training of visual perception models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 804–814, June 2022.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention Is All You Need. In I. Guyon, U. Von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf.
Amir Zandieh, Majid Daliri, Majid Hadian, and Vahab Mirrokni. TurboQuant: Online Vector Quantization with Near-Optimal Distortion Rate. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=t03ASKZlok.
A Scope of the canonical reduction
The diagonal surrogate is an additional modeling choice. Neither score singular values nor Haar-distributed singular-vector orientations alone justify replacing the attention matrix by its canonical counterpart. The distinction matters both before and after applying a causal mask.
Equality in law and orientation averaging. The statement , with diagonal and nonnegative, would force to be diagonal and nonnegative almost surely. It cannot express a nontrivial bi-orthogonally invariant score law. In particular, if , where are independent Haar orthogonal matrices independent of , the average over orientations is not . When integrable, by sign symmetry. For both attention patterns, the conditional means are
Indeed, conditional invariance under column permutations makes the expected weights equal within each row's unmasked positions, and each row sums to one. For a causal row, use permutations of its first columns. These identities require only conditional column-permutation invariance, and concern mean attention matrices, not expected singular values or effective ranks.
A score-spectrum counterexample. For , let
Both score matrices have singular values , satisfying Assumption 2 with one spike. Every row of is constant, so has rank one. In contrast, Theorem 1 gives two singular values tending to one for . Thus score singular values alone do not determine even the limiting number of nonvanishing attention singular values. This example illustrates orientation dependence; it does not assume Haar orientations.
The causal ordering is part of the model. For , causal attention with diagonal scores has eigenvalues , whereas scores give eigenvalues . The score singular values are identical. Consequently, placing the descending singular values along the diagonal and then applying a fixed causal mask also fixes their token positions. The causal results are conditional on that convention.
Interpretation of the diagnostics. Nearly uniform eigen-angles of a chosen SVD factor are consistent with a necessary asymptotic consequence of a Haar law; they do not establish the joint Haar law, independence of left and right factors, or independence from singular values. SVD signs and nullspace completions also affect this diagnostic. Similarly, small score rank proxies do not establish the explicit exponential thresholds of Assumption 2. Appendix F records these empirical qualifications. For example, the small Wasserstein distance between empirical spectral laws does not control their leading singular values or rank proxies. A theorem transferring the canonical results to general score matrices would need additional control of the orientation-dependent softmax error; such a transfer is not proved here.
From individual heads to multi-head representations. For heads, let be the attention matrix and the value matrix of head . Writing and , the multi-head output before adding any output bias is
The token-space Gram matrices satisfy
These identities connect the headwise spectral picture to the combined representation. Before the output projection, the column space is the span of the head-output column spaces: aligned subspaces can retain a common low-dimensional representation, whereas distinct subspaces can increase the dimension of the combined span. The singular values also depend on the value matrices and the weighting induced by . Consequently, headwise attention spectra alone do not determine the singular spectrum of . The head-resolved measurements in Appendix F.5 describe variation in spectral concentration and canonical discrepancy; a theory of the combined output would additionally require a joint description of the head-output subspaces and projections. Extending this description through residual connections and normalization provides a further question at the Transformer-block level.
B Generalized softmax attention
Recent work has explored alternative attention activations to reduce computational cost. The canonical results extend to positive activations followed by row normalization. We leave unnormalized attention mechanisms to complementary analyses such as [Liao et al., 2026].
Let be nondecreasing on . Multiplying by a positive constant does not change the normalized attention, so take . Define
For causal attention, masked entries are set to zero and only unmasked entries enter the row normalization.
Under Assumption 1, evaluate this map on . Set
Then , and the canonical generalized attention matrices are exactly
Thus every canonical spectral and rank-proxy result applies with replaced by . In particular, spectral separation becomes
with the same conditions on and . Bounded-bulk conclusions require uniformly bounded in the bulk; implies this through . The transition occurs when is of order . Neither strict monotonicity nor continuity nor an inverse activation is needed. Bounded activations cannot meet the spike threshold for any nonempty spike set, but still admit the zero-spike conclusions.
C Proofs of main results
C.1 Proof of Theorem 1
Proof. Singular-value profile. Set , , , , and . Direct row normalization gives the exact identities
Let and . Spectral separation implies
Since P is an orthogonal projection,
It remains only to compute the singular values of .
For , its first rows are coordinate vectors and its remaining rows equal . Thus
The zero-sum spike subspace has eigenvalue one with multiplicity , and the zero-sum bulk subspace has eigenvalue zero with multiplicity . On the remaining two-dimensional subspace, use the orthonormal basis , . The corresponding symmetric matrix is
whose eigenvalues are
For , , so the two exceptional singular values occupy positions 1 and , giving the ordered profile in the theorem. The endpoint profiles follow from when and when . Weyl's inequality and (2) prove the uniform approximation, including the vanishing tail.
Sublinear spikes. If , then , so . The other leading profile values are exactly one. Combining this with the uniform approximation gives the stated bound for all . For , the same conclusion follows from .
Spectral degeneration. The singular profile has unit values, zeros, and at most two exceptional values, all uniformly bounded. Thus, if , its empirical distribution converges weakly to , including the endpoint profiles . The uniform singular-value approximation transfers this weak limit to .
C.2 Proof of Theorem 2
Proof. Exact spectral structure. Retain from the preceding proof. The case is immediate, so assume . Let and choose an orthonormal basis matrix for . In the orthonormal basis ,
Consequently the eigenvalues of are one together with those of the symmetric compression . Since , they are real and belong to , with a simple largest eigenvalue 1. Cauchy interlacing for a codimension-one compression gives
The relation yields the displayed bounds in terms of 's diagonal.
For the strict alternative and characteristic equation, applying the determinant lemma to (1) gives, away from the poles ,
Group equal diagonal values into distinct poles , with multiplicities and residues . The secular factor is then . Its nonzero residue at each pole cancels exactly one of the polynomial factors, so has algebraic multiplicity exactly . The secular function is strictly increasing between poles and runs from to between adjacent distinct poles. It has one further root above the largest pole and none below the smallest. This accounts for all roots and proves the stated strict interlacing alternative: equality occurs precisely when ; otherwise lies strictly between these two entries.
Eigenvalue profile. Compare with above. The associated ideal matrix is block lower triangular, with diagonal blocks and . For , its ordered eigenvalue list is
For , it consists of ones. Both non-Perron spectra are eigenvalues of symmetric compressions, and
Hermitian Weyl's inequality therefore proves the intermediate-eigenvalue estimate uniformly for . For k = 0 this is simply . The sharper spike error and bulk error follow directly from interlacing and the bounds on in the preceding proof. If , then , and the spike and intermediate estimates together give uniform convergence of the leading eigenvalues to one.
Spectral degeneration. For , the ideal eigenvalue profile differs from ones and zeros in only one entry, of empirical mass ; for , the profiles coincide. Hence, if , its empirical distribution converges weakly to . The same Hermitian perturbation bound gives uniform approximation of the ordered eigenvalues and therefore the asserted weak limit for .
Remark 2 (A sharper intermediate-eigenvalue bound). For any nonnegative diagonal scores and ,
Indeed, sandwich between the two-block diagonal matrices with block values and . The -th largest eigenvalue of the compression of , for , to is ; monotonicity of eigenvalues under the Loewner order proves the bounds. Under spectral separation, they give the sharper one-sided estimate
In particular, if , the spike condition alone implies that the leading eigenvalues converge uniformly to one: the lower bound is at least , while all eigenvalues are at most one. No bulk bound is needed for this head convergence; when , it is simply .
C.3 Proof of Theorem 3
Proof. Write . The canonical causal matrix is lower triangular, so its eigenvalues are its diagonal entries:
These are already in decreasing order: is nonincreasing, so is nondecreasing. In particular, . For ,
which also sharpens the stated spike error.
For spectral degeneration, put for all sufficiently large . Every bulk row satisfies , since . Splitting the sum at gives . Together with the spike estimate, this yields
The empirical eigenvalue distribution therefore approaches in mean-square transport distance. If , it therefore converges weakly to , without any bounded-bulk assumption.
Finally, for every bounded-score bulk row, gives , proving the harmonic bounds. This bounded-score condition cannot be dropped: if and for every , spectral separation holds with , but . Thus the empirical eigenvalue distribution still converges to , while uniform harmonic decay fails.
C.4 Proof of Theorem 4
Proof. Write and . Then
Step 1: universal singular-value bounds. Let be the Cesàro matrix, , and define . We have the exact identity
By convexity of the square and the Hardy inequality (Lemma 3),
Thus , even without the bounded-bulk assumption.
For the lower bound, let be the lower triangular matrix of ones. For any nonnegative diagonal matrix ,
Cauchy–Schwarz therefore gives
Fix , and let be the leading principal submatrix of . Write
The preceding coercivity estimate gives . Moreover,
The absolute row sums of are at most , and every absolute column sum equals . Hence the Schur test gives , and
For vectors supported on the first coordinates, projecting onto its first coordinates gives . The max-min principle therefore yields
Together with the operator bound, this proves the universal estimates for every sequence length, using only nonnegative scores.
Now assume spectral separation as in Assumption 2. Split after the first rows and columns, interpreting zero-size blocks in the usual way:
Deleting the last columns leaves a matrix of rank at most . Lemma 4 consequently gives
Step 2: spike subspace. For , the spike assumption gives for . Thus , where the absolute row sums and column sums of are at most and , respectively. The Schur test yields
On the -dimensional subspace
the coupling block vanishes, so . Consequently,
This proves the almost-isometry assertion. In fact, on the whole first -coordinate subspace, , and hence the max-min principle gives the slightly stronger conclusion
Step 3: singular-value degeneration without bounded bulk. Here we use only spectral separation. Let and put for all sufficiently large . For a bulk row ,
Splitting the sum at gives
Writing and , the block comparison above therefore yields
For a spike row ,
Consequently,
Mirsky's singular-value inequality gives
The empirical singular-value distribution approaches the moving mixture in mean-square transport distance. If , it therefore converges weakly to .
For Steps 4 and 5, assume for .
Step 4: Frobenius control of the bulk. The bulk-block row associated with original row has squared norm
Consequently, we obtain
In particular this proves the logarithmic bound in the theorem. For each , the same comparison gives
The asserted vanishing after follows.
Step 5: the lower-right block bound. For , choose the -dimensional coordinate subspace . By triangularity, the restriction to this subspace is the lower-right block . All its nonzero entries are at most , so coordinatewise
Using and the min-max principle gives
Combining this with Steps 1 and 4 proves all upper bounds. In particular, if , then . The proof already includes . If , Step 2 applies to the whole matrix, Step 1 remains valid, and there are no bulk assertions.
□
Remark 3 (Quantitative bounds require additional bulk control). Spectral separation suffices for weak convergence of the empirical singular-value distribution, but additional bulk control is still needed for the logarithmic counting and rank bounds. For example, take and for all , which satisfies spectral separation with . For , the leading principal block satisfies by the Schur test, so . Thus
where the stable-rank bound uses and . Hence spectral separation alone does not give the logarithmic counting and rank bounds, even though the empirical singular-value distribution still tends to .
C.5 Remarks on causal singular values
Remark 4 (Why one cannot replace the bulk upper bound by when is finite). Under the bounded-bulk assumptions of Theorem 4, if is finite, a uniform estimate
cannot hold in general.
Indeed, for every bulk row , the row of has off-diagonal entries equal to and diagonal entry . Hence
Therefore there exists such that
for all sufficiently large .
On the other hand, if held for all , then
which contradicts the logarithmic lower bound above. Thus the factor in the upper bound of Theorem 4 cannot, in general, be removed from the ordered bulk estimate.
Remark 5 (Spike subspace versus ordered singular values). Step 2 does not imply
For , what Step 2 proves is that the restriction of A to the -dimensional spike subspace is almost isometric:
Equivalently, the singular values of the compressed operator all lie in
However, these are not the same as the ordered singular values of the full matrix A. The bulk block can already have operator norm strictly larger than 1; for instance, for fixed k and for i > k, it is the shifted Cesàro matrix, whose norm is bounded away from 1. Therefore the top ordered singular values of A may exceed 1 by an amount. Projecting onto the first k output coordinates in Step 2 gives the one-sided estimate
together with the universal upper bound .
D Rank proxies for attention and causal attention
This appendix collects the rank-proxy consequences of the singular- and eigenvalue results in the main article. The entropy-based proxies require more care than pointwise spectral collapse: many individually vanishing modes can retain non-negligible total entropy.
Definition 1 (Rank proxies and asymptotic notation). For a nonzero matrix with singular values , define
and
with . For the zero matrix, set these three singular-value proxies equal to zero. For eigenvalues , define
The eigenvalue proxies are used when the spectrum is not identically zero; by convention, both are zero when their normalizing spectral mass vanishes. Thus is the stated eigenvalue participation proxy; it is distinct from the singular-value stable rank srank. Throughout, , , and refer to ; their implicit constants are independent of , but may depend on fixed parameters explicitly indicated in the statement.
D.1 Bidirectional attention
Pointwise spectral collapse does not by itself control a rank proxy: the relevant bulk mass is quadratic for stable rank and linear for the eigenvalue participation proxy, while entropy ranks additionally depend on bulk entropy moments. The following result separates these requirements.
Theorem 6 (Rank proxies for attention). Under Assumptions 1 and 2, retain from Section 3.2. Using from Theorem 1, define
For , define the bulk mass and entropy moment
where a summand with is zero. Define also . Then
In particular, the following are necessary and sufficient conditions for the corresponding ideal-profile equivalents:
Each equivalence is asserted separately; no logarithmic rate condition is needed on the spike defects . Since for all sufficiently large , each entropy condition is equivalently .
For comparison with the deterministic spectral profiles, let be the nuclear mass of the ideal singular-value profile. Explicitly,
Under , respectively , the entropy equivalents can also be written as
Under ,
Here ; at the ideal profile has just one unit singular value and one unit eigenvalue, and at all ideal spectral values are one. The displayed expressions agree with these endpoint conventions.
Some useful consequences require only simpler conditions. If all bulk scores are uniformly bounded, then
so the stable-rank and equivalents hold automatically. In particular, if also , then
For any bulk satisfying Assumption 2,
Thus, if , all the tail conditions above hold automatically and
The condition implies all five equivalents. It is implied by the stronger aggregate-defect condition
but does not impose that condition's logarithmic penalty on the spikes. Here .
Proof. Let and . By (1),
Together with , this gives
Indeed, the two matrix terms are Frobenius orthogonal and the diagonal entries of the projection P are . Spectral separation gives, uniformly,
If and , then
The ideal singular profile in Theorem 1 therefore gives , including . This proves (4).
By Theorem 2, all eigenvalues are nonnegative and the largest is 1. Hence , proving (5). Since , the two stable-rank equivalences follow.
We next control the entropy without multiplying the spike error by . Write . By (1), A is a rank-one perturbation of D. The singular-value min-max principle and Hermitian interlacing give, respectively,
where . For example, adding a rank-one matrix can shift a singular-value index by at most one; applying that fact both to and to proves the first pair of inequalities.
Suppose first that , and set . For , apply (8) to the tail . Both functions and are increasing on a sufficiently small fixed neighborhood of zero. The upper and lower sums obtained by interlacing differ from the bulk sums by at most three endpoint terms, each tending to zero. Consequently,
These conclusions include and , with empty tail sums interpreted as zero. The displayed terms are uniformly dominated by the neighboring bulk endpoint terms; if a bulk endpoint vanishes exactly, the corresponding comparison is exact.
For the head singular values, Weyl's inequality gives values equal to , together with the two exceptional ideal-profile values perturbed by ; when , there is only one head value, . For the head eigenvalues, , the next values are , and the intermediate value is . Thus the total head mass is , for each of the three choices of spectral weights
Here the ideal nuclear mass satisfies . Also, the head moment is : unit-profile coordinates contribute , and the exceptional coordinates contribute . To see the last assertion uniformly, their moments are bounded if , while if is bounded then and every exceptional nonzero head value tends to one. If , all spectral values are uniformly and the same head conclusions hold with an empty tail. These arguments apply along subsequences and hence also when the endpoint regimes vary with .
For any of the three weight lists, let , respectively, and let . The preceding estimates state
For eigenvalue weights the second identity uses p = 1. The normalization identity for entropy is exact:
This identity accounts for the normalization before taking a limit; in particular it introduces no extra factor . Since and , its right-hand side tends to zero if and only if . Indeed, convergence forces first and then . Because , this proves all three entropy equivalences.
The ideal singular, squared-singular, and eigenvalue lists have masses , respectively. Substitution in the entropy definition yields the displayed deterministic-profile expressions. Each ideal head entropy moment divided by its mass tends to zero by the same head argument, so these expressions are equivalent to the already proved formulas.
Finally, bounded bulk scores give for , and hence the stated quadratic bounds. More generally, and monotonicity near zero give the bounds on . Since , the linear entropy condition implies all the others. To compare with the aggregate-defect condition, write and . Concavity gives when and . For , this is at most . For , it is at most ; the latter term is under , either because or, along bounded subsequences, because . This proves the final implication.
Remark 6 (Why the tail conditions differ). Bounded bulk scores suffice for stable rank and squared-singular-value entropy rank, but not for linear spectral mass or entropy. For example, take k = 0 and for every i. Then
Its singular values and eigenvalues are , so
Even vanishing bulk mass does not suffice for entropy convergence. For any fixed and , take and
These scores satisfy spectral separation. The same matrix formula gives , but , and therefore
For , ; for , . Thus the logarithmic bulk entropy moments cannot in general be replaced by the corresponding masses alone.
D.2 Causal attention
For causal attention, bounded bulk scores produce harmonic squared-singular mass. The stable ranks and the squared-singular-value entropy rank have the same order, whereas the singular-value and eigenvalue entropy ranks can be larger. Throughout this subsection the causal mask is
Lemma 1 (Schatten bounds for the finite Hardy matrix). Let . For every fixed ,
where denotes the nuclear norm.
Proof. Partition into the nonempty dyadic intervals , . Let retain exactly the blocks , , of , with all other entries zero. Then . For , each retained block has rank one and singular value at most
The retained blocks have disjoint row and column supports. Consequently, with ,
For , reindexing within a dyadic block of size gives , where and . The cumulative matrix has singular values
Indeed, is lower bidiagonal with diagonal entries one and subdiagonal entries minus one. Its Gram matrix has diagonal , off-diagonal entries minus one, and eigenvalues , as follows by substituting the vectors with coordinates . Since and , ideal-norm monotonicity gives uniformly in . Thus . The Schatten triangle inequality and the convergent series prove the first assertion.
For , the same argument gives and , proving the upper bound. Pinching onto the diagonal blocks contracts the nuclear norm: the pinched matrix is the average of the conjugations by all block-diagonal sign matrices. Every full dyadic block has nuclear norm at least , because its row multipliers are at least and . Summing the full blocks , and adjusting constants for bounded , proves the lower bound.
Theorem 7 (Rank proxies for causal attention). Under Assumptions 1 and 2, let , and suppose that for all , where is independent of . Define
with empty sums equal to zero, and set
Then
and
In particular, the singular-value entropy proxies satisfy
An additional explicit upper bound is
For the eigenvalue proxies, set
and define the exact eigenvalue mass and log-moment
They satisfy
and
Consequently,
If for a fixed constant , then . Such a constant exists whenever . The sharper singular-value equivalents are
At the other extreme, when k = 0 and for every i,
where and is the Euler-Mascheroni constant. In this case and .
Proof. Write and . The -th causal row has entries equal to , diagonal entry , and zeros thereafter, giving the stated . For a bulk row, direct subtraction gives
For a spike row,
Summation proves the expansion of . Its error is : the spike error divided by is at most , and , making the bounded remainder negligible.
The exact decomposition
has diagonal matrices . Step 1 of Appendix C.4 gives . Since , its operator norm is at least one. This proves the stable-rank bounds.
For , with , the row estimates and the mean-value theorem give
For spikes, for , so
Their sum is the claimed expansion of . The normalized squared singular values are the eigenvalues of , whose diagonal is . By Schur-Horn and Schur concavity of entropy,
The sharper entropy order follows from the Schatten bound. Fix . Bounded bulk scores imply
The Schatten triangle inequality and Lemma 1 therefore give
where . For , ; for the left-hand side is nonpositive. Thus
Conversely, Shannon entropy is at least minus the logarithm of the largest probability, so . This proves .
We next estimate . Let P project onto the bulk coordinates. On these coordinates ; hence
The last inequality uses that has rank at most and operator norm at most two. Also . The reverse triangle inequality therefore gives
Meanwhile, for all sufficiently large , since spike diagonal entries tend uniformly to one. Use the first bound when is a sufficiently small multiple of , and the second otherwise, to obtain . The reverse bound follows from
For , Shannon entropy dominates the order-two Renyi entropy, yielding . Finally, for ,
Taking proves , and follows from the maximum entropy bound.
For the eigenvalue proxies, triangularity gives
The exact expressions for and follow immediately. For ,
For ,
Summation proves the expansions of and . Since in the bulk,
This gives and, when , gives . The harmonic-sum estimate
includes the empty-sum endpoint. Also , so implies the stated condition on .
It remains to prove the two singular-value equivalents. The spike principal block is , where the Schur test gives
The max-min principle on the first coordinates gives for . The best rank- approximation property of Schatten norms, applied to , gives
and
Here both estimates follow from and the Hardy Schatten bounds, since .
If , then . Put
The spike lower bound gives and , while . If , then the identity
shows that . Thus the total squared mass above one, , is . The positive part of the entropy moment (the terms with ) is bounded by , using the fixed-p Schatten estimate above. Since all singular values are at most and on , the negative part is also . Substituting into the entropy formula proves .
For , the row decomposition and the spike block bound give
The first terms obey . For the tail, concavity of yields
with a zero tail when . If , then
The lower bound proves the equivalent.
Finally, in the zero-score case and . For the test vector ,
so . Together with , this proves and the stated stable-rank equivalent. The eigenvalues are exactly , whence
Thus , proving the final eigenvalue-entropy equivalent.
Remark 7 (Weaker assumptions for the order bounds). The estimates
need only , for , and for , where is fixed. Indeed, the spike diagonal entries are then at least , so ; the operator and Schatten bounds above remain valid. The triangular eigenvalue formulas likewise give . The nuclear-norm order and the resulting lower bound also hold, with constants depending on . These order statements require neither ordering of the scores nor asymptotically diverging spike separation. The stronger equivalents in the theorem use the vanishing spike deficits supplied by Assumption 2.
Remark 8 (Polynomial entropy rank of the Hardy matrix). For zero scores, the two singular-value entropy ranks have different growth scales:
Thus , strengthening the polylogarithmic lower bound in Theorem 7.
To see this, use the dyadic blocks in Lemma 1 and let retain only the diagonal blocks, with . In each row block, the entries strictly before its diagonal block form a rank-one matrix; hence . Both matrices have operator norm at most two. Singular-value rank interlacing therefore implies that their counting functions differ by at most . For , with , it follows that
Here we used . Every full dyadic block of size has , by the formula for and the bounds on its row multipliers. For all sufficiently large , its entropy summand is consequently comparable to ; the remaining finitely many summands are bounded. Summing first over and then over the full blocks gives
The possibly truncated final block obeys the same upper singular-value bound, contributes at most , and has a negative part bounded by a constant. Since , the entropy identity
proves the claim. Determining an exact exponent or a sharp equivalent requires finer spectral information.
E Auxiliary matrix norm bound
Lemma 2 (Schur test). Let be a real matrix. Assume that
Then
In particular, if every row sum and every column sum of are bounded by , then
Lemma 3 (Hardy inequality on ). For and , define
Then
Moreover, for any integer , the shifted Hardy operator
satisfies
Consequently, if a linear map satisfies
then .
Lemma 4 (Rank perturbation and singular values). Let be real matrices, and suppose . Then, for every ,
F Additional experimentation details
The hidden-state angular diagnostics and GPT-2 score-rank summaries (Figures 3, 7, and 4) were performed on an AMD EPYC 9554 dual-socket CPU server with 64 cores per socket and 126 GB of RAM, without GPU acceleration, requiring approximately 24 hours of wall-clock time in total. The real-versus-canonical comparisons and score-level angular and spectral diagnostics (Sections 4.3 and 4.4) were performed on a MacBook Pro with an M1 Pro chip and 16 GB of unified memory, requiring approximately two hours in total. The reported timings are totals for each experiment group.
The analysis code and saved figure inputs are released at https://github.com/Mengda-Li/attention, with the authors' code under the MIT license. The repository README and docs/REPRODUCING_PAPER.md provide environment setup, data preparation, and a figure-to-script guide; paper_figures/README.md documents the publication figures and their inputs and output definitions. The guides distinguish rendering from supplied CSV or archived figure inputs from collecting model measurements and record the available collection workflows and their limitations.
F.1 Licenses for existing assets
All existing assets are used only for non-commercial research evaluation and spectral diagnostics, and we do not redistribute the underlying datasets or model weights. The datasets used in the experiments are Imagenette [Howard, 2019], a subset of ImageNet [Deng et al., 2009], and Wikitext-103 [Merity et al., 2017]. ImageNet states that it does not own the copyright of the images and provides access under terms permitting non-commercial research and educational use; these terms are available at https://image-net.org/accessagreement. The Wikitext-103 data were accessed through the Hugging Face dataset repository https://huggingface.co/datasets/Salesforce/wikitext, whose repository metadata lists the licenses as cc-by-sa-3.0 and gfdl.
For language-model experiments, we use GPT-2 [Radford et al., 2019] through the Hugging Face Transformers library, which is licensed under Apache-2.0 https://github.com/huggingface/transformers. The GPT-2 weights are loaded from openai-community/gpt2 on Hugging Face https://huggingface.co/openai-community/gpt2, whose model card lists the license as MIT. For vision experiments, we use the ViT-B/16 implementation from TorchVision https://github.com/pytorch/vision, which is licensed under BSD-3-Clause. The IMAGENET1K_SWAG_E2E_V1 weights are documented by TorchVision as SWAG-derived weights, and the SWAG repository releases its model weights under CC-BY-NC 4.0 https://github.com/facebookresearch/SWAG/blob/main/LICENSE.
F.2 Additional experimental figures
Figures 7 and 4 provide supplementary hidden-state diagnostics and score-rank summaries.
F.3 Additional experiment details
The direct attention comparison uses 12 WikiText-103 validation documents at nested lengths 64, 128, 256, 384, 512, 768, 1024, with all 12 GPT-2 layers and 12 heads, giving 12,096 matched comparisons. The ViT comparison uses 20 class-balanced Imagenette images, all 12 layers and 12 heads, and sequence length 577, giving 2,880 comparisons. Sampling uses seed 233. The images are evaluated at resolution 384 × 384 with IMAGENET1K_SWAG_E2E_V1 weights. All matrices are analyzed per sample, layer, and head before pooling the resulting statistics.
Attention singular values are computed by dense full SVD in float64. Score singular values are obtained from compact QR factorizations of and followed by an SVD of , with structural zeros appended. The core has dimension at most 64; this reduction preserves all score singular values. The comparison assigns mass to each singular value; the singular values themselves are unnormalized. Quantile bands summarize variation across observations, including dependent heads and nested text prefixes.
These comparisons concern empirical spectral laws. Vanishing would imply a common weak limit whenever either limit exists, while the measured finite-length decrease provides evidence consistent with this behavior. The equally weighted distance can be small even when a few leading modes differ, and does not establish operator-norm or rank-proxy agreement. For example, at GPT-2 length 1024,



Figure 7: Layer-wise discrepancies between the empirical eigen-angle distribution of the ViT token-space singular matrices and the uniform distribution on for Imagenette validation inputs. The log-scale box plots show that Kullback-Leibler divergence, Kolmogorov distance, and Wasserstein distance remain close to zero across layers.
the pooled stable-rank medians are 1.1823 for real attention and 27.5050 for canonical attention; the corresponding singular-value entropy-rank medians are 314.0596 and 95.1198. The fixed-length ViT comparison describes layerwise agreement.
F.3.1 Angular diagnostics
For the original hidden-state diagnostics, KL divergence is computed from 50 equal-width angle bins, with added to each bin probability before renormalization. Kolmogorov distance compares the empirical angle CDF with the continuous uniform CDF. The reported angular Wasserstein statistic is the ordinary one-dimensional between the observed angles and an independent uniform sample of the same size on :
where parentheses denote ascending order. This uses the fixed angle interval, without optimizing over a circular shift. It includes reference sampling noise; finite-size effects in these diagnostics mean that a decreasing discrepancy alone does not quantify increasing Haar isotropy.
The score-orientation experiment covers 1,646 GPT-2 sequences of lengths 17–471 and 3,925 ViT images, producing 237,024 and 565,200 individual score decompositions, respectively. The angular means reported in Section 4.4 pool scalar discrepancies over inputs, layers, and heads; the GPT-2 length bands 17–64 and 385–471 contain 254 and 8 sequences, respectively. Figures 8 and 9 report eigen-angle discrepancies for the square orthogonal SVD factors. Their interpretation depends on the numerical SVD convention, including signs and nullspace completion. Uniform eigen-angles are a necessary asymptotic consequence of Haar behavior, rather than a characterization of the Haar law.
F.4 Representative score spectra
Figures 10 and 11 use one 1,024-token GPT-2 input and one 577-token ViT input. Each layer pools nonzero singular values from 12 independently decomposed heads; structural zeros are omitted. The color boundary is placed at the largest adjacent ratio in the upper half of the layer-median per-head spectrum. This empirical split illustrates the spectrum without testing the asymptotic thresholds in Assumption 2. Small rank proxies can also arise from smooth spectral decay. The representative plots and rank summaries therefore motivate bulk–spike modeling but do not measure how often the quantitative separation or bounded-bulk conditions hold. The two pretrained models also differ in architecture and training, so their comparison does not isolate the effect of causal masking.

Figure 8: GPT-2 actual-score eigen-angle discrepancies for the left and right singular-vector matrices. KL, Kolmogorov, and angular Wasserstein discrepancies decrease over the displayed sequence lengths.

Right singular vectors (V)

Kolmogorov distance

Kolmogorov distance

Wasserstein distance

Wasserstein distance

Figure 9: ViT actual-score eigen-angle discrepancies across layers for both singular-vector factors. Each layer contains 47,100 image-head observations from 3,925 images.

Figure 10: GPT-2 actual score spectra for a representative 1,024-token input. Each layer pools the nonzero singular values from all 12 heads, shown on a logarithmic horizontal axis. The dashed line marks the empirical gap, with larger values colored orange.

Figure 11: ViT actual score spectra for a representative 577-token image. Each layer pools the nonzero singular values from all 12 heads. The logarithmic scale and empirical-gap coloring follow Figure 10.
F.5 Multi-head attention experiments
To examine how spectral structure varies across heads, we retain the layer and head identities in the real-attention rank proxies and the real-versus-canonical comparison. Figure 12 shows each head's median over the same 12 GPT-2 documents at length 1,024 and 20 ViT images at length 577. Within each layer, the ratio of the largest to the smallest head-specific median stable rank measures the spread across heads. Its median across layers is 4.22 for GPT-2 and 4.73 for ViT; the corresponding ratios for are 3.19 and 1.49 (Table 1).
The head-resolved view reveals substantial variation in spectral concentration within both architectures. It motivates studying how the dominant token subspaces of different heads combine through the value and output projections. Appendix A formulates this question at the level of the multi-head output matrix.

Figure 12: Head-resolved spectral diagnostics for GPT-2 (top) and ViT (bottom). Each cell is the median over inputs for one layer and head: real-attention stable rank (left), real-attention erank (middle), and real-versus-canonical spectral (right). Rank colors use logarithmic scales and colors a linear scale, shared across models within each column. Head indices follow each layer's native ordering and do not indicate a correspondence across layers or models.
F.5.1 Head-resolved spectral summaries
Figure 12 reaggregates the saved per-head measurements at GPT-2 length 1,024 and ViT length 577, using the same 12 documents and 20 images described above. Each model has 144 layer-head cells, with 12 or 20 observations per cell. With indexing inputs, layers, and heads, define for a diagnostic
Here is the real-attention stable rank, real-attention , or the paired real-versus-canonical . The heatmaps display , and Table 1 reports . All denominators are positive in these data. Aggregation occurs after computing the diagnostics of each sample–layer–head matrix; no attention matrices or singular vectors are pooled across heads. These are descriptive summaries of the selected inputs and layers. The analysis uses existing measurements and requires no additional model inference.
Table 1: Median across layers of the within-layer maximum-to-minimum ratio of head-specific median diagnostics.
| Model | Stable rank | ||
|---|---|---|---|
| GPT-2 () | 4.22 | 6.57 | 3.19 |
| ViT () | 4.73 | 7.27 | 1.49 |
NeurIPS Paper Checklist
1. Claims
Question: Do the main claims made in the abstract and introduction accurately reflect the paper's contributions and scope?
Answer: [Yes]
Justification: The abstract and Introduction describe the canonical diagonal score model, spike-bulk separation, spectral degeneration, and the stable-rank contrast between bidirectional and causal attention. These claims are supported by Assumptions 1–2, Theorems 1–4, and the rank-proxy results in Appendix D. Section 4 provides empirical diagnostics on pretrained ViT/Imagenette and GPT-2/Wikitext-103.
Guidelines:
-
The answer [N/A] means that the abstract and introduction do not include the claims made in the paper.
-
The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A [No] or [N/A] answer to this question will not be perceived well by the reviewers.
-
The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings.
-
It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper.
2. Limitations
Question: Does the paper discuss the limitations of the work performed by the authors?
Answer: [Yes]
Justification: Appendix A discusses the canonical model's scope, orientation dependence, causal ordering, and the interpretation of the empirical diagnostics. The theoretical assumptions are explicit, and Section 4 and Appendix F describe the empirical scope of the pretrained ViT and GPT-2 experiments on Imagenette and Wikitext-103.
Guidelines:
-
The answer [N/A] means that the paper has no limitation while the answer [No] means that the paper has limitations, but those are not discussed in the paper.
-
The authors are encouraged to create a separate "Limitations" section in their paper.
-
The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be.
-
The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated.
-
The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon.
-
The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size.
-
If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness.
-
While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren't acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations.
3. Theory assumptions and proofs
Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?
Answer: [Yes]
Justification: Assumptions 1 and 2 specify the canonical model and separation conditions; additional conditions, including bounded bulk scores, are stated in the relevant theorems. The numbered results are cross-referenced, with complete spectral proofs in Appendices C.1–C.4, rank-proxy proofs in Appendix D, and auxiliary matrix-norm proofs in Appendix E.
Guidelines:
-
The answer [N/A] means that the paper does not include theoretical results.
-
All the theorems, formulas, and proofs in the paper should be numbered and cross-referenced.
-
All assumptions should be clearly stated or referenced in the statement of any theorems.
-
The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition.
-
Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material.
-
Theorems and Lemmas that the proof relies upon should be properly referenced.
4. Experimental result reproducibility
Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?
Answer: [Yes]
Justification: Section 4 specifies the models, datasets, validation splits, sequence lengths, spectral metrics, and rank definitions. Appendix F provides sampling, SVD, angular-distance, and aggregation details, including sample counts, the seed for the matched attention comparison, and the interpretation of quantile bands.
Guidelines:
-
The answer [N/A] means that the paper does not include experiments.
-
If the paper includes experiments, a [No] answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not.
-
If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable.
-
Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general, releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed.
-
While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example
(a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm.
(b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully.
(c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset).
(d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results.
5. Open access to data and code
Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?
Answer: [Yes]
Justification: The experiments use public Imagenette and Wikitext-103 data and pretrained ViT and GPT-2 models. The repository at https://github.com/Mengda-Li/attention provides analysis code, saved figure inputs, environment and data-preparation instructions, and figure-to-script mappings. Its reproduction guide distinguishes rendering from supplied CSV or archived figure inputs from collecting model measurements and records the available collection workflows and their limitations; Appendix F links these materials.
Guidelines:
-
The answer [N/A] means that paper does not include experiments requiring code.
-
Please see the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.
-
While we encourage the release of code and data, we understand that this might not be possible, so [No] is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark).
-
The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.
-
The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc.
-
The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why.
-
At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable).
-
Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted.
6. Experimental setting/details
Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results?
Answer: [Yes]
Justification: The paper evaluates pretrained ViT-B/16 (SWAG) on Imagenette validation images and GPT-2 on Wikitext-103 validation text, without training new models. Section 4 and Appendix F specify the exact checkpoints, input dimensions, sequence lengths, sampling and seed, float64 attention SVD, score factorization, angular distances, and stable/effective-rank computations.
Guidelines:
-
The answer [N/A] means that the paper does not include experiments.
-
The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them.
-
The full details can be provided either with the code, in appendix, or as supplemental material.
7. Experiment statistical significance
Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?
Answer: [Yes]
Justification: Figures 3, 4, and 5 report means or medians with quantile bands; Figures 7 and 6 use layer-wise box plots. The captions and Appendix F.3 define these summaries. They describe empirical variability across sampled observations, including dependent heads and nested text prefixes in the matched comparison, rather than confidence intervals.
Guidelines:
-
The answer [N/A] means that the paper does not include experiments.
-
The authors should answer [Yes] if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper.
-
The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions).
-
The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.)
-
The assumptions made should be given (e.g., Normally distributed errors).
-
It should be clear whether the error bar is the standard deviation or the standard error of the mean.
-
It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified.
-
For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g., negative error rates).
-
If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text.
8. Experiments compute resources
Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?
Answer: [Yes]
Justification: Appendix F identifies the compute used for each experiment group: hidden-state angular diagnostics and GPT-2 score-rank summaries used an AMD EPYC 9554 dual-socket CPU server with 64 cores per socket and 126 GB RAM, without GPU acceleration, for approximately 24 hours in total. Real-versus-canonical comparisons and score-level angular and spectral diagnostics used a MacBook Pro with an M1 Pro chip and 16 GB unified memory for approximately two hours in total. The reported timings are totals for each group.
Guidelines:
-
The answer [N/A] means that the paper does not include experiments.
-
The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage.
-
The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute.
-
The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn't make it into the paper).
9. Code of ethics
Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines?
Answer: [Yes]
Justification: The work is theoretical and diagnostic, uses public benchmark data and pretrained models, and does not involve human subjects, private data, or deployed systems. The paper does not identify any confidential or sensitive data sources.
Guidelines:
-
The answer [N/A] means that the authors have not reviewed the NeurIPS Code of Ethics.
-
If the authors answer [No], they should explain the special circumstances that require a deviation from the Code of Ethics.
-
The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction).
10. Broader impacts
Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?
Answer: [N/A]
Justification: The paper is foundational theory and empirical diagnosis of attention spectra, and it does not introduce a deployable model, dataset, or capability with a direct path to societal deployment. Any downstream impacts would be indirect through broader understanding of Transformer mechanisms.
Guidelines:
-
The answer [N/A] means that there is no societal impact of the work performed.
-
If the authors answer [N/A] or [No], they should explain why their work has no societal impact or why the paper does not address societal impact.
-
Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations.
-
The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster.
-
The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology.
-
If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML).
11. Safeguards
Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)?
Answer: [N/A]
Justification: The paper does not release a new high-risk model, image generator, language model, or scraped dataset. It releases analysis/ploting code for reproducing figures, so additional model-release safeguards are not applicable.
Guidelines:
-
The answer [N/A] means that the paper poses no such risks.
-
Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters.
-
Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images.
-
We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort.
12. Licenses for existing assets
Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?
Answer: [Yes]
Justification: Appendix F.1 identifies the existing datasets, code libraries, and model weights used in the experiments and lists the corresponding licenses or access terms, including ImageNet/Imagenette, Wikitext-103, Hugging Face Transformers, GPT-2 weights, TorchVision, and SWAG-derived ViT weights. The paper cites the creators or source repositories and uses these assets only for non-commercial research evaluation and spectral diagnostics.
Guidelines:
- The answer [N/A] means that the paper does not use existing assets.
- The authors should cite the original paper that produced the code package or dataset.
- The authors should state which version of the asset is used and, if possible, include a URL.
- The name of the license (e.g., CC-BY 4.0) should be included for each asset.
- For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided.
- If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset.
- For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided.
- If this information is not available online, the authors are encouraged to reach out to the asset's creators.
13. New assets
Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?
Answer: [Yes]
Justification: The released analysis and plotting code is documented alongside the code with its inputs, dependencies, execution commands, output definitions, and reproduction limitations. The authors' code is released under the MIT license; existing data and models retain their original terms. Appendix F links the repository and reproduction guides. No new dataset, benchmark, or trained model is introduced.
Guidelines:
- The answer [N/A] means that the paper does not release new assets.
- Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc.
- The paper should discuss whether and how consent was obtained from people whose asset is used.
- At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file.
14. Crowdsourcing and research with human subjects
Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?
Answer: [N/A]
Justification: The work does not involve crowdsourcing, participant studies, data annotation by human subjects, or user-facing experiments.
Guidelines:
-
The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.
-
Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper.
-
According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector.
15. Institutional review board (IRB) approvals or equivalent for research with human subjects
Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?
Answer: [N/A]
Justification: No human-subject research is conducted, so IRB approval or equivalent human-subject review is not applicable.
Guidelines:
-
The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.
-
Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper.
-
We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution.
-
For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review.
16. Declaration of LLM usage
Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required.
Answer: [Yes]
Justification: LLM assistance was used in revising the manuscript and checking mathematical arguments. The resulting statements are accompanied by explicit assumptions and proofs; LLM output is not treated as mathematical evidence.
Guidelines:
-
The answer [N/A] means that the core method development in this research does not involve LLMs as any important, original, or non-standard components.
-
Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described.