Skip to main content
QUICK REVIEW

[Paper Review] Synthetic QA Corpora Generation with Roundtrip Consistency

Chris Alberti, Daniel Andor|arXiv (Cornell University)|Jun 12, 2019
Topic ModelingComputer Science15 references12 citations
TL;DR

This paper proposes a method to generate high-quality synthetic question-answering corpora using roundtrip consistency filtering, where questions are generated from contexts and answers are extracted from the same context, with only pairs where the original and predicted answers match being retained. The approach achieves state-of-the-art results on NQ and near-human performance on SQuAD2 by pretraining BERT-based models on the synthetic data.

ABSTRACT

We introduce a novel method of generating synthetic question answering corpora by combining models of question generation and answer extraction, and by filtering the results to ensure roundtrip consistency. By pretraining on the resulting corpora we obtain significant improvements on SQuAD2 and NQ, establishing a new state-of-the-art on the latter. Our synthetic data generation models, for both question generation and answer extraction, can be fully reproduced by finetuning a publicly available BERT model on the extractive subsets of SQuAD2 and NQ. We also describe a more powerful variant that does full sequence-to-sequence pretraining for question generation, obtaining exact match and F1 at less than 0.1% and 0.4% from human performance on SQuAD2.

Motivation & Objective

  • To develop a method for generating large-scale, high-quality synthetic question-answering datasets from unlabeled text.
  • To improve question answering models by pretraining on synthetic data generated through a consistency filtering mechanism.
  • To reduce reliance on expensive human-annotated QA datasets by leveraging self-supervised data generation.
  • To investigate whether synthetic data with roundtrip consistency can outperform traditional pretraining on downstream QA benchmarks.

Proposed method

  • The method generates synthetic QA triples by first extracting an answer A from a context C using a pre-trained answer extraction model p(a|c;θA).
  • A question Q is then generated from C and A using a question generation model p(q|c,a;θQ).
  • An answer A′ is predicted from C and Q using a question-answering model p(a|c,q;θA′).
  • Only triples where A and A′ match are retained as valid synthetic training examples, ensuring roundtrip consistency.
  • The synthetic data is used to pretrain a QA model, which is then fine-tuned on human-annotated datasets like SQuAD2 and NQ.
  • Two variants are explored: one using fine-tuned BERT for all components, and another with full sequence-to-sequence pretraining for question generation.

Experimental results

Research questions

  • RQ1Can synthetic question-answer pairs generated via roundtrip consistency filtering improve downstream QA performance?
  • RQ2How does roundtrip consistency filtering compare to unfiltered synthetic data in terms of model performance?
  • RQ3To what extent can synthetic data from one QA dataset (e.g., SQuAD2) improve performance on another (e.g., NQ)?
  • RQ4How close can synthetic data generation bring model performance to human-level performance on SQuAD2?
  • RQ5Does full sequence-to-sequence pretraining for question generation yield better results than fine-tuning BERT for question generation?

Key findings

  • Pretraining on synthetic data filtered via roundtrip consistency improved performance on both SQuAD2 and NQ, with a significant relative reduction in headroom to human performance on NQ.
  • On the NQ short answer task, the model achieved a relative reduction of 50% in headroom to human performance and 10% to human ensemble performance.
  • The full pretraining approach with ensembling achieved an exact match and F1 within 0.1% and 0.4% of human performance on SQuAD2, respectively.
  • Roundtrip filtering consistently improved model performance, with 39% of filtered examples being correct compared to only 16% of discarded ones in manual inspection.
  • Pretraining on the union of synthetic SQuAD2 and NQ data significantly improved performance on SQuAD2 but did not improve results on NQ.
  • The synthetic data generation pipeline is fully reproducible by fine-tuning publicly available BERT models on extractive subsets of SQuAD2 and NQ.

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.