NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Training Trajectories of Language Models Across Scales

Mengzhou Xia, Mikel Artetxe, Chunting Zhou, Xi Victoria Lin, Ramakanth Pasunuru, Danqi Chen, Luke Zettlemoyer, Ves Stoyanov

Abstract

Scaling up language models has led to unprecedented performance gains, but little is understood about how the training dynamics change as models get larger. How do language models of different sizes learn during pre-training? Why do larger language models demonstrate more desirable behaviors? In this paper, we analyze the intermediate training checkpoints of differently sized OPT models (Zhang et al.,2022)--from 125M to 175B parameters--on next-token prediction, sequence-level generation, and downstream tasks. We find that 1) at a given perplexity and independent of model sizes, a similar subset of training tokens see the most significant reduction in loss, with the rest stagnating or showing double-descent behavior; 2) early in training, all models learn to reduce the perplexity of grammatical sequences that contain hallucinations, with small models halting at this suboptimal distribution and larger ones eventually learning to assign these sequences lower probabilities; 3) perplexity is a strong predictor of in-context learning performance on 74 multiple-choice tasks from BIG-Bench, and this holds independent of the model size. Together, these results show that perplexity is more predictive of model behaviors than model size or training computation.

Introduction

While "Scaling Laws" have famously shown that increasing compute, data, and parameters leads to predictable drops in loss, we still have a poor understanding of how these models actually evolve during training. Do large models learn fundamentally different things than small models, or do they just learn the same things better?

This research investigates the "training trajectory"—the path a model takes from initialization to its final state—and how that path changes as you scale up. By analyzing the OPT (Open Pre-trained Transformer) model family, ranging from 125M to 175B parameters, the study reveals that validation perplexity is the most reliable predictor of a model's behavior and downstream task performance, transcending model size or total compute.

Methods

The researchers analyzed intermediate training checkpoints of the OPT model family. Key methodological innovations include:

  • Token-level Trajectory Categorization: Categorizing individual token predictions into stagnated (already learned), downward trend (still learning), and upward trend (forgetting or exhibiting "double-descent" behavior).
  • Contrastive Decoding: A method to find sequences favored by small models but rejected by large ones by interpolating their distributions ($p_s - p_l$).
  • Trajectory Mapping: Mapping downstream task accuracy (from BIG-Bench) against validation perplexity across all model sizes.

The models were trained on a 300B token corpus. Analysis was performed on the Gutenberg PG-19 subset and the original OPT validation set, with evaluation on 74 multiple-choice tasks from BIG-Bench.

Key Insights: Perplexity as the Universal Yardstick

The most striking finding is that models of different sizes behave almost identically when they reach the same level of validation perplexity. If a 1.3B model and a 175B model both achieve a perplexity of 12, they will likely demonstrate similar accuracies on downstream tasks. This suggests that large models essentially replicate the learning trajectories of smaller models before "unlocking" more complex linguistic and factual phenomena.

Validation perplexity trajectories across model scales.

Furthermore, "emergent" abilities—tasks where performance seems to suddenly jump at a certain scale—actually show smooth, continuous improvement when plotted against perplexity during the training trajectory. The perceived "jump" is often an artifact of the evaluation metric (like accuracy) rather than a sudden change in internal knowledge.

Token-Level Dynamics and "Double Descent"

The study found that not all tokens follow a simple downward loss trajectory. Some tokens exhibit a "stepwise double-descent" where perplexity first increases and then decreases as the model generalizes. This indicates that larger models eventually overcome "wrong" patterns or overfitting that smaller models remain stuck on.

Percentage of tokens exhibiting perplexity increases during training.

Through contrastive decoding, the authors discovered that small models (or early-stage large models) are "grammatical hallucinators." They favor text that is grammatically correct but factually nonsensical. Large models eventually learn to assign lower probability to these hallucinated sequences, moving beyond simple grammatical fluency to factual consistency.

Key Results

  • ICL Correlation: Downstream task performance (2-shot accuracy) correlates strongly with validation perplexity, with curves for different model sizes significantly overlapping.
  • Stagnation Patterns: Stagnated tokens are primarily non-content words like prepositions and punctuation. Larger models' stagnated tokens are a superset of smaller models' tokens.
  • Inverse Scaling: The authors successfully generated sequences showing "inverse scaling," where larger models have higher perplexity. These often contain synthetic noise or factually incorrect prompts that small models haven't yet learned to distinguish from high-quality text.

Conclusion and Future Work

This work demonstrates that perplexity is more predictive of model behaviors than model size or training computation. However, the study is limited to the OPT family and autoregressive objectives. Future work should explore if these trajectories hold for different architectures (like MoE) or training objectives (like masked language modeling), and provide a deeper theoretical explanation for the observed token-level double-descent phenomenon.

Summary updated

BibTeX
@inproceedings{xia2023training,
  author = {Mengzhou Xia and Mikel Artetxe and Chunting Zhou and Xi Victoria Lin and Ramakanth Pasunuru and Danqi Chen and Luke Zettlemoyer and Ves Stoyanov},
  title = {{Training Trajectories of Language Models Across Scales}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  url = {https://openreview.net/forum?id=0aSgEQ_CjQ},
}
Figure