arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.07102cs.LGeess.IV
收藏

面向协同智能的中间神经网络特征轻量级压缩

Lightweight Compression of Intermediate Neural Network Features for Collaborative Intelligence

Simon Fraser University(西蒙弗雷泽大学)

Robert A. Cohen, Hyomin Choi, Ivan V. Bajić

摘要:

在协作智能应用中,深度神经网络(DNN)的一部分部署在移动电话或边缘设备等轻量级设备上,而DNN的其余部分则在更多计算资源可用的地方(如云中)进行处理。本文提出了一种新的轻量级压缩技术,专门设计用于对分裂DNN的中间层输出的特征进行压缩,而不需要对网络权重进行任何重新训练。开发了用于估计该中间层的ReLU和泄漏ReLU激活的限幅和量化误差的数学模型,并用于计算粗量化的最佳限幅范围。我们还提出了一种改进的熵约束设计算法的量化裁剪激活。当应用于流行的对象检测和分类DNN时,我们能够将32位浮点中间激活压缩到0.6到0.8位,同时将准确性损失保持在1%以下。与HEVC相比,我们发现轻量级编解码器始终提供更好的推理准确性,高达1.3%。这种轻量级压缩技术的性能和简单性使其成为对边缘/云应用的分裂神经网络的中间层进行编码的有吸引力的选择。

英文摘要:

In collaborative intelligence applications, part of a deep neural network (DNN) is deployed on a lightweight device such as a mobile phone or edge device, and the remaining portion of the DNN is processed where more computing resources are available, such as in the cloud. This paper presents a novel lightweight compression technique designed specifically to quantize and compress the features output by the intermediate layer of a split DNN, without requiring any retraining of the network weights. Mathematical models for estimating the clipping and quantization error of ReLU and leaky-ReLU activations at this intermediate layer are developed and used to compute optimal clipping ranges for coarse quantization. We also present a modified entropy-constrained design algorithm for quantizing clipped activations. When applied to popular object-detection and classification DNNs, we were able to compress the 32-bit floating point intermediate activations down to 0.6 to 0.8 bits, while keeping the loss in accuracy to less than 1%. When compared to HEVC, we found that the lightweight codec consistently provided better inference accuracy, by up to 1.3%. The performance and simplicity of this lightweight compression technique makes it an attractive option for coding an intermediate layer of a split neural network for edge/cloud applications.

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

↑