What do Models Learn from Question Answering Datasets?

Priyanka Sen, Amir SaffariEMNLP 2020

Abstract

While BERT-based models achieve "superhuman" scores on Question Answering (QA) benchmarks, they often rely on simple heuristics—like keyword overlap—rather than true reading comprehension. By subjecting models to "stress tests" such as shuffling context sentences or stripping away the question entirely, this paper demonstrates that current datasets may be teaching models to "cheat" rather than understand language.

Introduction

In recent years, NLP models have surpassed human baselines on popular datasets like SQuAD. However, these models often fail in real-world applications or when faced with slight adversarial changes. This raises a fundamental question: Are these models actually learning to read, or are they just getting really good at exploiting the specific quirks of their training data?

The authors investigate whether models are learning true "reading comprehension" (the ability to understand the logic and structure of a passage) or merely "shortcut learning" (exploiting statistical correlations and annotation artifacts). They tackle this by evaluating model generalizability, robustness to missing/corrupted data, and the ability to handle linguistic variations like negation.

Methodology

The researchers fine-tuned BERT-Base models on five major QA benchmarks. To probe the depth of model understanding, they designed several ablation and robustness experiments:

  • Cross-Dataset Evaluation: Testing generalization across different domains.
  • Random Labeling: Training on increasingly noisy data (where up to 90% of answers are randomized) to see how much signal is actually required for performance.
  • Context Shuffling: Shuffling the sentences within a context paragraph to see if the model relies on the logical flow of the narrative.
  • Incomplete Input: Testing models with partial questions or no question at all.
  • Linguistic Probes: Adding "filler words" (e.g., "really") or negating the question to see if the model's answer changes appropriately.

Dataset Analysis

The study uses five standardized QA benchmarks: SQuAD 2.0, TriviaQA, Natural Questions (NQ), QuAC, and NewsQA. Analysis of these datasets reveals significant differences in difficulty and model agreement.

Distribution of question difficulty across five QA benchmarks, showing the percentage of questions correctly answered by 0 to 5 models.

As shown in the figure above, datasets like SQuAD and TriviaQA contain a high proportion of questions that most models answer correctly, whereas QuAC and NewsQA appear more challenging, with a higher percentage of questions missed by all or most models.

Key Insights: The Overlap Trap and Shortcut Learning

A primary finding is the "Overlap Trap." Models rely heavily on lexical overlap between the question and the context. If a word appears in both the question and a specific sentence in the context, the model is highly likely to pick an answer from that sentence, regardless of the actual meaning.

Average lexical overlap between question and answer sentence increases with the number of models that correctly answer the question, suggesting a reliance on keyword matching.

Further evidence of shortcut learning includes:

  • Logical Flow is Optional: For datasets like SQuAD and QuAC, shuffling the sentences in the context paragraph barely affected performance (retaining over 93% of the baseline F1). This suggests the models aren't "reading" the passage so much as "searching" it for specific entities.
  • Answering Without Questions: Shockingly, a SQuAD model can achieve 65% of its baseline F1 score when given no question at all. It simply learns to identify "answer-like" entities (dates, names, locations) that are common targets in the dataset.
  • Negation Blindness: Most models (except SQuAD) completely ignore negation. If you ask "Who wasn't the leader?", the model returns the same name as if you asked "Who was the leader?"
  • SQuAD's Negation Artifact: While SQuAD models seem to handle negation well, this is an annotation artifact. In the SQuAD training set, ~85% of questions containing "not" or "never" are unanswerable. The model didn't learn the concept of "not"; it just learned that "not" usually means "don't answer."

Results and Discussion

  • Generalization: Performance drops significantly on out-of-domain data. For example, a model trained on TriviaQA loses nearly 80% of its F1 score when tested on NewsQA.
  • Robustness to Noise: SQuAD and NQ models are "suspiciously robust." Even when 90% of the training labels were randomized, the SQuAD model still achieved 41% of its original baseline, suggesting it picks up on very simple, shallow patterns.
  • Sensitivity to Noise: Adding a single word like "really" to a question can drop performance by 2-5 F1 points, showing that models are sensitive to irrelevant linguistic noise.

Conclusion and Recommendations

The study concludes that current QA models often adopt heuristics rather than comprehension. To move forward, the authors recommend that the research community:

  1. Test for generalizability by reporting performance across multiple datasets.
  2. Challenge the models by discarding "easy" questions solvable by simple word overlap.
  3. Use "Cheating" Probes (shuffled contexts, stripped questions) during evaluation to ensure models aren't taking shortcuts.
  4. Standardize Formats to facilitate broader cross-domain testing.

Summary updated

BibTeX
@inproceedings{sen2020what,
  author = {Priyanka Sen and Amir Saffari},
  title = {{What do Models Learn from Question Answering Datasets?}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.190},
}
Figure