Neural GPUs Learn Algorithms

By Lukasz Kaiser, Ilya Sutskever. 2015

399 citations recorded by the source corpus.

Learning an algorithm from examples is a fundamental problem that has been widely studied. Recently it has been addressed using neural networks, in particular by Neural Turing Machines (NTMs). These are fully differentiable computers that use backpropagation to learn their own programming. Despite their appeal NTMs have a weakness that is caused by their sequential nature: they are not parallel and are are hard to train due to their large depth when unfolded. We present a neural network architecture to address this problem: the Neural GPU. It is based on a type of convolutional gated recurrent unit and, like the NTM, is computationally universal. Unlike the NTM, the Neural GPU is highly parallel which makes it easier to train and efficient to run. An essential property of algorithms is their ability to handle inputs of arbitrary size. We show that the Neural GPU can be trained on short instances of an algorithmic task and successfully generalize to long instances. We verified it on a number of tasks including long addition and long multiplication of numbers represented in binary. We train the Neural GPU on numbers with upto 20 bits and observe no errors whatsoever while testing it, even on much longer numbers. To achieve these results we introduce a technique for training deep recurrent networks: parameter sharing relaxation. We also found a small amount of dropout and gradient noise to have a large positive effect on learning and generalization.

Subfields: Artificial Intelligence, Electrical and Electronic Engineering, 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. Sergey Levine
  3. Quoc V. Le
  4. Yoshua Bengio
  5. Percy Liang
  6. Jianfeng Gao
  7. Ruslan Salakhutdinov
  8. Luke S. Zettlemoyer

In Electrical and Electronic Engineering

  1. Sergey Levine
  2. Ofir Nachum
  3. J. Urgen Schmidhuber
  4. Mohammad Norouzi
  5. Dawn Song
  6. Dale Schuurmans
  7. Abhishek Gupta
  8. Ruslan Salakhutdinov

In Model Architectures

  1. Quoc V. Le
  2. Yoshua Bengio
  3. Richard Socher
  4. Ruslan Salakhutdinov
  5. Kyunghyun Cho
  6. Mohit Bansal
  7. Oriol Vinyals
  8. Caiming Xiong

Citations in the corpus