arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.08204cs.LGcs.CV
收藏

AutoDFP:基于通道相似性重建的自动无数据剪枝

AutoDFP: Automatic Data-Free Pruning via Channel Similarity Reconstruction

Institute of Cyber-Systems and Control, Zhejiang University(浙江大学 cyber 系统与控制研究所)

Siqi Li, Jun Chen, Jingyang Xiang, Chengrui Zhu, Yong Liu

AI总结:

本文提出AutoDFP,一种无需微调和手工调参的自动无数据剪枝方法,通过强化学习利用通道相似性信息指导剪枝与重建,在多个数据集上显著降低精度损失并提升压缩效果。

摘要:

结构化剪枝方法旨在弥合神经网络庞大规模与有限硬件资源之间的差距。目前大多数结构化剪枝方法依赖训练数据集对压缩模型进行微调,导致计算负担高,且不适用于对隐私和安全有严格要求的场景。作为替代方案,已有一些无数据方法被提出,然而这些方法通常需要手工调整参数,且只能实现不灵活的重建。在本文中,我们提出了自动无数据剪枝(AutoDFP)方法,无需微调即可实现自动剪枝和重建。我们的方法基于这样一个假设:信息损失可以通过保留来自相似通道的聚焦信息来部分补偿。具体而言,我们将无数据剪枝表述为一个优化问题,该问题可以通过强化学习有效解决。AutoDFP评估每一层通道的相似性,并将此信息提供给强化学习智能体,指导网络的剪枝和重建过程。我们在多个数据集上使用多种网络评估了AutoDFP,取得了令人印象深刻的压缩结果。例如,在CIFAR-10数据集上,与最近提出的无数据剪枝方法DFPC相比,AutoDFP在VGG-16上以更少的FLOPs实现了2.87%的精度损失降低。此外,在ImageNet数据集上,AutoDFP在MobileNet-V1上以相同的80%保留比例,实现了比SOTA方法高43.17%的精度。

英文摘要:

Structured pruning methods are developed to bridge the gap between the massive scale of neural networks and the limited hardware resources. Most current structured pruning methods rely on training datasets to fine-tune the compressed model, resulting in high computational burdens and being inapplicable for scenarios with stringent requirements on privacy and security. As an alternative, some data-free methods have been proposed, however, these methods often require handcraft parameter tuning and can only achieve inflexible reconstruction. In this paper, we propose the Automatic Data-Free Pruning (AutoDFP) method that achieves automatic pruning and reconstruction without fine-tuning. Our approach is based on the assumption that the loss of information can be partially compensated by retaining focused information from similar channels. Specifically, We formulate data-free pruning as an optimization problem, which can be effectively addressed through reinforcement learning. AutoDFP assesses the similarity of channels for each layer and provides this information to the reinforcement learning agent, guiding the pruning and reconstruction process of the network. We evaluate AutoDFP with multiple networks on multiple datasets, achieving impressive compression results. For instance, on the CIFAR-10 dataset, AutoDFP demonstrates a 2.87\% reduction in accuracy loss compared to the recently proposed data-free pruning method DFPC with fewer FLOPs on VGG-16. Furthermore, on the ImageNet dataset, AutoDFP achieves 43.17\% higher accuracy than the SOTA method with the same 80\% preserved ratio on MobileNet-V1.

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

↑