Reliable Evaluations for Natural Language Inference based on a Unified Cross-dataset Benchmark

Guanhua Zhang, Bing Bai, Jian Liang, Kun Bai, Conghui Zhu, Tiejun ZhaoarXiv 2020

Introduction

This research exposes a major "mirage" in Natural Language Inference (NLI): models that appear to achieve near-human performance are often just exploiting superficial biases in crowd-sourced datasets. To address this, the authors introduce a unified benchmark of 14 diverse datasets to measure true generalization. Their findings reveal that even state-of-the-art models, such as BERT, struggle significantly when forced to move beyond their training "comfort zone."

The Problem: Annotation Artifacts

Natural Language Inference (NLI) is the task of determining if a "premise" sentence logically entails, contradicts, or is neutral toward a "hypothesis" sentence. While state-of-the-art models boast accuracies over 90% on standard benchmarks like SNLI, researchers have discovered a "cheating" problem known as annotation artifacts.

When crowd-sourced workers write hypotheses, they fall into predictable patterns. For instance, they frequently use negation words like "no" or "never" to create contradictions. Models are clever enough to pick up on these "superficial clues" without actually understanding the semantic relationship between the sentences. Consequently, a model might perform brilliantly on its original test set but fail miserably in the real world. The authors argue that current evaluation settings are untrustworthy and stall genuine progress in NLI.

Methods and Datasets

The authors propose a Unified Cross-dataset Benchmark. The core idea is to train a model on one large dataset (SNLI) and evaluate it on 14 other NLI datasets created using different protocols. This benchmark makes it nearly impossible for a model to succeed by relying on the specific biases of a single training set.

Figure 1: The 14 datasets used in the unified benchmark, categorized by their creation protocol.

They evaluated three types of models:

  1. Sentence Vector-based: Models like LSTM and InferSent that encode sentences into fixed vectors.
  2. Interaction-based: Models like ESIM and DecompAtt that compare the premise and hypothesis at the word/context level.
  3. Pretrained Models: Specifically BERT-base, fine-tuned on SNLI.

Additionally, they tested five debiasing methods (such as ADV and DRiFt) designed to prevent models from latching onto artifacts.

Key Results: The "Mirage" is Real

The quantitative results highlight a massive performance gap between in-domain (SNLI) and cross-dataset testing. For most neural models, accuracy drops by 30% to 38% when moving to the unified benchmark.

Figure 2: Performance comparison between in-domain (SNLI) and the cross-dataset benchmark. The Δ column indicates the significant performance drop across all neural models.

Key Insights

  • BERT is the King of Generalization (for now): BERT was the only model to achieve over 60% average accuracy on the benchmark, suggesting that large-scale pretraining helps capture more "true" patterns of language, though it still suffers a significant drop from its 90%+ SNLI score.
  • Simple Baselines are Surprisingly Robust: A simple Random Forest (RF) model using 19 handcrafted features (like BLEU scores) actually outperformed several complex neural models (like LSTM and InferSent) on the cross-dataset benchmark. This suggests that many neural architectures focus too much on dataset-specific patterns rather than generalizable logic.
  • Interaction Matters: Interaction-based models generalized slightly better than sentence-vector models.
  • Debiasing is a Trade-off: Methods designed to remove artifacts (like DRiFt, which provided a +6.7% relative improvement in cross-dataset testing) successfully improved generalization but caused a drop in SNLI scores. This confirms that high scores on SNLI are indeed partially inflated by the very biases these methods aim to remove.

Limitations and Future Work

The authors acknowledge that cross-dataset generalization remains a significant challenge. Even with BERT, a 62.2% average accuracy is far from satisfactory for real-world applications. They suggest several future directions, including developing more robust architectures that focus on semantic relationships, improving explicit debiasing methods, and utilizing multi-task or meta-learning strategies to help models generalize from biased data.

In short, the paper serves as a wake-up call: to build NLI models that truly understand language, we must stop grading them on their ability to memorize the quirks of their creators.

Summary updated

BibTeX
@misc{zhang2020reliable,
  author = {Guanhua Zhang and Bing Bai and Jian Liang and Kun Bai and Conghui Zhu and Tiejun Zhao},
  title = {{Reliable Evaluations for Natural Language Inference based on a Unified Cross-dataset Benchmark}},
  year = {2020},
  eprint = {2010.07676},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.07676},
}
Figure