Temporal Knowledge Graph Forecasting Without Knowledge Using In-Context Learning
Not on the map. Why?
Abstract (arXiv)
Temporal knowledge graph (TKG) forecasting benchmarks challenge models to predict future facts using knowledge of past facts. In this paper, we apply large language models (LLMs) to these benchmarks using in-context learning (ICL). We investigate whether and to what extent LLMs can be used for TKG forecasting, especially without any fine-tuning or explicit modules for capturing structural and temporal information. For our experiments, we present a framework that converts relevant historical facts into prompts and generates ranked predictions using token probabilities. Surprisingly, we observe that LLMs, out-of-the-box, perform on par with state-of-the-art TKG models carefully designed and trained for TKG forecasting. Our extensive evaluation presents performances across several models and datasets with different characteristics, compares alternative heuristics for preparing contextual information, and contrasts to prominent TKG methods and simple frequency and recency baselines. We also discover that using numerical indices instead of entity/relation names, i.e., hiding semantic information, does not significantly affect the performance (±0.4% Hit@1). This shows that prior semantic knowledge is unnecessary; instead, LLMs can leverage the existing patterns in the context to achieve such performance. Our analysis also reveals that ICL enables LLMs to learn irregular patterns from the historical context, going beyond simple predictions based on common or recent information.
Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Builds on 29 of its 43 references that are in the map. First posted on arXiv 17 May 2023.
Builds on
29 of 43 references.
References · 29
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 731
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
17 more
- 2023Larger language models do in-context learning differentlycited by 386
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
- 2021Unsolved Problems in ML Safetycited by 291
- 2022RealTime QA: What's the Answer Right Now?cited by 239
- 2019Think Globally, Act Locally: A Deep Neural Network Approach to High-Dimensional Time Series Forecastingcited by 161
- 2018Learning Sequence Encoders for Temporal Knowledge Graph Completioncited by 145
- 2022StreamingQA: A Benchmark for Adaptation to New Knowledge over Time in Question Answering Modelscited by 123
- 2020Tensor Decompositions for temporal knowledge base completioncited by 115
- 2021Temporal Knowledge Graph Reasoning Based on Evolutional Representation Learningcited by 106
- 2019Diachronic Embedding for Temporal Knowledge Graph Completioncited by 104
- 2023A Theory of Emergent In-Context Learning as Implicit Structure Inductioncited by 86
- 2020Learning from History: Modeling Temporal Knowledge Graphs with Sequential Copy-Generation Networkscited by 84
- 2021TimeTraveler: Reinforcement Learning for Temporal Knowledge Graph Forecastingcited by 67
- 2022Forecasting Future World Events with Neural Networkscited by 63
- 2021Temporal Knowledge Graph Forecasting with Neural ODEcited by 61
- 2021TLogic: Temporal Logical Rules for Explainable Link Forecasting on Temporal Knowledge Graphscited by 59
- 2020ForecastQA: A Question Answering Challenge for Event Forecasting with Temporal Text Datacited by 43
Built on by
Citing papers per year: 2023: 4; 2024: 11; 2025: 9; 2026: 12.
36 papers.
Sort:
By area:
- 2023Large Models for Time Series and Spatio-Temporal Data: A Survey and Outlookcited by 109
- 2024Large Language Models-guided Dynamic Adaptation for Temporal Knowledge Graph Reasoningcited by 41
- 2023GenTKG: Generative Forecasting on Temporal Knowledge Graph with Large Language Modelscited by 30
- 2024A Survey on Temporal Knowledge Graph: Representation Learning and Applicationscited by 30
- 2025Time-R1: Towards Comprehensive Temporal Reasoning in LLMscited by 23
- 2024Chain-of-History Reasoning for Temporal Knowledge Graph Forecastingcited by 17
- 2024Combining Knowledge Graphs and Large Language Modelscited by 16
- 2023zrLLM: Zero-Shot Relational Learning on Temporal Knowledge Graphs with Large Language Modelscited by 13
- 2024Chain of History: Learning and Forecasting with LLMs for Temporal Knowledge Graph Completioncited by 10
- 2024A Comprehensive Evaluation of Large Language Models on Temporal Event Forecastingcited by 7
- 2023Back to the Future: Towards Explainable Temporal Reasoning with Large Language Modelscited by 5
- 2024ONSEP: A Novel Online Neural-Symbolic Framework for Event Prediction Based on Large Language Modelcited by 4
24 more
- 2024DAVIS: Planning Agent with Knowledge Graph-Powered Inner Monologuecited by 3
- 2025Are Large Language Models Good Temporal Graph Learners?cited by 3
- 2024Through the Thicket: A Study of Number-Oriented LLMs derived from Random Forest Modelscited by 2
- 2025G2S: A General-to-Specific Learning Framework for Temporal Knowledge Graph Forecasting with Large Language Modelscited by 2
- 2026Negative-Aware Diffusion Process for Temporal Knowledge Graph Extrapolationcited by 2
- 2024Large Language Models as Interpolated and Extrapolated Event Predictorscited by 1
- 2025Towards Foundation Model on Temporal Knowledge Graph Reasoningcited by 1
- 2025A Multi-Expert Structural-Semantic Hybrid Framework for Unveiling Historical Patterns in Temporal Knowledge Graphscited by 1
- 2025THE-Tree: Can Tracing Historical Evolution Enhance Scientific Verification and Reasoning?cited by 1
- 2025Self-Exploring Language Models for Explainable Link Forecasting on Temporal Graphs via Reinforcement Learningcited by 1
- 2026Toward Better Temporal Structures for Geopolitical Events Forecastingcited by 1
- 2024Can a Large Language Model Learn Matrix Functions In Context?cited by 0
- 2025Ignite Forecasting with SPARK: An Efficient Generative Framework for Refining LLMs in Temporal Knowledge Graph Forecastingcited by 0
- 2025RECIPE-TKG: From Sparse History to Structured Reasoning for LLM-based Temporal Knowledge Graph Completioncited by 0
- 2026Beyond Known Facts: Generating Unseen Temporal Knowledge to Address Data Contamination in LLM Evaluationcited by 0
- 2026Bridging Graph Structure and Knowledge-Guided Editing for Interpretable Temporal Knowledge Graph Reasoningcited by 0
- 2026Towards Better Evolution Modeling for Temporal Knowledge Graphscited by 0
- 2026CID-TKG: Collaborative Historical Invariance and Evolutionary Dynamics Learning for Temporal Knowledge Graph Reasoningcited by 0
- 2026CHE-TKG: Collaborative Historical Evidence and Evolutionary Dynamics Learning for Temporal Knowledge Graph Reasoningcited by 0
- 2026AdaTKG: Adaptive Memory for Temporal Knowledge Graph Reasoningcited by 0
- 2026Strikingness-Aware Evaluation for Temporal Knowledge Graph Reasoningcited by 0
- 2026GRATE: Temporal Extensions for Inductive KG Foundation Models via Gated Rotary Attentioncited by 0
- 2026FITTER: Vocabulary-Agnostic Cross-Domain Inference on Temporal Knowledge Graphscited by 0
- 2026CHAIN: Calibrated LLM Forecasting via Causal-Temporal Hypergraph Inferencecited by 0
- 2026CHAIN: Calibrated LLM Forecasting via Causal-Temporal Hypergraph Inference29 Sep 2026
- 2026FITTER: Vocabulary-Agnostic Cross-Domain Inference on Temporal Knowledge Graphs11 Aug 2026
- 2026GRATE: Temporal Extensions for Inductive KG Foundation Models via Gated Rotary Attention11 Jul 2026
- 2026Strikingness-Aware Evaluation for Temporal Knowledge Graph Reasoning13 May 2026
- 2026AdaTKG: Adaptive Memory for Temporal Knowledge Graph Reasoning8 May 2026
- 2026CHE-TKG: Collaborative Historical Evidence and Evolutionary Dynamics Learning for Temporal Knowledge Graph Reasoning6 May 2026
- 2026CID-TKG: Collaborative Historical Invariance and Evolutionary Dynamics Learning for Temporal Knowledge Graph Reasoning9 Mar 2026
- 2026Negative-Aware Diffusion Process for Temporal Knowledge Graph Extrapolation9 Feb 2026
- 2026Towards Better Evolution Modeling for Temporal Knowledge Graphs9 Feb 2026
- 2026Bridging Graph Structure and Knowledge-Guided Editing for Interpretable Temporal Knowledge Graph Reasoning29 Jan 2026
- 2026Beyond Known Facts: Generating Unseen Temporal Knowledge to Address Data Contamination in LLM Evaluation20 Jan 2026
- 2026Toward Better Temporal Structures for Geopolitical Events Forecasting1 Jan 2026
24 more
- 2025Self-Exploring Language Models for Explainable Link Forecasting on Temporal Graphs via Reinforcement Learning31 Aug 2025
- 2025THE-Tree: Can Tracing Historical Evolution Enhance Scientific Verification and Reasoning?26 Jun 2025
- 2025A Multi-Expert Structural-Semantic Hybrid Framework for Unveiling Historical Patterns in Temporal Knowledge Graphs17 Jun 2025
- 2025Towards Foundation Model on Temporal Knowledge Graph Reasoning4 Jun 2025
- 2025Are Large Language Models Good Temporal Graph Learners?3 Jun 2025
- 2025G2S: A General-to-Specific Learning Framework for Temporal Knowledge Graph Forecasting with Large Language Models31 May 2025
- 2025RECIPE-TKG: From Sparse History to Structured Reasoning for LLM-based Temporal Knowledge Graph Completion23 May 2025
- 2025Time-R1: Towards Comprehensive Temporal Reasoning in LLMs16 May 2025
- 2025Ignite Forecasting with SPARK: An Efficient Generative Framework for Refining LLMs in Temporal Knowledge Graph Forecasting27 Mar 2025
- 2024Can a Large Language Model Learn Matrix Functions In Context?24 Nov 2024
- 2024DAVIS: Planning Agent with Knowledge Graph-Powered Inner Monologue11 Oct 2024
- 2024ONSEP: A Novel Online Neural-Symbolic Framework for Event Prediction Based on Large Language Model14 Aug 2024
- 2024A Comprehensive Evaluation of Large Language Models on Temporal Event Forecasting16 Jul 2024
- 2024Combining Knowledge Graphs and Large Language Models9 Jul 2024
- 2024Large Language Models as Interpolated and Extrapolated Event Predictors15 Jun 2024
- 2024Through the Thicket: A Study of Number-Oriented LLMs derived from Random Forest Models7 Jun 2024
- 2024Large Language Models-guided Dynamic Adaptation for Temporal Knowledge Graph Reasoning23 May 2024
- 2024A Survey on Temporal Knowledge Graph: Representation Learning and Applications2 Mar 2024
- 2024Chain-of-History Reasoning for Temporal Knowledge Graph Forecasting22 Feb 2024
- 2024Chain of History: Learning and Forecasting with LLMs for Temporal Knowledge Graph Completion11 Jan 2024
- 2023zrLLM: Zero-Shot Relational Learning on Temporal Knowledge Graphs with Large Language Models15 Nov 2023
- 2023Large Models for Time Series and Spatio-Temporal Data: A Survey and Outlook16 Oct 2023
- 2023GenTKG: Generative Forecasting on Temporal Knowledge Graph with Large Language Models11 Oct 2023
- 2023Back to the Future: Towards Explainable Temporal Reasoning with Large Language Models2 Oct 2023
- 2024Large Language Models-guided Dynamic Adaptation for Temporal Knowledge Graph Reasoningcited by 41
- 2025Time-R1: Towards Comprehensive Temporal Reasoning in LLMscited by 23
- 2024Chain-of-History Reasoning for Temporal Knowledge Graph Forecastingcited by 17
- 2024A Comprehensive Evaluation of Large Language Models on Temporal Event Forecastingcited by 7
- 2023Back to the Future: Towards Explainable Temporal Reasoning with Large Language Modelscited by 5
- 2025THE-Tree: Can Tracing Historical Evolution Enhance Scientific Verification and Reasoning?cited by 1
- 2025RECIPE-TKG: From Sparse History to Structured Reasoning for LLM-based Temporal Knowledge Graph Completioncited by 0
- 2026Bridging Graph Structure and Knowledge-Guided Editing for Interpretable Temporal Knowledge Graph Reasoningcited by 0
- 2026Bridging Graph Structure and Knowledge-Guided Editing for Interpretable Temporal Knowledge Graph Reasoning29 Jan 2026
- 2025THE-Tree: Can Tracing Historical Evolution Enhance Scientific Verification and Reasoning?26 Jun 2025
- 2025RECIPE-TKG: From Sparse History to Structured Reasoning for LLM-based Temporal Knowledge Graph Completion23 May 2025
- 2025Time-R1: Towards Comprehensive Temporal Reasoning in LLMs16 May 2025
- 2024A Comprehensive Evaluation of Large Language Models on Temporal Event Forecasting16 Jul 2024
- 2024Large Language Models-guided Dynamic Adaptation for Temporal Knowledge Graph Reasoning23 May 2024
- 2024Chain-of-History Reasoning for Temporal Knowledge Graph Forecasting22 Feb 2024
- 2023Back to the Future: Towards Explainable Temporal Reasoning with Large Language Models2 Oct 2023
- 2023Large Models for Time Series and Spatio-Temporal Data: A Survey and Outlookcited by 109
- 2023GenTKG: Generative Forecasting on Temporal Knowledge Graph with Large Language Modelscited by 30
- 2024A Survey on Temporal Knowledge Graph: Representation Learning and Applicationscited by 30
- 2024Combining Knowledge Graphs and Large Language Modelscited by 16
- 2023zrLLM: Zero-Shot Relational Learning on Temporal Knowledge Graphs with Large Language Modelscited by 13
- 2024Chain of History: Learning and Forecasting with LLMs for Temporal Knowledge Graph Completioncited by 10
- 2024ONSEP: A Novel Online Neural-Symbolic Framework for Event Prediction Based on Large Language Modelcited by 4
- 2025Are Large Language Models Good Temporal Graph Learners?cited by 3
- 2024Through the Thicket: A Study of Number-Oriented LLMs derived from Random Forest Modelscited by 2
- 2025G2S: A General-to-Specific Learning Framework for Temporal Knowledge Graph Forecasting with Large Language Modelscited by 2
- 2024Large Language Models as Interpolated and Extrapolated Event Predictorscited by 1
- 2025Towards Foundation Model on Temporal Knowledge Graph Reasoningcited by 1
12 most cited of 26 All 26 (JSON)
- 2026CHAIN: Calibrated LLM Forecasting via Causal-Temporal Hypergraph Inference29 Sep 2026
- 2026FITTER: Vocabulary-Agnostic Cross-Domain Inference on Temporal Knowledge Graphs11 Aug 2026
- 2026GRATE: Temporal Extensions for Inductive KG Foundation Models via Gated Rotary Attention11 Jul 2026
- 2026Strikingness-Aware Evaluation for Temporal Knowledge Graph Reasoning13 May 2026
- 2026AdaTKG: Adaptive Memory for Temporal Knowledge Graph Reasoning8 May 2026
- 2026CHE-TKG: Collaborative Historical Evidence and Evolutionary Dynamics Learning for Temporal Knowledge Graph Reasoning6 May 2026
- 2026CID-TKG: Collaborative Historical Invariance and Evolutionary Dynamics Learning for Temporal Knowledge Graph Reasoning9 Mar 2026
- 2026Towards Better Evolution Modeling for Temporal Knowledge Graphs9 Feb 2026
- 2026Beyond Known Facts: Generating Unseen Temporal Knowledge to Address Data Contamination in LLM Evaluation20 Jan 2026
- 2026Toward Better Temporal Structures for Geopolitical Events Forecasting1 Jan 2026
- 2025Self-Exploring Language Models for Explainable Link Forecasting on Temporal Graphs via Reinforcement Learning31 Aug 2025
- 2025A Multi-Expert Structural-Semantic Hybrid Framework for Unveiling Historical Patterns in Temporal Knowledge Graphs17 Jun 2025
12 newest of 26 All 26 (JSON)