Training Simplification and Model Simplification for Deep Learning: A Minimal Effort Back Propagation Method

Xu Sun, Xuancheng Ren, Shuming Ma, Bingzhen Wei, Wei Li +3 more
11/17/2017
cs.LGstat.ML

Official code: lancopku/meSimp (18 stars, last commit 2018-05-13). 1 more implementation below.

Abstract

We propose a simple yet effective technique to simplify the training and the resulting model of neural networks. 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 in the computational cost. Based on the sparsified gradients, we further simplify the model by eliminating the rows or columns that are seldom updated, which will reduce the computational cost both in the training and decoding, and potentially accelerate decoding in real-world applications. Surprisingly, experimental results demonstrate that most of time we only need to update fewer than 5% of the weights at each back propagation pass. More interestingly, the accuracy of the resulting models is actually improved rather than degraded, and a detailed analysis is given. The model simplification results show that we could adaptively simplify the model which could often be reduced by around 9x, without any loss on accuracy or even with improved accuracy. The codes, including the extension, are available at https://github.com/lancopku/meSimp

View on arXivView PDF

Code Implementations(2)

lancopku/meSimpOfficial100%

Codes for "Training Simplification and Model Simplification for Deep Learning: A Minimal Effort Back Propagation Method"

183C#May 13, 20188 years ago
computer-visiondeep-learningnatural-language-processing
lancopku/mePropCommunity100%

meProp: Sparsified Back Propagation for Accelerated Deep Learning (ICML 2017)

11120C#, PythonAug 27, 20174 years ago
back-propagationcomputer-visiondeep-learningmepropnatural-language-processing+1 more

Similar Papers

Cite this paper

@article{sun2017training,
  title  = {Training Simplification and Model Simplification for Deep Learning: A Minimal Effort Back Propagation Method},
  author = {Xu Sun and Xuancheng Ren and Shuming Ma and Bingzhen Wei and Wei Li and Jingjing Xu and Houfeng Wang and Yi Zhang},
  year   = {2017},
  eprint = {1711.06528},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1711.06528}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1711.06528.svg)](https://codeofpaper.com/paper/1711.06528)

Discussion