Current language models (LMs) are trained on static snapshots of the internet, but the world they describe is constantly evolving. This inherent dynamic nature of language contrasts with the current static language modeling paradigm, which trains and evaluates models on utterances from overlapping time periods. This paper demonstrates that LM performance degrades significantly when predicting "future" data, a problem that scaling up model size fails to fix, but which can be mitigated through continuous, dynamic updates.
The Problem with Static Language Models
Typically, Large Language Models are trained by scraping a massive portion of the web and splitting it randomly into training and validation sets. This "time-agnostic" approach assumes language is static. However, the world is "non-stationary"—new words emerge (e.g., "COVID-19"), political leaders change, and global events shift the way we talk.
The authors identify two major risks in the current paradigm:
- Temporal Generalization: We don't actually know how well a model trained on 2019 data will perform in 2021.
- Test Data Contamination: Because training and test sets often overlap in time, models might "cheat" by having seen similar facts or phrases during pretraining, leading to an overestimation of their actual reasoning abilities.
Time-Stratified Evaluation
To address this, the researchers moved away from random data splits in favor of a Time-Stratified setup. They trained Transformer-XL models on data up to a specific cutoff point (e.g., September 2017) and evaluated them on a "future" stream of data from 2018 and 2019.
To measure the impact of time, they compared this to a Control setup, where the model was trained on data from the same time period as the test set. The "gap" in performance between these two models represents the cost of the model being "stale."
The study utilized three primary sources of "streaming" data:
- WMT News Crawl (2007–2019): A standard news dataset.
- CustomNews (1969–2019): A massive, 395GB corpus of crawled English news sources compiled by the authors to test if trends hold at scale.
- arXiv Abstracts (1986–2019): To test temporal generalization in the scientific domain.
Key Insights: What Breaks and Why
- Scaling is not a Panacea: One of the most striking findings is that simply making a model bigger does not help it generalize across time. While a 448M parameter model has better overall perplexity than a 287M model, both models' performance decays at the same rate as the data gets newer.
- The "Stale" Penalty: A smaller model trained on recent data can actually outperform a 60% larger model that is two years out of date. Transformer-XL models performed up to 16% worse when predicting articles published two years after their training period ended.
- What Breaks First? The models struggle most with Proper Nouns (names of people/places) and Numbers. This makes sense: these are the linguistic anchors for factual knowledge, which changes much faster than syntax or grammar.
- Emerging New Words: The authors tracked terms that were rare or non-existent in the training set but became common later. Models are predictably terrible at predicting these the first time they appear in a document, but they are surprisingly good at "copying" them if they appeared earlier in the same document's context.
- Task Sensitivity: "Closed-book" tasks (where the model must rely on its internal weights to answer a question) suffer heavily from staleness. Conversely, "Reading Comprehension" (where the answer is in the provided text) is much more robust, as the model can simply extract the answer regardless of when it was trained.
Dynamic Evaluation and Future Directions
To combat this degradation, the authors experimented with Dynamic Evaluation, a technique where the model performs a few steps of gradient descent on the incoming stream of new data, essentially "learning on the job" to adapt to new information without a full retraining cycle. By allowing the model to update its weights on the fly, the researchers saw a 39.6% reduction in perplexity for "Emerging New Words."
However, Dynamic Evaluation is a double-edged sword: while it helps the model learn new things, it can cause "catastrophic forgetting" of the past. If you update a model on today's news, it might forget the nuances of news from five years ago.
Future work points toward:
- Semi-parametric models: Systems that use a retrieval mechanism to look up current facts in an external database rather than trying to store all world knowledge in static weights.
- Continual Learning: Developing architectures that can integrate new knowledge efficiently without forgetting the old or requiring expensive full-retraining cycles.
- Timestamping: The authors argue that all future datasets should include metadata about when the text was written to make temporal evaluation the new standard.
Summary updated