arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2612.02402cs.LGstat.ML
收藏

研究Grokking现象中的几何变化:质心配置与类内几何

Auditing Geometric Change in Grokking: Centroid Configuration versus Within-Class Geometry

Imperial College London(帝国理工学院);Harvard University(哈佛大学)

Felix Baastad Berg, Ulrik Unneberg

AI总结:

该研究针对网络Grokking时的几何变化问题,通过质心与残差的干预重组方法,揭示了MLP与TwoNN在PH维数贡献上的差异,且Transformer的归因依赖训练区间。

摘要:

几何统计在网络发生Grokking时通常会发生变化,但全局测量无法表明是类别间距离增大还是类内几何发生了改变。我们通过将每个激活值表示为类别质心(类别均值)加上类内残差来分离这些效应,随后对这两个分量进行干预和重组:仅移动质心而保持所有残差固定(质心干预),并将一个训练检查点的质心与另一个检查点的残差组合(检查点重组)。在9个$\boldsymbol{\text{Z}_{23}}$加法MLP中,仅改变类别质心配置会使基于有限样本MST的PH维数估计值从折叠质心到训练质心变化3.0倍,在整个干预范围内变化10.4倍。相比之下,TwoNN在其使用的邻居位于类内后变得不变。检查点重组在训练过程中呈现相同的定性对比:在所有随机种子下,在对称端点分配下,质心对PH维数的贡献超过残差贡献,而TwoNN则由残差主导。精确的数值份额取决于因子交互作用的划分方式。这种差异源于估计器的支持:TwoNN是局部的,而MST保留跨类连接。一个模块化除法Transformer表明,归因还取决于所选的训练区间。

英文摘要:

Geometric statistics often change when networks grok, but a global measurement does not show whether the classes moved apart or the geometry within classes changed. We separate these effects by writing each activation as a class centroid (the class mean) plus a within-class residual, then intervening on and recombining the two components: we move only the centroids while keeping every residual fixed (the centroid intervention), and we combine centroids from one training checkpoint with residuals from another (checkpoint recombination). In nine $\mathbb{Z}_{23}$-addition MLPs, changing only the class-centroid configuration moves the finite-sample MST-based PH-dimension estimate by a factor of $3.0$ from collapsed to trained centroids and $10.4$ across the whole intervention sweep. TwoNN, in contrast, becomes invariant once the neighbours it uses lie within classes. Checkpoint recombination gives the same qualitative contrast over training: in every seed, the centroid contribution to PH-dimension exceeds the residual contribution under the symmetric endpoint allocation, whereas TwoNN is residual-dominated. Exact numerical shares depend on how the factor interaction is divided. The difference follows from estimator support: TwoNN is local, while the MST keeps cross-class connectors. A modular-division Transformer shows that the attribution also depends on the chosen training interval.

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

↑