Skip to main content
QUICK REVIEW

[Paper Review] HypoNLI: Exploring the Artificial Patterns of Hypothesis-only Bias in Natural Language Inference

Tianyu Liu, Xin Zheng|arXiv (Cornell University)|Mar 5, 2020
Topic ModelingComputer Science2 references11 citations
TL;DR

This paper introduces HypoNLI, a framework to study and mitigate hypothesis-only bias in natural language inference (NLI), where models rely on artificial patterns in hypotheses rather than premise-hypothesis reasoning. By extracting spurious phrase patterns correlated with labels (e.g., 'video games' → contradiction), the authors create adversarial test sets with hard (opposite to pattern) and easy (consistent with pattern) instances, showing that models like BERT and RoBERTa achieve >95% accuracy on easy sets but <60% on hard sets, revealing strong reliance on superficial cues.

ABSTRACT

Many recent studies have shown that for models trained on datasets for natural language inference (NLI), it is possible to make correct predictions by merely looking at the hypothesis while completely ignoring the premise. In this work, we manage to derive adversarial examples in terms of the hypothesis-only bias and explore eligible ways to mitigate such bias. Specifically, we extract various phrases from the hypotheses (artificial patterns) in the training sets, and show that they have been strong indicators to the specific labels. We then figure out `hard' and `easy' instances from the original test sets whose labels are opposite to or consistent with those indications. We also set up baselines including both pretrained models (BERT, RoBERTa, XLNet) and competitive non-pretrained models (InferSent, DAM, ESIM). Apart from the benchmark and baselines, we also investigate two debiasing approaches which exploit the artificial pattern modeling to mitigate such hypothesis-only bias: down-sampling and adversarial training. We believe those methods can be treated as competitive baselines in NLI debiasing tasks.

Motivation & Objective

  • To investigate the extent to which NLI models rely on artificial patterns in hypotheses rather than premise-hypothesis reasoning.
  • To identify and extract spurious phrase patterns in training data that correlate strongly with specific labels (e.g., 'video games' → contradiction).
  • To construct adversarial test sets—'hard' instances contradicting the artificial pattern and 'easy' instances aligning with it—based on these patterns.
  • To evaluate the performance gap between easy and hard subsets to quantify model dependence on hypothesis-only bias.
  • To assess the effectiveness of debiasing strategies such as down-sampling and adversarial training in reducing reliance on artificial patterns.

Proposed method

  • Extract frequent multi-word and unigram patterns from hypotheses in SNLI and MultiNLI training sets, computing their conditional probability p(label|pattern).
  • Classify test instances into 'easy' (gold label matches pattern indication) and 'hard' (gold label contradicts pattern indication) subsets based on the extracted patterns.
  • Train and evaluate multiple NLI models—including BERT, RoBERTa, XLNet, InferSent, DAM, and ESIM—on both easy and hard subsets to measure performance disparity.
  • Apply two debiasing techniques: down-sampling of biased training instances and adversarial training using perturbed hypotheses to reduce model reliance on artificial patterns.
  • Use pattern-label conditional probabilities to identify the most indicative phrases (e.g., 'Nobody' → 99.7% contradiction in SNLI) and validate their impact on model predictions.
  • Compare model performance on easy vs. hard sets to quantify the degree of hypothesis-only bias, with accuracy drops indicating model vulnerability to such bias.

Experimental results

Research questions

  • RQ1What artificial phrase patterns in hypotheses are strongly correlated with specific NLI labels in SNLI and MultiNLI?
  • RQ2To what extent do state-of-the-art NLI models rely on these artificial patterns rather than premise-hypothesis reasoning?
  • RQ3How do model performance and generalization vary between easy (pattern-consistent) and hard (pattern-contradictory) test instances?
  • RQ4Can down-sampling and adversarial training effectively reduce hypothesis-only bias in NLI models?
  • RQ5How do different model architectures (pretrained vs. non-pretrained) differ in their susceptibility to hypothesis-only bias?

Key findings

  • Artificial patterns such as 'Nobody' and 'video games' in hypotheses show extremely high correlation with specific labels—e.g., 'Nobody' predicts contradiction with 99.7% accuracy in SNLI.
  • Models like InferSent achieve over 95% accuracy on easy instances (pattern-consistent) but drop below 60% on hard instances (pattern-contradictory), indicating strong reliance on artificial cues.
  • Even advanced models like BERT, RoBERTa, and XLNet show significant performance drops on hard sets, suggesting they are vulnerable to hypothesis-only bias despite their complexity.
  • Debiasing methods such as down-sampling and adversarial training reduce the performance gap between easy and hard sets, demonstrating their effectiveness in mitigating artificial pattern reliance.
  • The performance disparity between easy and hard sets serves as a strong indicator of model overfitting to superficial patterns rather than genuine textual entailment reasoning.
  • The study reveals that models trained on standard NLI datasets may be overestimated in their robustness, as they exploit annotation artifacts rather than learning generalizable inference patterns.

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.