Lune

NeurIPS2024顶会

Unveil Benign Overfitting for Transformer in Vision: Training Dynamics, Convergence, and Generalization

Jiarui Jiang, Wei Huang, Miao Zhang, Taiji Suzuki, Liqiang Nie

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • How Does Label Noise Gradient Descent Improve Generalization in the Low SNR Regime? 引用了 Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learning
  • How Does Label Noise Gradient Descent Improve Generalization in the Low SNR Regime? 引用了 Benign Overfitting and Grokking in ReLU Networks for XOR Cluster Data
  • Provably Transformers Harness Multi-Concept Word Semantics for Efficient In-Context Learning 引用了 Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learning
  • Provably Transformers Harness Multi-Concept Word Semantics for Efficient In-Context Learning 引用了 Benign Overfitting and Grokking in ReLU Networks for XOR Cluster Data
  • Provably Transformers Harness Multi-Concept Word Semantics for Efficient In-Context Learning 引用了 Benign Overfitting in Single-Head Attention
  • From Linear to Nonlinear: Provable Weak-to-Strong Generalization through Feature Learning 引用了 Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learning
  • Benign Overfitting in Single-Head Attention 引用了 Benign Overfitting and Grokking in ReLU Networks for XOR Cluster Data
  • Benign Overfitting in Single-Head Attention 引用了 Transformers learn to implement preconditioned gradient descent for in-context learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper16

  1. Benign Overfitting in Single-Head AttentionRoey Magen, Shuning Shang, Zhiwei Xu, Spencer Frei 等NeurIPS 2025 · 12 次引用
  2. Provably Transformers Harness Multi-Concept Word Semantics for Efficient In-Context LearningDake Bu, Wei Huang, Andi Han, Atsushi Nitanda 等NeurIPS 2024 · 11 次引用
  3. Scaling Diffusion Transformers Efficiently via μPChenyu Zheng, Xinyu Zhang, Rongzhen Wang, Wei Huang 等NeurIPS 2025 · 7 次引用
  4. From Linear to Nonlinear: Provable Weak-to-Strong Generalization through Feature LearningJunsoo Oh, Jerry Song, Chulhee YunNeurIPS 2025 · 5 次引用
  5. How Does Label Noise Gradient Descent Improve Generalization in the Low SNR Regime?Wei Huang, Andi Han, Yujin Song, Yilan Chen 等NeurIPS 2025 · 4 次引用

它引用的 Paper6

  1. Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space ModelLianghui Zhu, Bencheng Liao, Qian Zhang, Xinlong Wang 等ICML 2024 · 1,725 次引用
  2. Why are Adaptive Methods Good for Attention Models?Jingzhao Zhang, Sai Praneeth Karimireddy, Andreas Veit, Seungyeon Kim 等NeurIPS 2020 · 397 次引用
  3. Transformers learn to implement preconditioned gradient descent for in-context learningKwangjun Ahn, Xiang Cheng, Hadi Daneshmand, Suvrit SraNeurIPS 2023 · 324 次引用
  4. Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep LearningZeyuan Allen-Zhu, Yuanzhi LiICLR 2023 · 151 次引用
  5. Benign Overfitting and Grokking in ReLU Networks for XOR Cluster DataZhiwei Xu, Yutong Wang, Spencer Frei, Gal Vardi 等ICLR 2024 · 39 次引用

相关 Paper

  1. Benign Overfitting in Adversarial Training for Vision TransformersJiaming Zhang, Meng Ding, Shaopeng Fu, Jingfeng Zhang 等ICML 2026 · 1 次引用
  2. Benign Overfitting in Token Selection of Attention MechanismKeitaro Sakamoto, Issei SatoICML 2025
  3. Benign Overfitting in Two-layer Convolutional Neural NetworksYuan Cao, Zixiang Chen, Misha Belkin, Quanquan GuNeurIPS 2022 · 121 次引用
  4. SAFER: Sharpness Aware Layer-Selective Finetuning for Enhanced Robustness in Vision TransformersBhavna Gopal, Huanrui Yang, Mark Horton, Yiran ChenICCV 2025
  5. Vision Transformers Are Robust LearnersSayak Paul, Pin-Yu ChenAAAI 2022 · 372 次引用
黄昏的海面,两侧是细线勾勒的悬崖