Explainable Subgraph Reasoning for Forecasting on Temporal Knowledge Graphs

Zhen Han, Peng Chen, Yunpu Ma, Volker Tresp

In the world of AI, Knowledge Graphs (KGs) are the backbone of structured information—think of them as massive webs of "triples" like (Alice, livesIn, Toronto). But the real world isn't static. Alice moves to Vancouver, and suddenly that fact is outdated. Temporal Knowledge Graphs (TKGs) solve this by adding a timestamp: (Alice, livesIn, Toronto, 2020).

While we’ve become quite good at "forecasting" future events on these graphs, most state-of-the-art models are "black boxes." They use complex embeddings that produce a prediction but can't tell you why. Researchers have introduced xERTE, a framework that brings transparency to predicting the future.

TL;DR

xERTE is the first explainable reasoning framework designed specifically for forecasting future links in temporal knowledge graphs. By iteratively expanding a query-dependent subgraph and using a novel "reverse representation update," it outperforms previous black-box models by up to 20% on Hits@1 while providing human-understandable graphical evidence for its predictions.

What Problem Does This Paper Address?

Most existing TKG models rely on representation learning—mapping entities and relations into a high-dimensional vector space. While accurate, these models lack interpretability. If an AI predicts a diplomatic conflict between two countries next month, a policy-maker needs to see the evidence, not just a probability score.

Previous "explainable" methods for KGs usually worked on static data or relied on finding a single "reasoning path." However, real-world events are rarely the result of one single chain of causality; they are usually driven by a complex web of interconnected prior events. The challenge was to create a model that could handle the causal nature of time (events in the future cannot influence the past) and provide a subgraph-based explanation that humans can actually trust.

Methods

The authors propose xERTE (eXplainable Reasoning on Temporal Knowledge Graphs), which uses a multi-step process to "reason" its way to a prediction:

xERTE Inference Pipeline
  1. Subgraph Expansion & Sampling: Starting from a query (e.g., Who will Catherine Ashton visit on Nov 9?), the model iteratively samples "prior neighbors"—events involving the subject that happened before the query time.
  2. Temporal Relational Graph Attention (TRGA): This is the "brain" of the operation. It uses an attention mechanism to weigh which past events are most relevant to the specific query. Crucially, it enforces temporal constraints to ensure information only flows from the past to the future.
  3. Reverse Representation Update: This is a standout innovation. To mimic human reasoning—where our perception of an entity changes as we uncover new clues—the model updates the representations of entities in the subgraph in reverse order of their discovery. This ensures that the "query subject" at the center of the search can "hear" about the most distant clues found at the edges of the subgraph.
  4. Dynamic Pruning: To prevent the subgraph from growing exponentially (the "explosion" problem), the model prunes edges with low attention scores at each step, keeping only the most informative evidence.

Datasets

The model was evaluated on four benchmark temporal knowledge graphs:

  • ICEWS14, ICEWS18, and ICEWS05-15: Subsets of the Integrated Crisis Early Warning System, containing political events with daily granularity.
  • YAGO: A temporal version of the YAGO knowledge base that fuses Wikipedia and WordNet, focusing on year-level granularity.

Key Insights and Ideas

  • Subgraphs vs. Paths: The authors argue that a single path is often insufficient for complex reasoning. By extracting a subgraph, xERTE captures the "contextual neighborhood" of an event, which provides a much richer explanation.
  • Causality as a Constraint: By strictly limiting message passing to "prior neighbors," the model naturally respects the arrow of time, making the reasoning process logically sound for forecasting.
  • Human-Centric Validation: Unlike many papers that rely solely on math, the authors conducted a survey with 53 human respondents. They found that the "evidence" subgraphs xERTE extracted were aligned with human intuition 70.5% of the time, proving the "explanations" aren't just random noise.

Key Results

  • State-of-the-Art Performance: Despite the "interpretability tax" (the idea that explainable models are usually less accurate), xERTE actually outperformed the strongest black-box baselines (like RE-Net).
  • Sharp Predictions: It showed a relative improvement of up to 20% on Hits@1. This suggests that looking at local subgraphs helps the model make much more precise "top-1" predictions compared to global embedding methods.
  • Efficiency: The dynamic pruning allowed the model to reason over graphs with millions of edges without a massive computational overhead.

Limitations and Future Work

  • Information Loss: While pruning is necessary for scale, the authors acknowledge that it might discard "long-tail" evidence that is subtle but important.
  • Static Predicates: The current model assumes that relationship types (predicates) are stationary. In reality, the "meaning" of a diplomatic visit might change over decades, which the model doesn't currently capture.
  • Scope: The work focuses on link forecasting (predicting the object). Future work could extend this to predicting when an event will happen (time prediction) or handling entirely unseen entities more robustly.

Summary updated

BibTeX
@inproceedings{han2021explainable,
  author = {Zhen Han and Peng Chen and Yunpu Ma and Volker Tresp},
  title = {{Explainable Subgraph Reasoning for Forecasting on Temporal Knowledge Graphs}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
}
Figure