Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inference

By R. Thomas McCoy, Ellie Pavlick, Tal Linzen. 2019

1,462 citations recorded by the source corpus.

A machine learning system can score well on a given test set by relying on heuristics that are effective for frequent example types but break down in more challenging cases. We study this issue within natural language inference (NLI), the task of determining whether one sentence entails another. We hypothesize that statistical NLI models may adopt three fallible syntactic heuristics: the lexical overlap heuristic, the subsequence heuristic, and the constituent heuristic. To determine whether models have adopted these heuristics, we introduce a controlled evaluation set called HANS (Heuristic Analysis for NLI Systems), which contains many examples where the heuristics fail. We find that models trained on MNLI, including BERT, a state-of-the-art model, perform very poorly on HANS, suggesting that they have indeed adopted these heuristics. We conclude that there is substantial room for improvement in NLI systems, and that the HANS dataset can motivate and measure progress in this area.

Subfields: Artificial Intelligence, Natural Language Processing, Evaluation & Benchmarks

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Yejin Choi
  4. Percy Liang
  5. Jianfeng Gao
  6. Noah A. Smith
  7. Hannaneh Hajishirzi
  8. Graham Neubig

In Natural Language Processing

  1. Mohit Bansal
  2. Yejin Choi
  3. Luke S. Zettlemoyer
  4. Percy Liang
  5. Noah A. Smith
  6. Jianfeng Gao
  7. Samuel R. Bowman
  8. Graham Neubig

In Evaluation & Benchmarks

  1. Mohit Bansal
  2. Samuel R. Bowman
  3. Yejin Choi
  4. Douwe Kiela
  5. Luke S. Zettlemoyer
  6. Matt Gardner
  7. Robin Jia
  8. Jianfeng Gao

Citations in the corpus