Staged Training for Transformer Language Models
Sheng Shen, Pete Walsh, Kurt Keutzer, Jesse Dodge, Matthew E. Peters, Iz Beltagy
摘要
The current standard approach to scaling transformer language models trains each model size from a different random initialization. As an alternative, we consider a staged training setup that begins with a small model and incrementally increases the amount of compute used for training by applying a "growth operator" to increase the model depth and width. By initializing each stage with the output of the previous one, the training process effectively re-uses the compute from prior stages and becomes more efficient. Our growth operators each take as input the entire training state (including model parameters, optimizer state, learning rate schedule, etc.) and output a new training state from which training continues. We identify two important properties of these growth operators, namely that they preserve both the loss and the "training dynamics" after applying the operator. While the losspreserving property has been discussed previously, to the best of our knowledge this work is the first to identify the importance of preserving the training dynamics (the rate of decrease of the loss during training). To find the optimal schedule for stages, we use the scaling laws from (Kaplan et al., 2020) to find a precise schedule that gives the most compute saving by starting a new stage when training efficiency starts decreasing. We empirically validate our growth operators and staged training for autoregressive language models, showing up to 22% compute savings compared to a strong baseline trained from scratch. Our code is available at https://github. com/allenai/staged-training .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 26 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Models 引用了 Cramming: Training a Language Model on a single GPU in one day
- No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Models 引用了 Language Models are Few-Shot Learners
- Masked Structural Growth for 2x Faster Language Model Pre-training 引用了 Train Big, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformers
- Masked Structural Growth for 2x Faster Language Model Pre-training 引用了 GradMax: Growing Neural Networks using Gradient Information
- Masked Structural Growth for 2x Faster Language Model Pre-training 引用了 Language Models are Few-Shot Learners
- Cramming: Training a Language Model on a single GPU in one day 引用了 Language Models are Few-Shot Learners
- Stacking Your Transformers: A Closer Look at Model Growth for Efficient LLM Pre-Training 引用了 No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Models
- Stacking Your Transformers: A Closer Look at Model Growth for Efficient LLM Pre-Training 引用了 Masked Structural Growth for 2x Faster Language Model Pre-training
- Stacking Your Transformers: A Closer Look at Model Growth for Efficient LLM Pre-Training 引用了 GradMax: Growing Neural Networks using Gradient Information
- Stacking Your Transformers: A Closer Look at Model Growth for Efficient LLM Pre-Training 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper26
- Cramming: Training a Language Model on a single GPU in one dayJonas Geiping, Tom GoldsteinICML 2023 · 115 次引用
- No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language ModelsJean Kaddour, Oscar Key, Piotr Nawrot, Pasquale Minervini 等NeurIPS 2023 · 63 次引用
- Stacking Your Transformers: A Closer Look at Model Growth for Efficient LLM Pre-TrainingWenyu Du, Tongxu Luo, Zihan Qiu, Zeyu Huang 等NeurIPS 2024 · 52 次引用
- Efficient Large Multi-modal Models via Visual Context CompressionJieneng Chen, Luoxin Ye, Ju He, Zhaoyang Wang 等NeurIPS 2024 · 49 次引用
- Masked Structural Growth for 2x Faster Language Model Pre-trainingYiqun Yao, Zheng Zhang, Jing Li, Yequan WangICLR 2024 · 30 次引用
它引用的 Paper5
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Train Big, Then Compress: Rethinking Model Size for Efficient Training and Inference of TransformersZhuohan Li, Eric Wallace, Sheng Shen, Kevin Lin 等ICML 2020 · 184 次引用
- GradMax: Growing Neural Networks using Gradient InformationUtku Evci, Bart van Merrienboer, Thomas Unterthiner, Fabian Pedregosa 等ICLR 2022 · 72 次引用
- Shallow-to-Deep Training for Neural Machine TranslationBei Li, Ziyang Wang, Hui Liu, Yufan Jiang 等EMNLP 2020 · 41 次引用
- Shortformer: Better Language Modeling using Shorter InputsOfir Press, Noah A. Smith, Mike LewisACL 2021
相关 Paper
- Learning to Grow Pretrained Models for Efficient Transformer TrainingPeihao Wang, Rameswar Panda, Lucas Torroba Hennigen, Philip Greengard 等ICLR 2023 · 13 次引用
- Scaling depth capacity via zero/one-layer model expansionZhiqi BuICML 2026 · 1 次引用
- TripLe: Revisiting Pretrained Model Reuse and Progressive Learning for Efficient Vision Transformer Scaling and SearchingCheng Fu, Hanxian Huang, Zixuan Jiang, Yun Ni 等ICCV 2023 · 5 次引用
- bert2BERT: Towards Reusable Pretrained Language ModelsCheng Chen, Yichun Yin, Lifeng Shang, Xin Jiang 等ACL 2022
- Scaling Law with Learning Rate AnnealingHowe Tissue, Venus Wang, Lu WangNeurIPS 2025 · 33 次引用
