Measuring and Improving Consistency in Pretrained Language Models

By Yanai Elazar, Nora Kassner, Shauli Ravfogel, Abhilasha Ravichander, Eduard H. Hovy, Hinrich Schütze, Yoav Goldberg. 2021

487 citations recorded by the source corpus.

Abstract Consistency of a model—that is, the invariance of its behavior under meaning-preserving alternations in its input—is a highly desirable property in natural language processing. In this paper we study the question: Are Pretrained Language Models (PLMs) consistent with respect to factual knowledge? To this end, we create ParaRel🤘, a high-quality resource of cloze-style query English paraphrases. It contains a total of 328 paraphrases for 38 relations. Using ParaRel🤘, we show that the consistency of all PLMs we experiment with is poor— though with high variance between relations. Our analysis of the representational spaces of PLMs suggests that they have a poor structure and are currently not suitable for representing knowledge robustly. Finally, we propose a method for improving model consistency and experimentally demonstrate its effectiveness.1

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing, Safety, Robustness & Interpretability

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. Graham Neubig
  5. Percy Liang
  6. Jianfeng Gao
  7. Hannaneh Hajishirzi
  8. Noah A. Smith

In Computer Vision and Pattern Recognition

  1. Mohit Bansal
  2. Luc Van Gool
  3. Dacheng Tao
  4. Trevor Darrell
  5. Ming-Hsuan Yang
  6. Jitendra Malik
  7. Xiaogang Wang
  8. Andrew Zisserman

In Natural Language Processing

  1. Mohit Bansal
  2. Yejin Choi
  3. Graham Neubig
  4. Luke S. Zettlemoyer
  5. Hinrich Schütze
  6. Hannaneh Hajishirzi
  7. Noah A. Smith
  8. Yoav Goldberg

In Safety, Robustness & Interpretability

  1. Yejin Choi
  2. Jacob Steinhardt
  3. Dan Hendrycks
  4. Yonatan Belinkov
  5. Nicholas Carlini
  6. Dirk Hovy
  7. Yoav Goldberg
  8. Mohit Bansal

Citations in the corpus