Set the Clock: Temporal Alignment of Pretrained Language Models
Not on the map. Why?
Abstract (arXiv)
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 LLaMa2 to the year 2022 can enhance its performance by up to 62% according to that year's answers. This improvement occurs even without explicitly mentioning time information, indicating the possibility of aligning models' internal sense of time after pretraining. Finally, we find that alignment to a historical time is also possible, with up to 2.8× the performance of the unaligned LM in 2010 if finetuning models to that year. These findings hint at the sophistication of LMs' internal knowledge organization and the necessity of tuning them properly.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 28 of its 38 references that are in the map. First posted on arXiv 26 Feb 2024.
Builds on
28 of 38 references.
References · 28
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2022Mass-Editing Memory in a Transformercited by 976
- 2023FreshLLMs: Refreshing Large Language Models with Search Engine Augmentationcited by 308
- 2021Time-Aware Language Models as Temporal Knowledge Basescited by 290
- 2022RealTime QA: What's the Answer Right Now?cited by 239
16 more
- 2021Mind the Gap: Assessing Temporal Generalization in Neural Language Modelscited by 226
- 2023Continual Pre-training of Language Modelscited by 194
- 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 180
- 2021A Dataset for Answering Time-Sensitive Questionscited by 150
- 2021SituatedQA: Incorporating Extra-Linguistic Contexts into QAcited by 145
- 2022TimeLMs: Diachronic Language Models from Twittercited by 129
- 2022StreamingQA: A Benchmark for Adaptation to New Knowledge over Time in Question Answering Modelscited by 123
- 2022TemporalWiki: A Lifelong Benchmark for Training and Evaluating Ever-Evolving Language Modelscited by 117
- 2021Lifelong Pretraining: Continually Adapting Language Models to Emerging Corporacited by 114
- 2021Question Answering Over Temporal Knowledge Graphscited by 99
- 2021Time Waits for No One! Analysis and Challenges of Temporal Misalignmentcited by 91
- 2021Complex Temporal Question Answering on Knowledge Graphscited by 69
- 2021Temporal Effects on Pre-trained Models for Language Processing Taskscited by 46
- 2022Improving Time Sensitivity for Question Answering over Temporal Knowledge Graphscited by 26
- 2023Mitigating Temporal Misalignment by Discarding Outdated Factscited by 21
- 2023Time-Aware Representation Learning for Time-Sensitive Question Answeringcited by 7
Built on by
Citing papers per year: 2024: 6; 2025: 11; 2026: 7.
24 papers.
Sort:
By area:
- 2025Synergizing RAG and Reasoning: A Systematic Reviewcited by 27
- 2025Time-R1: Towards Comprehensive Temporal Reasoning in LLMscited by 23
- 2024AmbigDocs: Reasoning across Documents on Different Entities under the Same Namecited by 21
- 2024CodeUpdateArena: Benchmarking Knowledge Editing on API Updatescited by 18
- 2024UnSeenTimeQA: Time-Sensitive Question-Answering Beyond LLMs' Memorizationcited by 17
- 2024VersiCode: Towards Version-controllable Code Generationcited by 14
- 2025It's High Time: A Survey of Temporal Question Answeringcited by 12
- 2024ChroKnowledge: Unveiling Chronological Knowledge of Language Models in Multiple Domainscited by 7
- 2025Date Fragments: A Hidden Bottleneck of Tokenization for Temporal Reasoningcited by 6
- 2025Temporal Alignment of Time Sensitive Facts with Activation Engineeringcited by 4
- 2025ScienceMeter: Tracking Scientific Knowledge Updates in Language Modelscited by 3
- 2025TiMoE: Time-Aware Mixture of Language Expertscited by 2
12 more
- 2026ForeSci: Evaluating LLM Agents for Forward-Looking AI Research Judgmentcited by 2
- 2024Review-Then-Refine: A Dynamic Framework for Multi-Hop Question Answering with Temporal Adaptabilitycited by 1
- 2025Measuring temporal effects of agent knowledge by date-controlled tool usecited by 1
- 2025EMERGE: A Benchmark for Updating Knowledge Graphs with Emerging Textual Knowledgecited by 0
- 2025Harnessing Temporal Databases for Systematic Evaluation of Factual Time-Sensitive Question-Answering in Large Language Modelscited by 0
- 2025Beyond URLs: Metadata Diversity and Position for Efficient LLM Pretrainingcited by 0
- 2026The Dynamic Gist-Based Memory Model (DGMM): A Memory-Centric Architecture for Artificial Intelligencecited by 0
- 2026Understanding Data Temporality Impact on Large Language Models Pre-trainingcited by 0
- 2026LibEvoBench: Probing Temporal Knowledge Stratification in Code Generation Modelscited by 0
- 2026How Surprising Is Historical Italian to Language Models? Tokenization Tax, Comprehension Tax, and a Simple Mitigationcited by 0
- 2026Introducing Human-Centeredness in AI-Assisted Lexicographycited by 0
- 2026Time-Incremental Continued Pretraining of LLMs: Knowledge Updates Without Catastrophic Forgettingcited by 0
- 2026Time-Incremental Continued Pretraining of LLMs: Knowledge Updates Without Catastrophic Forgetting20 Sep 2026
- 2026Introducing Human-Centeredness in AI-Assisted Lexicography13 Jul 2026
- 2026How Surprising Is Historical Italian to Language Models? Tokenization Tax, Comprehension Tax, and a Simple Mitigation25 Jun 2026
- 2026LibEvoBench: Probing Temporal Knowledge Stratification in Code Generation Models24 Jun 2026
- 2026ForeSci: Evaluating LLM Agents for Forward-Looking AI Research Judgment30 May 2026
- 2026Understanding Data Temporality Impact on Large Language Models Pre-training21 May 2026
- 2026The Dynamic Gist-Based Memory Model (DGMM): A Memory-Centric Architecture for Artificial Intelligence4 May 2026
- 2025Beyond URLs: Metadata Diversity and Position for Efficient LLM Pretraining26 Nov 2025
- 2025TiMoE: Time-Aware Mixture of Language Experts12 Aug 2025
- 2025Harnessing Temporal Databases for Systematic Evaluation of Factual Time-Sensitive Question-Answering in Large Language Models4 Aug 2025
- 2025EMERGE: A Benchmark for Updating Knowledge Graphs with Emerging Textual Knowledge4 Jul 2025
- 2025ScienceMeter: Tracking Scientific Knowledge Updates in Language Models30 May 2025
12 more
- 2025It's High Time: A Survey of Temporal Question Answering26 May 2025
- 2025Date Fragments: A Hidden Bottleneck of Tokenization for Temporal Reasoning22 May 2025
- 2025Temporal Alignment of Time Sensitive Facts with Activation Engineering20 May 2025
- 2025Time-R1: Towards Comprehensive Temporal Reasoning in LLMs16 May 2025
- 2025Synergizing RAG and Reasoning: A Systematic Review22 Apr 2025
- 2025Measuring temporal effects of agent knowledge by date-controlled tool use6 Mar 2025
- 2024Review-Then-Refine: A Dynamic Framework for Multi-Hop Question Answering with Temporal Adaptability19 Dec 2024
- 2024ChroKnowledge: Unveiling Chronological Knowledge of Language Models in Multiple Domains13 Oct 2024
- 2024CodeUpdateArena: Benchmarking Knowledge Editing on API Updates8 Jul 2024
- 2024UnSeenTimeQA: Time-Sensitive Question-Answering Beyond LLMs' Memorization3 Jul 2024
- 2024VersiCode: Towards Version-controllable Code Generation11 Jun 2024
- 2024AmbigDocs: Reasoning across Documents on Different Entities under the Same Name18 Apr 2024
- 2024AmbigDocs: Reasoning across Documents on Different Entities under the Same Namecited by 21
- 2024CodeUpdateArena: Benchmarking Knowledge Editing on API Updatescited by 18
- 2024UnSeenTimeQA: Time-Sensitive Question-Answering Beyond LLMs' Memorizationcited by 17
- 2024VersiCode: Towards Version-controllable Code Generationcited by 14
- 2025It's High Time: A Survey of Temporal Question Answeringcited by 12
- 2024ChroKnowledge: Unveiling Chronological Knowledge of Language Models in Multiple Domainscited by 7
- 2025Temporal Alignment of Time Sensitive Facts with Activation Engineeringcited by 4
- 2025ScienceMeter: Tracking Scientific Knowledge Updates in Language Modelscited by 3
- 2025TiMoE: Time-Aware Mixture of Language Expertscited by 2
- 2024Review-Then-Refine: A Dynamic Framework for Multi-Hop Question Answering with Temporal Adaptabilitycited by 1
- 2025EMERGE: A Benchmark for Updating Knowledge Graphs with Emerging Textual Knowledgecited by 0
- 2025Harnessing Temporal Databases for Systematic Evaluation of Factual Time-Sensitive Question-Answering in Large Language Modelscited by 0
12 most cited of 19 All 19 (JSON)
- 2026Time-Incremental Continued Pretraining of LLMs: Knowledge Updates Without Catastrophic Forgetting20 Sep 2026
- 2026Introducing Human-Centeredness in AI-Assisted Lexicography13 Jul 2026
- 2026How Surprising Is Historical Italian to Language Models? Tokenization Tax, Comprehension Tax, and a Simple Mitigation25 Jun 2026
- 2026LibEvoBench: Probing Temporal Knowledge Stratification in Code Generation Models24 Jun 2026
- 2026Understanding Data Temporality Impact on Large Language Models Pre-training21 May 2026
- 2026The Dynamic Gist-Based Memory Model (DGMM): A Memory-Centric Architecture for Artificial Intelligence4 May 2026
- 2025Beyond URLs: Metadata Diversity and Position for Efficient LLM Pretraining26 Nov 2025
- 2025TiMoE: Time-Aware Mixture of Language Experts12 Aug 2025
- 2025Harnessing Temporal Databases for Systematic Evaluation of Factual Time-Sensitive Question-Answering in Large Language Models4 Aug 2025
- 2025EMERGE: A Benchmark for Updating Knowledge Graphs with Emerging Textual Knowledge4 Jul 2025
- 2025ScienceMeter: Tracking Scientific Knowledge Updates in Language Models30 May 2025
- 2025It's High Time: A Survey of Temporal Question Answering26 May 2025
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024Time Awareness in Large Language Models: Benchmarking Fact Recall Across Time
- 2025Question Answering under Temporal Conflict: Evaluating and Organizing Evolving Knowledge with LLMs
- 2025Time to Revist Exact Match
- 2025Temporal Alignment of LLMs through Cycle Encoding for Long-Range Time Representations
- 2025A Study into Investigating Temporal Robustness of LLMs
- 2023Are Large Language Models Temporally Grounded?
- 2025ChronoSense: Exploring Temporal Understanding in Large Language Models with Time Intervals of Events
- 2025SPAN: Benchmarking and Improving Cross-Calendar Temporal Reasoning of Large Language Models