cs.CLSep 26, 2026

Generalization and Memorization along the Learning Trajectory of Neural Language Models: A Geometric Account of Categorization

Authors: Wang Bojun, Holly Jenkins, Elizabeth Wonnacott

Abstract

We investigate how generalization and memorization develop along the learning trajectory of neural language models. Using controlled synthetic grammars, we examine both the geometry of representation space and model behaviour over training. We find that continuous regions of representation space not occupied by observed tokens become systematically structured from the earliest stages of learning, forming category-level geometric organization that supports generalization to unattested combinations. Generalization therefore emerges from the beginning of learning rather than only after extensive memorization. With prolonged training, larger models increasingly distinguish observed from unobserved grammatical combinations. At the same time, the continuous geometric structure supporting category-level generalization is gradually destructed. Together, these results suggest that neural language models initially learn through categorization-based generalization, followed by a gradual transition toward more exemplar-specific memorization.

Figures & tables

Explore similar work

CardsList
  1. Don't Forget! Decomposing the Training Dynamics of Memorization in Language Models

    Sep 28, 2026Florian Eichin, Philipp Mondorf, Andrei Mircea +3Memorization in Language ModelsData Repetition in Language Model Training

  2. How Learning Governs Unlearning across the Memorization-Generalization Spectrum

    Oct 6, 2026Hwiyeong Lee, Hyelim Lim, Ingyu Bang +2Memorization in Language ModelsMachine Unlearning

  3. Fisher information and the geometry of memorization in neural networks

    Oct 12, 2026Daniel T. Bernstein, Chase Goddard, Luca Di Carlo +2Neural Network MemorizationNeural Network Generalization