Joint Multi-Facts Reasoning Network for Complex Temporal Question Answering Over Knowledge Graph

Rikui Huang, Wei Wei, Xiaoye Qu, Wenfeng Xie, Xianling Mao, Dangyang Chen

Introduction

Traditional Knowledge Graphs (KGs) represent facts as static triples, such as (Subject, Relation, Object). However, real-world information is often time-bound. Temporal Knowledge Graphs (TKGs) address this by adding a time dimension, enabling the representation of facts like (Donald Trump, hold position, President) with a specific validity period. Despite this advancement, answering complex questions that span multiple temporal facts remains a significant challenge for automated systems.

The Challenge of Multi-Fact Reasoning

Temporal Knowledge Graph Question Answering (TKGQA) systems often struggle when a question requires "stitching together" disparate temporal threads. For example, a question like "Who resigned as Secretary of State after Edward Livingston while Andrew Jackson was president?" requires the system to simultaneously reason about Livingston’s tenure and Jackson’s presidency.

Example of a complex temporal question requiring multi-fact reasoning.

Most existing models assume a single temporal fact or entity, failing to capture the relational and temporal connectivity needed for these complex queries. Previous methods often failed because they could not effectively join these disparate temporal threads.

The JMFRN Architecture

To overcome these limitations, researchers developed the Joint Multi-Facts Reasoning Network (JMFRN). This model moves away from the single-fact assumption by employing a dual-attention mechanism and an auxiliary classification task.

Architecture of the Joint Multi-Facts Reasoning Network (JMFRN).

The JMFRN architecture consists of four primary stages:

  1. Fact Retrieval: Identifying entities in the question and retrieving all related temporal facts from the TKG.
  2. Question Encoding: Utilizing BERT for text representation and projecting entities and timestamps into a shared embedding space using TComplEx, a specialized embedding method for temporal KGs.
  3. Joint Reasoning via Dual Attention:
  4. Entity-aware Attention Module (EAM): Determines which entities in the question are most relevant to the answer.
  5. Time-aware Attention Module (TAM): Aggregates temporal information from the retrieved facts to understand the specific time window the question refers to.
  6. Answer Type Discrimination (ATD): An auxiliary task where the model predicts whether the answer should be an entity or a timestamp. This "sanity check" helps filter out irrelevant candidates and stabilizes the training process.

Experimental Results

JMFRN was evaluated on the TimeQuestions benchmark, a widely recognized and challenging dataset for TKGQA containing over 16,000 questions. The model achieved a state-of-the-art 0.628 Hits@1, significantly outperforming previous models like EXAQT (0.572) and TempoQR (0.459).

Notably, JMFRN excels in the most difficult categories:

  • Implicit Questions: Reasoning over non-explicit time references.
  • Ordinal Questions: Handling sequences (e.g., "first", "after"), where it achieved 0.553 Hits@1 compared to the previous best of 0.420.

Key Insights

  • Temporal Connectivity: In standard KGQA, models follow "hops" between entities. In TKGQA, facts are often connected by time. JMFRN’s dual attention allows it to "hop" across time intervals rather than just relational links.
  • Auxiliary Task Benefits: The Answer Type Discrimination (ATD) task proved to be more than just a minor addition; it significantly accelerated model convergence and made training more stable.
  • Robustness to Complexity: Unlike previous models whose performance degrades as the number of entities in a question increases, JMFRN remains robust, showing a clear advantage when questions involve three or more grounded entities.

Conclusion

JMFRN represents a significant step forward in TKGQA by effectively handling multi-fact reasoning. By moving beyond the single-fact assumption and integrating specialized attention modules, the model provides a robust framework for navigating the complex temporal dimensions of modern knowledge graphs.

Summary updated

BibTeX
@inproceedings{huang2024joint,
  author = {Rikui Huang and Wei Wei and Xiaoye Qu and Wenfeng Xie and Xianling Mao and Dangyang Chen},
  title = {{Joint Multi-Facts Reasoning Network for Complex Temporal Question Answering Over Knowledge Graph}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10447439},
}
Figure