Abstract
Knowledge Base Question Answering (KBQA) has evolved from simple fact retrieval to addressing complex queries involving multi-hop reasoning, logical constraints, and numerical operations. This survey provides a comprehensive roadmap of this transition, categorizing the field into Semantic Parsing (SP) and Information Retrieval (IR) paradigms. We explore the integration of Pre-trained Language Models (PLMs) and Neural Symbolic Reasoning (NSR) as current drivers of state-of-the-art performance.
Introduction
Knowledge Bases (KBs) such as Wikidata and Freebase organize vast amounts of information into (subject, relation, object) triples. While systems excel at "simple" questions (e.g., "Who wrote The Hobbit?"), complex questions remain a significant challenge. These queries require navigating massive, often incomplete KBs where the reasoning path is not explicitly stated.
Defining Complex KBQA
A complex question is characterized by several reasoning requirements that go beyond direct triple matching:
- Multi-hop reasoning: Linking multiple facts across the KB (e.g., "Who is the wife of the producer of The Jeff Probst Show?").
- Constraints: Filtering results based on types or temporal data (e.g., "...born before 1990").
- Numerical operations: Tasks involving counting or superlative ranking (e.g., "Which actor has won the most Oscars?").
Methodologies
The survey identifies two primary paradigms for solving complex KBQA, each with distinct procedural logic.
Semantic Parsing-based (SP-based) Methods
SP-based methods follow a "parse-then-execute" pipeline. They translate natural language into formal logic queries, such as SPARQL. Modern innovations include the use of query graphs to represent search spaces flexibly and leveraging PLMs to generate these graphs even under weak supervision (where only the final answer is known, not the path).
Information Retrieval-based (IR-based) Methods
IR-based methods utilize a "retrieve-and-rank" approach. They extract a question-specific subgraph from the KB and employ neural networks—often Graph Neural Networks (GNNs) or attention mechanisms—to score nodes and edges, identifying the most probable answer directly from the graph structure.
Neural Symbolic Reasoning (NSR)
An emerging third paradigm, NSR, combines the linguistic understanding of neural networks with the rigorous execution of symbolic systems, aiming to balance the efficiency of deep learning with the logical precision of database queries.
Datasets and Benchmarks
Key benchmarks drive progress in the field by testing different aspects of complexity:
- WebQuestionsSP: Focused on Freebase with semantic parses.
- ComplexWebQuestions: Specifically designed for multi-step reasoning.
- GrailQA: Tests generalization to relations not seen during training.
- KQA Pro: A large-scale dataset (117k+ questions) covering diverse reasoning types like comparison and counting.
- MetaQA: A standard for testing multi-hop reasoning (up to 3 hops).
Key Insights
- The Weak Supervision Bottleneck: Most datasets provide only (Question, Answer) pairs. This makes training difficult as models must "guess" the correct reasoning path among millions of possibilities.
- PLMs as Engines: Models like BERT and T5 have revolutionized KBQA, serving as translators for SP and filters for IR. They can also act as "implicit KBs," filling gaps where structured data is missing.
- Interpretability vs. Robustness: SP methods offer high interpretability through formal logic but are fragile if the parser fails. IR methods are robust to noise but often function as "black boxes."
Future Directions
Frontier challenges include improving robustness against out-of-distribution questions, developing conversational KBQA systems that maintain context across turns, and creating evolutionary systems that learn from real-time user feedback. Achieving true zero-shot generalization remains the ultimate goal for navigating the vastness of modern knowledge bases.
Summary updated