IMPLI: Investigating NLI Models' Performance on Figurative Language

Kevin Stowe, Prasetya Ajie Utama, Iryna GurevychACL 2022

Introduction

Natural Language Inference (NLI) is a core benchmark for evaluating machine understanding, yet existing datasets like MNLI are predominantly literal. Figurative language—including idioms ("kick the bucket") and metaphors ("the hearts of men were softened")—poses a significant challenge because its meaning is non-compositional. This paper introduces IMPLI (Idiomatic and Metaphoric Paired Language Inference), a dataset of over 25,000 sentence pairs designed to evaluate whether models truly understand figurative semantics or merely rely on surface-level word matching.

Examples of idiomatic and metaphoric entailment (→) and non-entailment (↛) pairs.

Methodology and Dataset Construction

The authors developed a multi-stage pipeline to generate the IMPLI dataset, which comprises 24,029 "silver" pairs and 1,831 "gold" pairs. The process involves identifying figurative sentences in existing corpora (e.g., MAGPIE, VUA) and pairing them with literal counterparts.

The multi-stage pipeline for generating the IMPLI idiom corpus, utilizing dictionary lookups and human annotator corrections to ensure semantic accuracy.

Key steps in the construction include:

  1. Silver Pair Generation: Automatically replacing figurative phrases with literal definitions (e.g., "pissed off" → "irritated") using dictionary lookups.
  2. Adversarial Generation: Creating non-entailing pairs by inventing plausible but incorrect definitions (e.g., "man of the cloth" → "tailor") to test for lexical overlap biases.
  3. Gold Standard Refinement: Expert linguists manually curated a high-quality subset to serve as a rigorous evaluation benchmark.

Experimental Results

The study evaluated RoBERTa (Base and Large) models fine-tuned on MNLI. While the models achieved high accuracy (~86-93%) on entailing pairs, their performance plummeted on adversarial non-entailments, reaching as low as 31-34%—significantly worse than random guessing.

The Lexical Overlap Trap

The results highlight a "lexical overlap" bias: models tend to predict entailment whenever the premise and hypothesis share significant vocabulary. This heuristic fails in figurative contexts where a single word change can completely alter the meaning.

Idioms vs. Metaphors

Models generally performed better on metaphors than on idioms. This suggests that metaphors may be more pervasive in pre-training data or possess a more compositional structure that aligns better with transformer architectures. Conversely, the arbitrary nature of idioms remains a major hurdle for current Large Language Models (LLMs).

Discussion and Conclusion

The findings suggest that scaling model size alone does not solve figurative reasoning. Even with additional training data, improvements were marginal, indicating a fundamental limitation in how current architectures represent non-compositional meaning. Future work should explore specialized modules or training objectives that move beyond "bag-of-words" attention to capture abstract semantic relationships.

Summary updated

BibTeX
@inproceedings{stowe2022impli,
  author = {Kevin Stowe and Prasetya Ajie Utama and Iryna Gurevych},
  title = {{IMPLI: Investigating NLI Models' Performance on Figurative Language}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.369},
}
Figure