Frequency Effects on Syntactic Rule Learning in Transformers

By Jason Wei, Dan Garrette, Tal Linzen, Ellie Pavlick. 2021

81 citations recorded by the source corpus.

Pre-trained language models perform well on a variety of linguistic tasks that require symbolic reasoning, raising the question of whether such models implicitly represent abstract symbols and rules. We investigate this question using the case study of BERT’s performance on English subject–verb agreement. Unlike prior work, we train multiple instances of BERT from scratch, allowing us to perform a series of controlled interventions at pre-training time. We show that BERT often generalizes well to subject–verb pairs that never occurred in training, suggesting a degree of rule-governed behavior. We also find, however, that performance is heavily influenced by word frequency, with experiments showing that both the absolute frequency of a verb form, as well as the frequency relative to the alternate inflection, are causally implicated in the predictions BERT makes at inference time. Closer analysis of these frequency effects reveals that BERT’s behavior is consistent with a system that correctly applies the SVA rule in general but struggles to overcome strong training priors and to estimate agreement features (singular vs. plural) on infrequent lexical items.

Subfields: Artificial Intelligence, Model Architectures, Computational Linguistics & Semantics

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. Yonatan Belinkov
  2. Mohit Bansal
  3. Hinrich Schütze
  4. Yoav Goldberg
  5. Yejin Choi
  6. Luke S. Zettlemoyer
  7. Matt Gardner
  8. Hannaneh Hajishirzi

In Model Architectures

  1. Yonatan Belinkov
  2. Tal Linzen
  3. R. Thomas McCoy
  4. Yoav Goldberg
  5. Jianfeng Gao
  6. Paul Smolensky
  7. Nikhil Kandpal
  8. Hinrich Schütze

In Computational Linguistics & Semantics

  1. Hinrich Schütze
  2. R. Thomas McCoy
  3. Asli Celikyilmaz
  4. Paul Smolensky
  5. Jianfeng Gao
  6. Yonatan Belinkov
  7. Yoav Goldberg
  8. Tal Linzen

Citations in the corpus