Memory-Efficient Backpropagation Through Time

By Audrunas Gruslys, R´emi Munos, Ivo Danihelka, Marc Lanctot, Alex Graves. 2016

273 citations recorded by the source corpus.

We propose a novel approach to reduce memory consumption of the backpropagation through time (BPTT) algorithm when training recurrent neural networks (RNNs). Our approach uses dynamic programming to balance a trade-off between caching of intermediate results and recomputation. The algorithm is capable of tightly fitting within almost any user-set memory budget while finding an optimal execution policy minimizing the computational cost. Computational devices have limited memory capacity and maximizing a computational performance given a fixed memory budget is a practical use-case. We provide asymptotic computational upper bounds for various regimes. The algorithm is particularly effective for long sequences. For sequences of length 1000, our algorithm saves 95\% of memory usage while using only one third more time per iteration than the standard BPTT.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Efficiency & Compression

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. Yoshua Bengio
  4. Graham Neubig
  5. Luke S. Zettlemoyer
  6. Jianfeng Gao
  7. Sergey Levine
  8. Ruslan Salakhutdinov

In Computer Vision and Pattern Recognition

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

In Efficiency & Compression

  1. Song Han
  2. Kurt Keutzer
  3. Chuang Gan
  4. Han Cai
  5. Quoc V. Le
  6. A. Gholami
  7. Joseph E. Gonzalez
  8. Noam Shazeer

Citations in the corpus