Can Active Memory Replace Attention?

By Lukasz Kaiser, Samy Bengio. 2016

61 citations recorded by the source corpus.

Several mechanisms to focus attention of a neural network on selected parts of its input or memory have been used successfully in deep learning models in recent years. Attention has improved image classification, image captioning, speech recognition, generative models, and learning algorithmic tasks, but it had probably the largest impact on neural machine translation. Recently, similar improvements have been obtained using alternative mechanisms that do not focus on a single part of a memory but operate on all of it in parallel, in a uniform way. Such mechanism, which we call active memory, improved over attention in algorithmic tasks, image processing, and in generative modelling. So far, however, active memory has not improved over attention for most natural language processing tasks, in particular for machine translation. We analyze this shortcoming in this paper and propose an extended model of active memory that matches existing attention models on neural machine translation and generalizes better to longer sentences. We investigate this model and explain why previous active memory models did not succeed. Finally, we discuss when active memory brings most benefits and where attention can be a better choice.

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. Quoc V. Le
  2. Mohit Bansal
  3. Jianfeng Gao
  4. Kyunghyun Cho
  5. Yoshua Bengio
  6. Richard Socher
  7. Caiming Xiong
  8. Sergey Levine

In Computer Vision and Pattern Recognition

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

In Model Architectures

  1. Quoc V. Le
  2. Yoshua Bengio
  3. Richard Socher
  4. Kyunghyun Cho
  5. Felix Stahlberg
  6. Jianfeng Gao
  7. Mohit Bansal
  8. Graham Neubig

Citations in the corpus