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

开箱即用的通道修剪网络

Out-of-the-box channel pruned networks

Amazon Web Services AI(亚马逊云服务人工智能);Amazon Alexa AI(亚马逊Alexa人工智能)

Ragav Venkatesan, Gurumurthy Swaminathan, Xiong Zhou, Anna Luo

摘要:

在过去的十年中,卷积神经网络已经变得庞大。预先训练的模型在用作初始化器时,能够在小数据集上微调更大的网络。因此,并非这些微调模型检测到的所有卷积特征都是最终任务所必需的。已经提出了几种通道修剪的工作,以从已经训练的模型中修剪掉计算和内存。通常,这些涉及决定从每个层移除哪些通道和移除多少通道的策略,从而分别导致通道式和/或层式修剪简档。在本文中,我们进行了几个基线实验,并建立随机通道修剪政策的配置文件是一样好的度量为基础的。我们还确定,可能存在的配置文件,从一些逐层修剪政策,可衡量的比共同的基线。然后,我们证明了使用穷举随机搜索从一个数据集发现的顶层修剪配置文件也是其他数据集的顶级配置文件之一。这意味着我们可以使用基准数据集识别开箱即用的逐层修剪配置文件,并将其直接用于新数据集。此外,我们开发了一个强化学习(RL)基于策略的搜索算法,其直接目标是使用相同架构的许多模型找到可转移的逐层修剪配置文件。我们使用了一种新的奖励公式,将这种RL搜索推向预期的压缩,同时最大限度地提高准确性。我们的研究结果表明,我们转移的基于RL的配置文件是一样好或更好的最佳配置文件上找到的原始数据集通过穷举搜索。然后,我们证明,如果我们使用中等大小的数据集(如Cifar 10/100)找到配置文件,我们甚至可以将它们传输到大型数据集(如Imagenet)。

英文摘要:

In the last decade convolutional neural networks have become gargantuan. Pre-trained models, when used as initializers are able to fine-tune ever larger networks on small datasets. Consequently, not all the convolutional features that these fine-tuned models detect are requisite for the end-task. Several works of channel pruning have been proposed to prune away compute and memory from models that were trained already. Typically, these involve policies that decide which and how many channels to remove from each layer leading to channel-wise and/or layer-wise pruning profiles, respectively. In this paper, we conduct several baseline experiments and establish that profiles from random channel-wise pruning policies are as good as metric-based ones. We also establish that there may exist profiles from some layer-wise pruning policies that are measurably better than common baselines. We then demonstrate that the top layer-wise pruning profiles found using an exhaustive random search from one datatset are also among the top profiles for other datasets. This implies that we could identify out-of-the-box layer-wise pruning profiles using benchmark datasets and use these directly for new datasets. Furthermore, we develop a Reinforcement Learning (RL) policy-based search algorithm with a direct objective of finding transferable layer-wise pruning profiles using many models for the same architecture. We use a novel reward formulation that drives this RL search towards an expected compression while maximizing accuracy. Our results show that our transferred RL-based profiles are as good or better than best profiles found on the original dataset via exhaustive search. We then demonstrate that if we found the profiles using a mid-sized dataset such as Cifar10/100, we are able to transfer them to even a large dataset such as Imagenet.

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

↑