Skip to main content
QUICK REVIEW

[Paper Review] Behavior Analysis of NLI Models: Uncovering the Influence of Three Factors on Robustness

Vicente Iván Sánchez Carmona, Jeff Mitchell|arXiv (Cornell University)|May 11, 2018
Topic ModelingComputer Science24 references6 citations
TL;DR

This paper investigates the robustness of three pre-trained NLI models—conditional encoder, DAM, and ESIM—by analyzing their behavior under controlled input transformations. It identifies insensitivity to label changes, reliance on word-polarity bias, and difficulty generalizing to unseen antonym pairs as key factors undermining robustness, with models performing poorly on antonymic pairs despite strong performance on hypernyms.

ABSTRACT

Natural Language Inference is a challenging task that has received substantial attention, and state-of-the-art models now achieve impressive test set performance in the form of accuracy scores. Here, we go beyond this single evaluation metric to examine robustness to semantically-valid alterations to the input data. We identify three factors - insensitivity, polarity and unseen pairs - and compare their impact on three SNLI models under a variety of conditions. Our results demonstrate a number of strengths and weaknesses in the models' ability to generalise to new in-domain instances. In particular, while strong performance is possible on unseen hypernyms, unseen antonyms are more challenging for all the models. More generally, the models suffer from an insensitivity to certain small but semantically significant alterations, and are also often influenced by simple statistical correlations between words and training labels. Overall, we show that evaluations of NLI models can benefit from studying the influence of factors intrinsic to the models or found in the dataset used.

Motivation & Objective

  • To assess the robustness of state-of-the-art NLI models beyond standard accuracy metrics.
  • To investigate how intrinsic model behaviors and dataset-level factors affect generalization to new in-domain instances.
  • To identify and evaluate three key factors—insensitivity, polarity bias, and unseen word pairs—that influence model predictions.
  • To determine whether these factors are consistent across different NLI architectures and data transformations.
  • To provide a behavioral analysis framework for evaluating NLP models using controlled input perturbations.

Proposed method

  • The authors apply a controlled transformation to SNLI data by swapping word pairs between premise and hypothesis to generate new instances.
  • They evaluate model performance on transformed data, comparing predictions to original gold labels and analyzing deviations.
  • Statistical hypothesis testing (chi-squared tests) is used to assess the influence of three factors: insensitivity (label change), polarity (word pair bias), and unseen word pairs.
  • The analysis distinguishes between in-situ, ex-situ, and transformed data conditions to isolate the impact of structural and semantic changes.
  • Models are evaluated on subsets with varying degrees of semantic similarity and label consistency to measure robustness.
  • The study draws on behavioral science methodologies to analyze model behavior systematically without requiring internal model inspection.

Experimental results

Research questions

  • RQ1How robust are NLI models to semantically valid input alterations that change the gold label?
  • RQ2To what extent do models rely on word-polarity correlations when making predictions?
  • RQ3Can models generalize to unseen word pairs, particularly under hypernymic versus antonymic relations?
  • RQ4Are the identified factors—insensitivity, polarity, and unseen pairs—systematically influencing model behavior across different architectures?
  • RQ5What interactions between structural and semantic transformations contribute to model performance degradation?

Key findings

  • All three models—CE, DAM, and ESIM—show significant performance drops when the gold label changes due to input transformation, with ESIM and CE falling below chance level on the most altered instances.
  • The models exhibit strong insensitivity to label changes, predicting the original label in ~93% of transformed instances where the gold label was altered, supported by high chi-squared values (e.g., ESIM: χ²=252.27).
  • A strong correlation exists between model predictions and word-pair polarity, with all models showing statistically significant dependence (e.g., DAM: χ²=312.67 on E_H sample), indicating reliance on this statistical bias.
  • Models generalize well to unseen hypernymic pairs, suggesting effective use of pre-trained word embeddings for hierarchical relations, but fail on unseen antonymic pairs, indicating inability to learn symmetric semantic relations.
  • The ESIM model shows anomalous performance on the full transformed sample (E_TH), which cannot be explained by individual factors alone, suggesting complex interactions between structural changes and transformations.
  • The DAM model shows improved performance on transformed instances compared to original, indicating a different behavioral pattern, possibly due to architectural differences in attention and encoding mechanisms.

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.