Introduction
Knowledge Graph Question Answering (KGQA) involves finding answers to natural language questions by traversing structured databases. For complex, multi-hop questions—such as "What did James K. Polk do before he was president?"—models must identify specific paths through the graph. While current state-of-the-art methods rely on Large Language Models (LLMs) like LLaMA (7B+ parameters) to predict these paths, this approach is often inefficient due to bloated text generation and noisy training data containing irrelevant relations.
The Generative Subgraph Retriever (GSR)
This paper introduces the Generative Subgraph Retriever (GSR), which adopts a "Less is More" philosophy to improve efficiency and performance across three dimensions: model size, output length, and data quality.
1. Less Parameters (Model Efficiency)
Instead of multi-billion parameter LLMs, GSR utilizes much smaller T5 models (ranging from 220M to 3B parameters). Despite the smaller size, these models are highly effective when specialized for the retrieval task. The 220M GSR model achieved better retrieval performance than the 7B RoG baseline while being 7.7x faster during inference.
2. Less Target Tokens (Subgraph IDs)
Traditional models generate long strings for relation names (e.g., government.government_position_held.office_holder). GSR maps each unique relation to a single special "Subgraph ID" token. This reduces a 35-token path to just 2 tokens, accelerating inference significantly and allowing the model to focus purely on the structural logic of the graph.
3. Less Training Samples (Data Denoising)
Raw KGQA training data often contains "noise"—logical loops or irrelevant relations. GSR employs directional filtering and LLM distillation (using GPT-4) to prune these paths, ensuring the model learns only the most helpful reasoning trajectories.
Two-Stage Pipeline
The GSR architecture follows a two-stage Retrieval-Augmented Generation (RAG) pipeline. First, the GSR retrieves the relevant subgraph by generating relation chains via beam search. Second, a separate LLM "Reader" (a fine-tuned LLaMA model) processes the textualized subgraph to generate the final answer.
Evaluation and Results
The models were evaluated on standard multi-hop KGQA benchmarks: WebQSP (2-hop), CWQ (up to 4-hop), and MetaQA (domain generalization).
Key Findings
- State-of-the-Art Performance: GSR-3B, paired with a LLaMA-3 reader, achieved new SOTA results on WebQSP (80.1 F1) and CWQ (64.4 F1).
- Scaling: Even the smallest 220M version outperformed the 7B baseline by +9.2% F1 on WebQSP, proving that specialized small models can beat general-purpose large ones for specific structural tasks.
- Importance of Indexing: Teaching the model to map descriptions to relation IDs (indexing) acts as critical domain-specific pre-training, enhancing robustness in low-data scenarios.
- Paths > Triples: Representing the retrieved subgraph as a reasoning path (a sequence of entities and relations) performed better than providing a bag of individual triples for the final LLM Reader.
Limitations and Future Work
While GSR excels at path retrieval, it still faces challenges with numerical constraints (e.g., "GDP over 2%"). Training data often focuses on shortest paths, which may bypass these specific attributes. Future work aims to incorporate complex constraint reasoning directly into the generative retrieval process. Additionally, the current framework assumes the starting "topic entity" is known, necessitating an integrated entity-linking step for end-to-end real-world applications.
Summary updated