Less is More: Making Smaller Language Models Competent Subgraph Retrievers for Multi-hop KGQA

Wenyu Huang, Guancheng Zhou, Hongru Wang, Pavlos Vougiouklis, Mirella Lapata, Jeff Z. Pan · DOI

Introduction

Knowledge Graph Question Answering (KGQA) requires systems to navigate complex, multi-hop relationships within large-scale datasets like Freebase to answer sophisticated queries. The current state-of-the-art approach typically follows a "Retrieve-then-Read" pipeline: a retriever identifies a relevant subgraph (a path of relations), and a large language model (LLM) "reader" interprets this subgraph to generate a final answer.

However, existing retrievers, such as the 7B-parameter RoG, often struggle with efficiency and noise. These models typically generate long, verbose strings of relation names, which are computationally expensive and token-inefficient. Furthermore, the "weakly supervised" data used for training often contains "semantic loops"—paths that are technically valid but provide no useful information for answering the question. This paper introduces the Generative Subgraph Retriever (GSR), demonstrating that smaller, specialized models can significantly outperform their larger counterparts by focusing on task efficiency and data quality.

The GSR Framework

The GSR paradigm shifts away from verbose text generation toward a more compact and structured approach. The methodology is built on three primary innovations:

1. Subgraph ID Generation

Instead of treating relation names as standard text, GSR treats each unique relation in the Knowledge Graph as a special token, or Atomic ID. In traditional models, a single complex relation like government.government_position_held.office_holder might consume nearly 20 tokens. By collapsing these into unique IDs, GSR can represent a multi-hop relation chain in just a few tokens. This drastically reduces the complexity of the generation task and allows the model to focus on the structural logic of the KG rather than linguistic syntax.

2. Joint Training with Indexing Data

To ensure that a small model (such as T5-base with 220M parameters) understands the semantic meaning behind these abstract Atomic IDs, the authors employ a joint training strategy. Using GPT-4, they generate synthetic "indexing data"—questions specifically designed to describe every relation in the KG. The model is trained to map these descriptive questions to the corresponding relation IDs, effectively creating an internal "map" or index of the Knowledge Graph's schema before it ever attempts a retrieval task.

3. Data Denoising

The authors identified that raw shortest-path data from KGs is often too noisy for effective training. GSR employs two pruning methods to refine the training set:

  • Directional Filtering: Removing paths that do not move logically from the topic entity toward the answer entity.
  • GPT-4 Selection: An LLM-based filter that evaluates candidate paths and selects only those that are semantically relevant to the question, discarding "junk" paths that connect entities through irrelevant nodes (e.g., shared gender or nationality).

Experimental Results

The GSR model was evaluated on several rigorous benchmarks, including WebQSP (2-hop reasoning), Complex WebQuestions (CWQ) (up to 4-hop reasoning), and MetaQA (domain generalization).

Efficiency and Speed

By utilizing Atomic IDs, GSR achieves remarkable token efficiency. Inference for the GSR-base model is approximately 7.7x faster than the 7B-parameter RoG baseline. The "Less is More" philosophy is validated here: a 220M parameter model, when framed correctly, can navigate KG structures more effectively than models 30 times its size.

Performance Benchmarks

  • Superior Accuracy: GSR-base (220M) achieved a +9.2% F1 improvement over RoG (7B) on the WebQSP dataset.
  • New State-of-the-Art: When the retriever was scaled to 3B parameters and paired with a LLaMA3-8B reader, it set new SOTA records for end-to-end performance on WebQSP (80.1% F1) and CWQ (64.4% F1).
  • Generalization: The model maintained high performance on MetaQA, proving that the indexing and denoising strategies allow the model to generalize across different domains even with limited training samples.

Discussion and Limitations

While GSR represents a significant leap in retrieval efficiency, certain challenges remain. The model occasionally exhibits "constraint blindness," struggling with questions that require specific numerical or attribute filters (e.g., "What country has a GDP change rate of exactly 2.32?"). Additionally, the system currently assumes the "topic entity" is correctly identified; errors in initial entity linking can propagate through the retrieval process. Finally, while GSR leads in subgraph retrieval, it still faces competition from "Semantic Parsing" (SP) methods on the most complex, logic-heavy queries, suggesting that future work may lie in hybridizing these two approaches.

Conclusion

The success of GSR suggests that for specialized tasks like KG retrieval, model size is less important than task framing and data quality. By treating relations as discrete IDs and investing in high-quality denoised training data, small language models can become highly competent, efficient, and scalable retrievers for complex knowledge systems.

Summary updated

BibTeX
@inproceedings{huang2024less,
  author = {Wenyu Huang and Guancheng Zhou and Hongru Wang and Pavlos Vougiouklis and Mirella Lapata and Jeff Z. Pan},
  title = {{Less is More: Making Smaller Language Models Competent Subgraph Retrievers for Multi-hop KGQA}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.927},
}
Figure