arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.12477cs.CVcs.LG
收藏

基于梯度流的DNN模型压缩显著性研究

Exploring Gradient Flow Based Saliency for DNN Model Compression

City University of Hong Kong(香港城市大学);Baidu USA LLC(百度美国有限责任公司)

Xinyu Liu, Baopu Li, Zhen Chen, Yixuan Yuan

摘要:

模型修剪旨在减少深度神经网络(DNN)模型大小或计算开销。传统的模型修剪方法,例如评估DNN的通道重要性的l-1修剪,过于关注每个通道的局部分析,并利用整个特征的幅度,而忽略了其与每个卷积操作后的批量归一化(BN)和ReLU层的相关性。为了克服这些问题,本文从梯度流的角度提出了一种新的模型剪枝方法。具体来说,我们首先基于泰勒展开,通过整合BN层和ReLU激活函数的影响,从理论上分析了沟道的影响。然后,建议在BN层中合并缩放参数和移位参数的一阶Talyor多项式,以有效地指示DNN中的通道的重要性。在图像分类和图像去噪两个任务上的综合实验证明了所提出的新理论和方案的优越性。代码可在https://github.com/CityU-AIM-Group/GFBS上获得。

英文摘要:

Model pruning aims to reduce the deep neural network (DNN) model size or computational overhead. Traditional model pruning methods such as l-1 pruning that evaluates the channel significance for DNN pay too much attention to the local analysis of each channel and make use of the magnitude of the entire feature while ignoring its relevance to the batch normalization (BN) and ReLU layer after each convolutional operation. To overcome these problems, we propose a new model pruning method from a new perspective of gradient flow in this paper. Specifically, we first theoretically analyze the channel's influence based on Taylor expansion by integrating the effects of BN layer and ReLU activation function. Then, the incorporation of the first-order Talyor polynomial of the scaling parameter and the shifting parameter in the BN layer is suggested to effectively indicate the significance of a channel in a DNN. Comprehensive experiments on both image classification and image denoising tasks demonstrate the superiority of the proposed novel theory and scheme. Code is available at https://github.com/CityU-AIM-Group/GFBS.

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

↑