arXiv 论文拆解 Grokking 中的几何变化:类中心与类内几何
Auditing Geometric Change in Grokking: Centroid Configuration versus Within-Class Geometry
研究 Grokking 的人该看看这篇。它把表示几何拆成类中心和类内残差分别干预,发现 PH 维度变化主要来自类间分离,而常用的 TwoNN 局部估计器会漏掉这部分信号。做机制可解释性、依赖维度估计当指标的话,这篇直接影响你选估计器。
一篇 arXiv 论文将激活表示分解为类中心(类均值)加类内残差两个成分,通过质心干预和检查点重组两种实验来区分 Grokking 过程中到底是类间分离还是类内几何在变化。实验对象是九个 Z₂₃-加法 MLP:仅改变类中心配置就能让基于 MST 的有限样本 PH 维度估计移动 3.0 倍(从坍缩到训练后质心),整个干预范围内变化达 10.4 倍;而 TwoNN 估计器在近邻都落在类内后变得不敏感。
检查点重组实验在所有随机种子中呈现同样的对比:在对称端点分配下,质心对 PH 维度的贡献超过残差贡献,TwoNN 则相反。作者把差异归因于估计器的支撑范围——TwoNN 只看局部近邻,MST 保留跨类连接边。一个模除法 Transformer 的实验还表明归因结果取决于所选的训练区间。
Auditing Geometric Change in Grokking: Centroid Configuration versus Within-Class Geometry
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.
This report is categorized under AITOP's "Papers" desk. Key entities and technical topics under continuous tracking include Grokking, mechanistic interpretability, Transformer, representation learning.
Source attribution: curated from arXiv cs.LG (@Felix Baastad Berg, Ulrik Unneberg).