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

高效的神经网络压缩

Efficient Neural Network Compression

Korea Advanced Institute of Science and Technology (KAIST)(韩国高等科学技术院(KAIST))

Hyeji Kim, Muhammad Umar Karim Khan, Chong-Min Kyung

摘要:

网络压缩通过减少参数数量来降低深度神经网络的计算复杂性和内存消耗。在基于SVD的网络压缩中,需要为网络的每一层确定正确的秩。在本文中,我们提出了一个有效的方法来获得整个网络的秩配置。与以前单独考虑每一层的方法不同,我们的方法考虑整个网络来选择正确的秩配置。我们提出了新的准确性指标来表示一个给定的神经网络的准确性和复杂性的关系。我们使用这些指标在一个非迭代的方式,以获得正确的秩配置,满足限制的FLOPs和内存,同时保持足够的准确性。实验表明,我们的方法提供了更好的准确性和计算复杂性/内存消耗之间的折衷,同时执行压缩在更高的速度。对于VGG-16,与基线相比,我们的网络可以将FLOP减少25%,并将准确性提高0.7%,同时仅需要CPU上的3分钟来搜索正确的排名配置。此前,类似的结果是在4小时内用8个GPU实现的。该方法也可用于神经网络的无损压缩。更好的准确性和复杂性的妥协,以及极快的速度,我们的方法使它适合于神经网络压缩。

英文摘要:

Network compression reduces the computational complexity and memory consumption of deep neural networks by reducing the number of parameters. In SVD-based network compression, the right rank needs to be decided for every layer of the network. In this paper, we propose an efficient method for obtaining the rank configuration of the whole network. Unlike previous methods which consider each layer separately, our method considers the whole network to choose the right rank configuration. We propose novel accuracy metrics to represent the accuracy and complexity relationship for a given neural network. We use these metrics in a non-iterative fashion to obtain the right rank configuration which satisfies the constraints on FLOPs and memory while maintaining sufficient accuracy. Experiments show that our method provides better compromise between accuracy and computational complexity/memory consumption while performing compression at much higher speed. For VGG-16 our network can reduce the FLOPs by 25% and improve accuracy by 0.7% compared to the baseline, while requiring only 3 minutes on a CPU to search for the right rank configuration. Previously, similar results were achieved in 4 hours with 8 GPUs. The proposed method can be used for lossless compression of a neural network as well. The better accuracy and complexity compromise, as well as the extremely fast speed of our method makes it suitable for neural network compression.

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

↑