GPAS: Accelerating Convergence of LLM Pretraining via Gradient-Preserving Activation Scaling
Not on the map. Why?
Abstract (arXiv)
Modern Large Language Models, such as the LLaMA, Qwen and DeepSeek series, predominantly adopt the Pre-LayerNorm (Pre-LN) Transformer architecture. While being stable during pretraining and scalable to large model sizes, Pre-LN suffers from an exponential growth in activation variance across layers, causing the shortcut to dominate over sub-layer outputs in the residual connection and limiting the learning capacity of deeper layers. To mitigate this issue, we propose Gradient-Preserving Activation Scaling (GPAS), a simple technique that can be used in combination with existing approaches. GPAS works by scaling down the intermediate activations while keeping their gradients unchanged. This leaves information in the activations intact, and avoids the gradient vanishing problem associated with gradient downscaling. Extensive experiments across various model sizes from 71M to 1B show that GPAS achieves consistent performance gains. Beyond enhancing Pre-LN Transformers, GPAS also shows promise in improving alternative architectures such as Sandwich-LN and DeepNorm, demonstrating its versatility and potential for improving training dynamics in a wide range of settings. Our code is available at https://github.com/dandingsky/GPAS.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 37 of its 43 references that are in the map. First posted on arXiv 27 Jun 2025.
Builds on
37 of 43 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2016Layer Normalizationcited by 5,579
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2024Qwen2 Technical Reportcited by 2,076
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020GLU Variants Improve Transformercited by 1,724
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
25 more
- 2018Group Normalizationcited by 1,514
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2024DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Modelscited by 834
- 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
- 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 481
- 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 447
- 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 369
- 2023LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Modelscited by 317
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 219
- 2019Understanding and Improving Layer Normalizationcited by 213
- 2023ReLoRA: High-Rank Training Through Low-Rank Updatescited by 200
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2023Outlier Weighed Layerwise Sparsity (OWL): A Missing Secret Sauce for Pruning LLMs to High Sparsitycited by 163
- 2024LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuningcited by 88
- 2025The Curse of Depth in Large Language Modelscited by 58
- 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 51
- 2024Mix-LN: Unleashing the Power of Deeper Layers by Combining Pre-LN and Post-LNcited by 37
- 2025Peri-LN: Revisiting Normalization Layer in the Transformer Architecturecited by 32
- 2022B2T Connection: Serving Stability and Performance in Deep Transformerscited by 16
- 2021Sandwich Batch Normalization: A Drop-In Replacement for Feature Distribution Heterogeneitycited by 7
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.