Pretraining data statistics shape three LLM learning phases
TL;DR
- Researchers trained 163M-parameter models on nine comparison tasks and found LMs learn in three phases: frequency, position, then correct answer.
- Shifting entity frequency from a Zipfian to a uniform distribution weakens the frequency phase and speeds up learning of the task.
- The same three-phase dynamic appears in OLMo-2 32B, suggesting small synthetic experiments can predict larger-scale training behavior.
Language models learning to answer entity-comparison questions pass through three distinct phases, according to a new preprint on arxiv: first picking the entity that appears more often in training, then picking by position in the prompt, and only later picking the correct answer. The authors trained 163M-parameter LMs on mixtures of natural pretraining text and synthetic task data, across nine comparison tasks spanning five entity types (the paper's running example is "Between France and Brazil, which country is larger?").
How much synthetic task data goes into the mix determines which phases show up. "With small amounts of task-specific synthetic data, we observe only the first two phases and the model fails to learn the task," the abstract reports; with large amounts, "the model jumps directly from the frequency-based heuristic to solving the task correctly." Changing the entity-frequency distribution from a naturally occurring Zipfian one to a uniform one "weakens the frequency phase and speeds up learning of the task."
The same three-phase pattern, the paper says, "appear in the open source model OLMo-2 32B," which the authors offer as the basis for a broader claim: "small-scale synthetic experiments can predict training dynamics at larger scales." Two researchers on our Who's Who radar posted the link the same week it went up.
Shared on Bluesky by 2 AI experts
Originally reported by arxiv.org
Read the original article →Original headline: Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models