Transient Generalization and the Competition Between Internal Circuits

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 116 papers25 conceptsfrozen 2026-10-04

In the standard narrative of machine learning, a model starts with high error and gradually learns general features that improve its performance on unseen data. However, recent research into Transformers and In-Context Learning (ICL) reveals a more volatile reality: generalization is often a transient state. Models frequently discover robust, algorithmic solutions early in training, only to "forget" them later as they succumb to the temptation of memorizing specific training examples.

The Race Between Generalization and Memorization

Why does a model that has already learned a general rule—like how to perform linear regression or follow a logical pattern—eventually abandon it? Alex Nguyen and Gautam Reddy argue that this is driven by differential learning kinetics.

Instead of being a single monolithic entity, a neural network can be viewed as a collection of independent internal "sub-circuits" competing to reduce the training loss.

  • Generalization circuits tend to learn quickly when task diversity is high, providing an early "aha!" moment where the model begins to solve new problems.
  • Memorization circuits are often slower to develop but are more stable under standard regularization techniques.

As training continues, these slow-acting memorization circuits gradually "reclaim" the loss reduction previously achieved by the generalization circuits. In Differential learning kinetics govern the transition from memorization to generalization during in-context learning, the authors demonstrate that this isn't because the model runs out of capacity, but because the memorization circuits eventually displace the more flexible reasoning mechanisms.

The Transient Ridge and Algorithmic Phases

This non-monotonic behavior—where performance on out-of-distribution (OOD) data peaks and then crashes—is a recurring pattern. Liam Carroll and colleagues describe this as a transient ridge in the context of linear regression. Early in training, the model finds a general-purpose "ridge regression" solution. But as optimization continues, the model specializes, moving away from this general ridge to minimize training error on specific instances, effectively losing its ability to generalize to new slopes or intercepts.

Core Francisco Park and Ekdeep Singh Lubana frame this as a competition between different internal algorithms. In Competition Dynamics Shape Algorithmic Phases of In-Context Learning, they show that models shift between retrieval-based strategies (looking up answers from training) and inference-based strategies (calculating answers on the fly). While inference is better for OOD tasks, retrieval is often more effective at minimizing the final training loss, leading the model to "rationalize" away its reasoning capabilities in favor of memorization.

Why Models "Choose" Memorization

This shift can be understood as a rational trade-off. Daniel Wurgaft and Noah Goodman propose a hierarchical Bayesian framework where the model balances loss against implementation complexity.

Early in training, a simple general rule might be the "cheapest" way to reduce loss. But as the model strives for near-zero error, the complexity of memorizing every specific training point becomes "worth it" to the optimizer. This transition is so predictable that the authors could model a Transformer's behavior throughout training without even looking at its weights, simply by calculating these rational trade-offs.

Strategies for Maintaining Generalization

If generalization is naturally transient, how do we make it stick? Researchers have proposed several interventions to prevent the "decay" into memorization:

  1. Progressive Regularization: Majed El Helou and Frederike Dümbgen introduced AL2 (Activation $L_2$ loss). By progressively increasing the penalty on the magnitude of activations in the final layers, they force the network to stick with the general representations learned early on, preventing it from using its remaining capacity to memorize noise in AL2: Progressive Activation Loss for Learning General Representations in Classification Neural Networks.
  2. Active Forgetting: Instead of just ignoring noisy data, Bo Han 0003 and colleagues suggest SIGUA, a method that performs gradient ascent on suspected mislabeled samples. This actively "unlearns" the memorization of outliers, pulling the model back toward generalizable features.
  3. Data Augmentation as a Double-Edged Sword: While adding counterexamples can help, Ellie Pavlick and Charles Lovering warn that it isn't a cure-all. In When does data augmentation help generalization in NLP?, they show that while augmentation helps models unlearn bad shortcuts, it doesn't automatically make them learn the "hard" robust features we want; it may just lead them to find even more obscure shortcuts.

Ultimately, the research suggests that the "optimal" model isn't necessarily the one at the end of the training curve. Because of the differential kinetics of learning, the most intelligent, generalizable version of a model may exist only briefly during the training process before being overwritten by the relentless pursuit of lower training loss.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_transient_generalization_and_the_competi_baa489ea,
  title = {Transient Generalization and the Competition Between Internal Circuits},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/transient-generalization-and-the-competition-between-internal-circuits/rdr_baa489ea087945c4950dc8b0caef3c44},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-30},
}

This exact version (version 1, frozen text):

@misc{lacuna_transient_generalization_and_the_competi_baa489ea_v1,
  title = {Transient Generalization and the Competition Between Internal Circuits},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/transient-generalization-and-the-competition-between-internal-circuits/rdr_baa489ea087945c4950dc8b0caef3c44/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-30},
}