arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.06597cs.LGcs.AI
收藏

从鲁棒性视角理解Grokking(顿悟泛化)现象

Understanding Grokking Through A Robustness Viewpoint

Tsinghua University(清华大学);Shanghai Jiao Tong University(上海交通大学);Qing Yuan Research Institute(清源研究院)

Zhiquan Tan, Weiran Huang

AI总结:

该研究从鲁棒性视角解析grokking顿悟泛化现象,证明l₂权重范数是其充分条件,提出扰动法加速泛化,还基于鲁棒性与信息论提出可预测grokking的新指标。

摘要:

近年来,一种名为grokking(顿悟泛化)的有趣现象受到广泛关注:模型在对训练数据发生过拟合很久之后,才会出现泛化能力。我们尝试从神经网络鲁棒性的角度理解这一看似反常的现象。从鲁棒性视角出发,我们证明常用的神经网络$l_2$权重范数(指标)实际上是grokking现象发生的充分条件。基于上述观察,我们提出了基于扰动的方法来加速泛化进程。此外,我们在模加法数据集上检验了标准训练过程,发现在grokking发生之前,模型几乎学不会其他基本群运算,例如交换律。有趣的是,使用我们提出的方法带来的泛化加速,可以通过模型学习到交换律来解释——这是模型在测试集上发生grokking的必要条件。我们还通过实验发现,$l_2$范数与测试集上的grokking现象不存在及时的相关性,因此我们基于鲁棒性和信息论提出了新的指标,发现新指标与grokking现象具有良好的相关性,可用于预测grokking的发生。

英文摘要:

Recently, an interesting phenomenon called grokking has gained much attention, where generalization occurs long after the models have initially overfitted the training data. We try to understand this seemingly strange phenomenon through the robustness of the neural network. From a robustness perspective, we show that the popular $l_2$ weight norm (metric) of the neural network is actually a sufficient condition for grokking. Based on the previous observations, we propose perturbation-based methods to speed up the generalization process. In addition, we examine the standard training process on the modulo addition dataset and find that it hardly learns other basic group operations before grokking, for example, the commutative law. Interestingly, the speed-up of generalization when using our proposed method can be explained by learning the commutative law, a necessary condition when the model groks on the test dataset. We also empirically find that $l_2$ norm correlates with grokking on the test data not in a timely way, we propose new metrics based on robustness and information theory and find that our new metrics correlate well with the grokking phenomenon and may be used to predict grokking.

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

↑