优化器诱导的低维漂移与横向动力学在Transformer训练中
Optimizer-Induced Low-Dimensional Drift and Transverse Dynamics in Transformer Training
AI总结:
研究揭示了Transformer训练中优化器诱导的低维漂移方向,分析了其在不同优化器下的稳定性及影响因素,强调累积更新动态的重要性。
摘要:
我们分析了在AdamW优化器下Transformer训练的累积参数轨迹,识别出一个主导的低维漂移方向('backbone'),该方向捕捉了60-80%的长期位移。此方向在滚动训练窗口中高度稳定,但在不同阶段逐渐重新定向,特别是在目标重新加权后。每批梯度与backbone几乎对齐,而集成优化器更新则强烈对齐,表明该结构源于累积优化器动态而非瞬时梯度几何。用SGD家族优化器替代AdamW会消除此结构,降低β₂会削弱backbone主导性并影响重新加热恢复能力。重新加热实验显示,横向探测模式可短暂重新激发而不显著改变累积的backbone漂移。这些结果提供了Transformer训练中优化器诱导几何结构的轨迹级表征,将关注点从瞬时梯度属性转向累积更新动态。
英文摘要:
We analyze cumulative parameter trajectories of transformer training under AdamW and identify a dominant low-dimensional drift direction ("backbone") that captures 60--80% of long-horizon displacement from initialization. This direction is highly stable over rolling training windows yet reorients gradually across phases, particularly following objective reweighting. Per-batch gradients exhibit near-noise-floor alignment with the backbone, whereas optimizer-integrated updates align strongly with it, indicating that the structure emerges from accumulated optimizer dynamics rather than instantaneous gradient geometry. Replacing AdamW with SGD-family optimizers eliminates this structure, and reducing $β_2$ smoothly degrades backbone dominance and reheating recoverability. Reheating experiments show that transverse probe modes can be transiently re-excited without substantially altering accumulated backbone drift. These results provide a trajectory-level characterization of optimizer-induced geometric structure in transformer training and shift attention from instantaneous gradient properties to cumulative update dynamics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。