Skip to main content
QUICK REVIEW

[Paper Review] Unlearn Dataset Bias in Natural Language Inference by Fitting the Residual

He He, Sheng Zha|arXiv (Cornell University)|Aug 28, 2019
Topic ModelingComputer Science46 references18 citations
TL;DR

This paper proposes DRiFt, a debiasing method for natural language inference that unlearns dataset bias by training a model to fit the residual of a biased model, focusing on hard examples where biased features fail. The approach improves performance on challenge datasets while maintaining strong performance on standard benchmarks, demonstrating robustness to distribution shift caused by spurious cues like negation words.

ABSTRACT

Statistical natural language inference (NLI) models are susceptible to learning dataset bias: superficial cues that happen to associate with the label on a particular dataset, but are not useful in general, e.g., negation words indicate contradiction. As exposed by several recent challenge datasets, these models perform poorly when such association is absent, e.g., predicting that "I love dogs" contradicts "I don't love cats". Our goal is to design learning algorithms that guard against known dataset bias. We formalize the concept of dataset bias under the framework of distribution shift and present a simple debiasing algorithm based on residual fitting, which we call DRiFt. We first learn a biased model that only uses features that are known to relate to dataset bias. Then, we train a debiased model that fits to the residual of the biased model, focusing on examples that cannot be predicted well by biased features only. We use DRiFt to train three high-performing NLI models on two benchmark datasets, SNLI and MNLI. Our debiased models achieve significant gains over baseline models on two challenge test sets, while maintaining reasonable performance on the original test sets.

Motivation & Objective

  • To address the brittleness of NLI models caused by dataset bias, such as over-reliance on superficial cues like negation words.
  • To formalize dataset bias as a label shift problem under distribution shift, where biased features lose predictive power at test time.
  • To develop a debiasing method that preserves useful semantic information while reducing reliance on spurious correlations.
  • To improve model generalization on out-of-distribution and challenge test sets without degrading performance on standard benchmarks.

Proposed method

  • Train a biased model using only superficial features (e.g., lexical overlap, negation words) that correlate with labels on the training data.
  • Compute the residual loss between the biased model’s predictions and the true labels for each example.
  • Train a debiased model by minimizing the negative gradient of the biased model’s loss, focusing on examples with high residual loss (i.e., hard examples).
  • Use the debiased model for inference, effectively unlearning the bias while preserving semantic understanding.
  • Apply the method to three SOTA NLI models (e.g., BERT, CBOW, DA) on SNLI and MNLI datasets.
  • Leverage prior knowledge about dataset bias (e.g., negation word associations) to guide the residual fitting process.

Experimental results

Research questions

  • RQ1Can a model be trained to unlearn dataset bias by focusing on examples where biased features fail?
  • RQ2Does residual fitting improve generalization on out-of-distribution and challenge test sets?
  • RQ3Can debiasing be achieved without removing potentially useful semantic features from the representation?
  • RQ4How does the method perform across different model architectures and NLI benchmarks?

Key findings

  • DRiFt significantly improves performance on two challenge datasets—RTE and MultiNLI-Adv—while maintaining competitive accuracy on standard test sets.
  • The debiased models show substantial gains on the MultiNLI-Adv test set, indicating improved robustness to distribution shift.
  • Models debiased with DRiFt-CBOW show minimal degradation on in-distribution data, suggesting effective preservation of useful semantic information.
  • BERT-based models show little degradation on in-distribution examples, indicating that high-capacity models benefit from residual fitting without losing performance.
  • The method outperforms baseline models trained via maximum likelihood estimation on challenge sets, demonstrating its effectiveness in mitigating dataset bias.

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.