arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.00162cs.CVcs.LG
收藏

NICE:神经网络的噪声注入和箝位估计Quantization

NICE: Noise Injection and Clamping Estimation for Neural Network Quantization

Technion(以色列理工学院);Tel-Aviv University(特拉维夫大学)

Chaim Baskin, Natan Liss, Yoav Chai, Evgenii Zheltonozhskii, Eli Schwartz, Raja Giryes, Avi Mendelson, Alexander M. Bronstein

摘要:

卷积神经网络(CNN)在包括计算机视觉、语音识别、自然语言处理等许多领域中非常流行。虽然深度学习在这些领域带来了突破性的性能,但所使用的网络在计算上要求非常高,即使在GPU上也远非实时,这是不节能的,因此不适合移动设备等低功耗系统。为了克服这一挑战,已经提出了一些解决方案来量化这些网络的权重和激活,这大大加快了运行时间。然而,这种加速是以更大的误差为代价的。本文提出的\uniqname方法通过噪声注入和学习箝位来训练量化的神经网络,提高了精度。这导致了各种回归和分类任务的最新结果,例如,使用ResNet-18/34/50等架构的ImageNet分类,低至3位权重和激活。我们在FPGA上实现了所提出的解决方案,以证明其适用于低功耗实时应用。该论文的实现可在https://github.com/Lancer555/NICE上获得

英文摘要:

Convolutional Neural Networks (CNN) are very popular in many fields including computer vision, speech recognition, natural language processing, to name a few. Though deep learning leads to groundbreaking performance in these domains, the networks used are very demanding computationally and are far from real-time even on a GPU, which is not power efficient and therefore does not suit low power systems such as mobile devices. To overcome this challenge, some solutions have been proposed for quantizing the weights and activations of these networks, which accelerate the runtime significantly. Yet, this acceleration comes at the cost of a larger error. The \uniqname method proposed in this work trains quantized neural networks by noise injection and a learned clamping, which improve the accuracy. This leads to state-of-the-art results on various regression and classification tasks, e.g., ImageNet classification with architectures such as ResNet-18/34/50 with low as 3-bit weights and activations. We implement the proposed solution on an FPGA to demonstrate its applicability for low power real-time applications. The implementation of the paper is available at https://github.com/Lancer555/NICE

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

↑