Analyzing Compositionality-Sensitivity of NLI Models

Yixin Nie, Yicheng Wang, Mohit Bansal
11/16/2018
cs.CLcs.AI

Official code: easonnie/analyze-compositionality-sensitivity-NLI (9 stars, MIT, last commit 2018-11-18).

Abstract

Success in natural language inference (NLI) should require a model to understand both lexical and compositional semantics. However, through adversarial evaluation, we find that several state-of-the-art models with diverse architectures are over-relying on the former and fail to use the latter.

Show full abstract

Further, this compositionality unawareness is not reflected via standard evaluation on current datasets. We show that removing RNNs in existing models or shuffling input words during training does not induce large performance loss despite the explicit removal of compositional information. Therefore, we propose a compositionality-sensitivity testing setup that analyzes models on natural examples from existing datasets that cannot be solved via lexical features alone (i.e., on which a bag-of-words model gives a high probability to one wrong label), hence revealing the models' actual compositionality awareness. We show that this setup not only highlights the limited compositional ability of current NLI models, but also differentiates model performance based on design, e.g., separating shallow bag-of-words models from deeper, linguistically-grounded tree-based models. Our evaluation setup is an important analysis tool: complementing currently existing adversarial and linguistically driven diagnostic evaluations, and exposing opportunities for future work on evaluating models' compositional understanding.

View on arXivView PDF

Code Implementations(1)

MIT

This repository will provide the code for the paper "Analyzing Compositionality-Sensitivity of NLI Models". -- Coming Soon.

90Nov 13, 20188 years agoMIT

Similar Papers

Cite this paper

@article{nie2018analyzing,
  title  = {Analyzing Compositionality-Sensitivity of NLI Models},
  author = {Yixin Nie and Yicheng Wang and Mohit Bansal},
  year   = {2018},
  eprint = {1811.07033},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.07033}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1811.07033.svg)](https://codeofpaper.com/paper/1811.07033)

Discussion