Introduction
Temporal Knowledge Graph (TKG) forecasting involves predicting future events—represented as (Subject, Relation, Object) triplets—based on historical data. While traditional approaches rely on Graph Neural Networks (GNNs) to capture structural patterns, they often lack the semantic common sense required to understand complex geopolitical motivations. Conversely, Large Language Models (LLMs) possess vast semantic knowledge but struggle with "information fatigue" when processing long historical sequences and often fail to capture deep causal chains beyond immediate neighbors.
To bridge this gap, researchers have introduced Chain-of-History (CoH), a reasoning framework that mimics human analytical processes by exploring historical event chains step-by-step. CoH combines the semantic reasoning of LLMs with the structural precision of graph models to achieve state-of-the-art forecasting performance.
The Chain-of-History Framework
The CoH framework operates through a multi-step reasoning procedure designed to identify and utilize high-order historical connections without overwhelming the LLM's context window.
Methodology Steps:
- Step-by-Step Exploration: Instead of a single massive prompt, CoH first asks the LLM to identify the most relevant "first-order" events (direct neighbors). It then explores "second-order" events connected to those facts, building a causal chain (e.g., Germany → Russia → Ukraine).
- Plug-and-Play Fusion: CoH enhances existing graph models rather than replacing them. LLM-ranked predictions are converted into numerical scores and fused with outputs from models like RE-NET or TiRGN using a weighted average.
- Abstract Time Representation: To prevent data leakage from the LLM's training set, specific dates are converted into relative terms (e.g., "the 153rd day").
Key Insights: The Importance of High-Order Chains
A central finding of this research is that first-order history is often insufficient for accurate forecasting. For example, knowing that Germany condemned Russia is a first-order fact, but understanding that this occurred because Russia is at war with Ukraine (a second-order connection) provides the necessary context to predict Germany's subsequent support for Ukraine.
Furthermore, the authors identified a "U-shaped" performance curve: LLM accuracy peaks at a specific history length and then declines. This confirms that "more context" is not inherently better; rather, organized, high-order context is the key to effective reasoning.
Results and Performance
The CoH framework was evaluated on standard TKG benchmarks including ICEWS14, ICEWS18, and ICWS05-15. Key results include:
- LLM-only Improvement: CoH improved the Mean Reciprocal Rank (MRR) by 8.56% over standard prompting on ICEWS14.
- Hybrid Model Success: Integrating CoH with the RE-GCN model yielded a relative improvement of 6.41% in Hit@1 on the ICEWS18 dataset.
- Explainability: By forcing the LLM to identify specific history chains, CoH provides a transparent "reasoning path," making forecasts more interpretable than standard "black box" GNNs.
Conclusion and Future Work
Chain-of-History demonstrates that the synergy between semantic LLM reasoning and structural graph modeling significantly advances TKG forecasting. While the current implementation faces challenges regarding inference complexity and manual hyperparameter tuning for fusion weights, it paves the way for future adaptive fusion strategies and more efficient multi-step reasoning in temporal domains.
Summary updated