Skip to main content
QUICK REVIEW

[Paper Review] Improving Machine Reading Comprehension via Adversarial Training

Ziqing Yang, Yiming Cui|arXiv (Cornell University)|Nov 9, 2019
Adversarial Robustness in Machine LearningComputer Science33 references8 citations
TL;DR

This paper proposes adversarial training (AT) and virtual adversarial training (VAT) to improve machine reading comprehension (MRC) models, demonstrating consistent performance gains across span-based and multiple-choice MRC tasks. AT enhances model generalization, especially on examples with rare words, and VAT enables effective semi-supervised learning using cross-task data, though it does not improve robustness against knowledge-injected adversarial examples.

ABSTRACT

Adversarial training (AT) as a regularization method has proved its effectiveness in various tasks, such as image classification and text classification. Though there are successful applications of AT in many tasks of natural language processing (NLP), the mechanism behind it is still unclear. In this paper, we aim to apply AT on machine reading comprehension (MRC) and study its effects from multiple perspectives. We experiment with three different kinds of RC tasks: span-based RC, span-based RC with unanswerable questions and multi-choice RC. The experimental results show that the proposed method can improve the performance significantly and universally on SQuAD1.1, SQuAD2.0 and RACE. With virtual adversarial training (VAT), we explore the possibility of improving the RC models with semi-supervised learning and prove that examples from a different task are also beneficial. We also find that AT helps little in defending against artificial adversarial examples, but AT helps the model to learn better on examples that contain more low-frequency words.

Motivation & Objective

  • To investigate the effectiveness of adversarial training (AT) in improving machine reading comprehension (MRC) models across diverse MRC tasks.
  • To explore the potential of virtual adversarial training (VAT) for semi-supervised learning in MRC, particularly using examples from different tasks.
  • To evaluate whether AT enhances model robustness against artificially constructed adversarial examples, especially those incorporating human knowledge.
  • To analyze how AT influences model performance on examples with varying lexical difficulty, particularly those containing rare words.

Proposed method

  • Adversarial training (AT) is applied by perturbing word embeddings during training to improve model robustness and generalization.
  • Virtual adversarial training (VAT) is used to enable semi-supervised learning by generating adversarial examples from unlabeled data, even across different tasks.
  • BERT-base and BERT-large are used as the base model, fine-tuned with task-specific adaptations for span-based, unanswerable-question-aware, and multiple-choice MRC tasks.
  • The model's performance is evaluated on SQuAD1.1, SQuAD2.0, and RACE datasets, with ablation studies on rare word frequency and adversarial example types.
  • Examples are grouped by lexical difficulty based on the proportion of rare words (top 10,000 least frequent in training), and performance is analyzed per bucket.
  • Artificial adversarial examples are constructed using external knowledge (e.g., WordNet) to test robustness, particularly on unanswerable questions.

Experimental results

Research questions

  • RQ1Does adversarial training consistently improve performance across different types of MRC tasks, including span-based and multiple-choice reading comprehension?
  • RQ2Can virtual adversarial training effectively enable semi-supervised learning in MRC, especially when using data from different tasks?
  • RQ3Does adversarial training improve the robustness of MRC models against artificially generated adversarial examples that incorporate human knowledge?
  • RQ4How does adversarial training affect model performance on examples with varying lexical complexity, particularly those containing more rare words?

Key findings

  • Adversarial training significantly improves performance across all evaluated MRC tasks, with consistent gains on SQuAD1.1, SQuAD2.0, and RACE, demonstrating its generalizability.
  • Virtual adversarial training enables effective semi-supervised learning, allowing models to benefit from unlabeled data, including examples from different tasks, especially improving performance on unanswerable questions.
  • Adversarial training does not improve robustness against knowledge-injected adversarial examples; models trained with AT show only moderate relative improvements on such examples, indicating limited defense capability.
  • Adversarial training provides the largest relative performance gains on examples with the highest lexical difficulty, particularly those with more rare words, with the greatest improvement observed in the most difficult bucket (>0.05 rare word ratio).
  • The relative improvement from AT is more pronounced on unanswerable questions than on answerable ones, suggesting that rare word sensitivity is higher in no-answer detection tasks.
  • The performance gain from AT is most significant on examples with high lexical difficulty, with a relative improvement of up to 2.2% on the most challenging bucket (difficulty >0.05), especially in unanswerable question detection.

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.