Learned Step Size Quantization

Steven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy, Dharmendra S. Modha
2/21/2019
1,200 citations
cs.LGstat.ML

No official code found. Best implementation: hustzxd/LSQuantization (138 stars). 2 more below.

Abstract

Deep networks run with low precision operations at inference time offer power and space advantages over high precision alternatives, but need to overcome the challenge of maintaining high accuracy as precision decreases. Here, we present a method for training such networks, Learned Step Size Quantization, that achieves the highest accuracy to date on the ImageNet dataset when using models, from a variety of architectures, with weights and activations quantized to 2-, 3- or 4-bits of precision, and that can train 3-bit models that reach full precision baseline accuracy.

Show full abstract

Our approach builds upon existing methods for learning weights in quantized networks by improving how the quantizer itself is configured. Specifically, we introduce a novel means to estimate and scale the task loss gradient at each weight and activation layer's quantizer step size, such that it can be learned in conjunction with other network parameters. This approach works using different levels of precision as needed for a given system and requires only a simple modification of existing training code.

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
hustzxd/LSQuantizationCommunity138–––
Kelvinyu1117/LSQ-implementationCommunity9–––
scxs1388/LSQCommunity4–––

The PyTorch implementation of Learned Step size Quantization (LSQ) in ICLR2020 (unofficial)

13821

This is an unofficial implementation of the paper - LEARNED STEP SIZE QUANTIZATION at ICLR 2020

92
scxs1388/LSQCommunity25%

Unofficial implementation of Learned Step Size Quantization (LSQ) from ICLR 2020 paper

40

Similar Papers

Cite this paper

@article{esser2019learned,
  title  = {Learned Step Size Quantization},
  author = {Steven K. Esser and Jeffrey L. McKinstry and Deepika Bablani and Rathinakumar Appuswamy and Dharmendra S. Modha},
  year   = {2019},
  eprint = {1902.08153},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.08153}
}

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

Discussion