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

紧密压缩:通过细粒度剪枝与权重置换实现CNN的高效压缩

Tight Compression: Compressing CNN Through Fine-Grained Pruning and Weight Permutation for Efficient Implementation

ACCESS - AI Chip Center for Emerging Smart Systems(ACCESS——新兴智能系统人工智能芯片中心);Hong Kong University of Science and Technology (HKUST)(香港科技大学);NVIDIA Corporation(英伟达公司)

Xizi Chen, Jingyang Zhu, Jingbo Jiang, Chi-Ying Tsui

AI总结:

本文提出基于权重置换的CNN压缩方法,结合非结构化剪枝与更细粒度的子词级剪枝,将稀疏权重压缩为密集格式,显著提升矩阵压缩率、吞吐量和能效。

摘要:

剪枝后产生的非结构化稀疏性,给深度学习模型在脉动阵列等现有规则架构中的高效实现带来了挑战。另一方面,粗粒度结构化剪枝虽然适合在规则架构中实现,但在剪枝后模型规模相同的情况下,其精度损失往往高于非结构化剪枝。本文提出了一种基于新型权重置换方案的模型压缩方法,以在硬件设计中充分利用细粒度权重稀疏性。通过置换获得权重矩阵的最优排列,并将稀疏权重矩阵进一步压缩为小而密集的格式,从而充分利用硬件资源。本文探索了两种剪枝粒度。除非结构化权重剪枝外,还提出了一种更细粒度的子词级剪枝,以进一步提高压缩性能。与最先进的工作相比,矩阵压缩率从5.88倍显著提升至14.13倍。由此,吞吐量和能效分别提高了2.75倍和1.86倍。

英文摘要:

The unstructured sparsity after pruning poses a challenge to the efficient implementation of deep learning models in existing regular architectures like systolic arrays. On the other hand, coarse-grained structured pruning is suitable for implementation in regular architectures but tends to have higher accuracy loss than unstructured pruning when the pruned models are of the same size. In this work, we propose a model compression method based on a novel weight permutation scheme to fully exploit the fine-grained weight sparsity in the hardware design. Through permutation, the optimal arrangement of the weight matrix is obtained, and the sparse weight matrix is further compressed to a small and dense format to make full use of the hardware resources. Two pruning granularities are explored. In addition to the unstructured weight pruning, we also propose a more fine-grained subword-level pruning to further improve the compression performance. Compared to the state-of-the-art works, the matrix compression rate is significantly improved from 5.88x to 14.13x. As a result, the throughput and energy efficiency are improved by 2.75 and 1.86 times, respectively.

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

↑