AutoQA: From Databases To QA Semantic Parsers With Only Synthetic Training Data

Silei Xu, Sina J. Semnani, Giovanni Campagna, Monica S. Lam
10/9/2020
cs.CL

Official code: stanford-oval/genie-toolkit (202 stars, Apache-2.0, last commit 2023-06-07). 2 more implementations below.

Abstract

We propose AutoQA, a methodology and toolkit to generate semantic parsers that answer questions on databases, with no manual effort. Given a database schema and its data, AutoQA automatically generates a large set of high-quality questions for training that covers different database operations. It uses automatic paraphrasing combined with template-based parsing to find alternative expressions of an attribute in different parts of speech. It also uses a novel filtered auto-paraphraser to generate correct paraphrases of entire sentences. We apply AutoQA to the Schema2QA dataset and obtain an average logical form accuracy of 62.9% when tested on natural questions, which is only 6.4% lower than a model trained with expert natural language annotations and paraphrase data collected from crowdworkers. To demonstrate the generality of AutoQA, we also apply it to the Overnight dataset. AutoQA achieves 69.8% answer accuracy, 16.4% higher than the state-of-the-art zero-shot models and only 5.2% lower than the same model trained with human data.

View on arXivView PDF

Code Implementations(3)

Apache-2.0

The Genie open source kit for voice assistant (formerly known as Almond)

20235HTML, ShellFeb 4, 20193 years agoApache-2.0
hacktoberfestnatural-languagenlpsemantic-parsersvoice-assistant

GenieNLP: A versatile codebase for any NLP task

9024Shell, PythonJan 29, 20202 years agoNOASSERTION
deep-learningdialoguenatural-language-processingnlpparaphrasing+4 more

Schema2QA Question Answering Dataset

193SCSS, MakefileDec 7, 20204 years agoNOASSERTION
datasetnatural-language-processingnlpsemantic-parsingvoice-assistant

Similar Papers

Cite this paper

@article{xu2020autoqa,
  title  = {AutoQA: From Databases To QA Semantic Parsers With Only Synthetic Training Data},
  author = {Silei Xu and Sina J. Semnani and Giovanni Campagna and Monica S. Lam},
  year   = {2020},
  eprint = {2010.04806},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.04806}
}

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/2010.04806.svg)](https://codeofpaper.com/paper/2010.04806)

Discussion