Set the Clock: Temporal Alignment of Pretrained Language Models
Bowen Zhao, Zander Brumbaugh, Yizhong Wang, Hannaneh Hajishirzi, Noah, A. Smith

TL;DR
This paper investigates the temporal knowledge in pretrained language models and proposes methods to align their internal understanding to specific years, significantly improving their ability to answer time-sensitive questions accurately.
Contribution
It introduces a dataset of 20K time-sensitive questions and develops methods for temporal alignment of language models, demonstrating substantial performance improvements.
Findings
Aligning LLaMa2 to 2022 improves answer accuracy by up to 62%.
Models can be aligned to historical years with up to 2.8× better performance.
Models predominantly answer using outdated knowledge despite recent pretraining.
Abstract
Language models (LMs) are trained on web text originating from many points in time and, in general, without any explicit temporal grounding. This work investigates the temporal chaos of pretrained LMs and explores various methods to align their internal knowledge to a target time, which we call "temporal alignment." To do this, we first automatically construct a dataset containing 20K time-sensitive questions and their answers for each year from 2000 to 2023. Based on this dataset, we empirically show that pretrained LMs (e.g., LLaMa2), despite having a recent pretraining cutoff (e.g., 2022), mostly answer questions using earlier knowledge (e.g., in 2019). We then develop several methods, from prompting to finetuning, to align LMs to use their most recent knowledge when answering questions, and investigate various factors in this alignment. Our experiments demonstrate that aligning…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling
MethodsALIGN · Hierarchical Information Threading
