Knowledge Entropy Decay during Language Model Pretraining Hinders New Knowledge Acquisition

Jiyeon Kim, Hyunji Lee, Hyowon Cho, Joel Jang, Hyeonbin Hwang, Seungpil Won, Youbin Ahn, Dohaeng Lee, Minjoon Seo

As large language models (LLMs) undergo the massive grind of pretraining, they get smarter, more fluent, and more certain. But there is a hidden cost to this maturity: they become "stiffer." Recent research has shown that models in the later stages of pretraining actually struggle more to acquire new information and are more prone to forgetting what they already know.

A new paper slated for ICLR 2025, "Knowledge Entropy Decay during Language Model Pretraining Hinders New Knowledge Acquisition," identifies a key metric behind this phenomenon: Knowledge Entropy.

TL;DR

As LLMs progress through pretraining, they rely on an increasingly narrow set of internal "memory sources," a phenomenon the authors call Knowledge Entropy decay. This loss of internal diversity makes it harder for models to learn new facts and easier for them to forget old ones. However, "resuscitating" inactive neurons can partially restore this lost plasticity.

What Problem Does This Paper Address?

We know that LLMs store world knowledge within their parameters, specifically acting like a "key-value" memory system. However, as pretraining continues, models often hit a wall of "diminishing plasticity." A model that has seen 2 trillion tokens is often harder to update with new, domain-specific facts than a model that has only seen 500 billion.

The authors wanted to understand why this happens. Is there a measurable structural change in how the model accesses its internal memory that explains this decline in learning ability?

Methods

The researchers introduce the concept of Knowledge Entropy (KE). To calculate it, they look at the Feed-Forward Networks (FFNs) within the Transformer architecture.

  1. FFN as Memory: They treat the first projection matrix ($K$) as "keys" and the second ($V$) as "values" or "memory vectors."
  2. Measuring Activity: When a model processes text, it assigns "coefficients" to these memory vectors. High entropy means the model is integrating a wide, diverse range of memory sources. Low entropy means it is hyper-focused on a few specific sources.
  3. The "Resuscitation" Intervention: To prove that low entropy is the cause of poor learning, the authors developed an algorithm to identify the least-active $p\%$ of memory vectors and artificially boost their activity (multiplying their weights by an amplifying factor $q$). This forces the model to "spread the wealth" across more of its internal parameters.
Overview of Knowledge Entropy and Continual Learning

Datasets

The study utilized several key resources for training and evaluation:

  • Models: OLMo (1B and 7B) and Pythia (1.4B), chosen because their intermediate pretraining checkpoints are publicly available.
  • Pretraining Data: The Dolma dataset.
  • Continual Learning: To test new knowledge acquisition, they used PubMed (biomedical text) and C4 (web crawl data).
  • Benchmarks:
    • Fictional Knowledge Dataset: 130 paragraphs of "fake" but realistic facts used to measure how well a model can learn entirely new information without relying on its prior training.
  • Downstream Tasks: Six standard benchmarks (SciQ, Winogrande, PIQA, OBQA, HellaSwag, and ARC Easy) to measure how much the model "forgets" its general reasoning abilities during new learning.

Key Insights and Ideas

  • The Entropy Slide: Knowledge entropy consistently declines as pretraining advances. The model starts by broadly exploring its parameters but eventually "crystallizes" around a small subset of active neurons.
Entropy Decay in 1B and 7B Models
  • The Overwriting Trap: When entropy is low, the model relies on a tiny number of memory vectors. When you try to teach it something new, the gradient updates are concentrated on those same few vectors. This leads to catastrophic forgetting, as the new information literally overwrites the old.
  • The "Sweet Spot": Mid-stage checkpoints (around 50% through the pretraining schedule) often provide the best balance. They have enough language capability to be useful but enough entropy to remain "plastic" and receptive to new information.
  • The Final Layer is the Loneliest: The decline in entropy is most dramatic in the final layers of the model, which closely mirror the output distribution of the next-token prediction.

Key Results

  • Strong Correlation: The authors found a massive Pearson correlation of 0.94 between knowledge entropy and the ability to acquire new knowledge. Conversely, there was a -0.96 correlation with forgetting (lower entropy = higher forgetting).
  • Resuscitation Works: By artificially increasing the entropy of a "stiff" final-stage model (setting $q \ge 1$ for inactive vectors), the researchers significantly improved its ability to learn the Fictional Knowledge dataset and reduced its forgetting rate on downstream tasks.
  • Stage Matters: In a continual learning setup, the 118k-step checkpoint of OLMo (early) had an acquisition rate of 25.2%, while the 738k-step checkpoint (final) dropped to 18.8%, despite the latter being a much "smarter" model overall.

Limitations and Future Work

The authors acknowledge a few hurdles:

  • Model Scope: The study was limited to OLMo and Pythia because few other high-performing models release the intermediate checkpoints necessary for this kind of "time-travel" analysis.
  • Brute Force Intervention: While the "resuscitation" method proved the hypothesis, it is a somewhat arbitrary modification of weights. It improved plasticity but didn't fully return the model to its mid-stage peak.
  • The "Mid-point" Mystery: Exactly where the ideal trade-off between language mastery and entropy lies remains an open question.

The paper suggests that future training recipes might need to incorporate "entropy-aware" objectives to keep models from becoming too rigid too early.

Summary updated

BibTeX
@inproceedings{kim2025knowledge,
  author = {Jiyeon Kim and Hyunji Lee and Hyowon Cho and Joel Jang and Hyeonbin Hwang and Seungpil Won and Youbin Ahn and Dohaeng Lee and Minjoon Seo},
  title = {{Knowledge Entropy Decay during Language Model Pretraining Hinders New Knowledge Acquisition}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=eHehzSDUFp},
}
Figure