NICE: Noise Injection and Clamping Estimation for Neural Network Quantization

Chaim Baskin, Natan Liss, Yoav Chai, Evgenii Zheltonozhskii, Eli Schwartz +3 more
9/29/2018
cs.CVcs.LG
quantization-pruning

Official code: LsNatan/NICE (20 stars, Python, MIT, last commit 2018-10-01).

Abstract

Convolutional Neural Networks (CNN) are very popular in many fields including computer vision, speech recognition, natural language processing, to name a few. Though deep learning leads to groundbreaking performance in these domains, the networks used are very demanding computationally and are far from real-time even on a GPU, which is not power efficient and therefore does not suit low power systems such as mobile devices.

Show full abstract

To overcome this challenge, some solutions have been proposed for quantizing the weights and activations of these networks, which accelerate the runtime significantly. Yet, this acceleration comes at the cost of a larger error. The \uniqname method proposed in this work trains quantized neural networks by noise injection and a learned clamping, which improve the accuracy. This leads to state-of-the-art results on various regression and classification tasks, e.g., ImageNet classification with architectures such as ResNet-18/34/50 with low as 3-bit weights and activations. We implement the proposed solution on an FPGA to demonstrate its applicability for low power real-time applications. The implementation of the paper is available at https://github.com/Lancer555/NICE

View on arXivView PDF

Code Implementations(1)

LsNatan/NICEOfficial100%
MIT

This code implements NICE papper

205PythonSep 27, 20188 years agoMIT

Similar Papers

Cite this paper

@article{baskin2018nice,
  title  = {NICE: Noise Injection and Clamping Estimation for Neural Network Quantization},
  author = {Chaim Baskin and Natan Liss and Yoav Chai and Evgenii Zheltonozhskii and Eli Schwartz and Raja Giryes and Avi Mendelson and Alexander M. Bronstein},
  year   = {2018},
  eprint = {1810.00162},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.00162}
}

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

Discussion