Benign Overfitting in Single-Head Attention
Not on the map. Why?
Abstract (arXiv)
The phenomenon of benign overfitting, where a trained neural network perfectly fits noisy training data but still achieves near-optimal test performance, has been extensively studied in recent years for linear models and fully-connected/convolutional networks. In this work, we study benign overfitting in a single-head softmax attention model, which is the fundamental building block of Transformers. We prove that under appropriate conditions, the model exhibits benign overfitting in a classification setting already after two steps of gradient descent. Moreover, we show conditions where a minimum-norm/maximum-margin interpolator exhibits benign overfitting. We study how the overfitting behavior depends on the signal-to-noise ratio (SNR) of the data distribution, namely, the ratio between norms of signal and noise tokens, and prove that a sufficiently large SNR is both necessary and sufficient for benign overfitting.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). First posted on arXiv 10 Oct 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 5; 2026: 7.
12 papers.
- 2025Short-length Adversarial Training Helps LLMs Defend Long-length Jailbreak Attacks: Theoretical and Empirical Evidencecited by 14
- 2025How Transformers Learn Regular Language Recognition: A Theoretical Study on Training Dynamics and Implicit Biascited by 11
- 2025Understanding Generalization in Transformers: Error Bounds and Training Dynamics Under Benign and Harmful Overfittingcited by 2
- 2025Attention with Trained Embeddings Provably Selects Important Tokenscited by 1
- 2026Provably Learning Attention with Queriescited by 1
- 2026Harmful Overfitting in Sobolev Spacescited by 1
- 2026Understanding and Improving Continuous Adversarial Training for LLMs via In-context Learning Theorycited by 1
- 2026Benign Overfitting in Adversarial Training for Vision Transformerscited by 1
- 2026When Does ℓ2-Boosting Overfit Benignly? High-Dimensional Risk Asymptotics and the ℓ1 Implicit Biascited by 1
- 2026Beyond Temperature: Hyperfitting as a Late-Stage Geometric Expansioncited by 1
- 2025Indirect Attention: Turning Context Misalignment into a Featurecited by 0
- 2026How Transformers Learn to Plan via Multi-Token Predictioncited by 0
- 2026Beyond Temperature: Hyperfitting as a Late-Stage Geometric Expansion21 May 2026
- 2026When Does ℓ2-Boosting Overfit Benignly? High-Dimensional Risk Asymptotics and the ℓ1 Implicit Bias7 May 2026
- 2026Benign Overfitting in Adversarial Training for Vision Transformers21 Apr 2026
- 2026Understanding and Improving Continuous Adversarial Training for LLMs via In-context Learning Theory14 Apr 2026
- 2026How Transformers Learn to Plan via Multi-Token Prediction13 Apr 2026
- 2026Harmful Overfitting in Sobolev Spaces31 Jan 2026
- 2026Provably Learning Attention with Queries23 Jan 2026
- 2025Indirect Attention: Turning Context Misalignment into a Feature30 Sep 2025
- 2025Attention with Trained Embeddings Provably Selects Important Tokens22 May 2025
- 2025How Transformers Learn Regular Language Recognition: A Theoretical Study on Training Dynamics and Implicit Bias2 May 2025
- 2025Understanding Generalization in Transformers: Error Bounds and Training Dynamics Under Benign and Harmful Overfitting18 Feb 2025
- 2025Short-length Adversarial Training Helps LLMs Defend Long-length Jailbreak Attacks: Theoretical and Empirical Evidence6 Feb 2025