Lune

NeurIPS2024顶会

Stacking Your Transformers: A Closer Look at Model Growth for Efficient LLM Pre-Training

Wenyu Du, Tongxu Luo, Zihan Qiu, Zeyu Huang, Yikang Shen, Reynold Cheng, Yike Guo, Jie Fu

摘要

LLMs are computationally expensive to pre-train due to their large scale. Model growth emerges as a promising approach by leveraging smaller models to accelerate the training of larger ones. However, the viability of these model growth methods in efficient LLM pre-training remains underexplored. This work identifies three critical O‾\underline{\textit{O}}bstacles: (O\textit{O}1) lack of comprehensive evaluation, (O\textit{O}2) untested viability for scaling, and (O\textit{O}3) lack of empirical guidelines. To tackle O\textit{O}1, we summarize existing approaches into four atomic growth operators and systematically evaluate them in a standardized LLM pre-training setting. Our findings reveal that a depthwise stacking operator, called GstackG_{\text{stack}}, exhibits remarkable acceleration in training, leading to decreased loss and improved overall performance on eight standard NLP benchmarks compared to strong baselines. Motivated by these promising results, we conduct extensive experiments to delve deeper into GstackG_{\text{stack}} to address O\textit{O}2 and O\textit{O}3. For O\textit{O}2 (untested scalability), our study shows that GstackG_{\text{stack}} is scalable and consistently performs well, with experiments up to 7B LLMs after growth and pre-training LLMs with 750B tokens. For example, compared to a conventionally trained 7B model using 300B tokens, our GstackG_{\text{stack}} model converges to the same loss with 194B tokens, resulting in a 54.6% speedup. We further address O\textit{O}3 (lack of empirical guidelines) by formalizing guidelines to determine growth timing and growth factor for GstackG_{\text{stack}}, making it practical in general LLM pre-training. We also provide in-depth discussions and comprehensive ablation studies of GstackG_{\text{stack}}. Our code and pre-trained model are available at https://llm-stacking.github.io.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • LESA: Learnable LLM Layer Scaling-Up 引用了 Measuring Massive Multitask Language Understanding
  • LESA: Learnable LLM Layer Scaling-Up 引用了 TruthfulQA: Measuring How Models Mimic Human Falsehoods
  • LESA: Learnable LLM Layer Scaling-Up 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • LESA: Learnable LLM Layer Scaling-Up 引用了 Language Models are Few-Shot Learners
  • SPARKLING: Balancing Signal Preservation and Symmetry Breaking for Width-Progressive Learning 引用了 Measuring Massive Multitask Language Understanding
  • SPARKLING: Balancing Signal Preservation and Symmetry Breaking for Width-Progressive Learning 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • SPARKLING: Balancing Signal Preservation and Symmetry Breaking for Width-Progressive Learning 引用了 Language Models are Few-Shot Learners
  • Measuring Massive Multitask Language Understanding 引用了 Language Models are Few-Shot Learners
  • FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Language Models are Few-Shot Learners
  • Late-to-Early Training: LET LLMs Learn Earlier, So Faster and Better 引用了 Language Models are Few-Shot Learners
  • TruthfulQA: Measuring How Models Mimic Human Falsehoods 引用了 Measuring Massive Multitask Language Understanding
  • Language Models are Few-Shot Learners 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper13

  1. LESA: Learnable LLM Layer Scaling-UpYifei Yang, Zouying Cao, Xinbei Ma, Yao Yao 等ACL 2025 · 6 次引用
  2. When Does Sparsity Mitigate the Curse of Depth in LLMsYao Yao, Xinyuan Song, Sebastian Pokutta, Max Zimmer 等ICML 2026 · 5 次引用
  3. SPARKLING: Balancing Signal Preservation and Symmetry Breaking for Width-Progressive LearningQifan Yu, Xinyu Ma, Zhijian Zhuo, Minrui Wang 等ICML 2026 · 3 次引用
  4. From Growing to Looping: A Unified View of Iterative Computation in LLMsFerdinand Kapl, Emmanouil Angelis, Kaitlin Maile, Johannes von Oswald 等ICML 2026 · 2 次引用
  5. Late-to-Early Training: LET LLMs Learn Earlier, So Faster and BetterJi Zhao, Shitong Shao, Yufei Gu, Xun Zhou 等ICLR 2026 · 1 次引用

它引用的 Paper20

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
  3. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
  4. TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 次引用
  5. WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用

相关 Paper

  1. Masked Structural Growth for 2x Faster Language Model Pre-trainingYiqun Yao, Zheng Zhang, Jing Li, Yequan WangICLR 2024 · 30 次引用
  2. Deep Fusion: Efficient Network Training via Pre-trained InitializationsHanna Mazzawi, Javier Gonzalvo, Michael Wunder, Sammy Jerome 等ICML 2024 · 4 次引用
  3. On the Inductive Bias of Stacking Towards Improving ReasoningNikunj Saunshi, Stefani Karp, Shankar Krishnan, Sobhan Miryoosefi 等NeurIPS 2024 · 23 次引用
  4. Scaling depth capacity via zero/one-layer model expansionZhiqi BuICML 2026 · 1 次引用
  5. Mix-LN: Unleashing the Power of Deeper Layers by Combining Pre-LN and Post-LNPengxiang Li, Lu Yin, Shiwei LiuICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖