arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2111.10320cs.CVcs.LG
收藏

面向结构无关神经网络压缩的紧凑参数表示

Toward Compact Parameter Representations for Architecture-Agnostic Neural Network Compression

Stanford University(斯坦福大学);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)

Yuezhou Sun, Wenlong Zhao, Lijun Zhang, Xiao Liu, Hui Guan, Matei Zaharia

摘要:

本文从压缩表示和存储训练参数的角度研究了深度神经网络(DNN)压缩。我们探索了以前被忽视的DNN参数跨层架构不可知表示共享的机会。为此,我们将前馈参数与DNN架构解耦,并利用加法量化(一种针对图像描述符发明的极端有损压缩方法)来压缩表示参数。然后根据任务目标对表示进行微调,以提高任务准确性。我们在MobileNet-v2、VGG-11、ResNet-50、特征金字塔网络以及为分类、检测和分割任务训练的修剪DNN上进行了广泛的实验。概念上简单的计划始终优于迭代非结构化修剪。应用于ResNet-50,在ILSVRC 12分类挑战中具有76.1%的top-1准确度,它实现了没有准确度损失的$7.2\times$压缩比和74.79%准确度的$15.3\times$压缩比。进一步的分析表明,表示共享可能经常发生在网络层之间,并且在相同的压缩比下,学习整个DNN的共享表示可以比将模型压缩为多个单独的部分获得更好的准确性。我们发布PyTorch代码以促进DNN在资源受限设备上的部署,并刺激未来对DNN参数的高效表示和存储的研究。

英文摘要:

This paper investigates deep neural network (DNN) compression from the perspective of compactly representing and storing trained parameters. We explore the previously overlooked opportunity of cross-layer architecture-agnostic representation sharing for DNN parameters. To do this, we decouple feedforward parameters from DNN architectures and leverage additive quantization, an extreme lossy compression method invented for image descriptors, to compactly represent the parameters. The representations are then finetuned on task objectives to improve task accuracy. We conduct extensive experiments on MobileNet-v2, VGG-11, ResNet-50, Feature Pyramid Networks, and pruned DNNs trained for classification, detection, and segmentation tasks. The conceptually simple scheme consistently outperforms iterative unstructured pruning. Applied to ResNet-50 with 76.1% top-1 accuracy on the ILSVRC12 classification challenge, it achieves a $7.2\times$ compression ratio with no accuracy loss and a $15.3\times$ compression ratio at 74.79% accuracy. Further analyses suggest that representation sharing can frequently happen across network layers and that learning shared representations for an entire DNN can achieve better accuracy at the same compression ratio than compressing the model as multiple separate parts. We release PyTorch code to facilitate DNN deployment on resource-constrained devices and spur future research on efficient representations and storage of DNN parameters.

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

↑