English

Time Masking for Temporal Language Models

Computation and Language 2022-01-26 v4

Abstract

Our world is constantly evolving, and so is the content on the web. Consequently, our languages, often said to mirror the world, are dynamic in nature. However, most current contextual language models are static and cannot adapt to changes over time. In this work, we propose a temporal contextual language model called TempoBERT, which uses time as an additional context of texts. Our technique is based on modifying texts with temporal information and performing time masking - specific masking for the supplementary time information. We leverage our approach for the tasks of semantic change detection and sentence time prediction, experimenting on diverse datasets in terms of time, size, genre, and language. Our extensive evaluation shows that both tasks benefit from exploiting time masking.

Keywords

Cite

@article{arxiv.2110.06366,
  title  = {Time Masking for Temporal Language Models},
  author = {Guy D. Rosin and Ido Guy and Kira Radinsky},
  journal= {arXiv preprint arXiv:2110.06366},
  year   = {2022}
}

Comments

9 pages, accepted to WSDM 2022

R2 v1 2026-06-24T06:50:36.642Z