arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2103.13322cs.CVcs.CC
收藏

DNN Quantization,注意

DNN Quantization with Attention

MILA(MILA(蒙特利尔学习算法研究所));IMT Atlantique(IMT大西洋大学);Sony Europe B.V.(索尼欧洲有限公司)

Ghouthi Boukli Hacene, Lukas Mauch, Stefan Uhlich, Fabien Cardinaux

摘要:

网络权重和激活的低比特量化可以大幅降低深度神经网络(DNN)的内存占用、复杂性、能耗和延迟。然而,低比特量化也会导致准确性大幅下降,特别是当我们将其应用于复杂的学习任务或轻量级DNN架构时。在本文中,我们提出了一个训练过程,放松低比特量化。我们将此过程称为\textit{DNN Quantization with Attention}(DQA)。通过使用高、中和低比特量化的可学习线性组合来实现松弛。我们的学习过程逐步收敛到一个低比特的量化使用的注意力机制与温度调度。在实验中,我们的方法在CIFAR10,CIFAR100和ImageNet ILSVRC 2012等各种对象识别基准上优于其他低位量化技术,实现了与全精度DNN几乎相同的精度,并大大降低了量化轻量级DNN架构时的精度下降。

英文摘要:

Low-bit quantization of network weights and activations can drastically reduce the memory footprint, complexity, energy consumption and latency of Deep Neural Networks (DNNs). However, low-bit quantization can also cause a considerable drop in accuracy, in particular when we apply it to complex learning tasks or lightweight DNN architectures. In this paper, we propose a training procedure that relaxes the low-bit quantization. We call this procedure \textit{DNN Quantization with Attention} (DQA). The relaxation is achieved by using a learnable linear combination of high, medium and low-bit quantizations. Our learning procedure converges step by step to a low-bit quantization using an attention mechanism with temperature scheduling. In experiments, our approach outperforms other low-bit quantization techniques on various object recognition benchmarks such as CIFAR10, CIFAR100 and ImageNet ILSVRC 2012, achieves almost the same accuracy as a full precision DNN, and considerably reduces the accuracy drop when quantizing lightweight DNN architectures.

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

↑