Annotation Artifacts in Natural Language Inference Data

Suchin Gururangan, Swabha Swayamdipta, Omer Levy, Roy Schwartz, Samuel R. Bowman, Noah A. Smith

Introduction

Natural Language Inference (NLI) is a fundamental task in natural language processing where a model determines if a "premise" sentence entails, contradicts, or is neutral toward a "hypothesis" sentence. To facilitate deep learning research, massive datasets like SNLI and MultiNLI have been created through crowdsourcing. However, this paper identifies a critical flaw: crowd workers, in their effort to generate hypotheses quickly, leave behind unintended patterns or "annotation artifacts."

These statistical leaks allow models to "game" benchmarks. By exploiting these shortcuts, a simple classifier can achieve high accuracy by looking at the hypothesis alone, completely ignoring the premise. This suggests that current progress in semantic reasoning may be significantly overestimated.

Methodology

The researchers employed a three-pronged approach to expose these artifacts:

  1. Hypothesis-Only Classification: They trained a simple fastText classifier (a bag-of-words/n-gram model) to predict NLI labels using only the hypothesis. Performance significantly above the 33% random baseline indicates leaked information.
  2. Statistical Analysis: Using Pointwise Mutual Information (PMI), they identified specific words highly correlated with each label and analyzed sentence length distributions across classes.
  3. Data Partitioning: The test sets were divided into "Easy" (correctly predicted by the hypothesis-only model) and "Hard" (incorrectly predicted) subsets to evaluate how much state-of-the-art models rely on these artifacts.

Datasets

The study focuses on the two most influential NLI benchmarks:

  • SNLI (Stanford Natural Language Inference): 570k pairs based on image captions.
  • MultiNLI (Multi-Genre NLI): 433k pairs drawn from various genres including speech, fiction, and government reports.

Analysis of Artifacts

The authors found that crowd workers often adopt mental heuristics to be efficient:

  • Entailment: Often generated by replacing specific words with broader hypernyms (e.g., "dog" becomes "animal") or removing modifiers.
  • Neutral: Hypotheses frequently include "purpose clauses" (e.g., "to help provide for her family") or extra details not present in the premise.
  • Contradiction: Often signaled by explicit negations like "no," "not," or "never," or by describing people "sleeping" to contradict an active premise.
  • Length as a Signal: In SNLI, neutral hypotheses tend to be the longest, while entailed hypotheses are the shortest, providing a shallow feature for classification.

Key Results

The hypothesis-only classifier demonstrated the severity of the leak, achieving 67% accuracy on SNLI and 53% on MultiNLI, far exceeding the majority class baselines.

Hypothesis-only classification accuracy compared to majority class baselines.

Specific words serve as massive "tells" for certain labels. For instance, in SNLI, the word "outdoors" is highly correlated with entailment, while in MultiNLI, "never" is a strong indicator of contradiction.

Lexical giveaways: words highly correlated with specific NLI labels in SNLI and MultiNLI.

When state-of-the-art models were tested on the "Hard" subset, their performance plummeted. For example, the Densely Interactive Inference Network (DIIN) dropped from 86.5% on the full SNLI dataset to 72.7% on the Hard subset, suggesting these models rely heavily on shallow artifacts rather than true reasoning.

Conclusion and Future Work

This study serves as a vital reality check for the NLP community. To mitigate these issues, the authors suggest changing crowd worker prompts to discourage repetitive heuristics, using adversarial filtering during data collection, and ensuring that common "tells" like negation are balanced across all classes. High leaderboard scores do not necessarily equate to true linguistic understanding.

Summary updated

BibTeX
@inproceedings{gururangan2018annotation,
  author = {Suchin Gururangan and Swabha Swayamdipta and Omer Levy and Roy Schwartz and Samuel R. Bowman and Noah A. Smith},
  title = {{Annotation Artifacts in Natural Language Inference Data}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/n18-2017},
}
Figure