Skip to main content
QUICK REVIEW

[Paper Review] Mind the Gap: Assessing Temporal Generalization in Neural Language Models

Angeliki Lazaridou, Adhiguna Kuncoro|arXiv (Cornell University)|Feb 3, 2021
Topic ModelingComputer Science68 citations
TL;DR

The paper introduces dynamic, time-stratified language modelling benchmarks to test temporal generalization in Transformer LMs, shows older data degrades future predictions, and demonstrates that continual updating via dynamic evaluation mitigates degradation but is not a complete fix.

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.

Motivation & Objective

  • Motivate and formalize temporal generalization as a realistic evaluation of LMs beyond static time-overlapping data.
  • Quantify how Transformer LMs degrade when predicting future utterances beyond training data.
  • Analyze which prediction types (POS, entities, topics) are most affected by temporal shifts.
  • Evaluate whether simply increasing model size mitigates temporal degradation.
  • Propose and assess adaptive, dynamic evaluation methods to keep models current.

Proposed method

  • Construct time-stratified and control training regimes for Transformer-XL on dynamic datasets (WMT, CustomNews, arXiv).
  • Evaluate perplexity on a fixed future test set, comparing time-stratified and control training data.
  • Analyze degradation by POS tags and topics via clustering (LDA).
  • Investigate the role of emerging new words and memory length on temporal generalization.
  • Test effect of scaling model size (287M vs 448M params) on temporal degradation.
  • Apply dynamic evaluation by updating model parameters with streams of new data and measure impact.

Experimental results

Research questions

  • RQ1How much does static training-evaluation practice overestimate LM performance on future data?
  • RQ2Does simply increasing model size alleviate temporal degradation, or is continual adaptation needed?
  • RQ3Which linguistic phenomena (e.g., proper nouns, numbers, emerging terms) drive temporal generalization errors?
  • RQ4Can dynamic evaluation mitigate temporal degradation, and what are its practical costs and limitations?
  • RQ5How do temporal shifts affect downstream QA tasks compared to intrinsic perplexity?

Key findings

  • Time-stratified models exhibit higher perplexity than control models on future data, with up to 16% relative degradation depending on dataset.
  • Degradation is more pronounced for emerging new words and for proper nouns and numbers, reflecting up-to-date factual knowledge gaps.
  • Larger models (448M) show lower absolute perplexities but do not reduce the degradation rate over time compared to smaller time-stratified models.
  • Dynamic evaluation reduces the speed of becoming outdated, notably improving perplexity for emerging new words (roughly 39.6% reduction in that subcase).
  • Temporal degradation persists across datasets and languages, and is evident even when test years differ or extend beyond a two-year gap.
  • In QA tasks, outdated models show substantial accuracy drops in knowledge-intensive questions, whereas reading-comprehension tasks with provided context are less affected.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.