FSNet:通过滤波器压缩深度卷积神经网络摘要
FSNet: Compression of Deep Convolutional Neural Networks by Filter Summary
摘要:
我们提出了一种通过卷积滤波器的新表示进行权重共享来压缩深度卷积神经网络(CNN)的新方法。所提出的方法通过学习称为滤波器摘要(FS)的1D向量来减少每个卷积层的参数数量。卷积滤波器位于FS中作为重叠的1D段,FS中的邻近滤波器以自然的方式在其重叠区域中共享权重。基于这种权重共享方案的所得神经网络(称为滤波器摘要CNN或FSNet)在每个卷积层中具有FS,而不是常规卷积层中的一组独立滤波器。FSNet具有与待压缩的基线CNN相同的架构,并且FSNet的每个卷积层在前向过程中具有与基线CNN相同数量的来自FS的滤波器。FSNet的参数空间远小于基线CNN的参数空间,具有令人信服的计算加速比。此外,FSNet是量化友好的。具有权重量化的FSNet导致甚至更高的压缩比,而没有明显的性能损失。我们进一步提出了可微分FSNet,其中过滤器共享权重的方式是以可微分和端到端的方式学习的。实验证明了FSNet在压缩CNN用于计算机视觉任务(包括图像分类和目标检测)中的有效性,并且DFSNet的有效性通过神经结构搜索任务得到了证明。
英文摘要:
We present a novel method of compression of deep Convolutional Neural Networks (CNNs) by weight sharing through a new representation of convolutional filters. The proposed method reduces the number of parameters of each convolutional layer by learning a 1D vector termed Filter Summary (FS). The convolutional filters are located in FS as overlapping 1D segments, and nearby filters in FS share weights in their overlapping regions in a natural way. The resultant neural network based on such weight sharing scheme, termed Filter Summary CNNs or FSNet, has a FS in each convolution layer instead of a set of independent filters in the conventional convolution layer. FSNet has the same architecture as that of the baseline CNN to be compressed, and each convolution layer of FSNet has the same number of filters from FS as that of the basline CNN in the forward process. With compelling computational acceleration ratio, the parameter space of FSNet is much smaller than that of the baseline CNN. In addition, FSNet is quantization friendly. FSNet with weight quantization leads to even higher compression ratio without noticeable performance loss. We further propose Differentiable FSNet where the way filters share weights is learned in a differentiable and end-to-end manner. Experiments demonstrate the effectiveness of FSNet in compression of CNNs for computer vision tasks including image classification and object detection, and the effectiveness of DFSNet is evidenced by the task of Neural Architecture Search.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。