The Lifecycle of the Spectral Edge: From Gradient Learning to Weight-Decay Compression
Abstract
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.
Figures & tables
| Condition | Test acc | Linear | Entropy | |
|---|---|---|---|---|
| (remove) | 0.973 | 0.987 | 2.15 | 40.4 |
| 0.972 | 0.898 | 2.26 | 17.7 | |
| (same) | 0.982 | 0.851 | 2.27 | 15.3 |
| (double) | 0.985 | 0.709 | 2.28 | 14.3 |
| Class | Task | Grad% (late) | Rotation | Func. | Character |
|---|---|---|---|---|---|
| Functional | Mod-arith | high | moderate | high (single ) | edge carries Fourier modes |
| Mixed | Dyck | 87% | 18 ∘ | 0.80 | partial functional content |
| Compression | SCAN | 2% | 8 ∘ | 0.04 | functionally empty |
Neural Network Training Dynamics
Neural network training dynamics studies how parameters and representations change during optimization and how those changes shape learning, stability, and generalization.
See all 507 papers