Lune

NeurIPS2024顶会

Global Convergence in Training Large-Scale Transformers

Cheng Gao, Yuan Cao, Zihao Li, Yihan He, Mengdi Wang, Han Liu, Jason M. Klusowski, Jianqing Fan

摘要

Despite the widespread success of Transformers across various domains, their optimization guarantees in large-scale model settings are not well-understood. This paper rigorously analyzes the convergence properties of gradient flow in training Transformers with weight decay regularization. First, we construct the mean-field limit of large-scale Transformers, showing that as the model width and depth go to infinity, gradient flow converges to the Wasserstein gradient flow, which is represented by a partial differential equation. Then, we demonstrate that the gradient flow reaches a global minimum consistent with the PDE solution when the weight decay regularization parameter is sufficiently small. Our analysis is based on a series of novel mean-field techniques that adapt to Transformers. Compared with existing tools for deep networks (Lu et al., 2020) that demand homogeneity and global Lipschitz smoothness, we utilize a refined analysis assuming only partial homogeneity\textit{partial homogeneity} and local Lipschitz smoothness\textit{local Lipschitz smoothness}. These new techniques may be of independent interest.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • A Theoretical Study of (Hyper) Self-Attention through the Lens of Interactions: Representation, Training, Generalization 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • A Theoretical Study of (Hyper) Self-Attention through the Lens of Interactions: Representation, Training, Generalization 引用了 Language Models are Few-Shot Learners
  • A Theoretical Study of (Hyper) Self-Attention through the Lens of Interactions: Representation, Training, Generalization 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
  • Transformers Trained via Gradient Descent Can Provably Learn a Class of Teacher Models 引用了 Transformer Learns Optimal Variable Selection in Group-Sparse Classification
  • Transformers Trained via Gradient Descent Can Provably Learn a Class of Teacher Models 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient Descent 引用了 Transformers Trained via Gradient Descent Can Provably Learn a Class of Teacher Models
  • Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient Descent 引用了 Transformer Learns Optimal Variable Selection in Group-Sparse Classification
  • Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient Descent 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient Descent 引用了 Language Models are Few-Shot Learners
  • Transformer Learns Optimal Variable Selection in Group-Sparse Classification 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Transformer Learns Optimal Variable Selection in Group-Sparse Classification 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 Language Models are Few-Shot Learners
  • Internal Planning in Language Models: Characterizing Horizon and Branch Awareness 引用了 A Theoretical Study of (Hyper) Self-Attention through the Lens of Interactions: Representation, Training, Generalization
  • Internal Planning in Language Models: Characterizing Horizon and Branch Awareness 引用了 Language Models are Few-Shot Learners
  • Scaling Vision Transformers to 22 Billion Parameters 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient DescentChenyang Zhang, Yuan CaoICML 2026 · 1 次引用
  2. A Theoretical Study of (Hyper) Self-Attention through the Lens of Interactions: Representation, Training, GeneralizationMuhammed Ustaomeroglu, Guannan QuICML 2025
  3. Transformers Trained via Gradient Descent Can Provably Learn a Class of Teacher ModelsChenyang Zhang, Qingyue Zhao, Quanquan Gu, Yuan CaoICLR 2026
  4. Transformer Learns Optimal Variable Selection in Group-Sparse ClassificationChenyang Zhang, Xuran Meng, Yuan CaoICLR 2025
  5. Internal Planning in Language Models: Characterizing Horizon and Branch AwarenessMuhammed Ustaomeroglu, Baris Askin, Gauri Joshi, Carlee Joe-Wong 等ICLR 2026

它引用的 Paper26

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  3. Scaling Vision Transformers to 22 Billion ParametersMostafa Dehghani, Josip Djolonga, Basil Mustafa, Piotr Padlewski 等ICML 2023 · 848 次引用
  4. Are Transformers universal approximators of sequence-to-sequence functions?Chulhee Yun, Srinadh Bhojanapalli, Ankit Singh Rawat, Sashank J. Reddi 等ICLR 2020 · 481 次引用
  5. Synthesizer: Rethinking Self-Attention for Transformer ModelsYi Tay, Dara Bahri, Donald Metzler, Da-Cheng Juan 等ICML 2021 · 399 次引用

相关 Paper

  1. Transformers Learn Nonlinear Features In Context: Nonconvex Mean-field Dynamics on the Attention LandscapeJuno Kim, Taiji SuzukiICML 2024 · 42 次引用
  2. Unraveling the Gradient Descent Dynamics of TransformersBingqing Song, Boran Han, Shuai Zhang, Jie Ding 等NeurIPS 2024 · 13 次引用
  3. Infinite Limits of Multi-head Transformer DynamicsBlake Bordelon, Hamza Tahir Chaudhry, Cengiz PehlevanNeurIPS 2024 · 42 次引用
  4. Emergence of meta-stable clustering in mean-field transformer modelsGiuseppe Bruno, Federico Pasqualotto, Andrea AgazziICLR 2025 · 2 次引用
  5. Perceptrons and Localization of Attention’s Mean-Field LandscapeAntonio Álvarez López, Borjan Geshkovski, Domènec Ruiz-BaletICML 2026 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖