跳到正文
arXiv cs.AI· Shlok Mehendale, Paras Chopra·· 3 小时前AI 评分46

研究发现 Grokking 中有效秩压缩是结果而非成因

Subspace Crystallization in Grokking: Rank Compression Tracks the Phase Transition

AI 导读

一项 arXiv 研究通过 mean-field MLP 与单层 transformer 在模运算上的训练,检验了 grokking 现象中权重矩阵有效秩压缩与泛化转变的因果关系。

正文 · 原文

View PDF HTML (experimental)

Abstract:Grokking describes understanding something deeply and intuitively. In neural networks, it is the phenomenon where a network generalizes long after memorizing its training data. This delay has been linked to a fall in the effective rank of the network's weight matrices, but whether this rank compression drives grokking or follows it is still unresolved. We study a mean-field MLP and a one-layer transformer trained on modular arithmetic and observe that: (i) Compression follows the onset, not memorization. Every transformer memorizes its training data within 250 steps, while the grokking onset (the first step at which test accuracy reaches 95%) varies from 6,500 to 21,000 steps. The steepest fall in effective rank comes about 900 steps after the onset, however late the onset occurs, and networks that memorize without grokking compress far less. (ii) Subspace crystallization. We call the span of the fewest top singular directions of a weight matrix that preserve 99% of test accuracy its sufficient subspace. Its size can shrink as the margin between the correct and the best wrong output grows, so we also count the directions needed to keep the outputs within 10%. In the transformer, this count falls during the transition from a quarter or more of the available directions to about a tenth, which we call subspace crystallization. (iii) Imposing low rank does not speed up grokking. Against a factorized full-rank control, capping the rank of the transformer's MLP input weights delays the onset, and capping the rank of its embedding stops 15 of 20 runs from grokking. Compression is therefore a signature of grokking rather than its cause.
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.35112 [cs.LG]
  (or arXiv:2610.35112v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2610.35112

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Shlok Mehendale [view email]
[v1] Mon, 26 Oct 2026 09:52:40 UTC (3,998 KB)

来源:arXiv cs.AI · arxiv.org