Accelerating Feedforward Computation via Parallel Nonlinear Equation Solving

By Yang Song, Chenlin Meng, Renjie Liao, Stefano Ermon. 2020

50 citations recorded by the source corpus.

Feedforward computation, such as evaluating a neural network or sampling from an autoregressive model, is ubiquitous in machine learning. The sequential nature of feedforward computation, however, requires a strict order of execution and cannot be easily accelerated with parallel computing. To enable parallelization, we frame the task of feedforward computation as solving a system of nonlinear equations. We then propose to find the solution using a Jacobi or Gauss-Seidel fixed-point iteration method, as well as hybrid methods of both. Crucially, Jacobi updates operate independently on each equation and can be executed in parallel. Our method is guaranteed to give exactly the same values as the original feedforward computation with a reduced (or equal) number of parallelizable iterations, and hence reduced time given sufficient parallel computing power. Experimentally, we demonstrate the effectiveness of our approach in accelerating (i) backpropagation of RNNs, (ii) evaluation of DenseNets, and (iii) autoregressive sampling of MADE and PixelCNN++, with speedup factors between 2.1 and 26 under various settings.

Subfields: Computational Mechanics, Computer Vision and Pattern Recognition, Statistical and Nonlinear Physics, ML Systems & Hardware, Numerical Methods & Scientific Computing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computational Mechanics

  1. Arnaud Doucet
  2. Ion Stoica
  3. Nikolay Savinov
  4. Yaroslav Ganin
  5. Rémi Leblond
  6. Jonas Adler
  7. Curtis Hawthorne
  8. Sander Dieleman

In Computer Vision and Pattern Recognition

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

In Statistical and Nonlinear Physics

  1. Laurent Sartran
  2. Pierre H. Richemond
  3. Arnaud Doucet
  4. Chris Dyer
  5. Geoffrey Irving
  6. Arman Roshannai
  7. Laurent Sifre
  8. Ion Stoica

In ML Systems & Hardware

  1. Arnaud Doucet
  2. Chris Dyer
  3. Ion Stoica
  4. Nikolay Savinov
  5. Rémi Leblond

In Numerical Methods & Scientific Computing

  1. Arnaud Doucet
  2. Rémi Leblond
  3. Sander Dieleman
  4. Conor Durkan
  5. Will Grathwohl

Citations in the corpus