研究解析 Grokking 现象:哪些任务能从记忆走向泛化
Mapping the Solution-Set Structure of Grokking on Latin Squares
arXiv 上这篇论文用拉丁方染色把 Grokking 讲透了,想搞懂模型为啥突然泛化的可以看看
论文将 Grokking 的优化解定义为最小范数端点,并把成对输入任务建模为 K_{q,q} 的边染色问题。研究证明有限阿贝尔群任务在部分观测下渐近地全部泛化,而均匀随机拉丁方任务中 all-good 端点渐近稀少。实验还显示加法的重标记任务虽有多项式稠密表示仍能泛化。在合数阶任务上,有限训练结果表明预测器先学输出的粗糙部分再学完整标签。
Mapping the Solution-Set Structure of Grokking on Latin Squares
Grokking is a delayed transition from memorisation to generalisation. A network first fits observed examples while remaining near chance on held-out inputs, then generalises abruptly. Prior work has focused mainly on this delay, finding that the network's main loss becomes weight decay after the fitting phase. We name the solution to this optimization problem as the minimum-norm endpoint, and study which tasks make all minimum-norm endpoints generalise from partial observations. Specifically, we model pairwise input tasks as edge colourings of $K_{q,q}$, with Latin colourings as our structured family, and classify each observed instance as all-good, mixed, or no-good by its endpoint set. Furthermore, we prove two contrasting results: (1) Finite-abelian-group families are asymptotically all-good from partial observations; (2) Under a uniform random Latin square, all-good tasks become asymptotically rare for observation-based learners, leaving mixed or no-good behaviour. Moreover, experiments show that relabellings of addition generalise despite their dense polynomial representations. Finally, on tasks of composite order, finite-training results suggest that predictors learn a coarse part of the output before the full label.