Scale-Distribution Decoupling: Enabling Stable and Effective Training of Large Language Models
Abstract
Training stability is a persistent challenge in the pre-training of large language models (LLMs), particularly for architectures such as Post-Norm Transformers, which are prone to gradient explosion and dissipation. In this paper, we propose Scale-Distribution Decoupling (SDD), a novel approach that stabilizes training by explicitly decoupling the scale and distribution of the weight matrix in fully-connected layers. SDD applies a normalization mechanism to regulate activations and a learnable scaling vector to maintain well-conditioned gradients, effectively preventing gradient explosion and dissipation. This separation improves optimization efficiency, particularly in deep networks, by ensuring stable gradient propagation. Experimental results demonstrate that our method stabilizes training across various LLM architectures and outperforms existing techniques in different normalization configurations. Furthermore, the proposed method is lightweight and compatible with existing frameworks, making it a practical solution for stabilizing LLM training. Code is available at https://github.com/kaihemo/SDD.
Community
TL;DR: The paper introduces Scale-Distribution Decoupling (SDD), a novel technique to address training stability challenges in LLMs. By separating the scale and distribution of weight matrices in neural networks, SDD prevents gradient explosion and dissipation, improving optimization efficiency across different model architectures. The method is lightweight, compatible with existing frameworks, and has been experimentally shown to enhance training stability for LLMs, achieving a superior 1.5x convergence speedup compared to traditional LLM architectures. Code is available at this URL.
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper