What Context Features Can Transformer Language Models Use?

By J. O’Connor, Jacob Andreas. 2021

86 citations recorded by the source corpus.

Transformer-based language models benefit from conditioning on contexts of hundreds to thousands of previous tokens. What aspects of these contexts contribute to accurate model prediction? We describe a series of experiments that measure usable information by selectively ablating lexical and structural information in transformer language models trained on English Wikipedia. In both mid- and long-range contexts, we find that several extremely destructive context manipulations—including shuffling word order within sentences and deleting all words other than nouns—remove less than 15% of the usable information. Our results suggest that long contexts, but not their detailed syntactic and propositional content, are important for the low perplexity of current transformer language models.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Large Language Models, 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. Yejin Choi
  2. Mohit Bansal
  3. Percy Liang
  4. Yonatan Belinkov
  5. Luke S. Zettlemoyer
  6. Noah A. Smith
  7. Hannaneh Hajishirzi
  8. Samuel R. Bowman

In Computer Vision and Pattern Recognition

  1. Yejin Choi
  2. Mohit Bansal
  3. Percy Liang
  4. Ronan Le Bras
  5. Jianfeng Gao
  6. Hannaneh Hajishirzi
  7. Luc Van Gool
  8. Luke S. Zettlemoyer

In Large Language Models

  1. Yejin Choi
  2. Maarten Sap
  3. Ronan Le Bras
  4. James Y. Zou
  5. Kawin Ethayarajh
  6. Tiago Pimentel
  7. Percy Liang
  8. John Hewitt

In Representation & Self-Supervised Learning

  1. Dan Jurafsky
  2. Ryan Cotterell
  3. Percy Liang
  4. Andrew Kyle Lampinen
  5. Kawin Ethayarajh
  6. Tiago Pimentel
  7. John Hewitt
  8. Yejin Choi

Citations in the corpus