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

利用CNN中的权重冗余:超越剪枝和Quantization

Exploiting Weight Redundancy in CNNs: Beyond Pruning and Quantization

Trinity College Dublin(都柏林圣三一学院)

Yuan Wen, David Gregg

摘要:

修剪和量化是用于提高卷积神经网络(CNN)的性能和存储效率的经验证的方法。修剪去除了张量中接近零的权重,并掩盖了相邻层神经元之间的弱连接。量化通过将权重替换为需要较少存储的数值相似的值来降低权重的精度。在本文中,我们识别了CNN权重张量中的另一种形式的冗余,即类似值的重复模式。我们观察到修剪和量化都倾向于大幅增加权重张量中重复模式的数量。我们研究了几种压缩方案,以利用CNN权重数据中的这种结构,包括多种形式的霍夫曼编码,以及受块稀疏矩阵格式启发的其他方法。我们在几个著名的CNN上评估了我们的方法,发现除了修剪和量化的节省之外,我们还可以实现1.4倍到3.1倍的压缩比。

英文摘要:

Pruning and quantization are proven methods for improving the performance and storage efficiency of convolutional neural networks (CNNs). Pruning removes near-zero weights in tensors and masks weak connections between neurons in neighbouring layers. Quantization reduces the precision of weights by replacing them with numerically similar values that require less storage. In this paper, we identify another form of redundancy in CNN weight tensors, in the form of repeated patterns of similar values. We observe that pruning and quantization both tend to drastically increase the number of repeated patterns in the weight tensors. We investigate several compression schemes to take advantage of this structure in CNN weight data, including multiple forms of Huffman coding, and other approaches inspired by block sparse matrix formats. We evaluate our approach on several well-known CNNs and find that we can achieve compaction ratios of 1.4x to 3.1x in addition to the saving from pruning and quantization.

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

↑