Back to Search Start Over

Time-Aware Language Models as Temporal Knowledge Bases

Authors :
Dhingra, Bhuwan
Cole, Jeremy R.
Eisenschlos, Julian Martin
Gillick, Daniel
Eisenstein, Jacob
Cohen, William W.
Source :
Transactions of the Association for Computational Linguistics. 10:257-273
Publication Year :
2022
Publisher :
MIT Press - Journals, 2022.

Abstract

Many facts come with an expiration date, from the name of the President to the basketball team Lebron James plays for. But language models (LMs) are trained on snapshots of data collected at a specific moment in time, and this can limit their utility, especially in the closed-book setting where the pretraining corpus must contain the facts the model should memorize. We introduce a diagnostic dataset aimed at probing LMs for factual knowledge that changes over time and highlight problems with LMs at either end of the spectrum -- those trained on specific slices of temporal data, as well as those trained on a wide range of temporal data. To mitigate these problems, we propose a simple technique for jointly modeling text with its timestamp. This improves memorization of seen facts from the training time period, as well as calibration on predictions about unseen facts from future time periods. We also show that models trained with temporal context can be efficiently "refreshed" as new data arrives, without the need for retraining from scratch.<br />Version accepted to TACL

Details

ISSN :
2307387X
Volume :
10
Database :
OpenAIRE
Journal :
Transactions of the Association for Computational Linguistics
Accession number :
edsair.doi.dedup.....d25d1803ea7d84815b3d2b6fb89f57e6
Full Text :
https://doi.org/10.1162/tacl_a_00459