SBPF:基于灵敏度的卷积神经网络图像分类剪枝框架
SBPF: Sensitiveness Based Pruning Framework For Convolutional Neural Network On Image Classification
摘要:
剪枝技术被广泛用于压缩卷积神经网络(CNN)的图像分类。然而,大多数剪枝方法需要一个良好的预训练模型来提供有用的支持参数,如C1范数,BatchNorm值和梯度信息,如果预训练模型的参数没有得到很好的优化,这可能会导致滤波器评估的不一致性。因此,我们提出了一种基于灵敏度的方法来评估每一层的重要性,从推理精度的角度来看,增加额外的损害,为原来的模型。由于准确度的性能是由所有层上的参数分布而不是单个参数决定的,因此基于灵敏度的方法对参数更新具有鲁棒性。也就是说,我们可以在未经训练的模型和完全训练的模型之间获得每个卷积层的相似重要性评估。对于CIFAR-10上的VGG-16,即使原始模型只训练了50个epoch,我们也可以得到与模型完全训练时相同的层重要性评估。然后,我们将删除过滤器从每一层的量化灵敏度成比例。我们的基于敏感性的剪枝框架在VGG-16,定制的Conv-4和ResNet-18上分别使用CIFAR-10,MNIST和CIFAR-100进行了有效验证。
英文摘要:
Pruning techniques are used comprehensively to compress convolutional neural networks (CNNs) on image classification. However, the majority of pruning methods require a well pre-trained model to provide useful supporting parameters, such as C1-norm, BatchNorm value and gradient information, which may lead to inconsistency of filter evaluation if the parameters of the pre-trained model are not well optimized. Therefore, we propose a sensitiveness based method to evaluate the importance of each layer from the perspective of inference accuracy by adding extra damage for the original model. Because the performance of the accuracy is determined by the distribution of parameters across all layers rather than individual parameter, the sensitiveness based method will be robust to update of parameters. Namely, we can obtain similar importance evaluation of each convolutional layer between the imperfect-trained and fully trained models. For VGG-16 on CIFAR-10, even when the original model is only trained with 50 epochs, we can get same evaluation of layer importance as the results when the model is trained fully. Then we will remove filters proportional from each layer by the quantified sensitiveness. Our sensitiveness based pruning framework is verified efficiently on VGG-16, a customized Conv-4 and ResNet-18 with CIFAR-10, MNIST and CIFAR-100, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。