arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.10051cs.LGcs.CV
收藏

使用新型灵敏度度量的无数据混合精度quantization

Data-free mixed-precision quantization using novel sensitivity metric

Samsung Advanced Institute of Technology, Samsung Electronics(三星电子三星先进技术研究院)

Donghyun Lee, Minkyoung Cho, Seungwon Lee, Joonho Song, Changkyu Choi

摘要:

后训练量化是压缩神经网络的代表性技术,使它们更小,更有效地部署在边缘设备上。然而,在实际应用中,用户数据集的不可访问性往往使得量化后的神经网络的质量难以保证。此外,现有的方法可以使用跨网络的单个均匀的位宽,导致在极低的位宽处的显著的准确性降级。为了利用多个位宽,敏感性度量在平衡精度和压缩方面起着关键作用。在本文中,我们提出了一种新的灵敏度度量,考虑了量化误差对任务丢失和与其他层的交互的影响。此外,我们开发标记的数据生成方法,不依赖于特定的操作的神经网络。实验结果表明,该度量能更好地反映量化敏感性,生成的数据更适合应用于混合精度量化。

英文摘要:

Post-training quantization is a representative technique for compressing neural networks, making them smaller and more efficient for deployment on edge devices. However, an inaccessible user dataset often makes it difficult to ensure the quality of the quantized neural network in practice. In addition, existing approaches may use a single uniform bit-width across the network, resulting in significant accuracy degradation at extremely low bit-widths. To utilize multiple bit-width, sensitivity metric plays a key role in balancing accuracy and compression. In this paper, we propose a novel sensitivity metric that considers the effect of quantization error on task loss and interaction with other layers. Moreover, we develop labeled data generation methods that are not dependent on a specific operation of the neural network. Our experiments show that the proposed metric better represents quantization sensitivity, and generated data are more feasible to be applied to mixed-precision quantization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑