Abstract
Multi-hop Knowledge Base Question Answering (KBQA) faces significant challenges due to knowledge graph (KG) incompleteness and the neglect of path-based semantic information. We present PKEEQA (Path and Knowledge Embedding-Enhanced Question Answering), a framework that integrates explicit relational paths with KG embeddings during inference. PKEEQA utilizes a customizable path representation aligned with underlying KG embedding models and an ambipolar correlation mechanism to score candidate answers. Evaluated on the MetaQA benchmark, PKEEQA demonstrates superior performance, particularly in sparse graph settings, while offering human-readable explanations for its reasoning.
Introduction
Knowledge Base Question Answering systems often struggle with "multi-hop" questions—queries that require traversing multiple links in a graph to find an answer (e.g., "Who acted in films written by John Travis?"). The challenge is twofold: real-world KGs are frequently incomplete, and existing methods often use Knowledge Graph Embeddings (KGEs) that focus on individual triples while ignoring the rich semantic information hidden in the paths between entities.
PKEEQA aims to bridge this gap by creating a model that uses path information to "fill in" the holes of an incomplete KG without requiring extra text or expensive retraining. By explicitly searching for and scoring paths, the model can show the user exactly why it chose a specific answer, providing a chain of reasoning such as John Travis -> Written_by -> [Movie] -> Starred_actors -> [Actor].
Methods
PKEEQA is a pluggable module designed to work during the inference phase, sitting on top of pre-trained embeddings to refine answer selection. Its architecture consists of several key components:
- Customizable Path Representation: Instead of using complex LSTMs, the authors developed a simplified mechanism tailored to the specific math of the underlying KGE model (e.g., Additive for TransE, Multiplicative for ComplEx). This mathematical alignment ensures path representations are consistent with the base embedding space.
- Ambipolar Correlation: This scoring mechanism evaluates how well a specific path in the KG matches the intent of the question. Using a
tanhactivation function, the model produces positive scores for matching paths and negative scores for mismatching ones, effectively filtering out distractor entities. - Pluggable Inference: The model refines the answer selection by looking at the shortest relation paths between the topic entity and candidate answers, requiring no retraining of the base KGE model.
Results and Evaluation
The model was evaluated using the MetaQA benchmark, which contains 1-hop, 2-hop, and 3-hop questions. To simulate real-world data sparsity, the authors tested on both KG-Full (complete graph) and KG-Half (50% of triples removed).
As shown in the results table below, PKEEQA consistently outperformed state-of-the-art baselines like EmbedKGQA and PullNet, particularly on complex 3-hop questions and sparse graphs. On MetaQA 3-hop (Full KG), PKEEQA achieved 95.1% accuracy. In the more difficult KG-Half setting, it maintained a significant lead with 70.7% accuracy.
Ablation studies confirmed that removing path information leads to a noticeable drop in performance, proving that path semantics are essential for robust multi-hop reasoning.
Conclusion
PKEEQA provides a powerful and explainable approach to multi-hop KBQA by aligning path semantics with KG embeddings. While the inference process currently faces some computational overhead, the model's ability to provide reasoning chains and handle incomplete data marks a significant advancement. Future work will explore more complex graph structures and further refine path representations to improve efficiency and explainability.
Summary updated