Neural Natural Language Inference Models Partially Embed Theories of Lexical Entailment and Negation
Atticus Geiger, Kyle Richardson, Christopher Potts
TL;DR
The work probes whether neural NLI models capture the monotonic interactions between lexical entailment and negation by introducing the MoNLI dataset and applying both behavioral and structural evaluations. Behavioral results show models trained on general NLI data struggle with negation-involved examples, but MoNLI-focused fine-tuning improves generalization; systematically, models demonstrate the ability to generalize to unseen substitutions under negation. Structural analyses using probes and interchange interventions provide evidence that a top model (BERT) partially mirrors the causal dynamics of the monotonicity algorithm, indicating algorithmic-level encoding of lexical entailment and negation in parts of the network. The study advocates a holistic evaluation approach to understand when and how neural models internalize compositional semantics, with implications for interpretability and robust reasoning in NLP.
Abstract
We address whether neural models for Natural Language Inference (NLI) can learn the compositional interactions between lexical entailment and negation, using four methods: the behavioral evaluation methods of (1) challenge test sets and (2) systematic generalization tasks, and the structural evaluation methods of (3) probes and (4) interventions. To facilitate this holistic evaluation, we present Monotonicity NLI (MoNLI), a new naturalistic dataset focused on lexical entailment and negation. In our behavioral evaluations, we find that models trained on general-purpose NLI datasets fail systematically on MoNLI examples containing negation, but that MoNLI fine-tuning addresses this failure. In our structural evaluations, we look for evidence that our top-performing BERT-based model has learned to implement the monotonicity algorithm behind MoNLI. Probes yield evidence consistent with this conclusion, and our intervention experiments bolster this, showing that the causal dynamics of the model mirror the causal dynamics of this algorithm on subsets of MoNLI. This suggests that the BERT model at least partially embeds a theory of lexical entailment and negation at an algorithmic level.
