mlsanityData to 7 Oct 2026

Temporal Knowledge Graph Forecasting Without Knowledge Using In-Context Learning

arXiv 2305.10613 ↗First posted 17 May 2023cs.CLcited by 36

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  7. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  8. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  9. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  10. 2022Teaching Models to Express Their Uncertainty in Wordscited by 731
  11. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  12. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
17 more
  1. 2023Larger language models do in-context learning differentlycited by 386
  2. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
  3. 2021Unsolved Problems in ML Safetycited by 291
  4. 2022RealTime QA: What's the Answer Right Now?cited by 239
  5. 2019Think Globally, Act Locally: A Deep Neural Network Approach to High-Dimensional Time Series Forecastingcited by 161
  6. 2018Learning Sequence Encoders for Temporal Knowledge Graph Completioncited by 145
  7. 2022StreamingQA: A Benchmark for Adaptation to New Knowledge over Time in Question Answering Modelscited by 123
  8. 2020Tensor Decompositions for temporal knowledge base completioncited by 115
  9. 2021Temporal Knowledge Graph Reasoning Based on Evolutional Representation Learningcited by 106
  10. 2019Diachronic Embedding for Temporal Knowledge Graph Completioncited by 104
  11. 2023A Theory of Emergent In-Context Learning as Implicit Structure Inductioncited by 86
  12. 2020Learning from History: Modeling Temporal Knowledge Graphs with Sequential Copy-Generation Networkscited by 84
  13. 2021TimeTraveler: Reinforcement Learning for Temporal Knowledge Graph Forecastingcited by 67
  14. 2022Forecasting Future World Events with Neural Networkscited by 63
  15. 2021Temporal Knowledge Graph Forecasting with Neural ODEcited by 61
  16. 2021TLogic: Temporal Logical Rules for Explainable Link Forecasting on Temporal Knowledge Graphscited by 59
  17. 2020ForecastQA: A Question Answering Challenge for Event Forecasting with Temporal Text Datacited by 43

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 4; 2024: 11; 2025: 9; 2026: 12.

36 papers.

Sort:

By area:

  1. 2023Large Models for Time Series and Spatio-Temporal Data: A Survey and Outlookcited by 109
  2. 2024Large Language Models-guided Dynamic Adaptation for Temporal Knowledge Graph Reasoningcited by 41
  3. 2023GenTKG: Generative Forecasting on Temporal Knowledge Graph with Large Language Modelscited by 30
  4. 2024A Survey on Temporal Knowledge Graph: Representation Learning and Applicationscited by 30
  5. 2025Time-R1: Towards Comprehensive Temporal Reasoning in LLMscited by 23
  6. 2024Chain-of-History Reasoning for Temporal Knowledge Graph Forecastingcited by 17
  7. 2024Combining Knowledge Graphs and Large Language Modelscited by 16
  8. 2023zrLLM: Zero-Shot Relational Learning on Temporal Knowledge Graphs with Large Language Modelscited by 13
  9. 2024Chain of History: Learning and Forecasting with LLMs for Temporal Knowledge Graph Completioncited by 10
  10. 2024A Comprehensive Evaluation of Large Language Models on Temporal Event Forecastingcited by 7
  11. 2023Back to the Future: Towards Explainable Temporal Reasoning with Large Language Modelscited by 5
  12. 2024ONSEP: A Novel Online Neural-Symbolic Framework for Event Prediction Based on Large Language Modelcited by 4
24 more
  1. 2024DAVIS: Planning Agent with Knowledge Graph-Powered Inner Monologuecited by 3
  2. 2025Are Large Language Models Good Temporal Graph Learners?cited by 3
  3. 2024Through the Thicket: A Study of Number-Oriented LLMs derived from Random Forest Modelscited by 2
  4. 2025G2S: A General-to-Specific Learning Framework for Temporal Knowledge Graph Forecasting with Large Language Modelscited by 2
  5. 2026Negative-Aware Diffusion Process for Temporal Knowledge Graph Extrapolationcited by 2
  6. 2024Large Language Models as Interpolated and Extrapolated Event Predictorscited by 1
  7. 2025Towards Foundation Model on Temporal Knowledge Graph Reasoningcited by 1
  8. 2025A Multi-Expert Structural-Semantic Hybrid Framework for Unveiling Historical Patterns in Temporal Knowledge Graphscited by 1
  9. 2025THE-Tree: Can Tracing Historical Evolution Enhance Scientific Verification and Reasoning?cited by 1
  10. 2025Self-Exploring Language Models for Explainable Link Forecasting on Temporal Graphs via Reinforcement Learningcited by 1
  11. 2026Toward Better Temporal Structures for Geopolitical Events Forecastingcited by 1
  12. 2024Can a Large Language Model Learn Matrix Functions In Context?cited by 0
  13. 2025Ignite Forecasting with SPARK: An Efficient Generative Framework for Refining LLMs in Temporal Knowledge Graph Forecastingcited by 0
  14. 2025RECIPE-TKG: From Sparse History to Structured Reasoning for LLM-based Temporal Knowledge Graph Completioncited by 0
  15. 2026Beyond Known Facts: Generating Unseen Temporal Knowledge to Address Data Contamination in LLM Evaluationcited by 0
  16. 2026Bridging Graph Structure and Knowledge-Guided Editing for Interpretable Temporal Knowledge Graph Reasoningcited by 0
  17. 2026Towards Better Evolution Modeling for Temporal Knowledge Graphscited by 0
  18. 2026CID-TKG: Collaborative Historical Invariance and Evolutionary Dynamics Learning for Temporal Knowledge Graph Reasoningcited by 0
  19. 2026CHE-TKG: Collaborative Historical Evidence and Evolutionary Dynamics Learning for Temporal Knowledge Graph Reasoningcited by 0
  20. 2026AdaTKG: Adaptive Memory for Temporal Knowledge Graph Reasoningcited by 0
  21. 2026Strikingness-Aware Evaluation for Temporal Knowledge Graph Reasoningcited by 0
  22. 2026GRATE: Temporal Extensions for Inductive KG Foundation Models via Gated Rotary Attentioncited by 0
  23. 2026FITTER: Vocabulary-Agnostic Cross-Domain Inference on Temporal Knowledge Graphscited by 0
  24. 2026CHAIN: Calibrated LLM Forecasting via Causal-Temporal Hypergraph Inferencecited by 0