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(伦敦玛丽女王大学理论物理中心)
Dmitry Manning-Coe, Jacopo Gliozzi, Alexander G. Stapleton, Edward Hirst, Giuseppe De Tomasi, Barry Bradlyn, David S. Berman
Grokking typically achieves similar loss to ordinary, "steady", learning. We ask whether these different learning paths - grokking versus ordinary training - lead to fundamental differences in the learned models. To do so we compare the features, compressibility, and learning dynamics of models trained via each path in two tasks. We find that grokked and steadily trained models learn the same features, but there can be large differences in the efficiency with which these features are encoded. In particular, we find a novel "compressive regime" of steady training in which there emerges a linear trade-off between model loss and compressibility, and which is absent in grokking. In this regime, we can achieve compression factors 25x times the base model, and 5x times the compression achieved in grokking. We then track how model features and compressibility develop through training. We show that model development in grokking is task-dependent, and that peak compressibility is achieved immediately after the grokking plateau. Finally, novel information-geometric measures are introduced which demonstrate that models undergoing grokking follow a straight path in information space.
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的清晰度。
A Spectral Theory of Grokking: Weight Decay induces Feature Learning
Arnold-Sommerfeld-Center for Theoretical Physics(阿诺德-索末菲理论物理中心);Ludwig-Maximilians-Universität München(慕尼黑路德维希-马克西米利安大学);University of Cambridge(剑桥大学);Standford University(斯坦福大学)
Deciphering Two Training Clocks in Grokking via Deep Linear Network Theory with Conditional ReLU Reduction
State Key Laboratory of Mathematical Sciences, Academy of Mathematics and Systems Science, Chinese Academy of Sciences, Beijing 100190, China(数学科学国家重点实验室,数学与系统科学研究院,中国科学院,北京100190,中国);School of Mathematical Sciences, University of Chinese Academy of Sciences, Beijing 100049, China(中国科学院大学数学科学学院,北京100049,中国);Shanghai Institute for Mathematics and Interdisciplinary Sciences (SIMIS), Shanghai, China(上海数学与交叉科学研究所(SIMIS),上海,中国);Key Laboratory of Systems Health Science of Zhejiang Province, School of Life Science, Hangzhou Institute for Advanced Study, University of Chinese Academy of Sciences, Chinese Academy of Sciences, Hangzhou 310024, China(浙江省系统健康科学重点实验室,生命科学学院,杭州先进研究院,中国科学院大学,中国科学院,杭州310024,中国)