arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1901.02064cs.LGstat.ML
收藏

基于数据流的深度神经网络权值和激活的联合Quantization

Dataflow-based Joint Quantization of Weights and Activations for Deep Neural Networks

A ⋆ STAR(新加坡科技研究局);MILA(米拉魁北克人工智能研究院);IVADO(魁北克数据 valorization 研究所);IME A ⋆ STAR(新加坡科技研究局材料研究与工程研究所);School of CSE NTU(南洋理工大学计算机科学与工程学院)

Xue Geng, Jie Fu, Bin Zhao, Jie Lin, Mohamed M. Sabry Aly, Christopher Pal, Vijay Chandrasekhar

摘要:

本文解决了一个具有挑战性的问题-如何在推理阶段部署深度神经网络(DNN)时降低能耗而不会导致性能下降。为了减轻计算和存储负担,我们提出了一种新的基于卷积的联合量化方法,假设较少的量化操作将导致较少的信息丢失,从而提高最终的性能。它首先介绍了一种有效的比特移位和舍入操作的量化方案,以表示网络参数和激活在低精度。然后对网络结构进行重构,形成统一的模块,在量化模型上进行优化。在ImageNet和KITTI上进行的大量实验验证了我们模型的有效性,证明了这种量化模型可以实现各种任务的最先进结果。此外,我们设计并综合了一个RTL模型来衡量各种量化方法的硬件成本。对于每个量化操作,与强基线相比,它将面积成本降低约15倍,能耗降低约9倍。

英文摘要:

This paper addresses a challenging problem - how to reduce energy consumption without incurring performance drop when deploying deep neural networks (DNNs) at the inference stage. In order to alleviate the computation and storage burdens, we propose a novel dataflow-based joint quantization approach with the hypothesis that a fewer number of quantization operations would incur less information loss and thus improve the final performance. It first introduces a quantization scheme with efficient bit-shifting and rounding operations to represent network parameters and activations in low precision. Then it restructures the network architectures to form unified modules for optimization on the quantized model. Extensive experiments on ImageNet and KITTI validate the effectiveness of our model, demonstrating that state-of-the-art results for various tasks can be achieved by this quantized model. Besides, we designed and synthesized an RTL model to measure the hardware costs among various quantization methods. For each quantization operation, it reduces area cost by about 15 times and energy consumption by about 9 times, compared to a strong baseline.

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

↑