arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.19367cs.LGstat.ML
收藏

Weibull 权重尺度参数在 AdamW 训练动态下的演化

Weibull Weight-Scale Parameter Evolution under AdamW Training Dynamics

Independent Researcher(独立研究员)

Tiexin Ding

AI总结:

研究 AdamW 训练中 Weibull 权重尺度参数 λ 增长、过冲和松弛的原因,推导出三种力(对齐、注入、衰减)的分解,并在 Pythia-70M 模型上验证对齐力主导上升阶段,贡献 88-94%。

摘要:

基于用于诊断变压器权重分布的双参数 Weibull 框架,我们研究了为什么在 AdamW 训练期间 Weibull 权重尺度参数 λ 会增长、过冲然后松弛。我们从 AdamW 更新中推导出平方权重范数的领先阶三力分解:一个对齐力,测量权重与自适应更新方向之间的相关性;一个注入力,来自自适应步长幅度;以及一个衰减力,来自解耦的权重衰减。在具有真实优化器矩的自训练 Pythia-70M 模型上,对齐力主导上升阶段,在四个随机种子中贡献了绝对力预算的 88-94%,并且对超权重移除具有鲁棒性。接近饱和时,对齐力和衰减力趋于平衡,解释了从权重尺度增长到松弛的转变。这些力动态直接控制 λ(t) 背后的平方范数分量;剩余的 RMS 到 Weibull 重建偏移是可测量的,并分解为桥接分量和积分分量,在密集采样区域总计约 5-6%。为了将分析扩展到无法获得优化器矩的真实模型,我们引入了一种样条位移方法,该方法从稀疏检查点以约 92-94% 的准确率恢复对齐力,大约是朴素两点基线的两倍。我们进一步观察到,在我们的实验中,λ(t) 的峰值随训练数据一致性而变化,这表明权重尺度增长存在数据依赖成分,我们将其留待后续对照研究。代码和数据可在 https://this URL 获取。

英文摘要:

Building on a two-parameter Weibull framework for diagnosing transformer weight distributions, we study why the Weibull weight-scale parameter $λ$ grows, overshoots, and then relaxes during AdamW training. We derive a leading-order three-force decomposition of the squared weight norm from the AdamW update: an alignment force measuring the correlation between weights and the adaptive update direction, an injection force from adaptive step magnitude, and a decay force from decoupled weight decay. On self-trained Pythia-70M models with ground-truth optimizer moments, alignment dominates the rise phase, contributing 88-94% of the absolute force budget across four random seeds and remaining robust to super-weight removal. Near saturation, alignment and decay approach balance, explaining the transition from weight-scale growth to relaxation. These force dynamics directly govern the squared-norm component underlying $λ(t)$; the remaining RMS-to-Weibull reconstruction offset is measurable and decomposes into bridge and integration components, totaling approximately 5-6% in densely sampled regions. To extend the analysis to real models where optimizer moments are unavailable, we introduce a spline displacement method that recovers the alignment force from sparse checkpoints with approximately 92-94% accuracy, about twice the naive two-point baseline. We further observe that the peak value of $λ(t)$ varies with training-data coherence in our experiments, suggesting a data-dependent component of weight-scale growth that we leave to a controlled follow-up study. Code and data are available at https://github.com/tiexinding/NPM-Weibull-public.

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

↑