Schema2QA: High-Quality and Low-Cost Q&A Agents for the Structured Web

Silei Xu, Giovanni Campagna, Jian Li, Monica S. Lam
1/16/2020
cs.CL

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

Abstract

Building a question-answering agent currently requires large annotated datasets, which are prohibitively expensive. This paper proposes Schema2QA, an open-source toolkit that can generate a Q&A system from a database schema augmented with a few annotations for each field. The key concept is to cover the space of possible compound queries on the database with a large number of in-domain questions synthesized with the help of a corpus of generic query templates. The synthesized data and a small paraphrase set are used to train a novel neural network based on the BERT pretrained model. We use Schema2QA to generate Q&A systems for five Schema.org domains, restaurants, people, movies, books and music, and obtain an overall accuracy between 64% and 75% on crowdsourced questions for these domains. Once annotations and paraphrases are obtained for a Schema.org schema, no additional manual effort is needed to create a Q&A agent for any website that uses the same schema. Furthermore, we demonstrate that learning can be transferred from the restaurant to the hotel domain, obtaining a 64% accuracy on crowdsourced questions with no manual effort. Schema2QA achieves an accuracy of 60% on popular restaurant questions that can be answered using Schema.org. Its performance is comparable to Google Assistant, 7% lower than Siri, and 15% higher than Alexa. It outperforms all these assistants by at least 18% on more complex, long-tail questions.

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{xu2020schemaqa,
  title  = {Schema2QA: High-Quality and Low-Cost Q&A Agents for the Structured Web},
  author = {Silei Xu and Giovanni Campagna and Jian Li and Monica S. Lam},
  year   = {2020},
  eprint = {2001.05609},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.05609}
}

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

Discussion