Grokked Models are Better Unlearners
Yuanbang Liang, Yang Li
TL;DR
This work establishes a systematic link between grokking and machine unlearning, showing that models post-grokking possess modular, disentangled representations that enable more efficient and stable forgetting with less collateral damage across vision and language domains. By comparing pre- and post-grokking checkpoints across multiple unlearning algorithms, the study demonstrates improved forgetting efficiency, higher retention/test performance, and reduced gradient overlap between forgetting and retention. Mechanistic analyses reveal that grokking produces lower gradient correlations, simpler local representations, and greater representational disentanglement (e.g., reduced CKA), which collectively explain the superior unlearning capabilities. The findings imply that training dynamics promoting grokking can serve as a practical, orthogonal lever to enhance privacy-preserving unlearning without modifying unlearning algorithms, with broad relevance to real-world regulatory and security considerations.
Abstract
Grokking-delayed generalization that emerges well after a model has fit the training data-has been linked to robustness and representation quality. We ask whether this training regime also helps with machine unlearning, i.e., removing the influence of specified data without full retraining. We compare applying standard unlearning methods before versus after the grokking transition across vision (CNNs/ResNets on CIFAR, SVHN, and ImageNet) and language (a transformer on a TOFU-style setup). Starting from grokked checkpoints consistently yields (i) more efficient forgetting (fewer updates to reach a target forget level), (ii) less collateral damage (smaller drops on retained and test performance), and (iii) more stable updates across seeds, relative to early-stopped counterparts under identical unlearning algorithms. Analyses of features and curvature further suggest that post-grokking models learn more modular representations with reduced gradient alignment between forget and retain subsets, which facilitates selective forgetting. Our results highlight when a model is trained (pre- vs. post-grokking) as an orthogonal lever to how unlearning is performed, providing a practical recipe to improve existing unlearning methods without altering their algorithms.
