Skip to main content
QUICK REVIEW

[Paper Review] TempoQR: Temporal Question Reasoning over Knowledge Graphs

Costas Mavromatis, Prasanna Lakkur Subramanyam|arXiv (Cornell University)|Dec 10, 2021
Topic ModelingComputer Science8 citations
TL;DR

TempoQR is a novel embedding-based framework for complex temporal question answering over Temporal Knowledge Graphs (TKGs), leveraging context, entity, and time-aware representations through specialized modules and a transformer encoder. It achieves 25–45 percentage point gains over state-of-the-art methods on complex temporal questions, with superior generalization to unseen question types.

ABSTRACT

Knowledge Graph Question Answering (KGQA) involves retrieving facts from a Knowledge Graph (KG) using natural language queries. A KG is a curated set of facts consisting of entities linked by relations. Certain facts include also temporal information forming a Temporal KG (TKG). Although many natural questions involve explicit or implicit time constraints, question answering (QA) over TKGs has been a relatively unexplored area. Existing solutions are mainly designed for simple temporal questions that can be answered directly by a single TKG fact. This paper puts forth a comprehensive embedding-based framework for answering complex questions over TKGs. Our method termed temporal question reasoning (TempoQR) exploits TKG embeddings to ground the question to the specific entities and time scope it refers to. It does so by augmenting the question embeddings with context, entity and time-aware information by employing three specialized modules. The first computes a textual representation of a given question, the second combines it with the entity embeddings for entities involved in the question, and the third generates question-specific time embeddings. Finally, a transformer-based encoder learns to fuse the generated temporal information with the question representation, which is used for answer predictions. Extensive experiments show that TempoQR improves accuracy by 25--45 percentage points on complex temporal questions over state-of-the-art approaches and it generalizes better to unseen question types.

Motivation & Objective

  • To address the gap in answering complex temporal questions over Temporal Knowledge Graphs (TKGs), which require reasoning across multiple facts with time constraints.
  • To improve generalization beyond simple questions that can be answered by single TKG facts, especially for unseen question types.
  • To develop a unified framework that grounds questions to specific entities and time scopes using both hard and soft supervision.
  • To enhance question representation by integrating textual, entity, and temporal information via dedicated modules and a transformer-based fusion layer.
  • To evaluate robustness under TKG corruption and assess performance on unseen temporal question patterns.

Proposed method

  • Uses a pre-trained language model to generate an initial textual representation of the input question.
  • Integrates entity embeddings from the KG with the question representation to ground it to relevant entities, such as 'Best Picture' or 'The Godfather'.
  • Generates time-aware embeddings via two complementary approaches: (1) retrieving relevant TKG facts based on question-annotated entities, and (2) solving a link prediction task to infer temporal constraints without direct TKG access.
  • Employs a transformer-based encoder to fuse context, entity, and time-aware representations into a unified question representation for answer prediction.
  • Supports both hard supervision (using actual TKG timestamps) and soft supervision (inferred via link prediction), enabling robustness and generalization.
  • Applies a multi-head attention mechanism to dynamically weigh the relevance of different temporal facts and entity relations during reasoning.

Experimental results

Research questions

  • RQ1How can a question answering system effectively reason over multiple temporal facts in a TKG to answer complex temporal questions?
  • RQ2To what extent can learned temporal representations generalize to unseen question types not seen during training?
  • RQ3What is the relative impact of hard versus soft supervision in learning time-aware question representations for TKGs?
  • RQ4How robust are different methods to corruption in the underlying TKG during inference?
  • RQ5Can a unified embedding framework outperform existing methods on both simple and complex temporal QA benchmarks?

Key findings

  • TempoQR achieves a 25–45 percentage point improvement in Hits@1 over state-of-the-art methods on complex temporal questions, with Hits@1 reaching 0.918 on the hard-supervision setting.
  • TempoQR-Soft generalizes significantly better than TempoQR-Hard to unseen question types, outperforming all baselines in zero-shot evaluation on unseen complex question types.
  • Hard supervision yields a 27% absolute improvement over soft supervision for 'first/last' questions, indicating its effectiveness when precise timestamps are available.
  • TempoQR-Hard is highly sensitive to TKG corruption, especially under high corruption rates (p=0.8), where performance degrades significantly, while CronKGQA remains more robust.
  • The performance drop for TempoQR-Hard is most severe on 'first/last' questions under corrupted TKGs, suggesting limitations in generalization when ground-truth timestamps are unreliable.
  • For 'time join' questions, TempoQR-Soft underperforms TempoQR-Hard by 8%, indicating potential for improvement in soft-supervised temporal embedding inference.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.