大语言模型预训练中通过权重重缩放实现方差控制
Variance Control via Weight Rescaling in LLM Pre-training
AI总结:
针对大语言模型预训练中方差管理研究不足的问题,提出LIR权重初始化方案与TVR方差控制策略,在1B参数LLaMA上验证可提升下游性能最高4.6%并缓解低精度训练难题。
摘要:
大语言模型(LLM)的预训练效果高度依赖权重初始化与方差控制策略。尽管初始方差控制的重要性在通用神经网络领域已有充分研究,但针对LLM预训练过程中的初始化及其方差增长管理的文献仍较为匮乏。本文提出了层索引重缩放(LIR)权重初始化方案,以及目标方差重缩放(TVR)方差控制策略。在参数量为1B的LLaMA模型上开展的实验表明,采用这些技术实现更优的方差管理,可显著提升下游任务性能(在常用预训练基准上最高提升4.6%),并能减少极端激活值,从而缓解量化与低精度训练相关的难题。我们的代码可在以下链接获取:https://github.com/bluorion-com/weight_rescaling。
英文摘要:
The outcome of Large Language Model (LLM) pre-training strongly depends on weight initialization and variance control strategies. Although the importance of initial variance control has been well documented in neural networks in general, the literature on initialization and management of its growth during LLM pre-training, specifically, is somewhat sparse. In this paper, we introduce the Layer Index Rescaling (LIR) weight initialization scheme, and the Target Variance Rescaling (TVR) variance control strategy. Experiments on a 1B parameter LLaMA model demonstrate that better variance management using these techniques yields substantial improvements in downstream task performance (up to 4.6% on common pre-training benchmarks) and reduces extreme activation values, thus mitigating challenges associated with quantization and low-precision training. Our code is available at: https://github.com/bluorion-com/weight_rescaling.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。