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
TL;DR
This work introduces knowledge entropy, a metric that quantifies how broadly a language model engages its parametric memory stored in FFN memory vectors during pretraining. By modeling FFN as FFN$(oldsymbol{x}) = f(oldsymbol{x} K^{ op}) V$ and measuring layer-wise coefficients to derive entropy $ ext{H}( heta) = extstyle\, imes \,ig( extstyleig) $, the authors show a consistent decline in knowledge entropy as pretraining progresses, correlating with reduced knowledge acquisition and increased forgetting in continual learning. They validate this through experiments on OLMo 1B/7B with datasets like PubMed, C4, and a Fictional Knowledge suite, observing that resuscitating inactive memory vectors can partly restore acquisition and retention capabilities. The study suggests that mid-stage pretraining offers a practical balance between representation richness and plasticity, and demonstrates that increasing memory-vector activity can mitigate some losses in continual knowledge integration, pointing to avenues for improving pretraining strategies and continual learning in large language models.
Abstract
In this work, we investigate how a model's tendency to broadly integrate its parametric knowledge evolves throughout pretraining, and how this behavior affects overall performance, particularly in terms of knowledge acquisition and forgetting. We introduce the concept of knowledge entropy, which quantifies the range of memory sources the model engages with; high knowledge entropy indicates that the model utilizes a wide range of memory sources, while low knowledge entropy suggests reliance on specific sources with greater certainty. Our analysis reveals a consistent decline in knowledge entropy as pretraining advances. We also find that the decline is closely associated with a reduction in the model's ability to acquire and retain knowledge, leading us to conclude that diminishing knowledge entropy (smaller number of active memory sources) impairs the model's knowledge acquisition and retention capabilities. We find further support for this by demonstrating that increasing the activity of inactive memory sources enhances the model's capacity for knowledge acquisition and retention.
