Introduction
Knowledge Base Question Answering (KBQA) systems aim to translate natural language questions into executable logical forms like SPARQL. While state-of-the-art supervised models achieve high accuracy, they typically require massive amounts of labeled data, which is often unavailable for specialized or private domains. Presented at ACL 2024, FuSIC-KBQA introduces a hybrid framework that mitigates this "data hunger" by fusing source-trained supervised retrievers with the in-context learning (ICL) capabilities of Large Language Models (LLMs).
The Challenge of Domain Transfer
The primary hurdles in KBQA are twofold:
- Data Scarcity: Supervised models need thousands of (question, logical form) pairs to learn a specific schema.
- Knowledge Gap: While LLMs possess strong reasoning skills, they lack specific knowledge of private or specialized Knowledge Base (KB) schemas.
FuSIC-KBQA addresses these by focusing on few-shot transfer learning, leveraging a large "source" dataset to build a system that can adapt to a "target" domain with as few as 100 labeled examples.
The FuSIC-KBQA Framework
The framework employs a "Retrieve-then-Generate" pipeline consisting of four distinct stages designed to bridge the gap between supervised grounding and LLM reasoning.
- Supervised Retrieval: Multiple off-the-shelf retrievers (e.g., TIARA, Pangu), pre-trained on source data and fine-tuned on limited target examples, extract candidate data paths, relations, and entity types.
- LLM-Based Re-ranking: To filter noise from cross-domain retrieval, an LLM re-ranks these elements, selecting the top-k most relevant schema components for the final prompt.
- In-Context Generation: The re-ranked elements and few-shot examples are fed to an LLM (GPT-4) to generate SPARQL queries. Using SPARQL leverages the LLM's extensive pre-training on web code compared to niche internal languages.
- Execution-Guided Refinement: If a query fails to return results, the system provides verbal feedback to the LLM, allowing for iterative correction.
Experimental Results
The researchers evaluated FuSIC-KBQA across diverse benchmarks, including GrailQA, WebQSP, and the Microsoft Academic Graph (MAKG).
Key Findings
- Superior Transfer Performance: In few-shot settings, FuSIC-KBQA significantly outperformed supervised baselines. For instance, on the WebQSP → GrailQA-Tech task, it achieved a 74.6 F1 score, compared to 51.0 for the best supervised model (Pangu).
- Zero-Shot Capability: Even without target-domain examples, the model remained competitive, often surpassing supervised models fine-tuned on target data.
- The Power of Fusion: By combining multiple retrievers (e.g., TIARA + Pangu), the system achieves higher recall, while the LLM acts as an effective semantic filter for the resulting noise.
- Cross-KB Generalization: On the MAKG dataset, FuSIC-KBQA achieved an F1 of 45.6, vastly outperforming standard supervised retrievers (5.7 F1), demonstrating robust generalization beyond Freebase-style structures.
Conclusion and Future Work
FuSIC-KBQA demonstrates that fusing supervised grounding with LLM reasoning provides a powerful path toward data-efficient KBQA. While highly effective, the framework's reliance on multiple LLM calls introduces higher inference costs and latency. Future research will focus on handling unanswerable questions and scaling to massive enterprise schemas that may exceed current context window limits.
Summary updated