arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.04509cs.LGcs.CVstat.ML
收藏

BasisConv:CNN中压缩表示和学习的方法

BasisConv: A method for compressed representation and learning in CNNs

University of Central Florida(中佛罗里达大学)

Muhammad Tayyab, Abhijit Mahalanobis

摘要:

众所周知,卷积神经网络(CNN)在其滤波器权重中具有显著的冗余。在文献中已经提出了各种方法来压缩训练的CNN。这些技术包括修剪权重、滤波器量化和用基函数表示滤波器。我们的方法属于后一类策略,但不同之处在于,我们表明压缩学习和表示可以在不对流行的CNN架构进行重大修改的情况下实现。具体来说,CNN的任何卷积层都可以很容易地被两个连续的卷积层取代:第一个是一组固定的滤波器(表示整个层的知识空间并且不会改变),然后是一个一维滤波器层(表示在这个空间中学习的知识)。对于预训练的网络,固定层只是原始滤波器的截断特征分解。1D滤波器被初始化为线性组合的权重,但是被微调以恢复由于截断而导致的任何性能损失。对于从头开始训练网络,我们使用一组随机正交固定滤波器(永远不会改变),并直接从标记数据中学习1D权重向量。我们的方法大大减少了i)训练过程中可学习参数的数量,以及ii)实现过程中乘法运算和滤波器存储要求的数量。它这样做不需要卷积层中的任何特殊运算符,并扩展到所有已知的流行CNN架构。我们将我们的方法应用于四个众所周知的网络架构,使用三个不同的数据集进行训练。结果显示,i)操作数量减少了5倍,ii)可学习参数的数量减少了18倍,CIFAR100数据集的性能下降不到3%。

英文摘要:

It is well known that Convolutional Neural Networks (CNNs) have significant redundancy in their filter weights. Various methods have been proposed in the literature to compress trained CNNs. These include techniques like pruning weights, filter quantization and representing filters in terms of a basis functions. Our approach falls in this latter class of strategies, but is distinct in that that we show both compressed learning and representation can be achieved without significant modifications of popular CNN architectures. Specifically, any convolution layer of the CNN is easily replaced by two successive convolution layers: the first is a set of fixed filters (that represent the knowledge space of the entire layer and do not change), which is followed by a layer of one-dimensional filters (that represent the learned knowledge in this space). For the pre-trained networks, the fixed layer is just the truncated eigen-decompositions of the original filters. The 1D filters are initialized as the weights of linear combination, but are fine-tuned to recover any performance loss due to the truncation. For training networks from scratch, we use a set of random orthogonal fixed filters (that never change), and learn the 1D weight vector directly from the labeled data. Our method substantially reduces i) the number of learnable parameters during training, and ii) the number of multiplication operations and filter storage requirements during implementation. It does so without requiring any special operators in the convolution layer, and extends to all known popular CNN architectures. We apply our method to four well known network architectures trained with three different data sets. Results show a consistent reduction in i) the number of operations by up to a factor of 5, and ii) number of learnable parameters by up to a factor of 18, with less than 3% drop in performance on the CIFAR100 dataset.

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

↑