arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.14488cs.LGstat.ML
收藏

NAT:神经架构Transformer,用于精确和紧凑的架构

NAT: Neural Architecture Transformer for Accurate and Compact Architectures

South China University of Technology(华南理工大学);Weixin Group, Tencent(腾讯微信事业群);Tencent AI Lab(腾讯人工智能实验室);University of Texas at Arlington(德克萨斯大学阿灵顿分校)

Yong Guo, Yin Zheng, Mingkui Tan, Qi Chen, Jian Chen, Peilin Zhao, Junzhou Huang

摘要:

设计有效的架构是深度神经网络成功背后的关键因素之一。现有的深度架构要么是手动设计的,要么是通过一些神经架构搜索(NAS)方法自动搜索的。然而,即使是搜索良好的架构也可能仍然包含许多不重要或冗余的模块或操作(例如,卷积或池化(pooling)),这不仅会导致大量的存储器消耗和计算成本,而且会使性能恶化。因此,有必要优化架构内的操作以在不引入额外计算成本的情况下提高性能。不幸的是,这样的约束优化问题是NP-难的。为了使问题可行,我们将优化问题转化为马尔可夫决策过程(MDP),并寻求学习神经架构Transformer(NAT),以用计算效率更高的操作(例如,跳过连接或直接移除连接)。在MDP的基础上,利用强化学习对NAT进行学习,得到优化策略。不同的架构。为了验证所提出的策略的有效性,我们应用NAT的手工制作的架构和NAS为基础的架构。在两个基准数据集上进行了广泛的实验,即,CIFAR-10和ImageNet证明,NAT转换的架构明显优于其原始形式和通过现有方法优化的架构。

英文摘要:

Designing effective architectures is one of the key factors behind the success of deep neural networks. Existing deep architectures are either manually designed or automatically searched by some Neural Architecture Search (NAS) methods. However, even a well-searched architecture may still contain many non-significant or redundant modules or operations (e.g., convolution or pooling), which may not only incur substantial memory consumption and computation cost but also deteriorate the performance. Thus, it is necessary to optimize the operations inside an architecture to improve the performance without introducing extra computation cost. Unfortunately, such a constrained optimization problem is NP-hard. To make the problem feasible, we cast the optimization problem into a Markov decision process (MDP) and seek to learn a Neural Architecture Transformer (NAT) to replace the redundant operations with the more computationally efficient ones (e.g., skip connection or directly removing the connection). Based on MDP, we learn NAT by exploiting reinforcement learning to obtain the optimization policies w.r.t. different architectures. To verify the effectiveness of the proposed strategies, we apply NAT on both hand-crafted architectures and NAS based architectures. Extensive experiments on two benchmark datasets, i.e., CIFAR-10 and ImageNet, demonstrate that the transformed architecture by NAT significantly outperforms both its original form and those architectures optimized by existing methods.

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

↑