两个电路的故事:Grokking作为稀疏和密集子网的竞争
A Tale of Two Circuits: Grokking as Competition of Sparse and Dense Subnetworks
摘要:
Grokking是一种现象,在算法任务上训练的模型首先过拟合,但在大量额外的训练之后,经历了一个相变,以完美地泛化。我们实证研究的内部结构进行grokking的稀疏奇偶校验任务的网络,并发现grokking相变对应于一个稀疏的子网络,占主导地位的模型预测的出现。在优化水平上,我们发现这个子网络出现时,一个小的神经元子集经历快速的范数增长,而网络中的其他神经元衰减缓慢的范数。因此,我们认为,grokking相变可以理解为出现从两个很大程度上不同的子网络的竞争:一个密集的,占主导地位的过渡前和概括差,和一个稀疏的,占主导地位之后。
英文摘要:
Grokking is a phenomenon where a model trained on an algorithmic task first overfits but, then, after a large amount of additional training, undergoes a phase transition to generalize perfectly. We empirically study the internal structure of networks undergoing grokking on the sparse parity task, and find that the grokking phase transition corresponds to the emergence of a sparse subnetwork that dominates model predictions. On an optimization level, we find that this subnetwork arises when a small subset of neurons undergoes rapid norm growth, whereas the other neurons in the network decay slowly in norm. Thus, we suggest that the grokking phase transition can be understood to emerge from competition of two largely distinct subnetworks: a dense one that dominates before the transition and generalizes poorly, and a sparse one that dominates afterwards.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。