arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.09810cs.LG
收藏

Grokking 的复杂度动力学

The Complexity Dynamics of Grokking

Department of Engineering Science, University of Oxford, Oxford, United Kingdom(牛津大学工程科学系)

Branton DeMoss, Silvia Sapora, Jakob Foerster, Nick Hawes, Ingmar Posner

AI总结:

本文通过率失真理论与柯尔莫哥洛夫复杂度构建复杂度度量框架,揭示 grokking 现象中的复杂度相变,并提出基于谱熵的正则化方法以促进网络学习低复杂度、可泛化的表示。

摘要:

我们通过研究 grokking 现象,证明了神经网络中复杂度相变的存在。在该现象中,网络在过拟合训练数据很久之后,会突然从记忆状态转变为泛化状态。为了刻画这一相变,我们引入了一个基于率失真理论和柯尔莫哥洛夫复杂度的理论框架来衡量复杂度,该框架可以理解为对网络进行有原则的有损压缩。我们发现,经过适当正则化的网络会表现出急剧的相变:复杂度在记忆阶段上升,随后随着网络发现一个更简单的、能够泛化的底层模式而下降。相比之下,未正则化的网络则始终被困在高复杂度的记忆阶段。我们在复杂度度量与泛化界之间建立了明确的联系,为有损压缩与泛化之间的联系提供了理论基础。我们的框架所实现的压缩比相比朴素方法高出 30-40 倍,从而能够精确追踪复杂度动力学。最后,我们引入了一种基于谱熵的正则化方法,通过惩罚网络的内在维度,促使网络趋向低复杂度表示。

英文摘要:

We demonstrate the existence of a complexity phase transition in neural networks by studying the grokking phenomenon, where networks suddenly transition from memorization to generalization long after overfitting their training data. To characterize this phase transition, we introduce a theoretical framework for measuring complexity based on rate-distortion theory and Kolmogorov complexity, which can be understood as principled lossy compression for networks. We find that properly regularized networks exhibit a sharp phase transition: complexity rises during memorization, then falls as the network discovers a simpler underlying pattern that generalizes. In contrast, unregularized networks remain trapped in a high-complexity memorization phase. We establish an explicit connection between our complexity measure and generalization bounds, providing a theoretical foundation for the link between lossy compression and generalization. Our framework achieves compression ratios 30-40x better than naïve approaches, enabling precise tracking of complexity dynamics. Finally, we introduce a regularization method based on spectral entropy that encourages networks toward low-complexity representations by penalizing their intrinsic dimension.

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

↑