arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.05369cs.CL
收藏

逐步残差预热用于语言模型预训练

Progressive Residual Warmup for Language Model Pretraining

The Hong Kong University of Science(香港科学与技术大学);NVIDIA, Santa Clara, US(NVIDIA公司);The University of Hong Kong, Hong Kong, China(香港大学);University of Surrey, Guildford, UK(萨里大学)

Tianhao Chen, Xin Xu, Lu Yin, Hao Chen, Yang Wang, Shizhe Diao, Can Yang

AI总结:

ProRes通过逐步残差预热方法提升语言模型预训练的稳定性与收敛速度,实现更快的收敛和更好的性能

摘要:

Transformer架构是大多数现代大语言模型的骨干,因此其预训练的稳定性和收敛速度是核心关注点。受依次堆叠层的逻辑依赖性启发,我们提出了用于语言模型预训练的逐步残差预热(ProRes)。ProRes通过将每个层的残差乘以一个从0逐渐增加到1的标量,实现“早期层先学习”的哲学,更深层的层需要更长的预热步骤。这样,更深层的层在早期层稳定到更稳定的区域后才参与学习。我们通过不同模型规模和归一化及初始化方案的预训练实验展示了ProRes的有效性。全面分析显示,ProRes不仅稳定了预训练,还引入了独特的优化轨迹,导致更快的收敛速度、更强的泛化能力和更好的下游性能。我们的代码可在https://github.com/dandingsky/ProRes获取。

英文摘要:

Transformer architectures serve as the backbone for most modern Large Language Models, therefore their pretraining stability and convergence speed are of central concern. Motivated by the logical dependency of sequentially stacked layers, we propose Progressive Residual Warmup (ProRes) for language model pretraining. ProRes implements an "early layer learns first" philosophy by multiplying each layer's residual with a scalar that gradually warms up from 0 to 1, with deeper layers taking longer warmup steps. In this way, deeper layers wait for early layers to settle into a more stable regime before contributing to learning. We demonstrate the effectiveness of ProRes through pretraining experiments across various model scales, as well as normalization and initialization schemes. Comprehensive analysis shows that ProRes not only stabilizes pretraining but also introduces a unique optimization trajectory, leading to faster convergence, stronger generalization and better downstream performance. Our code is available at https://github.com/dandingsky/ProRes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑