计算机科学 > 机器学习
[提交于 2020年8月11日 (v1),最后修订于 2020年8月11日 (此版本, v2)]
标题:BitPruning: Learning Bitlengths for Aggressive and Accurate Quantization
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Neural networks have demonstrably achieved state-of-the art accuracy using low-bitlength integer quantization, yielding both execution time and energy benefits on existing hardware designs that support short bitlengths. However, the question of finding the minimum bitlength for a desired accuracy remains open. We introduce a training method for minimizing inference bitlength at any granularity while maintaining accuracy. Namely, we propose a regularizer that penalizes large bitlength representations throughout the architecture and show how it can be modified to minimize other quantifiable criteria, such as number of operations or memory footprint. We demonstrate that our method learns thrifty representations while maintaining accuracy. With ImageNet, the method produces an average per layer bitlength of 4.13, 3.76 and 4.36 bits on AlexNet, ResNet18 and MobileNet V2 respectively, remaining within 2.0%, 0.5% and 0.5% of the base TOP-1 accuracy.
提交历史
来自:Miloš Nikolić[v2] 2020年8月11日 星期二 20:30:52 UTC