Skip to main content
QUICK REVIEW

[Paper Review] ArcaneQA: Dynamic Program Induction and Contextualized Encoding for Knowledge Base Question Answering

裕二 池谷, Yu Su|arXiv (Cornell University)|Apr 17, 2022
Topic ModelingComputer Science20 citations
TL;DR

ArcaneQA is a generation-based KBQA model that uses dynamic program induction to prune the search space and dynamic contextualized encoding to guide schema linking, achieving strong effectiveness and efficiency across multiple KBQA datasets.

ABSTRACT

Question answering on knowledge bases (KBQA) poses a unique challenge for semantic parsing research due to two intertwined challenges: large search space and ambiguities in schema linking. Conventional ranking-based KBQA models, which rely on a candidate enumeration step to reduce the search space, struggle with flexibility in predicting complicated queries and have impractical running time. In this paper, we present ArcaneQA, a novel generation-based model that addresses both the large search space and the schema linking challenges in a unified framework with two mutually boosting ingredients: dynamic program induction for tackling the large search space and dynamic contextualized encoding for schema linking. Experimental results on multiple popular KBQA datasets demonstrate the highly competitive performance of ArcaneQA in both effectiveness and efficiency.

Motivation & Objective

  • Address large search space in KBQA without relying on heavy candidate enumeration.
  • Improve schema linking by dynamically encoding question and admissible KB schema items at each step.
  • Unify meaning representations across KBQA datasets with extended S-expressions.
  • Demonstrate both effectiveness and efficiency gains on GrailQA, GraphQ, and WebQSP datasets.

Proposed method

  • Model KBQA as an encoder-decoder system that incrementally constructs a program via subprograms (dynamic program induction).
  • Ground each subprogram to the KB and use its execution to constrain subsequent choices (admissible action sets).
  • Use BERT-based dynamic contextualized encoding so only admissible tokens are jointly encoded with the question at each step.
  • Ground truth and generation are constrained by explicit grammar rules to ensure well-formed, faithful programs.
  • Represent meaning with S-expressions extended with CONS and TC to support implicit entities and temporal constraints.
  • Train with cross-entropy to predict the next token from a small admissible set; during inference try multiple entity-linking hypotheses.

Experimental results

Research questions

  • RQ1Can dynamic program induction reduce the KB search space while maintaining generation flexibility?
  • RQ2Does dynamic contextualized encoding improve schema linking and generalization, especially under non-i.i.d., compositional, and zero-shot settings?
  • RQ3How does ArcaneQA perform in terms of accuracy and efficiency compared with ranking-based and other generation-based KBQA models?
  • RQ4Is a unified meaning representation with extended operations effective across multiple KBQA datasets?

Key findings

  • ArcaneQA achieves state-of-the-art or competitive results on GraphQ and WebQSP; it substantially improves over a strong generation-based baseline without dynamic encoding.
  • Dynamic program induction reduces the search space and improves faithfulness to the KB, outperforming a vanilla generation approach by a large margin.
  • Dynamic contextualized encoding significantly boosts performance, especially in non-i.i.d. and zero-shot generalization settings, indicating improved schema linking.
  • ArcaneQA is substantially faster in online inference than ranking-based methods, due to on-the-fly pruning of the search space.
  • Compared to RnG-KBQA, ArcaneQA matches or surpasses in several cases and offers better performance on certain program types (e.g., superlatives) due to more flexible generation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.