Beyond Accuracy: Behavioral Testing of NLP Models with CheckList

By Marco Tulio Ribeiro, Tongshuang Sherry Wu, Carlos Guestrin, Sameer Singh. 2020

1,473 citations recorded by the source corpus.

Although measuring held-out accuracy has been the primary approach to evaluate generalization, it often overestimates the performance of NLP models, while alternative approaches for evaluating models either focus on individual tasks or on specific behaviors. Inspired by principles of behavioral testing in software engineering, we introduce CheckList, a task-agnostic methodology for testing NLP models. CheckList includes a matrix of general linguistic capabilities and test types that facilitate comprehensive test ideation, as well as a software tool to generate a large and diverse number of test cases quickly. We illustrate the utility of CheckList with tests for three tasks, identifying critical failures in both commercial and state-of-art models. In a user study, a team responsible for a commercial sentiment analysis model found new and actionable bugs in an extensively tested model. In another user study, NLP practitioners with CheckList created twice as many tests, and found almost three times as many bugs as users without it.

Subfields: Artificial Intelligence, Information Systems, Natural Language Processing

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. Yejin Choi
  3. Percy Liang
  4. Luke S. Zettlemoyer
  5. Jianfeng Gao
  6. Noah A. Smith
  7. Graham Neubig
  8. Hannaneh Hajishirzi

In Information Systems

  1. Graham Neubig
  2. Jianfeng Gao
  3. Matt Gardner
  4. Tongshuang Sherry Wu
  5. Chitta Baral
  6. Pengfei Liu
  7. Tatsunori B. Hashimoto
  8. Ashish Sabharwal

In Natural Language Processing

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

Citations in the corpus