Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Learned Step Size Quantization

About

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. 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.

Steven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy, Dharmendra S. Modha• 2019

Related benchmarks

TaskDatasetResultRank
Object DetectionCOCO 2017 (val)
AP33.9
2930
Language ModelingWikiText-2 (test)
PPL16.75
2416
Object Hallucination EvaluationPOPE
Accuracy85
2056
Visual Question AnsweringVizWiz
Accuracy49.8
1863
Language ModelingC4
Perplexity27.55
1565
Image ClassificationImageNet-1k (val)
Top-1 Accuracy76.7
1498
Visual Question AnsweringVQA v2
Accuracy77.3
1429
Image ClassificationImageNet (val)
Top-1 Acc78.5
1206
Text-based Visual Question AnsweringTextVQA
Accuracy57.3
984
Science Question AnsweringScienceQA
Accuracy66.5
916
Showing 10 of 75 rows
...

Other info

Follow for update