arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.00539cs.LGmath.OCstat.ML
收藏

GNMR: 低精度大语言模型训练的运行时稳定性控制

GNMR: Runtime Stability Control for Low-Precision Large Language Model Training

Peking University(北京大学);Huawei Technologies Ltd.(华为技术有限公司)

Boao Kong, Weichen Jia, Engao Zhang, Guohong Li, Yonghan Dong, Yao Wang, Yaoyuan Wang, Yunke Peng, Kun Yuan

AI总结:

针对低精度语言模型训练中的稳定性瓶颈,提出基于梯度范数与历史均值之比(GNMR)的轻量级运行时控制器,通过局部风险信号映射到有界恢复动作,在不改变数值格式或后端的情况下提升训练稳定性。

摘要:

训练稳定性是低精度语言模型训练的关键瓶颈:高效的低成本路径仍可能在少量算子处产生短暂的数值风险。我们将此问题形式化为运行时稳定性控制,并提出梯度范数与历史均值之比(GNMR),一种轻量级控制器,将每个可恢复单元的当前梯度范数与其历史均值进行比较。结合用于检测短窗口内突增的$Δ$-GNMR,GNMR在硬$\mathrm{maxO}$预算和短锁定间隔下将局部风险信号映射到有界恢复动作,而不改变数值格式、内核或后端方案。在激活量化压力测试、DeepSeek风格的配方级训练以及LLaMA-2 13B微调中,GNMR以稀疏且预算受限的恢复保持了高保真质量。这些结果支持GNMR作为一种与后端无关的控制器,在保持低成本执行的同时提高低精度训练的稳定性。

英文摘要:

Training stability is a key bottleneck in low-precision language model training: efficient low-cost paths can still produce short-lived numerical risks at a small set of operators. We formulate this as runtime stability control and present Gradient Norm-to-Mean Ratio (GNMR), a lightweight controller that compares each recoverable unit's current gradient norm with its historical mean. Together with $Δ$-GNMR for abrupt short-window increases, GNMR maps local risk signals to bounded recovery actions under a hard $\mathrm{maxO}$ budget and a short lock interval, without changing the numerical format, kernel, or backend recipe. Across activation-quantization stress, DeepSeek-style recipe-level training, and LLaMA-2 13B fine-tuning, GNMR preserves high-fidelity quality with sparse, budgeted recovery. These results support GNMR as a backend-agnostic controller to improve low-precision training stability while preserving low-cost execution.

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

↑