arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.12850eess.IV
收藏

基于变换的CNN推理特征图压缩

Transform-Based Feature Map Compression for CNN Inference

Yubo Shi, Meiqi Wang, Siyi Chen, Jinghe Wei, Zhongfeng Wang

摘要:

为了在机器学习任务中实现更高的准确性,最近设计了非常深的卷积神经网络(CNN)。然而,深度CNN的大存储器访问将导致高功耗。已经提出了各种硬件友好的压缩方法,通过利用特征图的稀疏性来减少数据传输带宽。他们中的大多数专注于设计一个专门的编码格式,以提高压缩比。随后,我们观察并利用较早和较晚层中激活之间的稀疏性差异来提高压缩比。我们提出了一种新的硬件友好的变换为基础的方法命名为1D离散余弦变换通道维度与面具(DCT-CM),智能结合DCT,面具,和编码格式来压缩激活。该算法在使用8位量化方案对ResNet-50进行推理期间实现了2.9倍的平均压缩比(比最先进的基于变换的特征图压缩工作高53%)。

英文摘要:

To achieve higher accuracy in machine learning tasks, very deep convolutional neural networks (CNNs) are designed recently. However, the large memory access of deep CNNs will lead to high power consumption. A variety of hardware-friendly compression methods have been proposed to reduce the data transfer bandwidth by exploiting the sparsity of feature maps. Most of them focus on designing a specialized encoding format to increase the compression ratio. Differently, we observe and exploit the sparsity distinction between activations in earlier and later layers to improve the compression ratio. We propose a novel hardware-friendly transform-based method named 1D-Discrete Cosine Transform on Channel dimension with Masks (DCT-CM), which intelligently combines DCT, masks, and a coding format to compress activations. The proposed algorithm achieves an average compression ratio of 2.9x (53% higher than the state-of-the-art transform-based feature map compression works) during inference on ResNet-50 with an 8-bit quantization scheme.

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

↑