Abstract
Our world is open-ended, non-stationary, and constantly evolving; thus what we talk about and how we talk about it change over time. This inherent dynamic nature of language contrasts with the current static language modelling paradigm, which trains and evaluates models on utterances from overlapping time periods. Despite impressive recent progress, we demonstrate that Transformer-XL language models perform worse in the realistic setup of predicting future utterances from beyond their training period, and that model performance becomes increasingly worse with time. We find that, while increasing model size alone -- a key driver behind recent progress -- does not solve this problem, having models that continually update their knowledge with new information can indeed mitigate this performance degradation over time. Hence, given the compilation of ever-larger language modelling datasets, combined with the growing list of language-model-based NLP applications that require up-to-date factual knowledge about the world, we argue that now is the right time to rethink the static way in which we currently train and evaluate our language models, and develop adaptive language models that can remain up-to-date with respect to our ever-changing and non-stationary world. We publicly release our dynamic, streaming language modelling benchmarks for WMT and arXiv to facilitate language model evaluation that takes temporal dynamics into account.
Introduction: The Temporal Gap
In the current NLP paradigm, language is often treated as a static snapshot. Standard practices involve scraping massive datasets from the internet, shuffling them, and splitting them into training and test sets. This "time-agnostic" approach assumes that the statistical properties of language are independent and identically distributed (i.i.d.). However, the real world is non-stationary. We invent new words, political leaders change, and scientific trends shift.
This paper identifies a significant "temporal gap": state-of-the-art language models (LMs) perform significantly worse when predicting language from even a few months after their training data ends. Current evaluation methods likely overestimate model performance because they allow "test data contamination," where the model is tested on the same time period it was trained on. This study investigates how well models actually generalize to the future and the trajectory of their performance as they become "stale."
Methodology
To isolate the effect of time, the researchers employed a Time-Stratified experimental setup. Instead of random shuffling, datasets were split chronologically. For example, a model might be trained on data up to September 2017 and then tested on data from 2018 and 2019. This was compared against a control group trained on a mix of data that included the test period, ensuring both models utilized the exact same volume of training data.
The study primarily utilized Transformer-XL architectures across three major datasets:
- WMT News Crawl: News articles from 2007–2019.
- CUSTOMNEWS: A massive new corpus of English news spanning 1969–2019 (approx. 400GB).
- arXiv: Scientific abstracts from 1986–2019, representing a domain with rapidly evolving terminology.
Key Findings: Linear Performance Decay
The most immediate finding is that model performance (measured by perplexity) degrades roughly linearly with time. The further into the "future" the model attempts to predict, the higher the error rate becomes. Transformer-XL models performed up to 16% worse when predicting articles published just two years after their training cutoff.
The Scaling Fallacy
A common assumption in modern AI is that increasing model capacity (scaling) can overcome most generalization hurdles. However, this research reveals a "Scaling Fallacy": simply increasing the number of parameters does not fix temporal degradation. While a larger model (e.g., 448M parameters) starts with lower absolute perplexity than a smaller one (287M parameters), its performance drops at nearly the exact same rate as time passes.
Crucially, data "freshness" often outweighs raw parameter count. The results show that a smaller model trained on recent data can easily outperform a 60% larger model that is two years out of date.
What is Being Forgotten?
The degradation is not uniform across all linguistic features. Models do not generally forget how to construct sentences (syntax); rather, they forget factual knowledge. The performance drop is driven almost entirely by proper nouns (names of people, places, and entities) and numbers.
The paper highlights "Emerging New Words"—terms that were rare during training but became common later (e.g., "COVID-19" or specific political figures). Models perform up to 5x worse on these words compared to their overall average. This sensitivity varies by task: Closed-book QA performance collapses as the model ages, while Reading Comprehension remains more stable because the model can still process the provided text even if it lacks internal context for the facts.
Mitigation: Toward Adaptive Models
To address this, the authors explored Dynamic Evaluation, a form of online learning where the model performs a few steps of gradient descent on new data as it "streams" in. This allows the model to adapt its weights to recent linguistic shifts and new facts. This intervention was highly successful, reducing perplexity on "Emerging New Words" by a massive 39.6%.
Conclusion
The study argues for a shift away from static training and evaluation. While dynamic evaluation helps models stay current, it faces challenges like "catastrophic forgetting," where the model loses performance on its original training data. Future work should focus on efficient retraining, semi-parametric models (like Retrieval-Augmented Generation), and integrating timestamp information into pre-training to help models understand temporal context. As NLP applications increasingly rely on up-to-date factual knowledge, developing models that can evolve alongside our non-stationary world is essential.
Summary updated