Do Long-Range Language Models Actually Use Long-Range Context?

By Simeng Sun, Kalpesh Krishna, Andrew Mattarella-Micke, Mohit Iyyer. 2021

107 citations recorded by the source corpus.

Language models are generally trained on short, truncated input sequences, which limits their ability to use discourse-level information present in long-range context to improve their predictions. Recent efforts to improve the efficiency of self-attention have led to a proliferation of long-range Transformer language models, which can process much longer sequences than models of the past. However, the ways in which such models take advantage of the long-range context remain unclear. In this paper, we perform a fine-grained analysis of two long-range Transformer language models (including the Routing Transformer, which achieves state-of-the-art perplexity on the PG-19 long-sequence LM benchmark dataset) that accept input sequences of up to 8K tokens. Our results reveal that providing long-range context (i.e., beyond the previous 2K tokens) to these models only improves their predictions on a small set of tokens (e.g., those that can be copied from the distant context) and does not help at all for sentence-level prediction tasks. Finally, we discover that PG-19 contains a variety of different document types and domains, and that long-range context helps most for literary novels (as opposed to textbooks or magazines).

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Large Language Models

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. Percy Liang
  4. Yejin Choi
  5. Jonathan Berant
  6. Graham Neubig
  7. Hannaneh Hajishirzi
  8. Jianfeng Gao

In Computer Vision and Pattern Recognition

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

In Large Language Models

  1. Jonathan Berant
  2. Luke S. Zettlemoyer
  3. Michael Lewis
  4. Percy Liang
  5. Armen Aghajanyan
  6. Fabio Petroni
  7. Xiao Liu
  8. Ori Yoran

Citations in the corpus