Temporal Adaptation of BERT and Performance on Downstream Document Classification: Insights from Social Media

By Paul Röttger, Janet B. Pierrehumbert. 2021

85 citations recorded by the source corpus.

Language use differs between domains and even within a domain, language use changes over time. For pre-trained language models like BERT, domain adaptation through continued pre-training has been shown to improve performance on in-domain downstream tasks. In this article, we investigate whether temporal adaptation can bring additional benefits. For this purpose, we introduce a corpus of social media comments sampled over three years. It contains unlabelled data for adaptation and evaluation on an upstream masked language modelling task as well as labelled data for fine-tuning and evaluation on a downstream document classification task. We find that temporality matters for both tasks: temporal adaptation improves upstream and temporal fine-tuning downstream task performance. Time-specific models generally perform better on past than on future test sets, which matches evidence on the bursty usage of topical words. However, adapting BERT to time and domain does not improve performance on the downstream task over only adapting to domain. Token-level analysis shows that temporal adaptation captures event-driven changes in language use in the downstream task, but not those changes that are actually relevant to task performance. Based on our findings, we discuss when temporal adaptation may be more effective.

Subfields: Artificial Intelligence, Large Language Models, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yejin Choi
  2. Mohit Bansal
  3. Hannaneh Hajishirzi
  4. Noah A. Smith
  5. Luke S. Zettlemoyer
  6. Xiang Ren
  7. Percy Liang
  8. Daniel Khashabi

In Large Language Models

  1. Yejin Choi
  2. Noah A. Smith
  3. Suchin Gururangan
  4. Daniel Khashabi
  5. Jungo Kasai
  6. Julian Martin Eisenschlos
  7. Xiang Ren
  8. Jacob Eisenstein

In Natural Language Processing

  1. Yejin Choi
  2. Hannaneh Hajishirzi
  3. Mohit Bansal
  4. Noah A. Smith
  5. Xiang Ren
  6. Luke S. Zettlemoyer
  7. Daniel Khashabi
  8. Ronan Le Bras

Citations in the corpus