Introduction
Knowledge Base Question Answering (KBQA) is a critical task in natural language processing, requiring models to navigate complex graphs of entities and relations to answer user queries. Multi-hop questions, which necessitate multiple reasoning steps (e.g., "Who directed the movie starring the actor born in Hawaii?"), present a significant challenge. While Information Retrieval (IR)-based methods have made strides in entity localization, they often treat relations as static vectors. This paper argues that relations are dynamic and context-dependent; for instance, the relation Contained_by carries different semantic weight when connecting a river to a country versus a book to a series.
Methodology: Dual-Graph Reasoning
The authors propose RAH-KBQA, a framework that moves beyond static representations by constructing a dual relation graph alongside the standard primal entity graph. In the dual graph, nodes represent relations, and edges connect relations that share common entities in the primal graph, capturing "co-relation" patterns.
The reasoning process follows an iterative loop:
- Question Encoding: Generating hop-specific instructions using SentenceBERT and attention mechanisms.
- Primal Reasoning: Standard graph reasoning to predict the next entity in the path.
- Dual Propagation: Updating relation representations via a Graph Attention Network (GAT) on the dual graph, allowing relations to "talk" to their neighbors.
- Dual-Primal Interaction: Bridging the two graphs using the TransE assumption ($Entity_{head} + Relation \approx Entity_{tail}$), allowing entity and relation embeddings to mutually refine each other based on the actual data path.
Experimental Results
The model was evaluated on two benchmarks: WebQuestionsSP (WebQSP), featuring 1-2 hop questions, and Complex WebQuestions (CWQ), which involves up to 4 hops and multiple constraints.
RAH-KBQA achieved state-of-the-art results among IR-based methods. On WebQSP, it reached 77.2% Hits@1 and 72.6% F1-score. On the more challenging CWQ dataset, it achieved 54.4% Hits@1 and 49.3% F1-score, representing a significant improvement in F1-score over previous leading models like NSM. These results underscore the effectiveness of dynamic, relation-aware reasoning in handling complex, multi-constraint queries.
Conclusion
By explicitly modeling the semantic connections between relations and allowing their representations to evolve based on the entities they connect, RAH-KBQA sets a new standard for IR-based KBQA. While the model currently relies on pre-retrieved subgraphs, future work will explore the integration of large-scale pre-trained Knowledge Graph embeddings to further enrich the structural context available to the dual-primal reasoning framework.
Summary updated