arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1709.06030cs.LGstat.ML
收藏

N2N学习:通过策略梯度的网络到网络压缩强化学习

N2N Learning: Network to Network Compression via Policy Gradient Reinforcement Learning

Robotics Institute(机器人研究所);Carnegie Mellon University(卡内基梅隆大学);Volvo Construction Equipment(沃尔沃建筑设备);Volvo Group(沃尔沃集团)

Anubhav Ashok, Nicholas Rhinehart, Fares Beainy, Kris M. Kitani

摘要:

虽然更大、更深的神经网络架构继续推动许多计算机视觉任务的最新发展,但这些网络的实际应用受到硬件和速度限制的阻碍。传统的模型压缩方法试图通过手动修改架构或使用预定义的语法来解决这个问题。由于所有简化架构的空间非常大,因此以这种方式修改深度神经网络的架构是一项困难的任务。在本文中,我们通过引入一种使用强化学习以数据驱动的方式学习简化网络架构的原则方法来解决这个问题。我们的方法需要一个更大的“教师”网络作为输入,并输出一个压缩的“学生”网络来自“教师”网络。在我们的方法的第一阶段,一个经常性的政策网络积极删除层从大型的“教师”模型。在第二阶段,另一个循环策略网络仔细地减少了剩余每一层的大小。然后对生成的网络进行评估以获得奖励-基于网络的准确性和压缩的分数。我们的方法使用这个奖励信号与策略梯度训练的政策,以找到一个局部最优的学生网络。我们的实验表明,对于ResNet-34等模型,我们可以实现超过10倍的压缩率,同时保持与输入“教师”网络相似的性能。我们还提出了一个有价值的迁移学习结果表明,在较小的“教师”网络上预先训练的政策可以用来快速加快在较大的“教师”网络上的训练。

英文摘要:

While bigger and deeper neural network architectures continue to advance the state-of-the-art for many computer vision tasks, real-world adoption of these networks is impeded by hardware and speed constraints. Conventional model compression methods attempt to address this problem by modifying the architecture manually or using pre-defined heuristics. Since the space of all reduced architectures is very large, modifying the architecture of a deep neural network in this way is a difficult task. In this paper, we tackle this issue by introducing a principled method for learning reduced network architectures in a data-driven way using reinforcement learning. Our approach takes a larger `teacher' network as input and outputs a compressed `student' network derived from the `teacher' network. In the first stage of our method, a recurrent policy network aggressively removes layers from the large `teacher' model. In the second stage, another recurrent policy network carefully reduces the size of each remaining layer. The resulting network is then evaluated to obtain a reward -- a score based on the accuracy and compression of the network. Our approach uses this reward signal with policy gradients to train the policies to find a locally optimal student network. Our experiments show that we can achieve compression rates of more than 10x for models such as ResNet-34 while maintaining similar performance to the input `teacher' network. We also present a valuable transfer learning result which shows that policies which are pre-trained on smaller `teacher' networks can be used to rapidly speed up training on larger `teacher' networks.

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

↑