DecAF: Joint Decoding of Answers and Logical Forms for Question Answering over Knowledge Bases

Donghan Yu, Sheng Zhang, Patrick Ng, Henghui Zhu, Alexander Hanbo Li +5 more
9/30/2022
cs.CLcs.AIcs.LG

Official code: awslabs/decode-answer-logical-form (32 stars, Python, last commit 2023-04-14).

Abstract

Question answering over knowledge bases (KBs) aims to answer natural language questions with factual information such as entities and relations in KBs. Previous methods either generate logical forms that can be executed over KBs to obtain final answers or predict answers directly.

Show full abstract

Empirical results show that the former often produces more accurate answers, but it suffers from non-execution issues due to potential syntactic and semantic errors in the generated logical forms. In this work, we propose a novel framework DecAF that jointly generates both logical forms and direct answers, and then combines the merits of them to get the final answers. Moreover, different from most of the previous methods, DecAF is based on simple free-text retrieval without relying on any entity linking tools -- this simplification eases its adaptation to different datasets. DecAF achieves new state-of-the-art accuracy on WebQSP, FreebaseQA, and GrailQA benchmarks, while getting competitive results on the ComplexWebQuestions benchmark.

View on arXivView PDF

Code Implementations(1)

324Python, ShellApr 14, 20233 years agoNOASSERTION

Similar Papers

Cite this paper

@article{yu2022decaf,
  title  = {DecAF: Joint Decoding of Answers and Logical Forms for Question Answering over Knowledge Bases},
  author = {Donghan Yu and Sheng Zhang and Patrick Ng and Henghui Zhu and Alexander Hanbo Li and Jun Wang and Yiqun Hu and William Wang and Zhiguo Wang and Bing Xiang},
  year   = {2022},
  eprint = {2210.00063},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.00063}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.00063.svg)](https://codeofpaper.com/paper/2210.00063)

Discussion