计算机科学 > 计算机视觉与模式识别
[提交于 2020年12月4日]
标题:FracBits: Mixed Precision Quantization via Fractional Bit-Widths
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Model quantization helps to reduce model size and latency of deep neural networks. Mixed precision quantization is favorable with customized hardwares supporting arithmetic operations at multiple bit-widths to achieve maximum efficiency. We propose a novel learning-based algorithm to derive mixed precision models end-to-end under target computation constraints and model sizes. During the optimization, the bit-width of each layer / kernel in the model is at a fractional status of two consecutive bit-widths which can be adjusted gradually. With a differentiable regularization term, the resource constraints can be met during the quantization-aware training which results in an optimized mixed precision model. Further, our method can be naturally combined with channel pruning for better computation cost allocation. Our final models achieve comparable or better performance than previous quantization methods with mixed precision on MobilenetV1/V2, ResNet18 under different resource constraints on ImageNet dataset.
提交历史
来自:Qing Jin[v1] 2020年12月4日 星期五 00:00:00 UTC