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

基缩放与双重剪枝:面向网络迁移学习的高效推理

Basis Scaling and Double Pruning for Efficient Inference in Network-Based Transfer Learning

IBM Research – Almaden Research Center(IBM研究院——阿尔马登研究中心);McMaster University(麦克马斯特大学)

Ken C. L. Wong, Satyananda Kashyap, Mehdi Moradi

AI总结:

本文提出基缩放与双重剪枝方法,通过奇异值分解分解卷积层,结合泰勒重要性评估,无需微调即可高效剪枝,在保持准确率下降小于1%时,实现CIFAR-10和MNIST上高达74.6%和98.9%的参数剪枝率。

摘要:

基于网络的迁移学习允许在数据有限的情况下重用深度学习特征,但由此产生的模型可能不必要地庞大。尽管网络剪枝可以提高推理效率,但现有算法通常需要微调,这可能不适用于小数据集。在本文中,我们利用奇异值分解,将卷积层分解为两个层:一个以正交基向量为滤波器的卷积层,以及一个负责重新缩放特征并将其变换回原始空间的“BasisScalingConv”层。由于每个分解层中的滤波器是线性独立的,当使用所提出的基缩放因子结合泰勒近似重要性时,剪枝可以更有效,且无需对单个权重进行微调。此外,由于基剪枝后原始卷积层的输入和输出通道数量保持不变,它几乎适用于所有架构,并可结合现有剪枝算法进行双重剪枝,以进一步增强剪枝能力。当从ImageNet预训练模型向不同目标域迁移知识时,在分类准确率下降不到1%的情况下,我们在模型参数上可实现CIFAR-10高达74.6%和MNIST高达98.9%的剪枝率。

英文摘要:

Network-based transfer learning allows the reuse of deep learning features with limited data, but the resulting models can be unnecessarily large. Although network pruning can improve inference efficiency, existing algorithms usually require fine-tuning that may not be suitable for small datasets. In this paper, using the singular value decomposition, we decompose a convolutional layer into two layers: a convolutional layer with the orthonormal basis vectors as the filters, and a "BasisScalingConv" layer which is responsible for rescaling the features and transforming them back to the original space. As the filters in each decomposed layer are linearly independent, when using the proposed basis scaling factors with the Taylor approximation of importance, pruning can be more effective and fine-tuning individual weights is unnecessary. Furthermore, as the numbers of input and output channels of the original convolutional layer remain unchanged after basis pruning, it is applicable to virtually all architectures and can be combined with existing pruning algorithms for double pruning to further increase the pruning capability. When transferring knowledge from ImageNet pre-trained models to different target domains, with less than 1% reduction in classification accuracies, we can achieve pruning ratios up to 74.6% for CIFAR-10 and 98.9% for MNIST in model parameters.

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

↑