Skip to main content
QUICK REVIEW

[Paper Review] meProp: Sparsified Back Propagation for Accelerated Deep Learning with Reduced Overfitting

Xu Sun, Xuancheng Ren|arXiv (Cornell University)|Jun 19, 2017
Neural Networks and ApplicationsComputer Science27 references84 citations
TL;DR

meProp sparsifies backprop gradients by keeping only the top-k magnitude elements, updating only a small subset of weights per step, achieving large speedups (1–4% of weights updated) and often improved accuracy across LSTM/MLP models and tasks.

ABSTRACT

We propose a simple yet effective technique for neural network learning. The forward propagation is computed as usual. In back propagation, only a small subset of the full gradient is computed to update the model parameters. The gradient vectors are sparsified in such a way that only the top-$k$ elements (in terms of magnitude) are kept. As a result, only $k$ rows or columns (depending on the layout) of the weight matrix are modified, leading to a linear reduction ($k$ divided by the vector dimension) in the computational cost. Surprisingly, experimental results demonstrate that we can update only 1-4% of the weights at each back propagation pass. This does not result in a larger number of training iterations. More interestingly, the accuracy of the resulting models is actually improved rather than degraded, and a detailed analysis is given. The code is available at https://github.com/lancopku/meProp

Motivation & Objective

  • Motivate faster neural network training by reducing backpropagation cost without sacrificing accuracy.
  • Introduce a top-k gradient selection mechanism to sparsify backpropagation updates.
  • Demonstrate that updating a small subset of weights can improve generalization and training efficiency across models and tasks.

Proposed method

  • Compute forward pass as usual.
  • Backpropagate using only the top-k magnitude components of the gradient with respect to the output, zeroing the rest.
  • Update only the corresponding subset of parameters (rows/columns) affected by the top-k gradient.
  • Use a min-heap based top-k selection with time complexity O(n log k) and space O(k).
  • Apply meProp to hidden layers (not always the output layer) and discuss different k for different layers.
  • Demonstrate independence from optimizer (Adam, AdaGrad) and show speedups on CPU/GPU across LSTM/MLP, POS-tagging, parsing, and MNIST.

Experimental results

Research questions

  • RQ1Does sparsifying backpropagation to the top-k gradient components reduce computational cost without harming accuracy?
  • RQ2How does top-k meProp affect training speed and convergence across different architectures and tasks?
  • RQ3Is the observed accuracy improvement due to reduced overfitting, similar to dropout, or other mechanisms?
  • RQ4What are practical guidelines for choosing k for different layers and tasks?

Key findings

  • Backpropagation cost is reduced by updating only 1–4% of the weights per backpropagation pass.
  • meProp achieves substantial speedups: up to ~69x faster backprop in some matrix-multiplication GPU benchmarks and 18–31x speedups in reported settings, depending on k and model.
  • Model accuracy is often improved with meProp across LSTM/MLP, Adam/AdaGrad, and NLP/Image tasks.
  • Top-k gradient selection outperforms random sparsification, indicating the top-k elements carry most important gradient information.
  • Using meProp can complement dropout, suggesting different overfitting reduction mechanisms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.