GrailQA++: A Challenging Zero-Shot Benchmark for Knowledge Base Question Answering

Ritam Dutt, Sopan Khosla, Vinayshekhar Bannihatti Kumar, Rashmi GangadharaiahIJCNLP 2023

TL;DR

This paper introduces GrailQA++, a new benchmark designed to rigorously test the zero-shot generalization capabilities of Knowledge Base Question Answering (KBQA) models. By introducing a more balanced distribution of question complexities, they reveal that current state-of-the-art models, which perform well on simpler questions, struggle significantly with more complex reasoning, highlighting a critical gap in current KBQA research.

What Problem Does This Paper Address?

Knowledge Base Question Answering (KBQA) aims to answer natural language questions by querying structured knowledge bases (KBs). Traditionally, KBQA models have been evaluated under an "i.i.d." (independent and identically distributed) assumption, meaning the types of questions and KB schemas seen during training are the same as those encountered during testing. However, real-world applications require models to generalize to unseen schemas and question types. The GrailQA dataset was a significant step towards evaluating this "zero-shot" generalization. While GrailQA showed promising results for existing models, this paper argues that GrailQA is biased towards simpler, one or two-hop questions. This bias can lead to an overestimation of models' true generalization abilities. The core problem this paper addresses is the need for a more challenging and representative benchmark to accurately assess the zero-shot generalization of KBQA models, particularly their ability to handle complex reasoning.

Methods

The authors introduce GrailQA++, a new benchmark dataset designed to address the limitations of GrailQA. Their key methodological innovation lies in using the concept of graph isomorphisms to categorize and control the complexity of KBQA questions.

  • Graph Isomorphisms for Complexity: They represent KBQA queries as graphs where nodes are entities/literals and edges are relations. Two query graphs are considered isomorphic if they have the same structure, regardless of the specific entities or relations. This allows them to systematically create questions of varying complexity, defined by the number of hops and constraints required to reach the answer.
  • Dataset Creation: GrailQA++ is constructed from two sources:
  • Expert Annotated Instances: Domain experts manually created questions and logical forms for specific isomorphism categories, ensuring a controlled distribution.
  • Pre-existing Datasets: They leverage existing KBQA datasets (WebQSP, CWQ, GraphQ) that use the same underlying knowledge base (Freebase). They filter these datasets to ensure they meet the zero-shot criteria (i.e., contain unseen schema items) and have a balanced distribution of isomorphisms.
  • Filtering and Validation: They apply strict filtering to ensure questions adhere to zero-shot criteria, avoid non-English text, and are executable.

Datasets

  • GrailQA (Dev set): Used as a baseline for comparison and as a source for training data for models evaluated on GrailQA++.
  • GrailQA++: The newly introduced benchmark dataset. It aims for a balanced distribution of simple and complex question structures (isomorphisms), including those not present in the original GrailQA dev set.
  • Pre-existing Datasets: WebQSP, CWQ, and GraphQ were used to augment the GrailQA++ dataset by extracting zero-shot instances.

Key Insights and Ideas

  • Isomorphisms as a Complexity Metric: The paper convincingly demonstrates that graph isomorphisms provide a principled way to quantify and control the complexity of KBQA questions, moving beyond simple hop counts.
  • GrailQA's Bias: The analysis clearly shows that GrailQA is heavily skewed towards simple (one-hop) questions, which can mask the true limitations of KBQA models in handling complex reasoning.
  • SOTA Models Struggle with Complexity: The significant performance drop of state-of-the-art models on GrailQA++ highlights that current KBQA systems are not as generalizable as previously thought, especially when faced with more intricate query structures.
  • Complementary Strengths: The study reveals that different KBQA models exhibit complementary strengths, excelling on specific types of isomorphisms, suggesting that future research might benefit from ensemble or hybrid approaches.
  • Linguistic Factors Matter: The analysis points to linguistic characteristics like coherence and readability as crucial factors influencing zero-shot generalization, indicating that question phrasing significantly impacts model performance.

Key Results

  • Performance Drop: State-of-the-art KBQA models (RNG-KBQA and ArcaneQA) experienced a substantial performance drop on GrailQA++ compared to GrailQA. For instance, RNG-KBQA's F1 score dropped from 86.0 on GrailQA to 38.6 on GrailQA++.
  • Isomorphism Distribution: Simple isomorphisms (Iso-0, 1, 2) constitute over 97% of the GrailQA dev set, while complex ones (like Iso-6, 8, 11) are rare or absent. GrailQA++ aims for a more balanced distribution, with simple and complex isomorphisms representing 50.1% and 49.9% of the dataset, respectively.
  • Model Performance on Isomorphisms: Table 3 shows that models perform very differently across isomorphism types. For example, RNG-KBQA achieves high scores on simple isomorphisms but struggles with complex ones, while ArcaneQA shows more varied performance.
  • Linguistic Correlations: Multivariate regression analysis indicated that complexity, readability, and coherence are negatively correlated with F1 score, while the number of common nouns (#N) is positively correlated, suggesting that more explicit and natural questions are easier for models to answer.

Limitations and Future Work

  • Dataset Creation Focus: The primary limitation acknowledged is that GrailQA++ is designed solely for evaluation, assuming only the GrailQA training split is available. This is to strictly adhere to the zero-shot criteria.
  • Gold Entities: The experiments used gold entities, which simplifies the task by decoupling entity recognition and linking from the core question answering. Models without this advantage would likely perform worse.
  • Controlled Queries: The authors avoided paraphrasing and constructed explicit natural language queries to control complexity. Future work could explore how models handle more varied and naturalistic question phrasing.
  • Future Directions: The authors suggest that their work sheds light on how to design harder benchmarks for evaluating zero-shot generalization. They also highlight the potential of using isomorphisms to understand model mispredictions and complementary strengths, paving the way for more robust KBQA systems.

Summary updated

BibTeX
@inproceedings{dutt2023grailqa,
  author = {Ritam Dutt and Sopan Khosla and Vinayshekhar Bannihatti Kumar and Rashmi Gangadharaiah},
  title = {{GrailQA++: A Challenging Zero-Shot Benchmark for Knowledge Base Question Answering}},
  booktitle = {IJCNLP},
  year = {2023},
  doi = {10.18653/v1/2023.ijcnlp-main.58},
}
Figure