What Can Grokking Teach Us About Learning Under Nonstationarity?

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lyle, Clare, Sokar, Gharda, Pascanu, Razvan, Gyorgy, Andras
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913961917546496
author Lyle, Clare
Sokar, Gharda
Pascanu, Razvan
Gyorgy, Andras
author_facet Lyle, Clare
Sokar, Gharda
Pascanu, Razvan
Gyorgy, Andras
contents In continual learning problems, it is often necessary to overwrite components of a neural network's learned representation in response to changes in the data stream; however, neural networks often exhibit \primacy bias, whereby early training data hinders the network's ability to generalize on later tasks. While feature-learning dynamics of nonstationary learning problems are not well studied, the emergence of feature-learning dynamics is known to drive the phenomenon of grokking, wherein neural networks initially memorize their training data and only later exhibit perfect generalization. This work conjectures that the same feature-learning dynamics which facilitate generalization in grokking also underlie the ability to overwrite previous learned features as well, and methods which accelerate grokking by facilitating feature-learning dynamics are promising candidates for addressing primacy bias in non-stationary learning problems. We then propose a straightforward method to induce feature-learning dynamics as needed throughout training by increasing the effective learning rate, i.e. the ratio between parameter and update norms. We show that this approach both facilitates feature-learning and improves generalization in a variety of settings, including grokking, warm-starting neural network training, and reinforcement learning tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2507_20057
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle What Can Grokking Teach Us About Learning Under Nonstationarity?
Lyle, Clare
Sokar, Gharda
Pascanu, Razvan
Gyorgy, Andras
Machine Learning
In continual learning problems, it is often necessary to overwrite components of a neural network's learned representation in response to changes in the data stream; however, neural networks often exhibit \primacy bias, whereby early training data hinders the network's ability to generalize on later tasks. While feature-learning dynamics of nonstationary learning problems are not well studied, the emergence of feature-learning dynamics is known to drive the phenomenon of grokking, wherein neural networks initially memorize their training data and only later exhibit perfect generalization. This work conjectures that the same feature-learning dynamics which facilitate generalization in grokking also underlie the ability to overwrite previous learned features as well, and methods which accelerate grokking by facilitating feature-learning dynamics are promising candidates for addressing primacy bias in non-stationary learning problems. We then propose a straightforward method to induce feature-learning dynamics as needed throughout training by increasing the effective learning rate, i.e. the ratio between parameter and update norms. We show that this approach both facilitates feature-learning and improves generalization in a variety of settings, including grokking, warm-starting neural network training, and reinforcement learning tasks.
title What Can Grokking Teach Us About Learning Under Nonstationarity?
topic Machine Learning
url https://arxiv.org/abs/2507.20057