Language Models Lack Temporal Generalization and Bigger is Not Better

Stella Verkijk, Piek Vossen, Pia SommerauerACL 2025

Abstract

Large language models (LLMs) trained on contemporary web data often struggle with historical texts due to temporal shifts in language and context. This study evaluates various encoder-based LLMs on event detection within the 17th-century Dutch East India Company (VOC) archives. Results demonstrate that domain-specific models significantly outperform massive general-purpose models like XLM-R, challenging the "bigger is better" paradigm in specialized historical domains.

Introduction

Most Large Language Models (LLMs) are optimized for contemporary web data, such as Wikipedia and news articles. However, their efficacy diminishes when applied to historical archives, such as those from the 17th-century Dutch East India Company (VOC). This research investigates temporal generalization: the capacity of a model to process data from different historical periods characterized by distinct orthography, syntax, and semantic contexts. The primary task evaluated is event detection—identifying specific historical occurrences like maritime departures or deaths within archival records.

Methodology

The researchers conducted a comprehensive "stress test" of generalization across several encoder-based LLMs, categorized by their training data:

  • Contemporary Dutch: BERTje and RobBERT.
  • Historical Dutch: GysBERT (trained on 1500–1950 data).
  • Multilingual: mBERT and the massive XLM-R.
  • Domain-Specific: GloBERTise, trained from scratch on 6GB of VOC archival text.
Experimental workflow for fine-tuning and evaluating models across multiple seeds and data splits.

To ensure statistical robustness, each model underwent finetuning using five different seeds across 15 data splits, totaling 450 finetuned models. A "leave-one-document-out" cross-validation approach was employed to assess performance across varying documents and time periods within the archives.

Datasets

The study utilizes data from the GLOBALISE project, which digitizes 5 million handwritten pages from the 17th and 18th centuries. The finetuning set consists of 107 handwritten scans annotated for approximately 80 event types. Pre-training for the domain-specific GloBERTise model utilized 6GB of text derived from the broader archive.

Results and Key Insights

The experimental results challenge the prevailing "bigger is better" narrative in AI development. Despite being trained on 2.5 terabytes of data, the massive XLM-R model was outperformed by the much smaller, domain-specific GloBERTise.

Performance metrics (Precision, Recall, F1, and Accuracy) for event detection across various models.

The Contemporary Gap and Multilingual Buffer

Surprisingly, models trained exclusively on modern Dutch (e.g., BERTje) performed worse than multilingual models like mBERT. This suggests that contemporary models may be overfit to modern linguistic patterns, reducing their flexibility for historical variants. Conversely, mBERT's exposure to diverse languages—including those sharing Germanic roots with Early Modern Dutch—appears to provide a "buffer" that aids temporal generalization.

Architecture and Stability

The study also noted differences in training stability. RoBERTa-based architectures (XLM-R, RobBERT) exhibited higher stochasticity, with performance varying significantly based on the random seed. In contrast, BERT-based models demonstrated greater consistency across trials.

Conclusion

The findings indicate a clear performance hierarchy: Domain-specific > Multilingual/Historical > Contemporary. No general-purpose model matched the performance of the model tailored to the target archives. This underscores the necessity of developing "smarter" technology that respects domain-specific nuances rather than relying solely on increased scale. Future work will explore whether these patterns hold for other NLP tasks like Named Entity Recognition.

Summary updated

BibTeX
@inproceedings{verkijk2025language,
  author = {Stella Verkijk and Piek Vossen and Pia Sommerauer},
  title = {{Language Models Lack Temporal Generalization and Bigger is Not Better}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure