arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.04817cs.LGmath.OC
收藏

弹弓机制:自适应优化器和Grokking现象的实证研究

The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenon

Apple(苹果公司)

Vimal Thilak, Etai Littwin, Shuangfei Zhai, Omid Saremi, Roni Paiss, Joshua Susskind

摘要:

Power等人(arXiv:2201.02177)报道的Grokking现象是指一种长时间的过拟合之后似乎突然过渡到完美泛化的状态。在本文中,我们试图通过一系列的实证研究来揭示Grokking的基础。具体来说,我们发现了一个优化异常,它在训练的最后阶段隐藏了自适应优化器,称为弹弓机制。弹弓机制的一个突出的伪影可以通过稳定和不稳定训练机制之间的循环相变来测量,并且可以通过最后一层权重的范数的循环行为来容易地监测。我们根据经验观察到,如果没有明确的正则化,Grokking(arXiv:2201.02177)几乎只发生在弹弓开始时,没有它就不存在。虽然弹弓机制在更一般的设置中很常见并且很容易重现,但它并不遵循我们所知道的任何已知的优化理论,并且如果没有深入研究,很容易被忽略。我们的工作指出了自适应梯度优化器在训练后期的一个令人惊讶和有用的归纳偏差,需要对其起源进行修订的理论分析。

英文摘要:

The grokking phenomenon as reported by Power et al. ( arXiv:2201.02177 ) refers to a regime where a long period of overfitting is followed by a seemingly sudden transition to perfect generalization. In this paper, we attempt to reveal the underpinnings of Grokking via a series of empirical studies. Specifically, we uncover an optimization anomaly plaguing adaptive optimizers at extremely late stages of training, referred to as the Slingshot Mechanism. A prominent artifact of the Slingshot Mechanism can be measured by the cyclic phase transitions between stable and unstable training regimes, and can be easily monitored by the cyclic behavior of the norm of the last layers weights. We empirically observe that without explicit regularization, Grokking as reported in ( arXiv:2201.02177 ) almost exclusively happens at the onset of Slingshots, and is absent without it. While common and easily reproduced in more general settings, the Slingshot Mechanism does not follow from any known optimization theories that we are aware of, and can be easily overlooked without an in depth examination. Our work points to a surprising and useful inductive bias of adaptive gradient optimizers at late stages of training, calling for a revised theoretical analysis of their origin.

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

↑