We decompose the spectral edge – the dominant direction of the Gram matrix of parameter updates – into its gradient and weight-decay components during grokking in two sequence tasks (Dyck-1 and SCAN). We find a sharp two-phase lifecycle: before grokking the edge is gradient-driven and functionally active; at grokking, gradient and weight decay align, and the edge becomes a compression axis that is perturbation-flat yet ablation-critical (>4000x more impactful than random directions). Three universality classes emerge (functional, mixed, compression), predicted by the gap flow equation. Nonlinear probes show information is re-encoded, not lost (MLP where linear ), and removing weight decay post-grok reverses compression while preserving the algorithm.

生成讲解博客的中文版本

生成AI智能校验的中文版本