Grokking is the intriguing phenomenon where a model learns to generalize long after it has fit the training data. We show both analytically and numerically that grokking can surprisingly occur in linear networks performing linear tasks in a simple teacher-student setup with Gaussian inputs. In this setting, the full training dynamics is derived in terms of the training and generalization data covariance matrix. We present exact predictions on how the grokking time depends on input and output dimensionality, train sample size, regularization, and network initialization. We demonstrate that the sharp increase in generalization accuracy may not imply a transition from "memorization" to "understanding", but can simply be an artifact of the accuracy measure. We provide empirical verification for our calculations, along with preliminary results indicating that some predictions also hold for deeper networks, with non-linear activations.
Raymond and Beverly Sackler School of Physics and Astronomy, Tel Aviv University, Tel Aviv 69978, Israel(雷蒙德与贝弗利·萨克勒物理与天文学学院,特拉维夫大学);École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland(洛桑联邦理工学院(EPFL),洛桑,瑞士)
To Grok Grokking: Provable Grokking in Ridge Regression
Department of Computer Science, Purdue University, West Lafayette, IN, USA(普渡大学计算机科学系);Department of Computer Science(计算机科学系);Applied Mathematics, Weizmann Institute of Science, Israel(科学应用数学系,魏茨曼研究院);Stein Faculty of Computer(斯坦因计算机科学学院);Information Science, Ben-Gurion University of the Negev, Israel(信息科学系,本· Gurion 军事大学)
Grokking phase transitions in learning local rules with gradient descent
Faculty of computer and information science, University of Ljubljana(卢布尔雅那大学计算机与信息科学学院);Faculty of mathematics and physics, University of Ljubljana(卢布尔雅那大学数学与物理学院)
Department of Physics, City University of Hong Kong(香港城市大学物理系);Department of Physics and Astronomy, University of Pennsylvania(宾夕法尼亚大学物理与天文学系);Innovation Campus Delaware, Air Liquide(Air Liquide创新校园)
Grokking vs. Learning: Same Features, Different Encodings
Anthony J. Leggett Institute for Condensed Matter Theory, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校安东尼·J·莱格特凝聚态理论研究所);Centre for Theoretical Physics, Queen Mary University of London(伦敦玛丽女王大学理论物理中心)
GrokAlign: Geometric Characterisation and Acceleration of Grokking
Department of Electrical and Computer Engineering, Rice University(电气与计算机工程系, Rice大学);Google Research(谷歌研究院);Department of Computer Science, Brown University(计算机科学系, Brown大学)
College of Engineering, Computing and Cybernetics(工程、计算与控制学院);The Australian National University(澳大利亚国立大学);School of Physics and Astronomy(物理与天文学院);Tel-Aviv University(特拉维夫大学)
神经网络有时会表现出grokking,这是一种在相应的训练集上获得相同性能后,在验证集上获得完美或接近完美性能的现象。在这篇研讨会论文中,我们介绍了一种基于拟合适当函数形式的鲁棒测量Grokking技术。然后,我们使用它来研究在两种设置下训练和验证准确性中过渡的锐度。第一个设置是Levi等人(2023)开发的理论框架,其中闭合形式的表达式很容易获得。第二种设置是一个双层MLP,用于预测比特的奇偶校验,其中grokking由Miller et al.(2023)的隐藏策略引起。我们发现,相对grokking间隙和grokking锐度之间的趋势是相似的,在这两种设置时,使用绝对和相对的措施的清晰度。考虑到这一点,我们朝着解释一些趋势取得了进展,并确定需要进一步研究,以解开各种机制,影响grokking的清晰度。
Grokking Beyond the Euclidean Norm of Model Parameters
Mila, Quebec AI Institute, Montréal, Quebec, Canada(魁北克AI研究所);CHU Sainte-Justine Research Center, Montréal, Quebec, Canada(圣-朱斯特研究中心);CIFAR AI Chair(CIFAR人工智能席位)
Beyond Progress Measures: Theoretical Insights into the Mechanism of Grokking
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院)
A Basin-Selection Perspective on Grokking via Singular Learning Theory
Department of Computer Science(计算机科学系);Department of Mathematics(数学系);Mathematical Institute(数学研究所);University of Pisa(比萨大学);Imperial College London(伦敦帝国学院);University of Oxford(牛津大学);Section of Mathematics and Artificial Intelligence(数学与人工智能系);Max Planck Institute of Molecular Cell Biology and Genetics(马克斯·普朗克分子细胞生物学和遗传学研究所);Center for Systems Biology(系统生物学中心);Faculty of Mathematics(数学系);TU Dresden(德累斯顿技术大学)
A Stochastic--Geometric Theory of Scaling Laws in Grokking
Research Ireland – Centre for Research Training in AI(爱尔兰研究——人工智能研究培训中心);J.E. Cairnes School of Business & Economics(J.E. 商业与经济学学院);University of Galway(Galway大学);Université Laval(拉瓦尔大学);CIFAR AI Chair(CIFAR人工智能主席);Mila – Québec AI Institute(魁北克人工智能研究所);School of Computer Science & Data Science Institute Visual Intelligence Lab(计算机科学与数据科学学院视觉智能实验室)
Department of XXX, University of YYY, Location, Country(XXX系,YYY大学,地点,国家);School of ZZZ, Institute of WWW, Location, Country(ZZZ学院,WWW研究所,地点,国家);CHU Sainte-Justine Research Center, Montréal(圣朱斯特研究中心,蒙特利尔);CIFAR AI Chair(CIFAR人工智能席位)