Linguistic Knowledge and Transferability of Contextual Representations

By Nelson F. Liu, Matt Gardner, Yonatan Belinkov, Matthew E. Peters, Noah A. Smith. 2019

833 citations recorded by the source corpus.

Contextual word representations derived from large-scale neural language models are successful across a diverse set of NLP tasks, suggesting that they encode useful and transferable features of language. To shed light on the linguistic knowledge they capture, we study the representations produced by several recent pretrained contextualizers (variants of ELMo, the OpenAI transformer language model, and BERT) with a suite of sixteen diverse probing tasks. We find that linear models trained on top of frozen contextual representations are competitive with state-of-the-art task-specific models in many cases, but fail on tasks requiring fine-grained linguistic knowledge (e.g., conjunct identification). To investigate the transferability of contextual word representations, we quantify differences in the transferability of individual layers within contextualizers, especially between recurrent neural networks (RNNs) and transformers. For instance, higher layers of RNNs are more task-specific, while transformer layers do not exhibit the same monotonic trend. In addition, to better understand what makes contextual word representations transferable, we compare language model pretraining with eleven supervised pretraining tasks. For any given task, pretraining on a closely related task yields better performance than language model pretraining (which is better on average) when the pretraining dataset is fixed. However, language model pretraining on more data gives the best results.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing, Representation & Self-Supervised Learning

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

In Computer Vision and Pattern Recognition

  1. Mohit Bansal
  2. Luc Van Gool
  3. Jianfeng Gao
  4. Dacheng Tao
  5. Trevor Darrell
  6. Xiaogang Wang
  7. Luke S. Zettlemoyer
  8. Andrew Zisserman

In Natural Language Processing

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

In Representation & Self-Supervised Learning

  1. Yonatan Belinkov
  2. Ivan Vulic
  3. Samuel R. Bowman
  4. Yoav Goldberg
  5. Sebastian Ruder
  6. Percy Liang
  7. Iryna Gurevych
  8. Christopher D. Manning

Citations in the corpus