Augmenting Self-attention with Persistent Memory

By Sainbayar Sukhbaatar, Edouard Grave, Guillaume Lample, Herv'e J'egou, Armand Joulin. 2019

160 citations recorded by the source corpus.

Transformer networks have lead to important progress in language modeling and machine translation. These models include two consecutive modules, a feed-forward layer and a self-attention layer. The latter allows the network to capture long term dependencies and are often regarded as the key ingredient in the success of Transformers. Building upon this intuition, we propose a new model that solely consists of attention layers. More precisely, we augment the self-attention layers with persistent memory vectors that play a similar role as the feed-forward layer. Thanks to these vectors, we can remove the feed-forward layer without degrading the performance of a transformer. Our evaluation shows the benefits brought by our model on standard character and word level language modeling benchmarks.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, 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. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Quoc V. Le
  4. Jianfeng Gao
  5. Percy Liang
  6. Yoav Goldberg
  7. Yi Tay
  8. Graham Neubig

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Xiaogang Wang
  3. Dacheng Tao
  4. Andrew Zisserman
  5. Yi Yang
  6. Trevor Darrell
  7. Yu Qiao
  8. Jitendra Malik

In Model Architectures

  1. Yi Tay
  2. Mostafa Dehghani
  3. Donald Metzler
  4. Armand Joulin
  5. Yoav Goldberg
  6. Hongsheng Li
  7. Dara Bahri
  8. Herv'e J'egou

Citations in the corpus