Lune

ICML2020顶会

Improving Transformer Optimization Through Better Initialization

Xiao Shi Huang, Felipe Pérez, Jimmy Ba, Maksims Volkovs

摘要

The Transformer architecture has achieved considerable success recently; the key component of the Transformer is the attention layer that enables the model to focus on important regions within an input sequence. Gradient optimization with attention layers can be notoriously difficult requiring tricks such as learning rate warmup to prevent divergence. As Transformer models are becoming larger and more expensive to train, recent research has focused on understanding and improving optimization in these architectures. In this work our contributions are two-fold: we first investigate and empirically validate the source of optimization problems in the encoder-decoder Transformer architecture; we then propose a new weight initialization scheme with theoretical justification, that enables training without warmup or layer normalization. Empirical results on public machine translation benchmarks show that our approach achieves leading accuracy, allowing to train deep Transformer models with 200 layers in both encoder and decoder (over 1000 attention/MLP blocks) without difficulty. Code for this work is available here: https://github. com/layer6ai-labs/T-Fixup .

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Stabilizing Transformer Training by Preventing Attention Entropy Collapse 引用了 Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapse
  • Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapse 引用了 On the Variance of the Adaptive Learning Rate and Beyond
  • Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapse 引用了 On Layer Normalization in the Transformer Architecture
  • On the Adequacy of Untuned Warmup for Adaptive Optimization 引用了 On the Variance of the Adaptive Learning Rate and Beyond
  • On Layer Normalization in the Transformer Architecture 引用了 On the Variance of the Adaptive Learning Rate and Beyond
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper59

  1. Revisiting Deep Learning Models for Tabular DataYury Gorishniy, Ivan Rubachev, Valentin Khrulkov, Artem BabenkoNeurIPS 2021 · 1,847 次引用
  2. Going deeper with Image TransformersHugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve 等ICCV 2021 · 1,279 次引用
  3. Tuning Large Neural Networks via Zero-Shot Hyperparameter TransferGe Yang, Edward J. Hu, Igor Babuschkin, Szymon Sidor 等NeurIPS 2021 · 208 次引用
  4. Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank CollapseLorenzo Noci, Sotiris Anagnostidis, Luca Biggio, Antonio Orvieto 等NeurIPS 2022 · 161 次引用
  5. Stabilizing Transformer Training by Preventing Attention Entropy CollapseShuangfei Zhai, Tatiana Likhomanenko, Etai Littwin, Dan Busbridge 等ICML 2023 · 153 次引用

它引用的 Paper4

  1. ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
  2. On the Variance of the Adaptive Learning Rate and BeyondLiyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen 等ICLR 2020 · 2,210 次引用
  3. On Layer Normalization in the Transformer ArchitectureRuibin Xiong, Yunchang Yang, Di He, Kai Zheng 等ICML 2020 · 1,388 次引用
  4. On the Adequacy of Untuned Warmup for Adaptive OptimizationJerry Ma, Denis YaratsAAAI 2021 · 81 次引用

相关 Paper

  1. GradInit: Learning to Initialize Neural Networks for Stable and Efficient TrainingChen Zhu, Renkun Ni, Zheng Xu, Kezhi Kong 等NeurIPS 2021 · 73 次引用
  2. Conditioned Initialization for AttentionHemanth Saratchandran, Simon LuceyICLR 2026
  3. Transformers Get Stable: An End-to-End Signal Propagation Theory for Language ModelsAkhil Kedia, Mohd Abbas Zaidi, Sushil Khyalia, Jungho Jung 等ICML 2024 · 16 次引用
  4. Attention Weights in Transformer NMT Fail Aligning Words Between Sequences but Largely Explain Model PredictionsJavier Ferrando, Marta R. Costa-jussàEMNLP Findings 2021 · 14 次引用
  5. What Works and Doesn't Work, A Deep Decoder for Neural Machine TranslationZuchao Li, Yiran Wang, Masao Utiyama, Eiichiro Sumita 等ACL Findings 2022 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖