arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.06024cs.CVcs.LGcs.NAmath.NA
收藏

层级特定优化:基于敏感度的卷积层基搜索

Layer-Specific Optimization: Sensitivity Based Convolution Layers Basis Search

Moscow Institute of Physics and Technology(莫斯科物理技术学院)

Vasiliy Alekseev, Ilya Lukashevich, Ilia Zharikov, Ilya Vasiliev

AI总结:

本文提出一种基于敏感度的卷积层基搜索方法,仅训练部分基卷积并将其余卷积表示为线性组合,在ResNet与CIFAR-10上实现模型压缩与前反向加速,同时保证质量不下降。

摘要:

深度神经网络模型结构复杂且存在过度参数化。其参数数量甚至超过整个数据集,这导致资源消耗极高,使模型的应用变得复杂,并限制了其在各类设备上的使用。减少网络参数数量有助于缩小模型规模,但若不加思考地随意应用,则可能导致网络质量下降。减少模型参数数量的一种方法是矩阵分解,即将一个矩阵表示为若干较小矩阵的乘积。在本文中,我们针对卷积层的权重提出了一种新的矩阵分解应用方式。该方法的本质在于:不训练所有卷积,而只训练卷积的一个子集(基卷积),并将其余卷积表示为基卷积的线性组合。在ResNet系列模型和CIFAR-10数据集上的实验表明,基卷积不仅可以减小模型规模,还能加速网络的前向和反向传播过程。本工作的另一项贡献是:我们提出了一种快速方法,用于选择网络层的子集,使得在这些层中使用矩阵分解不会降低最终模型的质量。

英文摘要:

Deep neural network models have a complex architecture and are overparameterized. The number of parameters is more than the whole dataset, which is highly resource-consuming. This complicates their application and limits its usage on different devices. Reduction in the number of network parameters helps to reduce the size of the model, but at the same time, thoughtlessly applied, can lead to a deterioration in the quality of the network. One way to reduce the number of model parameters is matrix decomposition, where a matrix is represented as a product of smaller matrices. In this paper, we propose a new way of applying the matrix decomposition with respect to the weights of convolutional layers. The essence of the method is to train not all convolutions, but only the subset of convolutions (basis convolutions), and represent the rest as linear combinations of the basis ones. Experiments on models from the ResNet family and the CIFAR-10 dataset demonstrate that basis convolutions can not only reduce the size of the model but also accelerate the forward and backward passes of the network. Another contribution of this work is that we propose a fast method for selecting a subset of network layers in which the use of matrix decomposition does not degrade the quality of the final model.

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

↑