arrow
Return

Loss aware post-training quantization

delete2021-10-01
delete54
delete
OA
AI
Y
Yury Nahshan
B
Brian Chmiel
C
Chaim Baskin
E
Evgenii Zheltonozhskii *
R
Ron Banner
A
Alex Bronstein
A
Avi Mendelson
DOI:10.1007/s10994-021-06053-zdelete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Neural network quantization enables the deployment of large models on resource-constrained devices. Current post-training quantization methods fall short in terms of accuracy for INT4 (or lower) but provide reasonable accuracy for INT8 (or above). In this work, we study the effect of quantization on the structure of the loss landscape. We show that the structure is flat and separable for mild quantization, enabling straightforward post-training quantization methods to achieve good results. We show that with more aggressive quantization, the loss landscape becomes highly non-separable with steep curvature, making the selection of quantization parameters more challenging. Armed with this understanding, we design a method that quantizes the layer parameters jointly, enabling significant accuracy improvement over current post-training quantization methods. Reference implementation is available at lattps://github.conilynahshaninn-quantization-pytorch/tree/masterilapq.
Keywords:
Convolutional neural networks
Post-training quantization

Journal

Machine Learning cover
Machine Learning
IF:
2.9
Papers:
2.6K
Citations:
3.4W

Organization

T
Technion Israel Institute of Technology
Scholars:
1.6W
Papers: 1.5W
Citations: 2.0W