Unveil Benign Overfitting for Transformer in Vision: Training Dynamics, Convergence, and Generalization
Not on the map. Why?
Abstract (arXiv)
Transformers have demonstrated great power in the recent development of large foundational models. In particular, the Vision Transformer (ViT) has brought revolutionary changes to the field of vision, achieving significant accomplishments on the experimental side. However, their theoretical capabilities, particularly in terms of generalization when trained to overfit training data, are still not fully understood. To address this gap, this work delves deeply into the benign overfitting perspective of transformers in vision. To this end, we study the optimization of a Transformer composed of a self-attention layer with softmax followed by a fully connected layer under gradient descent on a certain data distribution model. By developing techniques that address the challenges posed by softmax and the interdependent nature of multiple weights in transformer optimization, we successfully characterized the training dynamics and achieved generalization in post-training. Our results establish a sharp condition that can distinguish between the small test error phase and the large test error regime, based on the signal-to-noise ratio in the data model. The theoretical results are further verified by experimental simulation. To the best of our knowledge, this is the first work to characterize benign overfitting for Transformers.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Sep 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2024: 2; 2025: 11; 2026: 4.
17 papers.
Sort:
By area:
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
- 2025When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear Transformerscited by 38
- 2024On the Feature Learning in Diffusion Modelscited by 19
- 2025How Transformers Learn Regular Language Recognition: A Theoretical Study on Training Dynamics and Implicit Biascited by 10
- 2024NLPrompt: Noise-Label Prompt Learning for Vision-Language Modelscited by 9
- 2025Scaling Diffusion Transformers Efficiently via μPcited by 6
- 2025On the Role of Label Noise in the Feature Learning Processcited by 4
- 2025How Does Label Noise Gradient Descent Improve Generalization in the Low SNR Regime?cited by 4
- 2025Disentangling Feature Structure: A Mathematically Provable Two-Stage Training Dynamics in Transformerscited by 3
- 2025Merging Smarter, Generalizing Better: Enhancing Model Merging on OOD Datacited by 3
- 2025Review of Hallucination Understanding in Large Language and Vision Modelscited by 2
- 2025How Can Mamba Learn In Context with Outliers and Generalize Provably?cited by 2
5 more
- 2026Beyond Temperature: Hyperfitting as a Late-Stage Geometric Expansioncited by 1
- 2025Uncertainty-Aware Remaining Lifespan Prediction from Imagescited by 0
- 2026Neuron Block Dynamics for XOR Classification with Zero-Margincited by 0
- 2026How Transformers Learn to Plan via Multi-Token Predictioncited by 0
- 2026When Does ℓ2-Boosting Overfit Benignly? High-Dimensional Risk Asymptotics and the ℓ1 Implicit Biascited 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
- 2026How Transformers Learn to Plan via Multi-Token Prediction13 Apr 2026
- 2026Neuron Block Dynamics for XOR Classification with Zero-Margin30 Jan 2026
- 2025How Does Label Noise Gradient Descent Improve Generalization in the Low SNR Regime?20 Oct 2025
- 2025How Can Mamba Learn In Context with Outliers and Generalize Provably?1 Oct 2025
- 2025Review of Hallucination Understanding in Large Language and Vision Models26 Sep 2025
- 2025Uncertainty-Aware Remaining Lifespan Prediction from Images16 Jun 2025
- 2025Merging Smarter, Generalizing Better: Enhancing Model Merging on OOD Data10 Jun 2025
- 2025On the Role of Label Noise in the Feature Learning Process25 May 2025
- 2025Scaling Diffusion Transformers Efficiently via μP21 May 2025
- 2025How Transformers Learn Regular Language Recognition: A Theoretical Study on Training Dynamics and Implicit Bias2 May 2025
5 more
- 2025When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear Transformers15 Apr 2025
- 2025Disentangling Feature Structure: A Mathematically Provable Two-Stage Training Dynamics in Transformers28 Feb 2025
- 2025Training Dynamics of In-Context Learning in Linear Attention27 Jan 2025
- 2024NLPrompt: Noise-Label Prompt Learning for Vision-Language Models2 Dec 2024
- 2024On the Feature Learning in Diffusion Models2 Dec 2024
- 2024On the Feature Learning in Diffusion Modelscited by 19
- 2025Scaling Diffusion Transformers Efficiently via μPcited by 6
- 2025Scaling Diffusion Transformers Efficiently via μP21 May 2025
- 2024On the Feature Learning in Diffusion Models2 Dec 2024
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
- 2025How Transformers Learn Regular Language Recognition: A Theoretical Study on Training Dynamics and Implicit Biascited by 10
- 2025On the Role of Label Noise in the Feature Learning Processcited by 4
- 2025How Does Label Noise Gradient Descent Improve Generalization in the Low SNR Regime?cited by 4
- 2025Disentangling Feature Structure: A Mathematically Provable Two-Stage Training Dynamics in Transformerscited by 3
- 2025Merging Smarter, Generalizing Better: Enhancing Model Merging on OOD Datacited by 3
- 2025Review of Hallucination Understanding in Large Language and Vision Modelscited by 2
- 2026Beyond Temperature: Hyperfitting as a Late-Stage Geometric Expansioncited by 1
- 2025Uncertainty-Aware Remaining Lifespan Prediction from Imagescited by 0
- 2026Neuron Block Dynamics for XOR Classification with Zero-Margincited by 0
- 2026How Transformers Learn to Plan via Multi-Token Predictioncited by 0
- 2026When Does ℓ2-Boosting Overfit Benignly? High-Dimensional Risk Asymptotics and the ℓ1 Implicit Biascited 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
- 2026How Transformers Learn to Plan via Multi-Token Prediction13 Apr 2026
- 2026Neuron Block Dynamics for XOR Classification with Zero-Margin30 Jan 2026
- 2025How Does Label Noise Gradient Descent Improve Generalization in the Low SNR Regime?20 Oct 2025
- 2025Review of Hallucination Understanding in Large Language and Vision Models26 Sep 2025
- 2025Uncertainty-Aware Remaining Lifespan Prediction from Images16 Jun 2025
- 2025Merging Smarter, Generalizing Better: Enhancing Model Merging on OOD Data10 Jun 2025
- 2025On the Role of Label Noise in the Feature Learning Process25 May 2025
- 2025How Transformers Learn Regular Language Recognition: A Theoretical Study on Training Dynamics and Implicit Bias2 May 2025
- 2025Disentangling Feature Structure: A Mathematically Provable Two-Stage Training Dynamics in Transformers28 Feb 2025
- 2025Training Dynamics of In-Context Learning in Linear Attention27 Jan 2025