What BERT is not: Lessons from a new suite of psycholinguistic diagnostics for language models

Allyson Ettinger
7/31/2019
cs.CLcs.AI

Official code: aetting/lm-diagnostics (65 stars, MIT, last commit 2022-05-07).

Abstract

Pre-training by language modeling has become a popular and successful approach to NLP tasks, but we have yet to understand exactly what linguistic capacities these pre-training processes confer upon models. In this paper we introduce a suite of diagnostics drawn from human language experiments, which allow us to ask targeted questions about the information used by language models for generating predictions in context. As a case study, we apply these diagnostics to the popular BERT model, finding that it can generally distinguish good from bad completions involving shared category or role reversal, albeit with less sensitivity than humans, and it robustly retrieves noun hypernyms, but it struggles with challenging inferences and role-based event prediction -- and in particular, it shows clear insensitivity to the contextual impacts of negation.

View on arXivView PDF

Code Implementations(1)

MIT

Diagnostic tests for linguistic capacities in language models

655PythonJul 30, 20194 years agoMIT

Cite this paper

@article{ettinger2019what,
  title  = {What BERT is not: Lessons from a new suite of psycholinguistic diagnostics for language models},
  author = {Allyson Ettinger},
  year   = {2019},
  eprint = {1907.13528},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.13528}
}

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/1907.13528.svg)](https://codeofpaper.com/paper/1907.13528)

Discussion