arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.06091cs.LGcs.AI
收藏

DECORE:深度压缩与强化学习

DECORE: Deep Compression with Reinforcement Learning

Element Inc.(Element公司)

Manoj Alwani, Yang Wang, Vashisht Madhavan

摘要:

深度学习已经成为现代模式识别系统中越来越流行和强大的方法。然而,许多深度神经网络具有数百万或数十亿个参数,由于内存大小或延迟要求的限制,使其无法用于现实世界的应用。因此,深度学习方法的广泛采用通常需要高效的网络压缩技术。我们提出了DECORE,一种基于强化学习的方法来自动化网络压缩过程。DECORE为网络中的每个通道分配一个代理,并使用一个轻策略梯度方法来学习保留或删除哪些神经元或通道。网络中的每个代理只有一个参数(保留或删除)需要学习,这使得训练过程比现有方法快得多。DECORE在各种网络架构和各种数据集上提供最先进的压缩结果。例如,在ResNet-110架构上,与基线模型相比,它实现了64.8%的压缩和61.8%的FLOP减少,而在CIFAR-10数据集上没有任何准确性损失。它可以将常规架构(如VGG网络)的大小减少高达99%,而精度仅下降2.28%。对于像ImageNet这样只有30次训练的大型数据集,它可以将ResNet-50架构压缩44.7%,并将FLOP减少42.3%,而未压缩模型的前5名准确率仅下降0.69%。我们还证明,DECORE可以用来搜索基于各种约束,如内存和FLOPs的压缩网络架构。

英文摘要:

Deep learning has become an increasingly popular and powerful methodology for modern pattern recognition systems. However, many deep neural networks have millions or billions of parameters, making them untenable for real-world applications due to constraints on memory size or latency requirements. As a result, efficient network compression techniques are often required for the widespread adoption of deep learning methods. We present DECORE, a reinforcement learning-based approach to automate the network compression process. DECORE assigns an agent to each channel in the network along with a light policy gradient method to learn which neurons or channels to be kept or removed. Each agent in the network has just one parameter (keep or drop) to learn, which leads to a much faster training process compared to existing approaches. DECORE provides state-of-the-art compression results on various network architectures and various datasets. For example, on the ResNet-110 architecture, it achieves a 64.8% compression and 61.8% FLOPs reduction as compared to the baseline model without any accuracy loss on the CIFAR-10 dataset. It can reduce the size of regular architectures like the VGG network by up to 99% with just a small accuracy drop of 2.28%. For a larger dataset like ImageNet with just 30 epochs of training, it can compress the ResNet-50 architecture by 44.7% and reduce FLOPs by 42.3%, with just a 0.69% drop on Top-5 accuracy of the uncompressed model. We also demonstrate that DECORE can be used to search for compressed network architectures based on various constraints, such as memory and FLOPs.

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

↑