arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.15678cs.LGcs.AI
收藏

训练轨迹的谱边动态:跨尺度的信号-噪声几何

Spectral Edge Dynamics of Training Trajectories: Signal--Noise Geometry Across Scales

Yongzhong Xu

AI总结:

研究训练轨迹中信号与噪声的几何结构,通过谱边动态分析揭示优化方向与随机噪声的边界,发现谱边在不同模型规模下呈现三阶段模式,并通过降维保持谱间隙,应用于任意规模模型。

摘要:

尽管参数规模庞大,Transformer训练轨迹仅在少数协同方向上演化。本文引入谱边动态(SED)量化此结构:对参数更新进行滑动窗口SVD分析,揭示协同优化方向与随机噪声之间的谱边,通过最大连续奇异值比σ_k/σ_{k+1}识别。在51M参数TinyStories模型(4种子)和GPT-2 124M模型(分布偏移)上,谱边呈现普遍的三阶段模式(上升、平台、崩溃)。有效信号秩适应任务复杂度(51M时k*=2,124M时k*=3),谱几何与验证损失的定向耦合随窗口大小反转——滞后翻转反映轨迹积分的时间尺度。Johnson-Lindenstrauss投影到d=10W维度(如d=100时W=10)在5.7%内保持谱间隙,使框架适用于任意规模模型。在相关工作中,相同的谱几何提供grokking的早期预警信号——在模运算、Dyck语言和SCAN基准上,预测泛化在600-1700步前发生。

英文摘要:

Despite hundreds of millions of parameters, transformer training trajectories evolve within only a few coherent directions. We introduce Spectral Edge Dynamics (SED) to quantify this structure: a rolling-window SVD of parameter updates reveals a sharp boundary -- the spectral edge -- between coherent optimization directions and stochastic noise, identified via the maximum consecutive singular value ratio $σ_k / σ_{k+1}$. Across a 51M-parameter TinyStories model (4 seeds) and GPT-2 124M under distribution shift, the spectral edge exhibits a universal three-phase pattern (rise, plateau, collapse). The effective signal rank adapts to task complexity ($k^* = 2$ at 51M, $k^* = 3$ at 124M), and the directional coupling between spectral geometry and validation loss reverses with window size -- a lag flip reflecting the timescale of trajectory integration. Johnson--Lindenstrauss projection to $d = 10W$ dimensions (e.g., $d = 100$ for $W = 10$) preserves the spectral gap within $5.7\%$, making the framework applicable to models of arbitrary scale. In companion work, the same spectral geometry provides early-warning signals of grokking -- predicting generalization $600$--$1{,}700$ steps before it occurs across modular arithmetic, Dyck languages, and the SCAN benchmark.

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

↑