Rank-Aware Spectral Bounds on Attention Logits for Stable Low-Precision Training
Not on the map. Why?
Abstract (arXiv)
Attention scores in transformers are bilinear forms Sij = xi^top M xj / √dh whose maximum magnitude governs overflow risk in low-precision training. We derive a rank-aware concentration inequality: when the interaction matrix M = WQ WKtop has rank r ll d, tail probabilities for maxi,j|Sij| decay as exp(-d2α2/(γ r)) rather than exp(-dα2), where γ > 1 is a typicality parameter. For transformer attention where r = dh, this yields 8--28× tighter concentration than rank-agnostic bounds in modern architectures. We apply this result to FP8 training, deriving geometry-aware scale factors that provide principled overflow guarantees without observing activations. The method computes per-layer scales from the spectral norm |WQ WKtop|2 via implicit power iteration, includes a grouped query attention formulation that avoids key expansion, and remains compatible with fused attention kernels. Across GPT-2 XL to Llama-2-70B, geometry-aware scaling eliminates overflows in transient scenarios where delayed scaling fails, while achieving comparable downstream MMLU accuracy.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 14 of its 19 references that are in the map. First posted on arXiv 21 Feb 2026.
Builds on
14 of 19 references.
References · 14
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2018Spectral Normalization for Generative Adversarial Networkscited by 1,636
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
- 2022FP8 Formats for Deep Learningcited by 196
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 161
- 2023Microscaling Data Formats for Deep Learningcited by 152
- 2023Unit Scaling: Out-of-the-Box Low-Precision Trainingcited by 17
2 more
Built on by
Citing papers per year: 2026: 2.
2 papers.