TL;DR
While aggregate loss curves for language models look like smooth slides, individual token learning curves are a rollercoaster of sudden drops and "forgetting" spikes. This paper demonstrates that these fluctuations are surprisingly consistent across training runs and can be predicted by simple distributional statistics like token frequency and n-gram probabilities.
What Problem Does This Paper Address?
If you look at a standard training plot for a Large Language Model (LLM), you’ll see a beautiful, monotonically decreasing curve. However, this "macro" view hides a chaotic "micro" reality. Individual words in specific contexts don't just get steadily better; they often exhibit sudden leaps in performance or even "forget" previously learned information.
The authors set out to move beyond aggregate metrics to understand the fine-grained dynamics of pre-training. They ask: When exactly does a model "learn" a specific token in context? Why are some tokens learned earlier than others? And how stable is that knowledge once acquired? By answering these, we can better understand the mechanisms of language acquisition and improve the reliability of model deployment.
Methods
The researchers trained five identical autoregressive Transformer models (GPT-2 architecture, 124M parameters) from scratch, varying only the random seeds. To track learning, they extracted surprisal curves (negative log-probability) for 1 million unseen tokens in context across 222 checkpoints during the 1-million-step training process.
Because raw surprisal curves are noisy, they used Generalized Additive Models (GAMs) to fit smooth curves to the data. They then defined five key metrics to characterize these curves:
- Final Surprisal: The average loss at the end of training.
- Variability (steps): How much the loss fluctuates late in training.
- Age of Acquisition (AoA): The point in training when the model "gets" the token (reaches 50% of its total loss drop).
- Forgettability: The total increase in surprisal along the fitted curve (measuring "un-learning").
- Variability (runs): How much the learning curve for the same token differs across the five different training runs.
Datasets
The models were trained on a 5.1-billion-token subset of the OSCAR English corpus, a deduplicated version of Common Crawl. For evaluation, they used 100,000 sequences (1 million tokens total) held out from the training set to ensure they were measuring generalization rather than memorization.
Key Insights and Ideas
- The "N-Gram" Stage Theory: Models don't learn everything at once. They follow a predictable sequence: they first overfit to unigram frequencies (simple word counts), then bigrams, and gradually move up to 5-grams before refining predictions based on long-range context.
- Consistency is King: One of the most striking findings is that these "sudden" learning events are not random. If a model suddenly learns a specific word at step 10,000 in one run, it likely does the same in the other four runs. This suggests that learning is driven by the logic of the data and the architecture, not just stochastic noise.
- The Long-Context Paradox: Longer contexts generally lead to lower final surprisal (better accuracy), but they also correlate with higher variability and forgettability. Highly specific contexts are harder for the model to generalize, making those predictions more "brittle."
- Repetitive Infancy: Early in training (around step 1,000), models go through a phase of generating short, repetitive phrases like "of the first of the first." This aligns with the observation that they are mastering low-level n-gram statistics before moving to coherent structure.
Key Results
- Frequency is the strongest predictor: Target token log-frequency alone accounts for 76.3% of the variance in Age of Acquisition (AoA). Frequent words are learned significantly earlier and more stably.
- N-gram impact: Adding 5-gram log-probability as a predictor significantly improves the model's ability to explain forgettability (adding 14.9% to the $R^2$). Tokens that are unlikely given their local 4-word context are much more likely to be "forgotten" during training.
- Predictability: Using six simple text features (frequency, n-gram prob, context length, etc.), the authors could account for 61.2% of the variance in final surprisal and 78.1% of the variance in AoA.
- Cross-run similarity: The correlation of learning metrics across different random seeds was remarkably high (e.g., $r = 0.98$ for final surprisal), proving that pre-training dynamics are highly deterministic at the example level.
Limitations and Future Work
- Model Scale: The study used 124M parameter models. While this is a standard "base" size, it remains to be seen if the same patterns hold for massive models (70B+ parameters), which might exhibit different "emergent" learning behaviors.
- Surprisal as a Proxy: Surprisal measures how well a model predicts the next token, but it doesn't necessarily capture "understanding" or reasoning. A model might have low surprisal for a token simply by mastering a local statistical pattern.
- Future Directions: The authors suggest investigating sequential dependencies more deeply—identifying exactly which "easier" capabilities are prerequisites for "harder" ones. They also highlight the need to study how these curves behave in domain-specific settings (like law or medicine) where rare terms might lead to high instability.
Summary updated