mlsanityData to 7 Oct 2026

Initialization of Large Language Models via Reparameterization to Mitigate Loss Spikes

arXiv 2410.05052 ↗First posted 7 Oct 2024cs.CLcited by 3

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2020Scaling Laws for Neural Language Modelscited by 6,411
  7. 2016Layer Normalizationcited by 5,579
  8. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  9. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
  10. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  11. 2016Pointer Sentinel Mixture Modelscited by 2,992
  12. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
28 more
  1. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  2. 2020GLU Variants Improve Transformercited by 1,724
  3. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  4. 2018Spectral Normalization for Generative Adversarial Networkscited by 1,618
  5. 2019Root Mean Square Layer Normalizationcited by 1,425
  6. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  7. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
  8. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
  9. 2016Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networkscited by 541
  10. 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 370
  11. 2020Understanding the Difficulty of Training Transformerscited by 210
  12. 2018ReCoRD: Bridging the Gap between Human and Machine Commonsense Reading Comprehensioncited by 198
  13. 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
  14. 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
  15. 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 153
  16. 2024Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Lawscited by 137
  17. 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
  18. 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
  19. 2018How to Start Training: The Effect of Initialization and Architecturecited by 109
  20. 2022What Language Model to Train if You Have One Million GPU Hours?cited by 92
  21. 2019Improving Deep Transformer with Depth-Scaled Initialization and Merged Attentioncited by 59
  22. 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 51
  23. 2023Toward Understanding Why Adam Converges Faster Than SGD for Transformerscited by 50
  24. 2021GradInit: Learning to Initialize Neural Networks for Stable and Efficient Trainingcited by 44
  25. 2021The Stability-Efficiency Dilemma: Investigating Sequence Length Warmup for Training GPT Modelscited by 36
  26. 2017Deep Residual Networks and Weight Initializationcited by 12
  27. 2022Towards Theoretically Inspired Neural Initialization Optimizationcited by 11
  28. 2021AutoInit: Analytic Signal-Preserving Weight Initialization for Neural Networkscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.