Research Papers 论文研究 1d ago Updated 1d ago 更新于 1天前 49

At-Grok Is Not Converged: A Measurement-Validity Audit for Grokking Representation Metrics At-Grok未收敛:对Grokking表示指标的测量有效性审计

The study audits "grokking" representation metrics, revealing that embedding compression significantly lags behind accuracy generalization by at least 10,000 steps on modular arithmetic tasks. Standard metrics like effective rank at the grokking transition overstate converged values by 3-5x in MLPs and 1.3-1.5x in Transformers, failing to capture true convergence timing. Layer Normalization drastically reduces the fraction of compression achieved by the grok step (from 0.87 to 0.25), identifying 研究指出在模运算任务中,网络嵌入的压缩过程在模型泛化后仍持续数万个步骤,且“Grokking”过渡期的有效秩读数严重高估收敛值(MLP高估3-5倍,Transformer高估1.3-1.5倍)。 压缩滞后于准确率过渡,滞后时间至少为10,000步,与Grokking所需时间相当;通过消融实验证明LayerNorm显著影响压缩完成的比例,并排除了尺度不变性作为主要机制。 提出了一套测量有效性审计工具,用于分离起始点与压缩过程、标记删失数据、排除边界细胞并检查参考基线,同时发布相关代码和工具包以复现结果。

65
Hot 热度
78
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • The study audits "grokking" representation metrics, revealing that embedding compression significantly lags behind accuracy generalization by at least 10,000 steps on modular arithmetic tasks.
  • Standard metrics like effective rank at the grokking transition overstate converged values by 3-5x in MLPs and 1.3-1.5x in Transformers, failing to capture true convergence timing.
  • Layer Normalization drastically reduces the fraction of compression achieved by the grok step (from 0.87 to 0.25), identifying architectural components as key drivers of compression lag.
  • An MLP-specific depth law linking norm budget to converged floor fails generality tests on Transformers and flips sign under free weight decay, indicating limited cross-architecture applicability.
  • The authors release an open-source audit toolkit designed to separate onset from compression, flag censoring, and exclude non-generalizing boundary cells to improve measurement validity.

Why It Matters

This research challenges the prevailing assumption that representation compression and generalization occur simultaneously during the grokking phenomenon, urging practitioners to decouple these metrics for accurate model diagnosis. By exposing significant biases in current measurement tools, such as overstated effective ranks and architectural dependencies, it provides a critical framework for validating theoretical claims about neural network learning dynamics. This ensures that future studies on emergent behaviors and representation learning rely on robust, audited metrics rather than potentially misleading proxies.

Technical Details

  • Metric Discrepancy Analysis: The audit demonstrates that reading effective rank at the grokking transition overestimates the converged value by 3-5x for Multi-Layer Perceptrons (MLPs) and 1.3-1.5x for Transformers trained to convergence.
  • Compression Lag Quantification: Embedding compression continues for tens of thousands of steps after accuracy has plateaued, with a lag magnitude comparable to the time-to-grok itself (minimum 10,000 steps).
  • Architectural Ablation: Adding LayerNorm to an otherwise identical Transformer reduces the fraction of compression completed by the grok step from 0.87 to 0.25, while pre-registered controls rule out scale invariance as the underlying mechanism.
  • Validity Audit Framework: The proposed toolkit separates onset from compression, flags censoring issues, excludes boundary cells that never fully generalize, and verifies that reference floors have plateaued.
  • Generality Testing: A secondary finding regarding an MLP-specific depth law linking norm budget to converged floor was shown to fail when applied to Transformers and exhibited sign flipping under free weight decay conditions.

Industry Insight

  • Researchers should adopt rigorous measurement audits that distinguish between accuracy transitions and representation compression to avoid misinterpreting model convergence timelines.
  • Architectural choices, particularly normalization layers, significantly impact the temporal dynamics of representation learning; these effects must be accounted for when comparing model efficiencies across different designs.
  • Open-source toolkits for auditing metric validity, such as the one released here, should become standard practice in deep learning research to ensure reproducibility and prevent false confidence in emergent behavior claims.

TL;DR

  • 研究指出在模运算任务中,网络嵌入的压缩过程在模型泛化后仍持续数万个步骤,且“Grokking”过渡期的有效秩读数严重高估收敛值(MLP高估3-5倍,Transformer高估1.3-1.5倍)。
  • 压缩滞后于准确率过渡,滞后时间至少为10,000步,与Grokking所需时间相当;通过消融实验证明LayerNorm显著影响压缩完成的比例,并排除了尺度不变性作为主要机制。
  • 提出了一套测量有效性审计工具,用于分离起始点与压缩过程、标记删失数据、排除边界细胞并检查参考基线,同时发布相关代码和工具包以复现结果。

为什么值得看

这篇文章挑战了当前对Grokking现象中表征压缩与泛化同步性的主流假设,揭示了现有评估指标(如有效秩)在特定架构下的系统性偏差。对于从事模型可解释性、训练动力学及表征学习的研究者而言,它提供了更严谨的审计框架,有助于避免基于有缺陷的度量得出错误的理论结论。

技术解析

  • 核心发现:在MLP和Transformer上进行的模运算实验显示,表征压缩并非与泛化瞬间同步,而是存在显著的滞后。使用有效秩作为压缩指标时,在Grokking时刻读取的值远高于最终收敛值,导致对压缩程度的误判。
  • 机制探究:通过单变量消融实验发现,LayerNorm的存在与否决定了在Grokking步骤前完成的压缩比例(从0.87降至0.25),预注册的对照实验排除了尺度不变性(scale invariance)是造成这种滞后的原因。
  • 审计框架:开发了一套包含对抗性测试套件的工具,能够识别虚假置信度bug,分离泛化起始与压缩阶段,过滤从未完全泛化的边界样本,并验证参考基线是否已平稳。
  • 深度定律失效:文中提到的MLP特定的深度定律(将范数预算与收敛基线联系起来)在Transformer上未能通过通用性测试,且在自由权重衰减下符号翻转,表明不同架构间存在根本差异。

行业启示

  • 重新评估Grokking指标:研究人员在使用有效秩、奇异值谱等指标分析Grokking现象时需格外谨慎,应引入更严格的审计流程以区分真实的表征压缩与测量伪影。
  • 架构设计的影响:LayerNorm等标准化层对训练动力学中的压缩时序有重大影响,未来在设计或分析深层网络时,需考虑这些组件对表征演化的具体作用机制。
  • 工具开源与复现:作者发布的审计工具包和代码为社区提供了一个标准化的基准,建议从业者将其纳入模型诊断流程,以提高对训练过程中表征变化理解的准确性。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Research 科学研究 Embedding Model 嵌入模型 Training 训练 Evaluation 评测