TECHS: Temporal Logical Graph Networks for Explainable Extrapolation Reasoning

Qika Lin, Jun Liu, Rui Mao, Fangzhi Xu, Erik Cambria

Abstract

TECHS (TEmporal logiCal grapH networkS) is a novel framework designed for forecasting future events in Temporal Knowledge Graphs (TKGs). It addresses the critical trade-off between the high predictive performance of "black box" neural models and the interpretability of symbolic rule-based systems. By combining a temporal graph encoder with a logical decoder that integrates both propositional (entity-specific) and first-order (general) logical rules, TECHS achieves state-of-the-art accuracy while providing human-readable explanations for its forecasts.

Introduction

Knowledge Graphs (KGs) represent facts as triplets (subject, relation, object). However, real-world data is inherently dynamic, requiring Temporal Knowledge Graphs (TKGs) that incorporate a time dimension. The core challenge in TKG research is extrapolation reasoning: predicting future facts based on historical sequences.

Figure 1: Illustration of extrapolation reasoning in TKGs and the iterative reasoning graph construction.

Existing methods typically fall into two categories: black-box models that offer high accuracy but lack transparency, and rule-based models that are explainable but often struggle with scalability or complex temporal dynamics. TECHS aims to unify these strengths through differentiable logical rule learning.

Methods

The TECHS architecture consists of two main components: a Temporal Graph Encoder and a Logical Decoder.

Figure 2: The TECHS framework architecture, featuring a Temporal Graph Encoder and a Logical Decoder with iterative message passing.
  1. Temporal Graph Encoder: This module utilizes a Graph Convolutional Network (GCN) coupled with a time-encoding function. It employs heterogeneous attention to weigh past events based on their timing and relation types, capturing both structural topology and temporal dynamics.
  2. Logical Decoder: This component iteratively expands a "reasoning graph" from a query entity. It uniquely integrates propositional reasoning (entity-dependent logic) and first-order reasoning (general, entity-independent rules). A Forward Message-Passing mechanism updates node representations, and the Forward Attentive Rule Induction (FARI) algorithm extracts symbolic rules from the learned weights.

Key Insights

  • Hybrid Reasoning Advantage: Combining entity-specific context with general logical patterns allows the model to capture both unique historical nuances and recurring global trends.
  • Differentiable Logic: By representing logical rules as paths in a graph and scoring them via attention, TECHS bridges symbolic logic and neural optimization, enabling logic to be learned through standard backpropagation.
  • Temporal Weighting: The model recognizes that recent history often carries more predictive weight, implementing a time-aware sampling strategy to prioritize impactful past events.

Key Results

Evaluated on five standard benchmarks (ICEWS14, ICEWS18, ICEWS0515, WIKI, and YAGO), TECHS outperformed 14 baseline models. On the ICEWS14 dataset, it achieved a Mean Reciprocal Rank (MRR) of 43.88%, surpassing previous explainable state-of-the-art models like TLogic (43.04%).

The model's practical explainability is demonstrated through its ability to induce complex rules, such as:
makeAppeal(X, Y) ∧ consult(Y, Z) ∧ makeStatement(Z, W) ⇒ appealCooperation(X, W)

Limitations and Future Work

Future developments could focus on fusing the encoder and decoder into a single end-to-end process to improve computational efficiency. Additionally, expanding rule complexity to include numerical constraints (e.g., durations) and enhancing scalability for massive real-time graphs remain key areas for research.

Summary updated

BibTeX
@inproceedings{lin2023techs,
  author = {Qika Lin and Jun Liu and Rui Mao and Fangzhi Xu and Erik Cambria},
  title = {{TECHS: Temporal Logical Graph Networks for Explainable Extrapolation Reasoning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.71},
}
Figure