Abstract
Answering complex natural language questions over Knowledge Bases (KBs) often requires multi-hop reasoning. While Graph Convolutional Networks (GCNs) are commonly used, they are limited by their pairwise edge formulation and often fail to fully exploit the semantic depth of relations. This paper introduces HGCQA, a framework that utilizes hypergraphs to model high-order data correlations. By treating relations as hyperedges and incorporating a query-aware co-attention mechanism, HGCQA achieves state-of-the-art results on multi-hop reasoning benchmarks.
Introduction
Multi-hop Knowledge Base Question Answering (KBQA) involves traversing multiple relational paths to identify the correct answer. Traditional approaches leveraging GCNs face two primary challenges. First, standard graphs use pairwise edges, which cannot naturally represent complex relations involving more than two entities (e.g., a single "directed_by" relation linking a film to multiple directors). Second, existing models often underutilize the semantic information within relations, relying on simple similarity metrics that fail to capture the nuances of the query.
The HGCQA Framework
The proposed HGCQA architecture addresses these limitations through a hypergraph-based approach that focuses on structural complexity and semantic alignment.
Hypergraph Construction and Convolution
Unlike standard graphs, HGCQA constructs a hypergraph where entities are nodes and relations are hyperedges. A hyperedge can encompass multiple nodes, effectively encoding high-level connections. This structure is represented by an incidence matrix $H$. The model employs $n$-layer Hypergraph Convolutional Networks (HGCNs). In each layer, node features are transformed into hyperedge features and then aggregated back into nodes, allowing information to flow across complex relational structures.
Query-aware Relation Weighting
To prioritize query-relevant information, HGCQA incorporates a co-attention mechanism. The question is encoded using a bi-LSTM, and the model learns the correlation between the query and the relations. This produces a weight for each relation, dynamically reshaping the importance of the hypergraph's structure based on the specific question. The final answer selection is made by combining HGCN outputs with query-aware candidate representations.
Experimental Evaluation
The model was evaluated on the PQL dataset, featuring two-hop (PQL-2H) and three-hop (PQL-3H) questions over a Knowledge Base containing 5,035 entities and 364 relations.
Results
HGCQA outperformed several strong baselines, including GraftNet and SGReader. On PQL-2H, HGCQA achieved an accuracy of 0.742, a 1.7% improvement over the IRN baseline. On PQL-3H, it reached 0.914, surpassing GraftNet.
An ablation study highlighted the importance of the relation weighting mechanism. Removing this feature led to a drop in accuracy of 1.3% on PQL-2H and 2.0% on PQL-3H, confirming that semantic guidance is critical for effective multi-hop reasoning.
Discussion and Future Work
The shift from 1:1 node connections to 1:N hyperedge connections allows HGCQA to represent high-order correlations naturally. By integrating co-attention weights directly into the convolution operation, the model effectively aligns linguistic nuances with structured data.
However, certain limitations remain. The scalability of hypergraph construction to massive real-world KBs like Wikidata needs further investigation. Additionally, the model's performance depends on the quality of the initial "Sub Hypergraph Retrieval" phase. Future work may explore applying HGCNs to even more complex reasoning tasks where standard GCNs typically suffer from over-smoothing.
Summary updated