Message Passing for Complex Question Answering over Knowledge Graphs

Svitlana Vakulenko, Javier David Fernandez Garcia, Axel Polleres, Maarten de Rijke, Michael Cochez · DOI

Abstract

Knowledge Graph Question Answering (KGQA) has evolved from simple single-fact retrieval to complex multi-hop reasoning. Traditional methods, such as subgraph matching and rigid SPARQL templates, often struggle with the computational complexity of large graphs and the inherent ambiguity of natural language. We present QAmp, a novel framework that utilizes unsupervised message passing to answer complex questions. By propagating confidence scores through the graph via optimized matrix multiplications, QAmp effectively handles uncertainty and outperforms existing state-of-the-art systems in both accuracy and efficiency.

Introduction

Answering complex questions like "Which companies assemble hardtop cars in Victoria?" requires traversing multiple edges and aggregating information across a Knowledge Graph (KG). Current approaches typically face a trade-off between the computational expense of NP-hard subgraph matching and the brittleness of template-based SPARQL translation. Furthermore, these systems often fail to account for the "uncertainty" present in both the mapping of natural language to graph entities and the inconsistent structure of the KGs themselves.

QAmp addresses these challenges by disentangling the reasoning process from the interpretation process. It treats the KG as a network where evidence can be propagated and aggregated, allowing the system to naturally favor answers supported by multiple pieces of evidence.

Methodology

The QAmp framework operates in two distinct phases: Question Interpretation and Answer Inference.

Question Interpretation

The system first parses the natural language input to identify mentions of entities, relationships (predicates), and classes. Each mention is mapped to potential candidates in the KG, and a confidence score is assigned based on text similarity and word embeddings. This phase effectively translates the linguistic ambiguity into a set of weighted hypotheses.

Decomposition of a complex question into multi-hop components and their corresponding KG mappings.

Answer Inference via Message Passing

Instead of constructing a single formal query, QAmp propagates the confidence scores from the interpretation phase across the graph's edges. This is implemented as a series of sparse matrix multiplications, which are highly efficient on modern hardware.

Key features of this inference engine include:

  • Undirected Reasoning: The authors found that treating the graph as undirected improves performance, as many KGs (like DBpedia) contain inconsistent edge directions.
  • Majority Vote Effect: Potential answers that receive "messages" from multiple parts of the question rise to the top of the rankings, effectively self-correcting for low-confidence noise in the initial interpretation.
  • Score Aggregation: Final scores are normalized and aggregated to rank the most likely entities.
The message passing process, showing activation sums and final aggregated scores for candidate answers.

Experimental Results

QAmp was evaluated using the LC-QuAD benchmark (5,000 complex questions) on the DBpedia knowledge graph. The results demonstrate significant improvements over the previous state-of-the-art system, WDAqua:

  • Accuracy: QAmp achieved a Recall of 0.50, a substantial increase from WDAqua's 0.38. The overall F-measure improved from 0.28 to 0.33.
  • Efficiency: The system is approximately twice as fast as the baseline, with a mean processing time of 0.72 seconds per question compared to 1.50 seconds.
  • Robustness: Error analysis showed that QAmp could identify correct answers that were missing from the benchmark's original ground truth, highlighting its ability to navigate messy, real-world data.

Conclusion and Future Work

QAmp demonstrates that message passing is a powerful and efficient paradigm for KGQA. By leveraging matrix algebra and a "majority vote" scoring mechanism, it overcomes the rigidity of traditional query-building methods. Future research will focus on improving predicate matching—the current "weakest link" in the pipeline—and extending the framework to handle generative or open-ended queries beyond simple entity sets.

Summary updated

BibTeX
@inproceedings{vakulenko2019message,
  author = {Svitlana Vakulenko and Javier David Fernandez Garcia and Axel Polleres and Maarten de Rijke and Michael Cochez},
  title = {{Message Passing for Complex Question Answering over Knowledge Graphs}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2019},
  doi = {10.1145/3357384.3358026},
}
Figure