arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.22341cs.LGcond-mat.dis-nn
收藏

一种用于在线Softmax分类中三分之一缩放的边界层机制

A Boundary-Layer Mechanism for One-Third Scaling in Online Softmax Classification

Institute for Theoretical Physics, Leipzig University(理论物理研究所,莱比锡大学);ScaDS.AI Dresden/Leipzig(ScaDS.AI 德累斯顿/莱比锡)

Marcel Kühn, Yoon Thelge, Bernd Rosenow

AI总结:

本文研究了在线教师-学生模型中平滑替代损失与离散标签之间的不匹配如何产生幂律学习曲线的边界层机制,揭示了测试损失和泛化误差的α^{-1/3}缩放特性,以及学习率调度对泛化误差的改进。

摘要:

硬标签分类通常使用平滑替代损失进行训练,最典型的是交叉熵。我们隔离了一个渐近机制,即这种平滑替代损失与离散标签之间的不匹配在在线教师-学生模型中产生幂律学习曲线。在减去平均logit后,热力学极限动态在中心变量中闭合:一个增长的中心学生-教师对齐D和残余学生方差Δ。在晚期时间,远离教师决策边界的例子已被自信分类并贡献指数级很小。只有宽度为O(D^{-1})的边界层仍活跃,而固定学习率的在线梯度下降噪声保持非零的Δ。作为训练时间α的函数,晚期解产生α^{-1/3}的幂律,不仅适用于测试损失,还适用于泛化误差ε_g,即1减去测试准确率。这比相同模型的贝叶斯最优参考α^{-1}要慢得多。我们进一步表明,学习率调度可以将泛化误差改进到ε_g ~ α^{-1/2}的幂律。模拟支持预测的序参量动态和学习曲线。使用相关高斯输入和白化预训练特征的受控实验表明,数据结构可以主导瞬态。因此,我们的结果是一种渐近的、补充的机制,而不是神经缩放定律频谱解释的替代方案。

英文摘要:

Hard-label classification is usually trained with smooth surrogate losses such as softmax cross-entropy. We isolate a mechanism by which this mismatch between smooth surrogate and discrete labels produces power-law learning curves for a one-layer softmax student trained by online SGD on Gaussian inputs with argmax teacher labels. In the thermodynamic limit, the dynamics reduce to a growing student-teacher alignment and a residual student variance sustained by SGD noise. At late times, only shrinking layers of examples around teacher decision boundaries remain active. This yields an $α^{-1/3}$ law in training time $α$ not only for the test loss but also for the generalization error, one minus test accuracy. The error law is an online-noise effect. The loss law persists without gradient noise. Learning-rate annealing separates the two exponents, improving the error exponent from 1/3 toward 1/2 while slowing the loss. Simulations support the predictions. Correlated Gaussian inputs and whitened pretrained features change transients, not the late-time decay. Experiments with deep neural networks can show compatible error scaling. The mechanism is asymptotic and complementary to spectral explanations and data-statistics explanations of neural scaling laws.

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

↑