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

通过分层随机特征模型模拟深度神经网络的训练尖峰

Simulating Training Spikes of Deep Neural Networks by Layer-wise Random Feature Models

Google Deepmind(谷歌DeepMind)

Ran Tian, Courtney Paquette

AI总结:

该研究针对LLM预训练损失尖峰之谜,提出用带重尾幂律输入的二次模型模拟DNN分层训练动态,通过Adam超参数案例验证模拟有效性,还推导了可提升性能的β₂调度方案。

摘要:

大型语言模型(LLMs)预训练过程中损失函数出现的间歇性“尖峰”现象,在理论和实证层面均仍是未解之谜。本文表明,带有重尾幂律分布输入的简单二次模型可复现这些尖峰。我们引入理论框架与模拟算法,利用此类二次模型对深度神经网络(DNNs)的每层训练动态进行建模。在针对已知会引发Transformer语言模型尖峰的Adam超参数配置(其中β₂设为接近1)的案例研究中,我们的模拟成功预测了来自给定检查点的尖峰行为对应的波动。此外,我们从观测指标中推导了合适的β₂调度方案,该方案经实证验证可提升性能。

英文摘要:

Intermittent ``spikes'' in loss, during the pre-training of Large Language Models (LLMs), remains a mysterious phenomenon both theoretically and empirically. In this paper, we show that simple quadratic models with heavy-tailed, power-law distributed inputs can replicate these spikes. We introduce a theoretical framework and simulation algorithm to model per-layer training dynamics of Deep Neural Networks (DNNs), using such quadratic models. In a case study on an Adam hyperparameter configuration (where $β_2$ is set close to $1$) known to induce spikes in Transformer LMs, our simulation successfully predicts bumps indicating spiky behavior from a given checkpoint. Furthermore, we derive an appropriate $β_2$ schedule from observed metrics, which empirically improves performance.

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

↑