Progressive Residual Warmup for Language Model Pretraining
Tianhao Chen, Xin Xu, Lu Yin, Hao CHEN, Yang Wang, Shizhe Diao, Can Yang
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Mixture-of-Experts Optimization · Type: new method · Keywords: transformer pretraining, residual warmup, training stability, optimization trajectory, language model
Summary
Progressive Residual Warmup (ProRes) stabilizes and accelerates language model pretraining by gradually warming up residual connections from early to deeper layers.
Explained to a 5-year-old
When we train big computer brain models, they sometimes have trouble learning all at once. The model is like a tower of blocks, and we let the bottom blocks get stable before the top ones start moving. We do this by slowly turning up the connections between each block, starting with the first. This makes the training smoother and helps the model learn faster. As a result, the model works better on other tasks after training.
Explained to a 5-year-old, longer
Big computer programs called language models are taught by feeding them lots of text. They have many layers, like many layers of understanding, and they need to learn together. Sometimes the layers get confused, making the learning slow and unstable. To help, we let the earlier layers settle down before the later layers start learning. We do this by slowly turning up the connections between each layer, starting with the first. The connections start very small and grow bigger over time. Deeper layers have a slower increase, so they wait longer for the earlier ones. This way, the model learns step by step, like building a tower block by block. The training becomes smoother, which means the model can learn faster. Because of this smoother learning, the model remembers more and works better on new tasks. The method also helps the model perform better when used for things like writing or answering questions. Overall, this approach makes training big language models more reliable and efficient.
For a technical reader
The paper addresses the instability and slow convergence observed during transformer pretraining by introducing a layer-wise scaling of residual connections. Each layer’s residual is multiplied by a scalar that starts near zero and gradually increases, with deeper layers warming up more slowly to let earlier layers stabilize first. This progressive warmup changes the optimization trajectory, leading to more stable gradients and faster convergence without sacrificing model capacity. Empirical evaluations across multiple model sizes and normalization schemes confirm improved pretraining stability, better generalization, and enhanced downstream task performance. The implementation is straightforward and can be integrated into existing training pipelines with minimal overhead.
Problem
Training deep transformer models often suffers from unstable convergence and slow training, making pretraining less efficient and harder to optimize.
Method
The approach multiplies each layer's residual connection by a scalar that gradually increases from 0 to 1, with deeper layers warming up more slowly, allowing early layers to stabilize before deeper layers contribute.
Results
The approach stabilizes pretraining, yields faster convergence, stronger generalization, and improved downstream performance across model scales.
Contributions
It introduces a layer-wise residual warmup scheme that improves training stability and speed, and provides comprehensive analysis across model sizes and normalization/initialization choices.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction