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

在具有本地Quantization区域的资源受限的IoT设备中部署大规模深度神经网络

Deploy Large-Scale Deep Neural Networks in Resource Constrained IoT Devices with Local Quantization Region

Intel Corporation(英特尔公司)

Yi Yang, Andy Chen, Xiaoming Chen, Jiang Ji, Zhenyang Chen, Yan Dai

摘要:

在低成本物联网设备上实现具有高计算复杂性的大规模深度神经网络可能不可避免地受到有限计算资源的约束,使得设备难以实时响应。这种分离使得最先进的深度学习算法,即CNN(卷积神经网络)与物联网世界不兼容。我们提出了一个低比特(范围从8位到1位)的方案与我们的局部量化区域算法。我们使用Caffe模型动物园中的模型作为我们的示例任务来评估我们的低精度数据表示方案的效果。通过引入局部量化区域,我们发现在这些方案之上的实现可以在降低计算复杂性的同时,极大地保持模型精度。例如,我们的8位方案在英特尔Edison物联网平台上的前1和前5精度上没有下降,速度提高了2倍。基于我们的4位、2位或1位方案的实现方式也适用于具有低计算复杂性优势的IoT设备。例如,当使用2位方案时,我们的任务的下降仅为0.7%,该方案可以大大节省晶体管。在这里使用低位方案为进一步优化商品物联网控制器打开了一扇新的大门,即可以通过用拟议的表查找操作取代乘法累加操作来实现额外的速度提升。整个研究为缓解将先进的深度学习算法引入资源受限的低成本物联网设备的挑战提供了一种新的方法。

英文摘要:

Implementing large-scale deep neural networks with high computational complexity on low-cost IoT devices may inevitably be constrained by limited computation resource, making the devices hard to respond in real-time. This disjunction makes the state-of-art deep learning algorithms, i.e. CNN (Convolutional Neural Networks), incompatible with IoT world. We present a low-bit (range from 8-bit to 1-bit) scheme with our local quantization region algorithm. We use models in Caffe model zoo as our example tasks to evaluate the effect of our low precision data representation scheme. With the available of local quantization region, we find implementations on top of those schemes could greatly retain the model accuracy, besides the reduction of computational complexity. For example, our 8-bit scheme has no drops on top-1 and top-5 accuracy with 2x speedup on Intel Edison IoT platform. Implementations based on our 4-bit, 2-bit or 1-bit scheme are also applicable to IoT devices with advances of low computational complexity. For example, the drop on our task is only 0.7% when using 2-bit scheme, a scheme which could largely save transistors. Making low-bit scheme usable here opens a new door for further optimization on commodity IoT controller, i.e. extra speed-up could be achieved by replacing multiply-accumulate operations with the proposed table look-up operations. The whole study offers a new approach to relief the challenge of bring advanced deep learning algorithm to resource constrained low-cost IoT device.

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

↑