Sparse Sequence-to-Sequence Models

By Ben Peters, Vlad Niculae, André F. T. Martins. 2019

301 citations recorded by the source corpus.

Sequence-to-sequence models are a powerful workhorse of NLP. Most variants employ a softmax transformation in both their attention mechanism and output layer, leading to dense alignments and strictly positive output probabilities. This density is wasteful, making models less interpretable and assigning probability mass to many implausible outputs. In this paper, we propose sparse sequence-to-sequence models, rooted in a new family of \alpha-entmax transformations, which includes softmax and sparsemax as particular cases, and is sparse for any \alpha > 1. We provide fast algorithms to evaluate these transformations and their gradients, which scale well for large vocabulary sizes. Our models are able to produce sparse alignments and to assign nonzero probability to a short list of plausible outputs, sometimes rendering beam search exact. Experiments on morphological inflection and machine translation reveal consistent gains over dense models.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, 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. Graham Neubig
  2. Yejin Choi
  3. Luke S. Zettlemoyer
  4. Mohit Bansal
  5. Adina Williams
  6. Yonatan Belinkov
  7. Noah A. Smith
  8. Percy Liang

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Yejin Choi
  4. Ming-Hsuan Yang
  5. Graham Neubig
  6. Trevor Darrell
  7. Yi Yang
  8. Andrew Zisserman

In Natural Language Processing

  1. Yejin Choi
  2. Graham Neubig
  3. Luke S. Zettlemoyer
  4. Adina Williams
  5. Noah A. Smith
  6. Mohit Bansal
  7. Yulia Tsvetkov
  8. Hinrich Schütze

In Model Architectures

  1. Ben Peters
  2. Vlad Niculae
  3. Graham Neubig
  4. André F. T. Martins
  5. Zi-Yi Dou
  6. Artem Babenko
  7. Gonçalo M. Correia
  8. Sergei Popov

Citations in the corpus