Skip to main content
QUICK REVIEW

[Paper Review] Improving Question Answering Model Robustness with Synthetic Adversarial Data Generation

Max Bartolo, Tristan Thrush|arXiv (Cornell University)|Apr 18, 2021
Topic ModelingComputer Science40 references67 citations
TL;DR

This paper proposes a synthetic adversarial data generation pipeline to improve question answering model robustness without relying on costly human-annotated adversarial examples. By leveraging large language models for question generation and self-training for answer re-labelling, the method amplifies a small human-annotated adversarial dataset into a larger, high-quality synthetic set, reducing human-fooling rates from 17.6% to 8.8% and improving F1 by 3.7 on AdversarialQA.

ABSTRACT

Despite recent progress, state-of-the-art question answering models remain vulnerable to a variety of adversarial attacks. While dynamic adversarial data collection, in which a human annotator tries to write examples that fool a model-in-the-loop, can improve model robustness, this process is expensive which limits the scale of the collected data. In this work, we are the first to use synthetic adversarial data generation to make question answering models more robust to human adversaries. We develop a data generation pipeline that selects source passages, identifies candidate answers, generates questions, then finally filters or re-labels them to improve quality. Using this approach, we amplify a smaller human-written adversarial dataset to a much larger set of synthetic question-answer pairs. By incorporating our synthetic data, we improve the state-of-the-art on the AdversarialQA dataset by 3.7F1 and improve model generalisation on nine of the twelve MRQA datasets. We further conduct a novel human-in-the-loop evaluation to show that our models are considerably more robust to new human-written adversarial examples: crowdworkers can fool our model only 8.8% of the time on average, compared to 17.6% for a model trained without synthetic data.

Motivation & Objective

  • To address the high cost and limited scale of human-annotated adversarial data for question answering.
  • To improve model robustness against human-crafted adversarial examples without additional annotation effort.
  • To develop a scalable, synthetic data generation pipeline that enhances model generalization across diverse QA benchmarks.
  • To introduce a novel human-in-the-loop evaluation using validated model error rate (vMER) to measure robustness.
  • To demonstrate that synthetic data can effectively substitute for or amplify human-annotated adversarial data in training.

Proposed method

  • Uses Wikipedia passages as source material for synthetic data generation.
  • Employs a pre-trained language model (RoBERTa) to identify high-confidence answer candidates from passages.
  • Generates questions using a fine-tuned BARTLarge model conditioned on passage and answer.
  • Applies self-training with multiple random seeds to improve answer agreement and re-label low-confidence predictions.
  • Filters synthetic examples based on answer agreement across models and confidence thresholds.
  • Combines the pipeline into a full synthetic data generation system that amplifies existing adversarial datasets.

Experimental results

Research questions

  • RQ1Can synthetic adversarial data generation effectively improve model robustness against human adversaries?
  • RQ2How does synthetic data compare to human-annotated adversarial data in terms of model fooling rates?
  • RQ3To what extent can synthetic data improve generalization across diverse QA benchmarks?
  • RQ4Can self-training with model disagreement improve the quality of synthetic question-answer pairs?
  • RQ5Does the proposed pipeline reduce the need for expensive human-annotated adversarial examples?

Key findings

  • The synthetic data generation pipeline reduced the human-fooling rate from 17.6% to 8.8% in a human-in-the-loop evaluation, demonstrating significant robustness gains.
  • The method improved the state-of-the-art F1 score on the AdversarialQA dataset by 3.7 points.
  • The model trained with synthetic data achieved better generalization, improving performance on nine out of twelve MRQA datasets.
  • Answer agreement across models with different random seeds was a more effective filtering signal than influence functions, leading to higher-quality synthetic data.
  • The synthetic data pipeline successfully amplified a small human-annotated adversarial dataset into a larger, high-quality training set without additional annotation.
  • The proposed validated model error rate (vMER) metric proved effective for evaluating model robustness against human adversaries.

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.