Location Attention for Extrapolation to Longer Sequences

By Yann Dubois, Gautier Dagan, Dieuwke Hupkes, Elia Bruni. 2019

50 citations recorded by the source corpus.

Neural networks are surprisingly good at interpolating and perform remarkably well when the training set examples resemble those in the test set. However, they are often unable to extrapolate patterns beyond the seen data, even when the abstractions required for such patterns are simple. In this paper, we first review the notion of extrapolation, why it is important and how one could hope to tackle it. We then focus on a specific type of extrapolation which is especially useful for natural language processing: generalization to sequences that are longer than the training ones. We hypothesize that models with a separate content- and location-based attention are more likely to extrapolate than those with common attention mechanisms. We empirically support our claim for recurrent seq2seq models with our proposed attention on variants of the Lookup Table task. This sheds light on some striking failures of neural models for sequences and on possible methods to approaching such issues.

Subfields: Artificial Intelligence, Natural Language Processing, Model Architectures

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. Hannaneh Hajishirzi
  4. Percy Liang
  5. Luke S. Zettlemoyer
  6. Xiang Ren
  7. Noah A. Smith
  8. Sean Welleck

In Natural Language Processing

  1. Yejin Choi
  2. Hannaneh Hajishirzi
  3. Mohit Bansal
  4. Luke S. Zettlemoyer
  5. Xiang Ren
  6. Ronan Le Bras
  7. Percy Liang
  8. Noah A. Smith

In Model Architectures

  1. Yejin Choi
  2. Percy Liang
  3. André F. T. Martins
  4. Sean Welleck
  5. Christopher D. Manning
  6. Allyson Ettinger
  7. Xiang Ren
  8. Pedro Henrique Martins

Citations in the corpus