Abstract
Knowledge Graph Question Answering (KGQA) faces a significant challenge in large-scale settings: retrieved subgraphs often contain excessive noise that overwhelms answer extraction models. We present a "partition-then-rank" framework designed to mitigate this "needle in a haystack" problem. Our approach partitions large Knowledge Subgraphs (KSGs) into smaller candidates and employs a novel Graph-augmented Learning to Rank (G-G-E) model. By integrating global structural features via Gated Graph Neural Networks with local semantic matching, G-G-E effectively identifies the most relevant subgraphs. Evaluation on WebQSP and CWQ benchmarks shows that our framework improves ranking accuracy and enhances downstream answer selection performance.
Introduction
In Knowledge Graph Question Answering (KGQA), systems aim to resolve natural language queries by traversing a structured database of facts. A common paradigm is "retrieve-then-extract," where a Knowledge Subgraph (KSG) is first retrieved based on entities mentioned in the question, followed by a pinpointing of the exact answer node. However, as Knowledge Graphs scale, these retrieved subgraphs become increasingly large and noisy, often containing thousands of irrelevant nodes. This "information overload" significantly degrades the performance of answer selection models.
The Partition-then-Rank Framework
To address the limitations of processing massive, noisy subgraphs, we propose a two-stage refinement process.
Knowledge Subgraph Partitioning
Instead of processing the entire KSG as a single entity, we implement a partitioning algorithm based on single-source shortest paths. Starting from the "topic entity" (the primary subject of the question), the algorithm groups nodes into several moderately sized "sub-KSGs." This strategy ensures that semantically related facts remain clustered while isolating irrelevant branches of the graph.
The G-G-E Ranking Model
The core of our framework is the G-G-E (Graph-augmented Learning to Rank) model, which evaluates the relevance of each partitioned sub-KSG. G-G-E utilizes a hybrid architecture to capture both structural and semantic signals:
- Global Interaction (G-G): This module uses Gated Graph Sequence Neural Networks (GGNNs) to encode the structural topology of both the question (represented via dependency parsing) and the subgraph. This allows the model to understand the high-level connectivity patterns required to answer the query.
- Local Interaction (EBiMPM): The Enhanced Bilateral Multi-Perspective Matching component focuses on fine-grained textual alignment. Using BiLSTMs and attention mechanisms, it matches the natural language tokens in the question with the labels of entities and relations within the graph.
Experimental Evaluation
We evaluated our approach on two prominent multi-hop KGQA datasets: WebQuestionsSP (WebQSP), which typically involves 1-2 reasoning hops, and ComplexWebQuestions (CWQ), which requires more intricate multi-hop reasoning.
Results and Discussion
The G-G-E model consistently outperformed several strong baselines, including BERT-based rankers and standard text-matching models like BiMPM.
As shown in the results table, G-G-E achieved a Mean Reciprocal Rank (MRR) of 0.754 on the CWQ dataset, significantly higher than the 0.680 achieved by BiMPM. Crucially, the model excels at identifying "confusing" subgraphs—those that share keywords with the question but lead to incorrect entities—by leveraging structural context.
Furthermore, reducing the search space through partitioning had a positive impact on downstream performance. When the top-ranked subgraphs were used for final answer extraction, Hits scores improved by 2.6% on WebQSP and 2.8% on CWQ compared to using unpartitioned graphs. The resulting subgraphs were also significantly more efficient to process, often being only 20% of the original size for CWQ queries.
Conclusion
This work demonstrates that graph structure is a vital signal for ranking in large-scale KGQA. By partitioning the search space and applying a hybrid global-local ranking model, we can effectively filter noise and improve the accuracy of answer retrieval. Future work will focus on improving the model's handling of indirect semantic mappings and refining hop-count estimation in complex queries.
Summary updated