Skip to main content
QUICK REVIEW

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

Silei Xu, Giovanni Campagna|arXiv (Cornell University)|Jan 16, 2020
Topic ModelingComputer Science41 references9 citations
TL;DR

Schema2QA is an open-source toolkit that enables developers to build high-accuracy, low-cost question-answering agents for structured web data using only a database schema and minimal field annotations. By synthesizing thousands of compound questions from generic templates and fine-tuning a BERT-LSTM model on synthetic and paraphrased data, it achieves 64–75% accuracy on crowdsourced questions across five Schema.org domains, outperforming commercial assistants on complex, long-tail queries.

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.

Motivation & Objective

  • To reduce the high cost of annotated training data for question-answering agents by minimizing manual labeling.
  • To enable developers to build accurate Q&A agents for any website using a standardized schema without real user data.
  • To demonstrate that neural models can generalize across domains using synthetic data and transfer learning.
  • To create an open, extensible pipeline for building voice-enabled, schema-based virtual assistants.
  • To achieve performance comparable to commercial assistants on complex, long-tail questions without proprietary data.

Proposed method

  • The system uses a set of generic natural language templates to synthesize a large corpus of compound questions from database schemas.
  • Each database field is annotated with its type and a few representative phrases to guide question generation.
  • A BERT-LSTM neural model is fine-tuned on a combination of synthesized questions and a small set of human paraphrases.
  • The model maps natural language questions to executable ThingTalk queries, enabling complex, multi-predicate reasoning.
  • The NL-schema Builder tool maps Schema.org schemas to the Schema2QA format for seamless integration.
  • Transfer learning is applied from the restaurant domain to the hotel domain with no additional manual annotations.

Experimental results

Research questions

  • RQ1Can a neural model achieve high accuracy in question answering using only synthetic data and minimal schema annotations?
  • RQ2Can generic question templates effectively cover the space of compound queries needed for real-world Q&A?
  • RQ3To what extent can transfer learning reduce the need for manual data collection in new domains?
  • RQ4How does performance on complex, long-tail questions compare to commercial virtual assistants?
  • RQ5Can the separation of generic and domain-specific components reduce the annotation burden while maintaining high accuracy?

Key findings

  • Schema2QA achieves 64–75% accuracy on crowdsourced questions across five Schema.org domains (restaurants, people, movies, books, music).
  • On complex, long-tail questions, Schema2QA outperforms Alexa by 18%, Google Assistant by 18%, and Siri by 18%.
  • On common restaurant questions, Schema2QA matches Google Assistant’s accuracy and is within 7% of Siri’s performance.
  • Query accuracy on the restaurant domain reaches 69.7% when questions are constrained to known properties, dropping to 59.8% on open-ended questions.
  • Error analysis shows that better named entity recognition and additional generic templates could improve accuracy from 70% to ~90%.
  • Transfer learning from restaurant to hotel domain yields 64% accuracy with zero manual data collection.

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.