Introduction
State-of-the-art machine reading comprehension (MRC) models, particularly those trained on the Stanford Question Answering Dataset (SQuAD), often demonstrate performance rivaling human capabilities. However, this success is frequently superficial. Research indicates these models are remarkably fragile; they often rely on low-level keyword matching and syntactic similarities rather than a deep semantic understanding of the text. This paper addresses this fragility by introducing AddSentDiverse, a robust adversarial training methodology, and augmenting models with explicit semantic features.
The Fragility of Keyword Matching
The core issue in current MRC models is the "Lazy Model" hypothesis: models will exploit any statistical shortcut to minimize loss without performing hard semantic reasoning. In SQuAD, questions often share high syntactic similarity with the sentence containing the correct answer. When an adversarial "distracting" sentence—which looks like the question but contains a fake answer—is appended to the paragraph, model performance typically drops by over 50%.
Previous attempts to mitigate this by training on adversarial data often failed because models simply learned new "meta-rules," such as "the last sentence is always a distractor." The authors aim to break this cycle of superficial learning by forcing models to engage with the actual content.
Methodology: AddSentDiverse and Semantic Features
To improve robustness, the authors propose two primary enhancements:
1. AddSentDiverse
This method evolves the original AddSent algorithm by increasing the entropy of the adversarial examples. It prevents the model from learning positional or lexical shortcuts through two key strategies:
- Random Distractor Placement: Instead of always appending distractors to the end of a paragraph, they are inserted at random positions throughout the text.
- Dynamic Fake Answer Generation: Rather than using a static set of fake answers, the algorithm pulls random, type-matched answers from the entire SQuAD dataset.
2. Semantic Feature Enhancement (BSAE+SA)
To handle semantic nuances like antonyms, the authors augmented a strong base model (BiDAF + Self-Attention + ELMo) with binary indicator features. Using WordNet as a reference, these features explicitly signal to the model whether a word in the context is a synonym or an antonym of a word in the question.
Key Insights: Diversity as the Antidote
The effectiveness of these methods stems from forcing the model to move beyond simple pattern matching. By making distractors unpredictable in both location and content, the model is compelled to compare the actual meaning of the question against the context.
Interestingly, the authors observed a synergy between data and architecture: semantic features (synonym/antonym indicators) only provided a benefit when the model was also trained on adversarial data. In a standard training setup, there are not enough "hard" examples to incentivize the model to utilize these specialized semantic tools.
Results and Analysis
The proposed approach yielded significant improvements in model robustness without sacrificing standard performance:
- Robustness Gains: The model achieved a 36.5% increase in F1 score on adversarial evaluations compared to the baseline.
- Generalization: Unlike models trained on fixed-position distractors, the AddSentDiverse model maintained high performance regardless of where the distractor was placed.
- Stability on Clean Data: The model maintained its high performance (~84.5 F1) on the original SQuAD dev set, avoiding the common trade-off between robustness and standard accuracy.
- Semantic Accuracy: The BSAE+SA model specifically improved performance against antonym-style attacks, reaching 78.91 F1 on the AddSent set.
Conclusion and Future Work
While AddSentDiverse significantly improves robustness, challenges remain. Error analysis shows that models still struggle with complex named-entity replacements and occasionally malformed adversarial sentences created by the generation process. Future work will explore generalizing these insertion-based adversarial methods to other NLP tasks, further pushing models toward true linguistic comprehension.
Summary updated