Introduction
Natural Language Inference (NLI) is a fundamental task in NLP where a model determines the logical relationship—entailment, contradiction, or neutrality—between a premise and a hypothesis. While state-of-the-art models achieve high accuracy on benchmarks like the Stanford Natural Language Inference (SNLI) dataset, there is growing concern that these models rely on statistical shortcuts rather than true semantic reasoning. This study adopts a behavioral science approach to evaluate model robustness by observing responses to controlled "word-swap" transformations, uncovering systemic vulnerabilities hidden by standard accuracy metrics.
Methodology
The researchers introduced a transformation $T$ that swaps specific word pairs (antonyms, hypernyms, or hyponyms) between the premise and the hypothesis. These transformations were tested under two conditions:
- In Situ: The word pair is swapped within its original, complex sentence context from the SNLI dataset.
- Ex Situ: The word pair is placed into a simplified, identical sentence structure for both premise and hypothesis to isolate the effect of the word pair from surrounding linguistic noise.
Three representative architectures were evaluated: a Conditional Encoder (BiLSTM baseline), the Decomposable Attention Model (DAM) (alignment-focused), and the Enhanced Sequential Information Model (ESIM) (complex local inference modeling).
Factors Influencing Model Failure
The study identifies three primary factors that lead to "abnormal behaviors" in NLI models:
1. Insensitivity
Models frequently exhibit a form of "change blindness," predicting the same label even after a transformation fundamentally alters the ground truth. For instance, changing a sentence from a contradiction to a neutral relationship often fails to trigger a change in the model's output, suggesting a lack of sensitivity to semantically vital tokens.
2. Word-Pair Polarity (Shortcut Bias)
Models often learn strong, spurious associations between specific word pairs and labels during training. If a pair like (sunset, sunrise) appears predominantly in "contradiction" examples in the training set, the model develops a "polarity" bias, predicting contradiction whenever those words appear, regardless of the actual sentence logic.
3. Unseen Word Pairs and Asymmetric Learning
While models handle unseen hypernyms relatively well (likely due to pre-trained embeddings), they struggle significantly with unseen antonyms. This suggests that models fail to learn the inherent symmetry of certain semantic relationships, such as antonymy, and instead rely on memorizing specific instances seen during training.
Experimental Results
The evaluation reveals that while models perform well on the "whole sample," their performance collapses on targeted subsets designed to test robustness.
As shown in the results table, when transformations changed the gold label (Subset 1), the ESIM model's accuracy dropped from approximately 88% to as low as 31.5% on certain hypernym tasks ($I_{TH}$). Similarly, on instances containing word pairs not seen in that specific order during training (Subset 2), the DAM model's performance fell to 50%, which is essentially random guessing for a three-class task. Statistical analysis confirmed a highly significant correlation between word-pair polarity and incorrect predictions, proving that models default to these shortcuts when faced with distribution shifts.
Conclusion
This research demonstrates that high benchmark accuracy can be deceptive. Current NLI models are heavily influenced by word-pair polarity and are often insensitive to semantic changes that alter ground truth. Future work must focus on developing training objectives that penalize reliance on spurious statistical patterns and creating more diverse datasets that force models to engage in genuine compositional reasoning rather than pattern matching.
Summary updated