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

低秩稀疏张量分解的卷积神经网络压缩

Convolutional neural networks compression with low rank and sparse tensor decompositions

Skoltech(斯科尔特科技学院)

Pavel Kaloshin

摘要:

卷积神经网络在各种计算机视觉任务中表现出优异的性能。然而,神经网络架构设计通常面临模型性能和计算/存储器复杂度之间的权衡。对于一些现实世界的应用程序,开发模型至关重要,这些模型可以快速而轻巧地在边缘系统和移动设备上运行。然而,许多表现出良好性能的现代体系结构不满足推理时间和存储限制的要求。因此,出现了一个问题,神经网络压缩,以获得一个更小,更快的模型,这是与初始的。在这项工作中,我们考虑一个神经网络压缩方法的基础上张量分解。也就是说,我们建议用一个张量来近似卷积层权重,它可以表示为低秩和稀疏分量的总和。这种近似的动机是基于这样的假设,即低秩和稀疏项允许消除两种不同类型的冗余,从而产生更好的压缩率。一个有效的CPU实现所提出的方法已经开发。我们的算法在压缩Resnet 50架构用于图像分类任务时,表现出高达3.5倍的CPU层加速和11倍的层大小减少。

英文摘要:

Convolutional neural networks show outstanding results in a variety of computer vision tasks. However, a neural network architecture design usually faces a trade-off between model performance and computational/memory complexity. For some real-world applications, it is crucial to develop models, which can be fast and light enough to run on edge systems and mobile devices. However, many modern architectures that demonstrate good performance don't satisfy inference time and storage limitation requirements. Thus, arises a problem of neural network compression to obtain a smaller and faster model, which is on par with the initial one. In this work, we consider a neural network compression method based on tensor decompositions. Namely, we propose to approximate the convolutional layer weight with a tensor, which can be represented as a sum of low-rank and sparse components. The motivation for such approximation is based on the assumption that low-rank and sparse terms allow eliminating two different types of redundancy and thus yield a better compression rate. An efficient CPU implementation for the proposed method has been developed. Our algorithm has demonstrated up to 3.5x CPU layer speedup and 11x layer size reduction when compressing Resnet50 architecture for the image classification task.

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

↑