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

CFDP:通用频域剪枝

CFDP: Common Frequency Domain Pruning

University of Toronto(多伦多大学)

Samir Khaki, Weihan Luo

AI总结:

本文提出通用频域剪枝方法CFDP,通过提取特征图中的通用频率特征评估通道重要性,在CIFAR-10和ImageNet上以更少参数和计算量取得与原始模型相当甚至更优的性能,并展现出对未训练架构剪枝和对抗攻击的鲁棒性。

摘要:

俗话说,有时少即是多——对于神经网络而言,这一点再正确不过。剪枝是一种选择性地去除网络中不必要部分、从而构建更精简高效架构的技术。本文提出了一种新颖的基于频域的端到端模型剪枝流水线。该工作旨在揭示中间模型输出的互操作性及其在空间域之外的重要性。我们提出的方法称为通用频域剪枝(CFDP),旨在从特征图中提取所定义的通用频率特征,并根据各通道在学习表示中的重要性程度对某一层的各个通道进行排序。借助CFDP的能力,我们在CIFAR-10上取得了最先进的结果,GoogLeNet达到了95.25%的准确率,即比原始模型提高了+0.2%。在ImageNet上,我们同样超越了所有基准,并仅使用55%的可训练参数和60%的FLOPs就达到了与原始模型相当的性能。除了显著的性能表现外,通过CFDP生成的模型还展现出对多种配置的鲁棒性,包括从未训练的神经架构进行剪枝,以及对对抗攻击的抵抗能力。实现代码可在https://github.com/Skhaki18/CFDP找到。

英文摘要:

As the saying goes, sometimes less is more -- and when it comes to neural networks, that couldn't be more true. Enter pruning, the art of selectively trimming away unnecessary parts of a network to create a more streamlined, efficient architecture. In this paper, we introduce a novel end-to-end pipeline for model pruning via the frequency domain. This work aims to shed light on the interoperability of intermediate model outputs and their significance beyond the spatial domain. Our method, dubbed Common Frequency Domain Pruning (CFDP) aims to extrapolate common frequency characteristics defined over the feature maps to rank the individual channels of a layer based on their level of importance in learning the representation. By harnessing the power of CFDP, we have achieved state-of-the-art results on CIFAR-10 with GoogLeNet reaching an accuracy of 95.25%, that is, +0.2% from the original model. We also outperform all benchmarks and match the original model's performance on ImageNet, using only 55% of the trainable parameters and 60% of the FLOPs. In addition to notable performances, models produced via CFDP exhibit robustness to a variety of configurations including pruning from untrained neural architectures, and resistance to adversarial attacks. The implementation code can be found at https://github.com/Skhaki18/CFDP.

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

↑