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

Grokking 的几何:零损失流形上的范数最小化

The Geometry of Grokking: Norm Minimization on the Zero-Loss Manifold

ETH Zurich(苏黎世联邦理工学院)

Tiberiu Musat

AI总结:

本文通过约束优化视角,证明在极小学习率和权重衰减系数下,梯度下降在零损失流形上最小化权重范数,并引入近似解耦参数子集的学习动力学,推导出两层网络第一层后记忆动力学的闭式表达式,实验验证了该框架能复现 grokking 的延迟泛化和表征学习特征。

摘要:

Grokking 是神经网络中一种令人费解的现象,即在完全记忆训练数据之后,经过相当长的延迟才出现完全的泛化。先前的研究将这种延迟泛化与由权重衰减驱动的表征学习联系起来,但精确的潜在动力学仍然难以捉摸。在本文中,我们认为后记忆学习可以通过约束优化的视角来理解:梯度下降在零损失流形上有效地最小化权重范数。我们在无穷小学习率和权重衰减系数的极限下正式证明了这一点。为了进一步剖析这一机制,我们引入了一种近似,将一部分参数的学习动力学与网络其余部分解耦。应用这一框架,我们推导出两层网络中第一层后记忆动力学的闭式表达式。实验证实,使用我们预测的梯度模拟训练过程能够再现 grokking 的特征性延迟泛化和表征学习。

英文摘要:

Grokking is a puzzling phenomenon in neural networks where full generalization occurs only after a substantial delay following the complete memorization of the training data. Previous research has linked this delayed generalization to representation learning driven by weight decay, but the precise underlying dynamics remain elusive. In this paper, we argue that post-memorization learning can be understood through the lens of constrained optimization: gradient descent effectively minimizes the weight norm on the zero-loss manifold. We formally prove this in the limit of infinitesimally small learning rates and weight decay coefficients. To further dissect this regime, we introduce an approximation that decouples the learning dynamics of a subset of parameters from the rest of the network. Applying this framework, we derive a closed-form expression for the post-memorization dynamics of the first layer in a two-layer network. Experiments confirm that simulating the training process using our predicted gradients reproduces both the delayed generalization and representation learning characteristic of grokking.

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

↑