Abstract
Multi-hop Knowledge Base Question Answering (KBQA) requires navigating massive graphs to find answers. Existing approaches either use inaccurate heuristics for subgraph retrieval or intertwine retrieval with reasoning, leading to "reasoning bias." This paper introduces a decoupled, trainable Subgraph Retriever (SR) that identifies a high-quality, compact subgraph before the reasoning stage. By separating these processes, the model allows for more complex reasoning over complete evidence. Evaluated on WebQSP and CWQ benchmarks, SR achieves new state-of-the-art performance and demonstrates significant gains in efficiency and answer coverage.
Introduction
Knowledge Bases (KBs) like Freebase contain millions of entities and relations, making exhaustive reasoning computationally prohibitive. Most KBQA systems mitigate this by retrieving a smaller subgraph. However, heuristic methods (e.g., Personalized PageRank) often produce subgraphs that are either too noisy or miss the answer. Conversely, step-by-step "intertwined" methods force models to reason on partial information, introducing bias.
This work proposes a standalone Subgraph Retriever (SR) designed to find the "just right" subgraph. By decoupling retrieval, the system avoids reasoning bias and can be integrated with various downstream reasoning engines.
The Subgraph Retriever (SR) Framework
The SR module is a plug-and-play component that uses a dual-encoder architecture to navigate the KB.
Dual-Encoder and Path Expansion
SR employs RoBERTa to encode the question and candidate relations. Starting from "topic entities" identified in the question, the model predicts the next relation to follow. A virtual "END" relation is included, allowing the model to learn when to stop path expansion dynamically. As the retriever moves along a path, it maintains context by concatenating the original question with previously selected relations.
Subgraph Induction
Once paths are identified, they are instantiated into trees and merged into a unified subgraph. This merging process utilizes multiple topic entities as mutual constraints, effectively filtering out irrelevant branches. For example, to find a "Canadian Turing Award winner," the model identifies entities that satisfy both the "citizen of Canada" and "Turing Award winner" paths.
Training Strategies
Since ground-truth subgraphs are rarely available, the authors employ three distinct training phases:
- Weakly Supervised Pre-training: Uses the shortest paths between question entities and known answers as proxy labels.
- Unsupervised Pre-training: Leverages external relation extraction datasets (e.g., NYT) to teach the model relation-following capabilities independently of QA pairs.
- End-to-End Fine-tuning: Uses a Bayesian approximation to backpropagate feedback from the reasoner's performance to the retriever, optimizing the paths that lead to correct answers.
Experimental Results
The model was evaluated on WebQSP and CWQ (Complex WebQuestions). CWQ is particularly challenging, requiring up to 4-hop reasoning.
- State-of-the-Art Performance: Combined with the NSM (Teacher) reasoner, SR achieved 50.2% Hits@1 on CWQ, outperforming previous embedding-based models.
- Efficiency and Coverage: SR produces significantly smaller subgraphs than traditional heuristic methods while maintaining higher answer coverage. On CWQ, it reached ~80% coverage with a fraction of the nodes required by PageRank-based methods.
- Versatility: SR improved the performance of multiple reasoning engines, including NSM and GRAFT-Net, confirming its utility as a general-purpose retrieval module.
Conclusion
The Subgraph Retriever (SR) effectively addresses the limitations of heuristic and intertwined retrieval methods in KBQA. By decoupling retrieval from reasoning and employing multi-stage training, SR provides high-quality subgraphs that enhance both accuracy and efficiency. Future work may focus on integrating entity linking directly into the retrieval process and handling more complex numerical or temporal reasoning.
Summary updated