Efficient Neural Network Compression

Hyeji Kim, Muhammad Umar Karim Khan, Chong-Min Kyung
11/30/2018
cs.CV

Official code: Hyeji-Kim/ENC (22 stars, Python, MIT, last commit 2019-06-15).

Abstract

Network compression reduces the computational complexity and memory consumption of deep neural networks by reducing the number of parameters. In SVD-based network compression, the right rank needs to be decided for every layer of the network.

Show full abstract

In this paper, we propose an efficient method for obtaining the rank configuration of the whole network. Unlike previous methods which consider each layer separately, our method considers the whole network to choose the right rank configuration. We propose novel accuracy metrics to represent the accuracy and complexity relationship for a given neural network. We use these metrics in a non-iterative fashion to obtain the right rank configuration which satisfies the constraints on FLOPs and memory while maintaining sufficient accuracy. Experiments show that our method provides better compromise between accuracy and computational complexity/memory consumption while performing compression at much higher speed. For VGG-16 our network can reduce the FLOPs by 25% and improve accuracy by 0.7% compared to the baseline, while requiring only 3 minutes on a CPU to search for the right rank configuration. Previously, similar results were achieved in 4 hours with 8 GPUs. The proposed method can be used for lossless compression of a neural network as well. The better accuracy and complexity compromise, as well as the extremely fast speed of our method makes it suitable for neural network compression.

View on arXivView PDF

Code Implementations(1)

Hyeji-Kim/ENCOfficial100%
MIT

ENC: A fast network compression platform - Caffe Implementation

221Python, ShellApr 17, 20197 years agoMIT

Similar Papers

Cite this paper

@article{kim2018efficient,
  title  = {Efficient Neural Network Compression},
  author = {Hyeji Kim and Muhammad Umar Karim Khan and Chong-Min Kyung},
  year   = {2018},
  eprint = {1811.12781},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.12781}
}

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/1811.12781.svg)](https://codeofpaper.com/paper/1811.12781)

Discussion