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

FGP:面向高效卷积层剪枝的特征-梯度剪枝方法

FGP: Feature-Gradient-Prune for Efficient Convolutional Layer Pruning

Zhejiang University(浙江大学);Kingsoft Corporation(金山公司)

Qingsong Lv, Jiasheng Sun, Sheng Zhou, Xu Zhang, Liangcheng Li, Yun Gao, Sun Qiao, Jie Song, Jiajun Bu

AI总结:

本文提出特征-梯度剪枝方法 FGP,通过融合特征与梯度信息更准确地评估通道重要性,在多个任务和数据集上显著降低计算成本并减少精度损失。

摘要:

为了在保持模型性能的同时降低计算开销,研究者提出了模型剪枝技术。其中,结构化剪枝通过移除整个卷积通道或卷积层,显著提升计算效率,并且与硬件加速相兼容。然而,现有仅依赖图像特征或梯度的剪枝方法往往会导致冗余通道被保留,从而对推理效率产生负面影响。针对这一问题,本文提出了一种名为特征-梯度剪枝(FGP)的新型剪枝方法。该方法融合基于特征和基于梯度的信息,以更有效地评估通道在不同目标类别上的重要性,从而更准确地识别对模型性能至关重要的通道。实验结果表明,所提方法在保持稳定性能的同时,提高了模型的紧凑性和实用性。在多个任务和数据集上进行的实验显示,与现有方法相比,FGP 显著降低了计算成本,并最大限度地减少了精度损失,凸显了其在优化剪枝结果方面的有效性。源代码可在 https://github.com/FGP-code/FGP 获取。

英文摘要:

To reduce computational overhead while maintaining model performance, model pruning techniques have been proposed. Among these, structured pruning, which removes entire convolutional channels or layers, significantly enhances computational efficiency and is compatible with hardware acceleration. However, existing pruning methods that rely solely on image features or gradients often result in the retention of redundant channels, negatively impacting inference efficiency. To address this issue, this paper introduces a novel pruning method called Feature-Gradient Pruning (FGP). This approach integrates both feature-based and gradient-based information to more effectively evaluate the importance of channels across various target classes, enabling a more accurate identification of channels that are critical to model performance. Experimental results demonstrate that the proposed method improves both model compactness and practicality while maintaining stable performance. Experiments conducted across multiple tasks and datasets show that FGP significantly reduces computational costs and minimizes accuracy loss compared to existing methods, highlighting its effectiveness in optimizing pruning outcomes. The source code is available at: https://github.com/FGP-code/FGP.

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

↑