ACIQ: Analytical Clipping for Integer Quantization of neural networks
2019-05-01ICLR 2019Code Available0· sign in to hype
Ron Banner, Yury Nahshan, Elad Hoffer, Daniel Soudry
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/submission2019/AnalyticalScaleForIntegerQuantizationOfficialIn paperpytorch★ 0
Abstract
We analyze the trade-off between quantization noise and clipping distortion in low precision networks. We identify the statistics of various tensors, and derive exact expressions for the mean-square-error degradation due to clipping. By optimizing these expressions, we show marked improvements over standard quantization schemes that normally avoid clipping. For example, just by choosing the accurate clipping values, more than 40\% accuracy improvement is obtained for the quantization of VGG-16 to 4-bits of precision. Our results have many applications for the quantization of neural networks at both training and inference time.