QUENN:用于低功耗神经网络的QUantization引擎
QUENN: QUantization Engine for low-power Neural Networks
摘要:
深度学习正在向边缘设备转移,开创了分布式人工智能(AI)的新时代。深度神经网络所需的计算资源的高需求可以通过近似计算技术来缓解,并且最显著的是具有粗略量化的数值表示的降低精度的算法。在这种背景下,Bonseyes作为一项倡议,使利益相关者能够将人工智能引入低功耗和自主环境,例如:汽车,医疗保健和消费电子产品。为了实现这一目标,我们引入了LPDNN,这是一种用于在异构嵌入式设备上优化部署深度神经网络的框架。在这项工作中,我们详细的量化引擎,集成在LPDNN。该引擎依赖于一个细粒度的工作流程,该工作流程支持神经网络设计探索和每一层的敏感性分析以进行量化。我们通过Alexnet和VGG 16上的案例研究来演示该引擎,用于三种不同的直接量化技术:标准固定点、动态固定点和k均值聚类,并演示了后者的潜力。我们认为,使用高斯量化器与k均值聚类可以实现更好的性能比线性量化器。在Imagenet中,在不进行再训练的情况下,我们实现了超过55.64%的权值存储和69.17%的运行时内存访问节省,而top5的准确率下降不到1%。
英文摘要:
Deep Learning is moving to edge devices, ushering in a new age of distributed Artificial Intelligence (AI). The high demand of computational resources required by deep neural networks may be alleviated by approximate computing techniques, and most notably reduced-precision arithmetic with coarsely quantized numerical representations. In this context, Bonseyes comes in as an initiative to enable stakeholders to bring AI to low-power and autonomous environments such as: Automotive, Medical Healthcare and Consumer Electronics. To achieve this, we introduce LPDNN, a framework for optimized deployment of Deep Neural Networks on heterogeneous embedded devices. In this work, we detail the quantization engine that is integrated in LPDNN. The engine depends on a fine-grained workflow which enables a Neural Network Design Exploration and a sensitivity analysis of each layer for quantization. We demonstrate the engine with a case study on Alexnet and VGG16 for three different techniques for direct quantization: standard fixed-point, dynamic fixed-point and k-means clustering, and demonstrate the potential of the latter. We argue that using a Gaussian quantizer with k-means clustering can achieve better performance than linear quantizers. Without retraining, we achieve over 55.64\% saving for weights' storage and 69.17\% for run-time memory accesses with less than 1\% drop in top5 accuracy in Imagenet.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。