Exploring Forgetting in Large Language Model Pre-Training

Chonghua Liao, Ruobing Xie, Xingwu Sun, Haowen Sun, Zhanhui Kang

Introduction

Catastrophic forgetting—the tendency of neural networks to lose previously acquired knowledge when learning new information—is a well-documented phenomenon in model fine-tuning. However, its role during the massive pre-training phase of Large Language Models (LLMs) has been largely ignored. This research reveals that LLMs suffer from significant forgetting during pre-training, a process often masked by insensitive evaluation metrics.

The "Perplexity Illusion"

The study argues that standard tools like Perplexity (PPL) are too blunt to detect the loss of specific factual knowledge. PPL is dominated by common, "easy-to-remember" tokens (e.g., "the", "is"), which remain stable even as the model forgets rare entities.

As illustrated in Figure 5, during a shift from training on Dataset A to Dataset B, PPL on Dataset A may actually improve or stay flat, creating an illusion of continuous learning. In contrast, memorization metrics like $M(f)$ reveal a sharp decline at the transition point, indicating that the model is actively leaking information.

The PPL Illusion: Perplexity (a, b) can improve or remain stable even as memorization metrics (c) indicate forgetting during dataset shifts.

Entity-Focused Metrics and Human-Like Learning

To provide a more granular view of memory, the authors introduced two new metrics focused on entities (names, places, organizations):

  • Internal Memory ($M_{in}$): The model's ability to complete an entity given its immediate context.
  • External Recall ($M_{ex}$): The ability to recall an entity implied by broader context.

The findings suggest that LLMs behave much like human learners. Just as students benefit from "intensive" study sessions rather than single exposures, LLMs retain information better when subjected to high-intensity review.

Mitigation: Intensive Focused Stochasticity

To combat this "hidden" forgetting, the researchers proposed "Intensive Focused Stochasticity." This replay method selects entity-rich samples and subjects them to multiple learning epochs during the replay step.

Comparison of perplexity over training time with and without memory replay strategies.

As shown in Figure 6, periodic replay helps stabilize the model's performance. The "Periodic Intensive Replay" approach—revisiting samples every 1,000 steps for 5 epochs—proved more cost-efficient than massive initial training, improving downstream benchmark scores (Hellaswag, MMLU) with only a 5% increase in computational cost.

Conclusion

Forgetting is a fine-grained issue that requires entity-level inspection. By acknowledging the "PPL Illusion" and implementing human-inspired periodic review, developers can significantly improve the factual consistency and long-term retention of Large Language Models during their foundational training.

Summary updated

BibTeX
@inproceedings{liao2025exploring,
  author = {Chonghua Liao and Ruobing Xie and Xingwu Sun and Haowen Sun and Zhanhui Kang},
  title = {{Exploring Forgetting in Large Language Model Pre-Training}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure