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

PSE-Net:基于并行子网估计器的卷积神经网络通道剪枝

PSE-Net: Channel Pruning for Convolutional Neural Networks with Parallel-subnets Estimator

University of Electronic Science and Technology of China(电子科技大学);Harbin Institute of Technology(哈尔滨工业大学);Chongqing University(重庆大学);Sensetime Research(商汤科技研究院)

Shiguang Wang, Tao Xie, Haijun Liu, Xingcheng Zhang, Jian Cheng

AI总结:

本文提出PSE-Net,一种用于高效通道剪枝的并行子网估计器,通过并行子网训练算法和基于先验分布的采样算法,显著提升超网训练效率并在ImageNet数据集上取得优于现有方法的性能。

摘要:

通道剪枝是在保持深度神经网络性能的同时压缩其规模的最广泛使用的技术之一。目前,典型的剪枝算法利用神经架构搜索来直接寻找具有可配置宽度的网络,其关键步骤是通过训练超网来识别适用于各种剪枝率的代表性子网。然而,现有方法主要遵循串行训练策略来优化超网,这非常耗时。在本工作中,我们提出了PSE-Net,一种用于高效通道剪枝的新型并行子网估计器。具体而言,我们提出了一种并行子网训练算法,该算法通过在批维度上丢弃无关特征来模拟多个子网的前向-反向传播,从而可以在一轮训练中训练多个子网。我们提出的算法提高了超网训练的效率,并赋予网络对未采样子网精度进行插值的能力,使PSE-Net能够有效地评估和排序子网。在训练好的超网上,我们开发了一种基于先验分布的采样算法来提升经典进化搜索的性能。该算法利用超网训练阶段的先验信息来协助搜索最优子网,同时解决了由于网络配置的长尾分布导致难以发现满足资源约束样本的挑战。大量实验表明,PSE-Net在ImageNet数据集上超越了以往最先进的通道剪枝方法,同时保持了卓越的超网训练效率。例如,在300M FLOPs约束下,我们剪枝后的MobileNetV2在ImageNet数据集上实现了75.2%的Top-1准确率,比原始MobileNetV2高出2.6个百分点,且耗时仅为BCNet/AutoAlim的30%/16%。

英文摘要:

Channel Pruning is one of the most widespread techniques used to compress deep neural networks while maintaining their performances. Currently, a typical pruning algorithm leverages neural architecture search to directly find networks with a configurable width, the key step of which is to identify representative subnet for various pruning ratios by training a supernet. However, current methods mainly follow a serial training strategy to optimize supernet, which is very time-consuming. In this work, we introduce PSE-Net, a novel parallel-subnets estimator for efficient channel pruning. Specifically, we propose a parallel-subnets training algorithm that simulate the forward-backward pass of multiple subnets by droping extraneous features on batch dimension, thus various subnets could be trained in one round. Our proposed algorithm facilitates the efficiency of supernet training and equips the network with the ability to interpolate the accuracy of unsampled subnets, enabling PSE-Net to effectively evaluate and rank the subnets. Over the trained supernet, we develop a prior-distributed-based sampling algorithm to boost the performance of classical evolutionary search. Such algorithm utilizes the prior information of supernet training phase to assist in the search of optimal subnets while tackling the challenge of discovering samples that satisfy resource constraints due to the long-tail distribution of network configuration. Extensive experiments demonstrate PSE-Net outperforms previous state-of-the-art channel pruning methods on the ImageNet dataset while retaining superior supernet training efficiency. For example, under 300M FLOPs constraint, our pruned MobileNetV2 achieves 75.2% Top-1 accuracy on ImageNet dataset, exceeding the original MobileNetV2 by 2.6 units while only cost 30%/16% times than BCNet/AutoAlim.

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

↑