Initialization of Large Language Models via Reparameterization to Mitigate Loss Spikes
Not on the map. Why?
Abstract (arXiv)
Loss spikes, a phenomenon in which the loss value diverges suddenly, is a fundamental issue in the pre-training of large language models. This paper supposes that the non-uniformity of the norm of the parameters is one of the causes of loss spikes. Here, in training of neural networks, the scale of the gradients is required to be kept constant throughout the layers to avoid the vanishing and exploding gradients problem. However, to meet these requirements in the Transformer model, the norm of the model parameters must be non-uniform, and thus, parameters whose norm is smaller are more sensitive to the parameter update. To address this issue, we propose a novel technique, weight scaling as reparameterization (WeSaR). WeSaR introduces a gate parameter per parameter matrix and adjusts it to the value satisfying the requirements. Because of the gate parameter, WeSaR sets the norm of the original parameters uniformly, which results in stable training. Experimental results with the Transformer decoders consisting of 130 million, 1.3 billion, and 13 billion parameters showed that WeSaR stabilizes and accelerates training and that it outperformed compared methods including popular initialization methods.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 40 of its 60 references that are in the map. First posted on arXiv 7 Oct 2024.
Builds on
40 of 60 references.
References · 40
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2016Layer Normalizationcited by 5,579
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
28 more
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2020GLU Variants Improve Transformercited by 1,724
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2018Spectral Normalization for Generative Adversarial Networkscited by 1,618
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2016Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networkscited by 541
- 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 370
- 2020Understanding the Difficulty of Training Transformerscited by 210
- 2018ReCoRD: Bridging the Gap between Human and Machine Commonsense Reading Comprehensioncited by 198
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
- 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 153
- 2024Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Lawscited by 137
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
- 2018How to Start Training: The Effect of Initialization and Architecturecited by 109
- 2022What Language Model to Train if You Have One Million GPU Hours?cited by 92
- 2019Improving Deep Transformer with Depth-Scaled Initialization and Merged Attentioncited by 59
- 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 51
- 2023Toward Understanding Why Adam Converges Faster Than SGD for Transformerscited by 50
- 2021GradInit: Learning to Initialize Neural Networks for Stable and Efficient Trainingcited by 44
- 2021The Stability-Efficiency Dilemma: Investigating Sequence Length Warmup for Training GPT Modelscited by 36
- 2017Deep Residual Networks and Weight Initializationcited by 12
- 2022Towards Theoretically Inspired Neural Initialization Optimizationcited by 11
- 2021AutoInit: Analytic Signal-Preserving Weight Initialization for Neural Networkscited by 5
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.