Learning Transferable Architectures for Scalable Image Recognition
Learning Transferable Architectures for Scalable Image Recognition
学习可迁移的结构,用于可扩展的图像识别
Google Brain Google Brain Google Brain Google Brain
barretzoph@google.com vrv@google.com shlens@google.com qvl@google.com
Abstract
摘要
Developing neural network image classification models often requires significant architecture engineering. In this paper, we study a method to learn the model architectures directly on the dataset of interest. As this approach is expensive when the dataset is large, we propose to search for an architectural building block on a small dataset and then transfer the block to a larger dataset. The key contribution of this work is the design of a new search space (which we call the “NASNet search space”) which enables transferability. In our experiments, we search for the best convolutional layer (or “cell”) on the CIFAR-10 dataset and then apply this cell to the ImageNet dataset by stacking together more copies of this cell, each with their own parameters to design a convolutional architecture, which we name a “NASNet architecture”. We also introduce a new regularization technique called ScheduledDropPath that significantly improves generalization in the NASNet models. On CIFAR-10 itself, a NASNet found by our method achieves 2.4% error rate, which is state-of-the-art. Although the cell is not searched for directly on ImageNet, a NASNet constructed from the best cell achieves, among the published works, state-of-the-art accuracy of 82.7% top-1 and 96.2% top-5 on ImageNet. Our model is 1.2% better in top-1 accuracy than the best human-invented architectures while having 9 billion fewer FLOPS – a reduction of 28% in computational demand from the previous state-of-the-art model. When evaluated at different levels of computational cost, accuracies of NASNets exceed those of the state-of-the-art human-designed models. For instance, a small version of NASNet also achieves 74% top-1 accuracy, which is 3.1% better than equivalently-sized, state-of-the-art models for mobile platforms. Finally, the image features learned from image classification are generically useful and can be transferred to other computer vision problems. On the task of object detection, the learned features by NASNet used with the Faster-RCNN framework surpass state-of-the-art by 4.0% achieving 43.1% mAP on the COCO dataset.
开发用于图像分类的神经网络,往往需要大量的结构调整。本文研究一种直接在目标数据集上学习模型结构的方法。当数据集很大时,这种做法代价很高,因此我们提议先在小数据集上搜索一种结构构件,再把该构件迁移到更大的数据集上。本文的关键贡献是设计了一种能够实现可迁移性的新搜索空间(我们称之为 “NASNet search space”)。实验中,我们在 CIFAR-10 上搜索最好的卷积层(或称 “cell”),再把更多副本堆叠起来,每个副本有各自的参数,从而在 ImageNet 上构成一种卷积结构,我们称之为 “NASNet architecture”。我们还引入一种名为 ScheduledDropPath 的新正则方法,显著改善了 NASNet 模型的泛化。在 CIFAR-10 本身上,本方法找到的 NASNet 达到 2.4% 的错误率,为当时最好结果。虽然 cell 并非直接在 ImageNet 上搜索,由最好 cell 构成的 NASNet 在已发表工作中达到 82.7% top-1 和 96.2% top-5 的当时最高精度。相对最好的人工设计结构,我们的模型在 top-1 上高 1.2 个百分点,同时少 90 亿次浮点运算,比此前最好模型的计算量降低 28%。在不同计算量水平上评估时,NASNet 的精度都高于当时最好的人工设计模型。例如,较小的 NASNet 也达到 74% top-1 精度,比同等规模、面向移动平台的当时最好模型高 3.1 个百分点。最后,从图像分类中学到的图像特征具有通用性,可以迁移到其他计算机视觉问题。在目标检测任务上,把 NASNet 学到的特征与 Faster-RCNN 框架结合,比此前最好结果高出 4.0 个百分点,在 COCO 上达到 43.1% mAP。
- Introduction
- 引言
Developing neural network image classification models often requires significant architecture engineering. Starting from the seminal work of [32] on using convolutional architectures [17, 34] for ImageNet [11] classification, successive advancements through architecture engineering have achieved impressive results [53, 59, 20, 60, 58, 68].
开发用于图像分类的神经网络,往往需要大量的结构调整。自 [32] 用卷积结构 [17, 34] 做 ImageNet [11] 分类的开创性工作以来,后续通过结构调整取得了可观的进展 [53, 59, 20, 60, 58, 68]。
In this paper, we study a new paradigm of designing convolutional architectures and describe a scalable method to optimize convolutional architectures on a dataset of interest, for instance the ImageNet classification dataset. Our approach is inspired by the recently proposed Neural Architecture Search (NAS) framework [71], which uses a reinforcement learning search method to optimize architecture configurations. Applying NAS, or any other search methods, directly to a large dataset, such as the ImageNet dataset, is however computationally expensive. We therefore propose to search for a good architecture on a proxy dataset, for example the smaller CIFAR-10 dataset, and then transfer the learned architecture to ImageNet. We achieve this transferrability by designing a search space (which we call “the NASNet search space”) so that the complexity of the architecture is independent of the depth of the network and the size of input images. More concretely, all convolutional networks in our search space are composed of convolutional layers (or “cells”) with identical structure but different weights. Searching for the best convolutional architectures is therefore reduced to searching for the best cell structure. Searching for the best cell structure has two main benefits: it is much faster than searching for an entire network architecture and the cell itself is more likely to generalize to other problems. In our experiments, this approach significantly accelerates the search for the best architectures using CIFAR-10 by a factor of 7× and learns architectures that successfully transfer to ImageNet.
本文研究一种设计卷积结构的新范式,并给出一种可扩展的方法,在目标数据集(例如 ImageNet 分类数据集)上优化卷积结构。我们的方法受到近来提出的神经结构搜索(Neural Architecture Search, NAS)框架 [71] 的启发,该框架用强化学习来优化结构配置。不过,把 NAS 或其他搜索方法直接用到 ImageNet 这样的大数据集上,计算代价很高。因此我们提议先在代理数据集(例如更小的 CIFAR-10)上搜索好的结构,再把学到的结构转到 ImageNet。为实现这种可迁移性,我们设计了一种搜索空间(称为 “the NASNet search space”),使结构的复杂度与网络深度和输入图像尺寸无关。更具体地说,该搜索空间中的所有卷积网络都由结构相同、权重不同的卷积层(或称 “cell”)组成。于是,搜索最好的卷积结构就归结为搜索最好的 cell 结构。搜索 cell 结构有两个主要好处:比搜索整网结构快得多,而且 cell 本身也更可能推广到其他问题。实验中,这一做法把在 CIFAR-10 上搜索最好结构的速度提高了约 7 倍,并且学到的结构能够成功转到 ImageNet。
Our main result is that the best architecture found on CIFAR-10, called NASNet, achieves state-of-the-art accuracy when transferred to ImageNet classification without much modification. On ImageNet, NASNet achieves, among the published works, state-of-the-art accuracy of 82.7% top-1 and 96.2% top-5. This result amounts to a 1.2% improvement in top-1 accuracy than the best human-invented architectures while having 9 billion fewer FLOPS. On CIFAR-10 itself, NASNet achieves 2.4% error rate, which is also state-of-the-art.
我们的主要结果是:在 CIFAR-10 上找到的最好结构 NASNet,在几乎不加修改的情况下迁移到 ImageNet 分类,即可达到当时最好精度。在 ImageNet 上,NASNet 在已发表工作中达到 82.7% top-1 和 96.2% top-5。相对最好的人工设计结构,这相当于 top-1 提高 1.2 个百分点,同时少 90 亿次浮点运算。在 CIFAR-10 本身上,NASNet 达到 2.4% 的错误率,同样是当时最好结果。
Additionally, by simply varying the number of the convolutional cells and number of filters in the convolutional cells, we can create different versions of NASNets with different computational demands. Thanks to this property of the cells, we can generate a family of models that achieve accuracies superior to all human-invented models at equivalent or smaller computational budgets [60, 29]. Notably, the smallest version of NASNet achieves 74.0% top-1 accuracy on ImageNet, which is 3.1% better than previously engineered architectures targeted towards mobile and embedded vision tasks [24, 70].
此外,只需改变卷积 cell 的数量以及其中的滤波器数量,就可以得到计算需求不同的多种 NASNet。正是由于 cell 的这一性质,我们可以生成一族模型,在相同或更小的计算预算下,精度高于所有人工设计的模型 [60, 29]。值得一提的是,最小的 NASNet 在 ImageNet 上达到 74.0% top-1 精度,比此前面向移动和嵌入式视觉任务设计的结构高 3.1 个百分点 [24, 70]。
Finally, we show that the image features learned by NASNets are generically useful and transfer to other computer vision problems. In our experiments, the features learned by NASNets from ImageNet classification can be combined with the Faster-RCNN framework [47] to achieve state-of-the-art on COCO object detection task for both the largest as well as mobile-optimized models. Our largest NASNet model achieves 43.1% mAP, which is 4% better than previous state-of-the-art.
最后我们说明,NASNet 学到的图像特征具有通用性,可以迁移到其他计算机视觉问题。实验中,把 NASNet 在 ImageNet 分类上学习的特征与 Faster-RCNN 框架 [47] 结合,无论是最大模型还是面向移动端优化的模型,都在 COCO 目标检测上达到当时最好结果。我们最大的 NASNet 模型达到 43.1% mAP,比此前最好结果高 4 个百分点。
- Related Work
- 相关工作
The proposed method is related to previous work in hyperparameter optimization [44, 4, 5, 54, 55, 6, 40] – especially recent approaches in designing architectures such as Neural Fabrics [48], DiffRNN [41], MetaQNN [3] and DeepArchitect [43]. A more flexible class of methods for designing architecture is evolutionary algorithms [65, 16, 57, 30, 46, 42, 67], yet they have not had as much success at large scale. Xie and Yuille [67] also transferred learned architectures from CIFAR-10 to ImageNet but performance of these models (top-1 accuracy 72.1%) are notably below previous state-of-the-art (Table 2).
本文方法与超参数优化方面的已有工作相关 [44, 4, 5, 54, 55, 6, 40],尤其是近来设计结构的方法,例如 Neural Fabrics [48]、DiffRNN [41]、MetaQNN [3] 和 DeepArchitect [43]。一类更灵活的结构设计方法是进化算法 [65, 16, 57, 30, 46, 42, 67],但它们在大规模问题上还没有取得同样多的成功。Xie and Yuille [67] 也曾把在 CIFAR-10 上得到的结构转到 ImageNet,但这些模型的表现(top-1 精度 72.1%)明显低于此前最好结果(表 2)。
The concept of having one neural network interact with a second neural network to aid the learning process, or learning to learn or meta-learning [23, 49] has attracted much attention in recent years [1, 62, 14, 19, 35, 45, 15]. Most of these approaches have not been scaled to large problems like ImageNet. An exception is the recent work focused on learning an optimizer for ImageNet classification that achieved notable improvements [64].
用一个神经网络与另一个神经网络交互以辅助学习,也就是学习如何学习或元学习 [23, 49],近年来受到很多关注 [1, 62, 14, 19, 35, 45, 15]。这些方法大多还没有扩展到 ImageNet 这样的大规模问题。一个例外是近来针对 ImageNet 分类学习优化器的工作,取得了明显改进 [64]。
The design of our search space took much inspiration from LSTMs [22], and Neural Architecture Search Cell [71]. The modular structure of the convolutional cell is also related to previous methods on ImageNet such as VGG [53], Inception [59, 60, 58], ResNet/ResNext [20, 68], and Xception/MobileNet [9, 24].
我们搜索空间的设计很大程度上受到 LSTM [22] 以及 Neural Architecture Search Cell [71] 的启发。卷积 cell 的模块化结构也与此前在 ImageNet 上的方法有关,例如 VGG [53]、Inception [59, 60, 58]、ResNet/ResNext [20, 68] 以及 Xception/MobileNet [9, 24]。
- Method
- 方法
Our work makes use of search methods to find good convolutional architectures on a dataset of interest. The main search method we use in this work is the Neural Architecture Search (NAS) framework proposed by [71]. In NAS, a controller recurrent neural network (RNN) samples child networks with different architectures. The child networks are trained to convergence to obtain some accuracy on a held-out validation set. The resulting accuracies are used to update the controller so that the controller will generate better architectures over time. The controller weights are updated with policy gradient (see Figure 1).
本文用搜索方法在目标数据集上寻找好的卷积结构。我们主要使用的搜索方法是 [71] 提出的神经结构搜索(NAS)框架。在 NAS 中,一个控制器循环神经网络(RNN)采样结构不同的子网络。子网络被训练到收敛,以在留出验证集上得到精度。这些精度再用来更新控制器,使控制器随时间生成更好的结构。控制器权重用策略梯度更新(见图 1)。
图 1. 神经结构搜索概览 [71]。控制器 RNN 以概率 从搜索空间中预测结构 。具有结构 的子网络被训练到收敛,得到精度 。用 缩放 的梯度,以更新 RNN 控制器。
The main contribution of this work is the design of a novel search space, such that the best architecture found on the CIFAR-10 dataset would scale to larger, higher-resolution image datasets across a range of computational settings. We name this search space the NASNet search space as it gives rise to NASNet, the best architecture found in our experiments. One inspiration for the NASNet search space is the realization that architecture engineering with CNNs often identifies repeated motifs consisting of combinations of convolutional filter banks, nonlinearities and a prudent selection of connections to achieve state-of-the-art results (such as the repeated modules present in the Inception and ResNet models [59, 20, 60, 58]). These observations suggest that it may be possible for the controller RNN to predict a generic convolutional cell expressed in terms of these motifs. This cell can then be stacked in series to handle inputs of arbitrary spatial dimensions and filter depth.
本文的主要贡献是设计了一种新的搜索空间,使得在 CIFAR-10 上找到的最好结构可以扩展到更大、更高分辨率的图像数据集,并覆盖多种计算设定。我们把这个空间称为 NASNet search space,因为它产生了实验中找到的最好结构 NASNet。该搜索空间的一个启发是:用 CNN 做结构调整时,人们往往识别出由卷积滤波器组、非线性以及审慎选择的连接组合而成的重复基元,从而取得最好结果(例如 Inception 和 ResNet 模型中的重复模块 [59, 20, 60, 58])。这些观察表明,控制器 RNN 有可能用这些基元来预测一种通用的卷积 cell。这种 cell 再串联堆叠,即可处理任意空间尺寸和滤波器深度的输入。
In our approach, the overall architectures of the convolutional nets are manually predetermined. They are composed of convolutional cells repeated many times where each convolutional cell has the same architecture, but different weights. To easily build scalable architectures for images of any size, we need two types of convolutional cells to serve two main functions when taking in a feature map as input: (1) convolutional cells that return a feature map of the same dimension, and (2) convolutional cells that return a feature map where the feature map height and width is reduced by a factor of two. We name the first type and second type of convolutional cells Normal Cell and Reduction Cell respectively. For the Reduction Cell, we make the initial operation applied to the cell’s inputs have a stride of two to reduce the height and width. All of our operations that we consider for building our convolutional cells have an option of striding.
在我们的方法中,卷积网络的总体结构由人手预先确定。它们由多次重复的卷积 cell 组成,每个 cell 结构相同、权重不同。为了方便为任意尺寸的图像构建可扩展结构,我们需要两类卷积 cell,在输入特征图时分别承担两种主要功能:(1) 返回相同尺寸特征图的卷积 cell;(2) 返回高宽减半的特征图的卷积 cell。我们把第一类和第二类分别称为 Normal Cell 和 Reduction Cell。对 Reduction Cell,我们让作用于 cell 输入的初始运算步长为 2,以减小高宽。我们考虑用于构建卷积 cell 的所有运算都可选步长。
Figure 2. Scalable architectures for image classification consist of two repeated motifs termed Normal Cell and Reduction Cell. This diagram highlights the model architecture for CIFAR-10 and ImageNet. The choice for the number of times the Normal Cells that gets stacked between reduction cells, , can vary in our experiments.
图 2. 用于图像分类的可扩展结构由两种重复基元组成,称为 Normal Cell 和 Reduction Cell。本图给出 CIFAR-10 和 ImageNet 上的模型结构。Reduction Cell 之间堆叠 Normal Cell 的次数 ,在实验中可以变化。
Figure 2 shows our placement of Normal and Reduction Cells for CIFAR-10 and ImageNet. Note on ImageNet we have more Reduction Cells, since the incoming image size is 299x299 compared to 32x32 for CIFAR. The Reduction and Normal Cell could have the same architecture, but we empirically found it beneficial to learn two separate architectures. We use a common heuristic to double the number of filters in the output whenever the spatial activation size is reduced in order to maintain roughly constant hidden state dimension [32, 53]. Importantly, much like Inception and ResNet models [59, 20, 60, 58], we consider the number of motif repetitions and the number of initial convolutional filters as free parameters that we tailor to the scale of an image classification problem.
图 2 给出了我们在 CIFAR-10 和 ImageNet 上放置 Normal Cell 和 Reduction Cell 的方式。注意 ImageNet 上 Reduction Cell 更多,因为输入图像尺寸是 299×299,而 CIFAR 是 32×32。Reduction Cell 和 Normal Cell 本可以采用相同结构,但我们经验上发现分别学习两种结构更有益。我们采用一种常用启发式:每当空间激活尺寸减小,就把输出滤波器数量加倍,以大致保持隐藏状态维度不变 [32, 53]。重要的是,与 Inception 和 ResNet 模型 [59, 20, 60, 58] 类似,我们把基元重复次数 以及初始卷积滤波器数量视为自由参数,按图像分类问题的规模来调整。
What varies in the convolutional nets is the structures of the Normal and Reduction Cells, which are searched by the controller RNN. The structures of the cells can be searched within a search space defined as follows (see Appendix, Figure 7 for schematic). In our search space, each cell receives as input two initial hidden states and which are the outputs of two cells in previous two lower layers or the input image. The controller RNN recursively predicts the rest of the structure of the convolutional cell, given these two initial hidden states (Figure 3). The predictions of the controller for each cell are grouped into blocks, where each block has 5 prediction steps made by 5 distinct softmax classifiers corresponding to discrete choices of the elements of a block:
卷积网络中真正变化的,是由控制器 RNN 搜索的 Normal Cell 和 Reduction Cell 的结构。cell 的结构在如下定义的搜索空间中搜索(示意图见附录图 7)。在我们的搜索空间中,每个 cell 接收两个初始隐藏状态 和 作为输入,它们是前两层两个 cell 的输出,或输入图像。给定这两个初始隐藏状态,控制器 RNN 递归地预测卷积 cell 的其余结构(图 3)。控制器对每个 cell 的预测被分成 个 block,每个 block 有 5 个预测步骤,由 5 个不同的 softmax 分类器完成,分别对应 block 中各元素的离散选择:
Step 1. Select a hidden state from , or from the set of hidden states created in previous blocks.
步骤 1. 从 、 或此前 block 中已创建的隐藏状态集合里,选择一个隐藏状态。
Step 2. Select a second hidden state from the same options as in Step 1.
步骤 2. 从与步骤 1 相同的选项中选择第二个隐藏状态。
Step 3. Select an operation to apply to the hidden state selected in Step 1.
步骤 3. 为步骤 1 选出的隐藏状态选择一种运算。
Step 4. Select an operation to apply to the hidden state selected in Step 2.
步骤 4. 为步骤 2 选出的隐藏状态选择一种运算。
Step 5. Select a method to combine the outputs of Step 3 and 4 to create a new hidden state.
步骤 5. 选择一种方法,组合步骤 3 和 4 的输出,以创建新的隐藏状态。
The algorithm appends the newly-created hidden state to the set of existing hidden states as a potential input in subsequent blocks. The controller RNN repeats the above 5 prediction steps times corresponding to the blocks in a convolutional cell. In our experiments, selecting provides good results, although we have not exhaustively searched this space due to computational limitations.
算法把新创建的隐藏状态加入已有隐藏状态集合,作为后续 block 的潜在输入。控制器 RNN 将上述 5 个预测步骤重复 次,对应卷积 cell 中的 个 block。实验中取 效果较好,不过受计算所限,我们并未穷尽搜索这一空间。
In steps 3 and 4, the controller RNN selects an operation to apply to the hidden states. We collected the following set of operations based on their prevalence in the CNN literature:
在步骤 3 和 4 中,控制器 RNN 为隐藏状态选择一种运算。我们根据它们在 CNN 文献中的常见程度,收集了下面这组运算:
- identity
- 恒等映射
- 1x7 then 7x1 convolution
- 先 1×7 再 7×1 卷积
- 3x3 average pooling
- 3×3 平均池化
- 5x5 max pooling
- 5×5 最大池化
- 1x1 convolution
- 1×1 卷积
- 3x3 depthwise-separable conv
- 3×3 深度可分离卷积
- 7x7 depthwise-separable conv
- 7×7 深度可分离卷积
- 1x3 then 3x1 convolution
- 先 1×3 再 3×1 卷积
- 3x3 dilated convolution
- 3×3 空洞卷积
- 3x3 max pooling
- 3×3 最大池化
- 7x7 max pooling
- 7×7 最大池化
- 3x3 convolution
- 3×3 卷积
- 5x5 depthwise-seperable conv
- 5×5 深度可分离卷积
In step 5 the controller RNN selects a method to combine the two hidden states, either (1) element-wise addition between two hidden states or (2) concatenation between two hidden states along the filter dimension. Finally, all of the unused hidden states generated in the convolutional cell are concatenated together in depth to provide the final cell output.
在步骤 5 中,控制器 RNN 选择一种组合两个隐藏状态的方法:或者 (1) 对两个隐藏状态做逐元素相加,或者 (2) 沿滤波器维拼接两个隐藏状态。最后,卷积 cell 中所有未被使用的隐藏状态在深度上拼接起来,作为 cell 的最终输出。
To allow the controller RNN to predict both Normal Cell and Reduction Cell, we simply make the controller have predictions in total, where the first predictions are for the Normal Cell and the second predictions are for the Reduction Cell.
为了让控制器 RNN 同时预测 Normal Cell 和 Reduction Cell,我们简单地让控制器一共做 次预测,前 次用于 Normal Cell,后 次用于 Reduction Cell。
Figure 3. Controller model architecture for recursively constructing one block of a convolutional cell. Each block requires selecting 5 discrete parameters, each of which corresponds to the output of a softmax layer. Example constructed block shown on right. A convolutional cell contains blocks, hence the controller contains softmax layers for predicting the architecture of a convolutional cell. In our experiments, the number of blocks is 5.
图 3. 用于递归构造卷积 cell 中一个 block 的控制器模型结构。每个 block 需要选择 5 个离散参数,每个参数对应一个 softmax 层的输出。右侧给出构造出的 block 示例。一个卷积 cell 含 个 block,因此控制器含 个 softmax 层来预测卷积 cell 的结构。实验中 block 数 为 5。
Finally, our work makes use of the reinforcement learning proposal in NAS [71]; however, it is also possible to use random search to search for architectures in the NASNet search space. In random search, instead of sampling the decisions from the softmax classifiers in the controller RNN, we can sample the decisions from the uniform distribution. In our experiments, we find that random search is slightly worse than reinforcement learning on the CIFAR-10 dataset. Although there is value in using reinforcement learning, the gap is smaller than what is found in the original work of [71]. This result suggests that 1) the NASNet search space is well-constructed such that random search can perform reasonably well and 2) random search is a difficult baseline to beat. We will compare reinforcement learning against random search in Section 4.4.
最后,本文采用了 NAS [71] 中的强化学习方案;不过,也可以用随机搜索在 NASNet 搜索空间中寻找结构。在随机搜索中,我们不再从控制器 RNN 的 softmax 分类器中采样决策,而是从均匀分布中采样。实验中我们发现,在 CIFAR-10 上随机搜索略差于强化学习。虽然使用强化学习仍有价值,但差距小于 [71] 原工作中的结果。这一结果说明:1) NASNet 搜索空间构造得较好,随机搜索也能取得还不错的表现;2) 随机搜索是一个不容易超过的基线。我们将在 4.4 节比较强化学习和随机搜索。
- Experiments and Results
- 实验与结果
In this section, we describe our experiments with the method described above to learn convolutional cells. In summary, all architecture searches are performed using the CIFAR-10 classification task [31]. The controller RNN was trained using Proximal Policy Optimization (PPO) [51] by employing a global workqueue system for generating a pool of child networks controlled by the RNN. In our experiments, the pool of workers in the workqueue consisted of 500 GPUs.
本节介绍我们用上述方法学习卷积 cell 的实验。概括地说,所有结构搜索都在 CIFAR-10 分类任务 [31] 上进行。控制器 RNN 用近端策略优化(PPO)[51] 训练,并借助一个全局工作队列系统,生成由该 RNN 控制的子网络池。实验中,工作队列里的工作进程使用了 500 块 GPU。
The result of this search process over 4 days yields several candidate convolutional cells. We note that this search procedure is almost 7× faster than previous approaches [71] that took 28 days. Additionally, we demonstrate below that the resulting architecture is superior in accuracy.
这一搜索过程历时 4 天,得到若干候选卷积 cell。我们指出,该搜索程序几乎比此前耗时 28 天的方法 [71] 快 7 倍。下面我们还将说明,得到的结构在精度上也更优。
1 In particular, we note that previous architecture search [71] used 800 GPUs for 28 days resulting in 22,400 GPU-hours. The method in this paper uses 500 GPUs across 4 days resulting in 2,000 GPU-hours. The former effort used Nvidia K40 GPUs, whereas the current efforts used faster NVidia P100s. Discounting the fact that the we use faster hardware, we estimate that the current procedure is roughly about 7× more efficient.
1 具体而言,此前的结构搜索 [71] 使用 800 块 GPU、持续 28 天,共计 22,400 GPU-小时。本文方法使用 500 块 GPU、历时 4 天,共计 2,000 GPU-小时。前一工作使用的是 Nvidia K40 GPU,而当前工作使用更快的 NVidia P100。即使不考虑我们使用了更快的硬件,我们估计当前流程大约快 7 倍。
Figure 4 shows a diagram of the top performing Normal Cell and Reduction Cell. Note the prevalence of separable convolutions and the number of branches compared with competing architectures [53, 59, 20, 60, 58]. Subsequent experiments focus on this convolutional cell architecture, although we examine the efficacy of other, top-ranked convolutional cells in ImageNet experiments (described in Appendix B) and report their results as well. We call the three networks constructed from the best three searches NASNet-A, NASNet-B and NASNet-C.
图 4 给出表现最好的 Normal Cell 和 Reduction Cell 的示意图。与竞争结构相比 [53, 59, 20, 60, 58],可分离卷积和分支数量都更为常见。后续实验主要围绕这一卷积 cell 结构,不过我们也会在 ImageNet 实验中考察其他排名靠前的卷积 cell 的效果(见附录 B),并报告它们的结果。我们把由最好的三次搜索构造出的三个网络称为 NASNet-A、NASNet-B 和 NASNet-C。
Figure 4. Architecture of the best convolutional cells (NASNet-A) with blocks identified with CIFAR-10 . The input (white) is the hidden state from previous activations (or input image). The output (pink) is the result of a concatenation operation across all resulting branches. Each convolutional cell is the result of blocks. A single block is corresponds to two primitive operations (yellow) and a combination operation (green). Note that colors correspond to operations in Figure 3.
图 4. 在 CIFAR-10 上找出的、含 个 block 的最好卷积 cell(NASNet-A)的结构。输入(白色)是来自先前激活(或输入图像)的隐藏状态。输出(粉色)是对所有得到的分支做拼接的结果。每个卷积 cell 由 个 block 构成。一个 block 对应两个基本运算(黄色)和一个组合运算(绿色)。注意颜色与图 3 中的运算相对应。
We demonstrate the utility of the convolutional cells by employing this learned architecture on CIFAR-10 and a family of ImageNet classification tasks. The latter family of tasks is explored across a few orders of magnitude in computational budget. After having learned the convolutional cells, several hyper-parameters may be explored to build a final network for a given task: (1) the number of cell repeats and (2) the number of filters in the initial convolutional cell. After selecting the number of initial filters, we use a common heuristic to double the number of filters whenever the stride is 2. Finally, we define a simple notation, e.g., 4 @ 64, to indicate these two parameters in all networks, where 4 and 64 indicate the number of cell repeats and the number of filters in the penultimate layer of the network, respectively.
我们把学到的结构用在 CIFAR-10 以及一族 ImageNet 分类任务上,以展示这些卷积 cell 的用处。后一族任务覆盖了几个数量级的计算预算。在学到卷积 cell 之后,还可以探索若干超参数,为给定任务构建最终网络:(1) cell 重复次数 ;(2) 初始卷积 cell 中的滤波器数量。选定初始滤波器数量后,我们采用常用启发式:每当步长为 2 时就把滤波器数量加倍。最后,我们定义一种简单记法,例如 4 @ 64,在所有网络中标出这两个参数,其中 4 和 64 分别表示 cell 重复次数,以及网络倒数第二层的滤波器数量。
For complete details of of the architecture learning algorithm and the controller system, please refer to Appendix A. Importantly, when training NASNets, we discovered ScheduledDropPath, a modified version of DropPath [33], to be an effective regularization method for NASNet. In DropPath [33], each path in the cell is stochastically dropped with some fixed probability during training. In our modified version, ScheduledDropPath, each path in the cell is dropped out with a probability that is linearly increased over the course of training. We find that DropPath does not work well for NASNets, while ScheduledDropPath significantly improves the final performance of NASNets in both CIFAR and ImageNet experiments.
关于结构学习算法和控制器系统的完整细节,请见附录 A。重要的是,在训练 NASNet 时,我们发现 ScheduledDropPath(DropPath [33] 的修改版)是一种对 NASNet 有效的正则方法。在 DropPath [33] 中,训练时 cell 里每条路径以某个固定概率被随机丢掉。在我们修改后的 ScheduledDropPath 中,cell 里每条路径被丢掉的概率随训练进程线性升高。我们发现 DropPath 对 NASNet 效果不好,而 ScheduledDropPath 在 CIFAR 和 ImageNet 实验中都显著提高了 NASNet 的最终表现。
4.1. Results on CIFAR-10 Image Classification
4.1. CIFAR-10 图像分类结果
For the task of image classification with CIFAR-10, we set or 6 (Figure 2). The test accuracies of the best architectures are reported in Table 1 along with other state-of-the-art models. As can be seen from the Table, a large NASNet-A model with cutout data augmentation [12] achieves a state-of-the-art error rate of 2.40% (averaged across 5 runs), which is slightly better than the previous best record of 2.56% by [12]. The best single run from our model achieves 2.19% error rate.
对于 CIFAR-10 图像分类任务,我们取 或 6(图 2)。最好结构的测试精度连同其他当时最好模型一并列在表 1 中。从表中可以看到,带 cutout 数据增强 [12] 的大型 NASNet-A 模型达到 2.40% 的当时最低错误率(5 次运行平均),略优于 [12] 此前 2.56% 的最好纪录。我们模型单次运行的最好结果达到 2.19% 错误率。
Table 1. Performance of Neural Architecture Search and other state-of-the-art models on CIFAR-10. All results for NASNet are the mean accuracy across 5 runs.
| model | depth | # params | error rate (%) |
|---|---|---|---|
| DenseNet (, ) [26] | 40 | 1.0M | 5.24 |
| DenseNet (, ) [26] | 100 | 7.0M | 4.10 |
| DenseNet (, ) [26] | 100 | 27.2M | 3.74 |
| DenseNet-BC (, ) [26] | 190 | 25.6M | 3.46 |
| Shake-Shake 26 2x32d [18] | 26 | 2.9M | 3.55 |
| Shake-Shake 26 2x96d [18] | 26 | 26.2M | 2.86 |
| Shake-Shake 26 2x96d + cutout [12] | 26 | 26.2M | 2.56 |
| NAS v3 [71] | 39 | 7.1M | 4.47 |
| NAS v3 [71] | 39 | 37.4M | 3.65 |
| NASNet-A (6 @ 768) | - | 3.3M | 3.41 |
| NASNet-A (6 @ 768) + cutout | - | 3.3M | 2.65 |
| NASNet-A (7 @ 2304) | - | 27.6M | 2.97 |
| NASNet-A (7 @ 2304) + cutout | - | 27.6M | 2.40 |
| NASNet-B (4 @ 1152) | - | 2.6M | 3.73 |
| NASNet-C (4 @ 640) | - | 3.1M | 3.59 |
表 1. 神经结构搜索及其他当时最好模型在 CIFAR-10 上的表现。NASNet 的全部结果为 5 次运行的平均精度。
| 模型 | 深度 | 参数量 | 错误率 (%) |
|---|---|---|---|
| DenseNet (, ) [26] | 40 | 1.0M | 5.24 |
| DenseNet (, ) [26] | 100 | 7.0M | 4.10 |
| DenseNet (, ) [26] | 100 | 27.2M | 3.74 |
| DenseNet-BC (, ) [26] | 190 | 25.6M | 3.46 |
| Shake-Shake 26 2x32d [18] | 26 | 2.9M | 3.55 |
| Shake-Shake 26 2x96d [18] | 26 | 26.2M | 2.86 |
| Shake-Shake 26 2x96d + cutout [12] | 26 | 26.2M | 2.56 |
| NAS v3 [71] | 39 | 7.1M | 4.47 |
| NAS v3 [71] | 39 | 37.4M | 3.65 |
| NASNet-A (6 @ 768) | - | 3.3M | 3.41 |
| NASNet-A (6 @ 768) + cutout | - | 3.3M | 2.65 |
| NASNet-A (7 @ 2304) | - | 27.6M | 2.97 |
| NASNet-A (7 @ 2304) + cutout | - | 27.6M | 2.40 |
| NASNet-B (4 @ 1152) | - | 2.6M | 3.73 |
| NASNet-C (4 @ 640) | - | 3.1M | 3.59 |
4.2. Results on ImageNet Image Classification
4.2. ImageNet 图像分类结果
We performed several sets of experiments on ImageNet with the best convolutional cells learned from CIFAR-10. We emphasize that we merely transfer the architectures from CIFAR-10 but train all ImageNet models weights from scratch.
我们用从 CIFAR-10 上学到的最好卷积 cell,在 ImageNet 上做了多组实验。需要强调的是,我们只迁移结构,ImageNet 模型的权重全部从零训练。
Results are summarized in Table 2 and 3 and Figure 5. In the first set of experiments, we train several image classification systems operating on 299x299 or 331x331 resolution images with different experiments scaled in computational demand to create models that are roughly on par in computational cost with Inception-v2 [29], Inception-v3 [60] and PolyNet [69]. We show that this family of models achieve state-of-the-art performance with fewer floating point operations and parameters than comparable architectures. Second, we demonstrate that by adjusting the scale of the model we can achieve state-of-the-art performance at smaller computational budgets, exceeding streamlined CNNs hand-designed for this operating regime [24, 70].
结果汇总于表 2、表 3 和图 5。第一组实验中,我们训练若干在 299×299 或 331×331 分辨率图像上工作的分类系统,并把不同实验的计算需求缩放到与 Inception-v2 [29]、Inception-v3 [60] 和 PolyNet [69] 大致相当。我们表明,这一族模型以更少的浮点运算和参数达到了当时最好的表现。其次,我们说明通过调整模型规模,也可以在更小的计算预算下达到当时最好表现,超过为此一运行区间手工设计的精简 CNN [24, 70]。
Note we do not have residual connections between convolutional cells as the models learn skip connections on their own. We empirically found manually inserting residual connections between cells to not help performance. Our training setup on ImageNet is similar to [60], but please see Appendix A for details.
注意,卷积 cell 之间没有残差连接,因为模型会自己学会跳跃连接。我们经验上发现,在 cell 之间手工插入残差连接无助于提高表现。我们在 ImageNet 上的训练设定与 [60] 类似,细节请见附录 A。
Table 2 shows that the convolutional cells discovered with CIFAR-10 generalize well to ImageNet problems. In particular, each model based on the convolutional cells exceeds the predictive performance of the corresponding hand-designed model. Importantly, the largest model achieves a new state-of-the-art performance for ImageNet (82.7%) based on single, non-ensembled predictions, surpassing previous best published result by 1.2% [8]. Among the unpublished works, our model is on par with the best reported result of 82.7% [25], while having significantly fewer floating point operations. Figure 5 shows a complete summary of our results in comparison with other published results. Note the family of models based on convolutional cells provides an envelope over a broad class of human-invented architectures.
表 2 表明,在 CIFAR-10 上发现的卷积 cell 能够很好地推广到 ImageNet 问题。特别是,每个基于这些卷积 cell 的模型都超过了对应人工设计模型的预测表现。重要的是,最大的模型在单次、非集成预测下达到 ImageNet 上新的最好表现(82.7%),比此前已发表的最好结果高出约 1.2 个百分点 [8]。在未发表工作中,我们的模型与当时报告的最好结果 82.7% [25] 持平,同时浮点运算明显更少。图 5 给出了我们与其他已发表结果的完整对照。可以看到,基于卷积 cell 的这一族模型在相当广泛的一类人工设计结构上构成了一条包络。
Finally, we test how well the best convolutional cells may perform in a resource-constrained setting, e.g., mobile devices (Table 3). In these settings, the number of floating point operations is severely constrained and predictive performance must be weighed against latency requirements on a device with limited computational resources. MobileNet [24] and ShuffleNet [70] provide state-of-the-art results obtaining 70.6% and 70.9% accuracy, respectively on 224x224 images using 550M multliply-add operations. An architecture constructed from the best convolutional cells achieves superior predictive performance (74.0% accuracy) surpassing previous models but with comparable computational demand. In summary, we find that the learned convolutional cells are flexible across model scales achieving state-of-the-art performance across almost 2 orders of magnitude in computational budget.
最后,我们测试最好的卷积 cell 在资源受限设定(例如移动设备)下的表现(表 3)。在这些设定中,浮点运算次数受到严格限制,预测表现必须与计算资源有限设备上的延迟要求相权衡。MobileNet [24] 和 ShuffleNet [70] 给出了当时最好的结果,在 224×224 图像上分别达到 70.6% 和 70.9% 精度,使用约 5.50 亿次乘加运算。由最好卷积 cell 构成的结构取得了更好的预测表现(74.0% 精度),超过此前模型,计算需求却相当。总之,我们发现学到的卷积 cell 在不同模型规模上都较灵活,在将近两个数量级的计算预算上都达到当时最好表现。
Figure 5. Accuracy versus computational demand (left) and number of parameters (right) across top performing published CNN architectures on ImageNet 2012 ILSVRC challenge prediction task. Computational demand is measured in the number of floating-point multiply-add operations to process a single image. Black circles indicate previously published results and red squares highlight our proposed models.
图 5. 在 ImageNet 2012 ILSVRC 挑战预测任务上,表现最好的已发表 CNN 结构的精度相对计算需求(左)和参数量(右)。计算需求以处理单张图像所需的浮点乘加次数衡量。黑圈表示此前已发表的结果,红方块标出我们提出的模型。
Table 2. Performance of architecture search and other published state-of-the-art models on ImageNet classification. Mult-Adds indicate the number of composite multiply-accumulate operations for a single image. Note that the composite multiple-accumulate operations are calculated for the image size reported in the table. Model size for [25] calculated from open-source implementation.
| Model | image size | # parameters | Mult-Adds | Top 1 Acc. (%) | Top 5 Acc. (%) |
|---|---|---|---|---|---|
| Inception V2 [29] | 224×224 | 11.2 M | 1.94 B | 74.8 | 92.2 |
| NASNet-A (5 @ 1538) | 299×299 | 10.9 M | 2.35 B | 78.6 | 94.2 |
| Inception V3 [60] | 299×299 | 23.8 M | 5.72 B | 78.8 | 94.4 |
| Xception [9] | 299×299 | 22.8 M | 8.38 B | 79.0 | 94.5 |
| Inception ResNet V2 [58] | 299×299 | 55.8 M | 13.2 B | 80.1 | 95.1 |
| NASNet-A (7 @ 1920) | 299×299 | 22.6 M | 4.93 B | 80.8 | 95.3 |
| ResNeXt-101 (64 x 4d) [68] | 320×320 | 83.6 M | 31.5 B | 80.9 | 95.6 |
| PolyNet [69] | 331×331 | 92 M | 34.7 B | 81.3 | 95.8 |
| DPN-131 [8] | 320×320 | 79.5 M | 32.0 B | 81.5 | 95.8 |
| SENet [25] | 320×320 | 145.8 M | 42.3 B | 82.7 | 96.2 |
| NASNet-A (6 @ 4032) | 331×331 | 88.9 M | 23.8 B | 82.7 | 96.2 |
表 2. 结构搜索及其他已发表的最好模型在 ImageNet 分类上的表现。Mult-Adds 表示单张图像的复合乘加运算次数。注意复合乘加运算按表中报告的图像尺寸计算。[25] 的模型大小由开源实现计算。
| 模型 | 图像尺寸 | 参数量 | Mult-Adds | Top 1 精度 (%) | Top 5 精度 (%) |
|---|---|---|---|---|---|
| Inception V2 [29] | 224×224 | 11.2 M | 1.94 B | 74.8 | 92.2 |
| NASNet-A (5 @ 1538) | 299×299 | 10.9 M | 2.35 B | 78.6 | 94.2 |
| Inception V3 [60] | 299×299 | 23.8 M | 5.72 B | 78.8 | 94.4 |
| Xception [9] | 299×299 | 22.8 M | 8.38 B | 79.0 | 94.5 |
| Inception ResNet V2 [58] | 299×299 | 55.8 M | 13.2 B | 80.1 | 95.1 |
| NASNet-A (7 @ 1920) | 299×299 | 22.6 M | 4.93 B | 80.8 | 95.3 |
| ResNeXt-101 (64 x 4d) [68] | 320×320 | 83.6 M | 31.5 B | 80.9 | 95.6 |
| PolyNet [69] | 331×331 | 92 M | 34.7 B | 81.3 | 95.8 |
| DPN-131 [8] | 320×320 | 79.5 M | 32.0 B | 81.5 | 95.8 |
| SENet [25] | 320×320 | 145.8 M | 42.3 B | 82.7 | 96.2 |
| NASNet-A (6 @ 4032) | 331×331 | 88.9 M | 23.8 B | 82.7 | 96.2 |
Table 3. Performance on ImageNet classification on a subset of models operating in a constrained computational setting, i.e., < 1.5 B multiply-accumulate operations per image. All models use 224x224 images. indicates top-1 accuracy not reported in [59] but from open-source implementation.
| Model | # parameters | Mult-Adds | Top 1 Acc. (%) | Top 5 Acc. (%) |
|---|---|---|---|---|
| Inception V1 [59] | 6.6M | 1,448 M | 69.8 | 89.9 |
| MobileNet-224 [24] | 4.2 M | 569 M | 70.6 | 89.5 |
| ShuffleNet (2x) [70] | ∼ 5M | 524 M | 70.9 | 89.8 |
| NASNet-A (4 @ 1056) | 5.3 M | 564 M | 74.0 | 91.6 |
| NASNet-B (4 @ 1536) | 5.3M | 488 M | 72.8 | 91.3 |
| NASNet-C (3 @ 960) | 4.9M | 558 M | 72.5 | 91.0 |
表 3. 在受限计算设定(即每张图像少于 15 亿次乘加运算)下,部分模型在 ImageNet 分类上的表现。所有模型使用 224×224 图像。 表示 top-1 精度并非报告于 [59],而来自开源实现。
| 模型 | 参数量 | Mult-Adds | Top 1 精度 (%) | Top 5 精度 (%) |
|---|---|---|---|---|
| Inception V1 [59] | 6.6M | 1,448 M | 69.8 | 89.9 |
| MobileNet-224 [24] | 4.2 M | 569 M | 70.6 | 89.5 |
| ShuffleNet (2x) [70] | ∼ 5M | 524 M | 70.9 | 89.8 |
| NASNet-A (4 @ 1056) | 5.3 M | 564 M | 74.0 | 91.6 |
| NASNet-B (4 @ 1536) | 5.3M | 488 M | 72.8 | 91.3 |
| NASNet-C (3 @ 960) | 4.9M | 558 M | 72.5 | 91.0 |
4.3. Improved features for object detection
4.3. 改进的目标检测特征
Image classification networks provide generic image features that may be transferred to other computer vision problems [13]. One of the most important problems is the spatial localization of objects within an image. To further validate the performance of the family of NASNet-A networks, we test whether object detection systems derived from NASNet-A lead to improvements in object detection [28].
图像分类网络提供可迁移到其他计算机视觉问题的通用图像特征 [13]。其中最重要的问题之一是图像中物体的空间定位。为进一步验证 NASNet-A 这一族网络的表现,我们测试由 NASNet-A 导出的目标检测系统能否带来检测上的改进 [28]。
To address this question, we plug in the family of NASNet-A networks pretrained on ImageNet into the Faster-RCNN object detection pipeline [47] using an open-source software platform [28]. We retrain the resulting object detection pipeline on the combined COCO training plus validation dataset excluding 8,000 mini-validation images.
为此,我们借助一个开源软件平台 [28],把在 ImageNet 上预训练的一族 NASNet-A 网络接入 Faster-RCNN 目标检测流程 [47]。随后在合并后的 COCO 训练加验证集上重新训练该检测流程,其中排除了 8,000 张 mini-validation 图像。
We perform single model evaluation using 300-500 RPN proposals per image. In other words, we only pass a single image through a single network. We evaluate the model on the COCO mini-val [28] and test-dev dataset and report the mean average precision (mAP) as computed with the standard COCO metric library [38]. We perform a simple search over learning rate schedules to identify the best possible model. Finally, we examine the behavior of two object detection systems employing the best performing NASNet-A image featurization (NASNet-A, 6 @ 4032) as well as the image featurization geared towards mobile platforms (NASNet-A, 4 @ 1056).
我们做单模型评估,每张图像使用 300–500 个 RPN 候选。也就是说,只让单张图像通过单个网络。我们在 COCO mini-val [28] 和 test-dev 数据集上评估模型,并报告用标准 COCO 指标库 [38] 计算的平均精度均值(mAP)。我们在学习率日程上做简单搜索,以找出尽可能好的模型。最后,我们考察两套检测系统的表现:一套使用表现最好的 NASNet-A 图像特征(NASNet-A, 6 @ 4032),另一套使用面向移动平台的图像特征(NASNet-A, 4 @ 1056)。
For the mobile-optimized network, our resulting system achieves a mAP of 29.6% – exceeding previous mobile-optimized networks that employ Faster-RCNN by over 5.0% (Table 4). For the best NASNet network, our resulting system operating on images of the same spatial resolution (800 × 800) achieves mAP = 40.7%, exceeding equivalent object detection systems based off lesser performing image featurization (i.e. Inception-ResNet-v2) by 4.0% [28, 52] (see Appendix for example detections on images and side-by-side comparisons). Finally, increasing the spatial resolution of the input image results in the best reported, single model result for object detection of 43.1%, surpassing the best previous best by over 4.0% [37]. These results provide further evidence that NASNet provides superior, generic image features that may be transferred across other computer vision tasks. Figure 10 and Figure 11 in Appendix C show four examples of object detection results produced by NASNet-A with the Faster-RCNN framework.
对于面向移动端优化的网络,得到的系统达到 29.6% mAP,比此前采用 Faster-RCNN 的移动端优化网络高出 5.0 个百分点以上(表 4)。对于最好的 NASNet 网络,在相同空间分辨率(800 × 800)的图像上,得到的系统达到 mAP = 40.7%,比基于较弱图像特征(即 Inception-ResNet-v2)的同类检测系统高出 4.0 个百分点 [28, 52](图像上的检测示例及并排比较见附录)。最后,提高输入图像的空间分辨率后,得到当时报告的最好单模型检测结果 43.1%,比此前最好结果高出 4.0 个百分点以上 [37]。这些结果进一步说明,NASNet 提供了更优、可迁移到其他计算机视觉任务的通用图像特征。附录 C 的图 10 和图 11 给出了 NASNet-A 与 Faster-RCNN 框架产生的四个目标检测示例。
2 A primary advance in the best reported object detection system is the introduction of a novel loss [37]. Pairing this loss with NASNet-A image featurization may lead to even further performance gains. Additionally, performance gains are achievable through ensembling multiple inferences across multiple model instances and image crops (e.g., [28]).
2 当时报告的最好检测系统的一项主要进展是引入了一种新的损失 [37]。把这一损失与 NASNet-A 图像特征配对,可能会带来进一步的提升。此外,还可以通过在多个模型实例和图像裁剪上对多次推理做集成来获得提升(例如 [28])。
Table 4. Object detection performance on COCO on mini-val and test-dev datasets across a variety of image featurizations. All results are with the Faster-RCNN object detection framework [47] from a single crop of an image. Top rows highlight mobile-optimized image featurizations, while bottom rows indicate computationally heavy image featurizations geared towards achieving best results. All mini-val results employ the same 8K subset of validation images in [28].
| Model | resolution | mAP (mini-val) | mAP (test-dev) |
|---|---|---|---|
| MobileNet-224 [24] | 600 × 600 | 19.8% | - |
| ShuffleNet (2x) [70] | 600 × 600 | 24.5% | - |
| NASNet-A (4 @ 1056) | 600 × 600 | 29.6% | - |
| ResNet-101-FPN [36] | 800 (short side) | - | 36.2% |
| Inception-ResNet-v2 (G-RMI) [28] | 600 × 600 | 35.7% | 35.6% |
| Inception-ResNet-v2 (TDM) [52] | 600 × 1000 | 37.3% | 36.8% |
| NASNet-A (6 @ 4032) | 800 × 800 | 41.3% | 40.7% |
| NASNet-A (6 @ 4032) | 1200 × 1200 | 43.2% | 43.1% |
| ResNet-101-FPN (RetinaNet) [37] | 800 (short side) | - | 39.1% |
表 4. 在多种图像特征下,COCO mini-val 和 test-dev 数据集上的目标检测表现。全部结果均使用 Faster-RCNN 检测框架 [47],来自单次图像裁剪。上半部分突出面向移动端优化的图像特征,下半部分给出面向最好结果、计算量较大的图像特征。所有 mini-val 结果使用与 [28] 相同的 8K 验证图像子集。
| 模型 | 分辨率 | mAP (mini-val) | mAP (test-dev) |
|---|---|---|---|
| MobileNet-224 [24] | 600 × 600 | 19.8% | - |
| ShuffleNet (2x) [70] | 600 × 600 | 24.5% | - |
| NASNet-A (4 @ 1056) | 600 × 600 | 29.6% | - |
| ResNet-101-FPN [36] | 800 (短边) | - | 36.2% |
| Inception-ResNet-v2 (G-RMI) [28] | 600 × 600 | 35.7% | 35.6% |
| Inception-ResNet-v2 (TDM) [52] | 600 × 1000 | 37.3% | 36.8% |
| NASNet-A (6 @ 4032) | 800 × 800 | 41.3% | 40.7% |
| NASNet-A (6 @ 4032) | 1200 × 1200 | 43.2% | 43.1% |
| ResNet-101-FPN (RetinaNet) [37] | 800 (短边) | - | 39.1% |
4.4. Efficiency of architecture search methods
4.4. 结构搜索方法的效率
Though what search method to use is not the focus of the paper, an open question is how effective is the reinforcement learning search method. In this section, we study the effectiveness of reinforcement learning for architecture search on the CIFAR-10 image classification problem and compare it to brute-force random search (considered to be a very strong baseline for black-box optimization [5]) given an equivalent amount of computational resources.
虽然使用哪种搜索方法并非本文重点,但强化学习搜索方法究竟有多有效,仍是一个未决问题。本节在 CIFAR-10 图像分类问题上研究强化学习用于结构搜索的效果,并在同等计算资源下把它与穷尽式随机搜索比较(随机搜索被视为黑盒优化中很强的基线 [5])。
Figure 6 shows the performance of reinforcement learning (RL) and random search (RS) as more model architectures are sampled. Note that the best model identified with RL is significantly better than the best model found by RS by over 1% as measured by on CIFAR-10. Additionally, RL finds an entire range of models that are of superior quality to random search. We observe this in the mean performance of the top-5 and top-25 models identified in RL versus RS. We take these results to indicate that although RS may provide a viable search strategy, RL finds better architectures in the NASNet search space.
图 6 给出随着采样更多模型结构,强化学习(RL)与随机搜索(RS)的表现。注意,RL 找出的最好模型在 CIFAR-10 上比 RS 找出的最好模型高出 1 个百分点以上。此外,RL 找出的整段模型都优于随机搜索。这一点可以在 RL 与 RS 所找出的前 5 和前 25 个模型的平均表现中看到。我们认为,这些结果表明:虽然 RS 可以作为一种可行的搜索策略,但在 NASNet 搜索空间中,RL 能找到更好的结构。
图 6. 比较随机搜索(RS)与强化学习(RL)在学习神经结构时的效率。横轴为采样的模型结构总数,纵轴为在 CIFAR-10 上训练 20 个周期后的验证表现。
- Conclusion
- 结论
In this work, we demonstrate how to learn scalable, convolutional cells from data that transfer to multiple image classification tasks. The learned architecture is quite flexible as it may be scaled in terms of computational cost and parameters to easily address a variety of problems. In all cases, the accuracy of the resulting model exceeds all human-designed models – ranging from models designed for mobile applications to computationally-heavy models designed to achieve the most accurate results.
本文展示了如何从数据中学习可扩展的卷积 cell,并迁移到多项图像分类任务。学到的结构相当灵活,可以按计算代价和参数量缩放,从而方便地应对各种问题。在所有情形下,得到的模型精度都超过所有人工设计的模型——从面向移动应用的模型,到为追求最高精度而设计的计算量大的模型。
The key insight in our approach is to design a search space that decouples the complexity of an architecture from the depth of a network. This resulting search space permits identifying good architectures on a small dataset (i.e., CIFAR-10) and transferring the learned architecture to image classifications across a range of data and computational scales.
我们方法的关键认识是设计一种搜索空间,把结构的复杂度与网络深度解耦。由此得到的搜索空间使得可以在小数据集(即 CIFAR-10)上找出好的结构,再把学到的结构迁移到不同数据和计算尺度上的图像分类。
The resulting architectures approach or exceed state-of-the-art performance in both CIFAR-10 and ImageNet datasets with less computational demand than human-designed architectures [60, 29, 69]. The ImageNet results are particularly important because many state-of-the-art computer vision problems (e.g., object detection [28], face detection [50], image localization [63]) derive image features or architectures from ImageNet classification models. For instance, we find that image features obtained from ImageNet used in combination with the Faster-RCNN framework achieves state-of-the-art object detection results. Finally, we demonstrate that we can use the resulting learned architecture to perform ImageNet classification with reduced computational budgets that outperform streamlined architectures targeted to mobile and embedded platforms [24, 70].
得到的结构在 CIFAR-10 和 ImageNet 数据集上接近或超过当时最好表现,计算需求却低于人工设计的结构 [60, 29, 69]。ImageNet 上的结果尤其重要,因为许多当时最好的计算机视觉问题(例如目标检测 [28]、人脸检测 [50]、图像定位 [63])都从 ImageNet 分类模型中获取图像特征或结构。例如我们发现,把从 ImageNet 得到的图像特征与 Faster-RCNN 框架结合,可以达到当时最好的目标检测结果。最后我们还说明,可以用学到的结构在更低的计算预算下做 ImageNet 分类,并超过面向移动和嵌入式平台的精简结构 [24, 70]。
Appendix
附录
A. Experimental Details
A. 实验细节
A.1. Dataset for Architecture Search
A.1. 用于结构搜索的数据集
The CIFAR-10 dataset [31] consists of 60,000 32x32 RGB images across 10 classes (50,000 train and 10,000 test images). We partition a random subset of 5,000 images from the training set to use as a validation set for the controller RNN. All images are whitened and then undergone several data augmentation steps: we randomly crop 32x32 patches from upsampled images of size 40x40 and apply random horizontal flips. This data augmentation procedure is common among related work.
CIFAR-10 数据集 [31] 包含 60,000 张 32x32 的 RGB 图像,分属 10 个类别(50,000 张训练图像和 10,000 张测试图像)。我们从训练集中随机划出 5,000 张,作为控制器 RNN 的验证集。所有图像先做白化,再经历若干数据增强步骤:先把图像上采样到 40x40,再随机裁出 32x32 的块,并做随机水平翻转。这一数据增强流程在相关工作中很常见。
A.2. Controller architecture
A.2. 控制器结构
The controller RNN is a one-layer LSTM [22] with 100 hidden units at each layer and softmax predictions for the two convolutional cells (where is typically 5) associated with each architecture decision. Each of the predictions of the controller RNN is associated with a probability. The joint probability of a child network is the product of all probabilities at these softmaxes. This joint probability is used to compute the gradient for the controller RNN. The gradient is scaled by the validation accuracy of the child network to update the controller RNN such that the controller assigns low probabilities for bad child networks and high probabilities for good child networks.
控制器 RNN 是一层 LSTM [22],每层有 100 个隐单元,并为两个卷积 cell 的每项结构决策给出 个 softmax 预测(其中 通常为 5)。控制器 RNN 的这 个预测各自对应一个概率。子网络的联合概率是这 个 softmax 上全部概率的乘积。该联合概率用于计算控制器 RNN 的梯度。梯度再按子网络的验证精度缩放,以更新控制器 RNN,使控制器对差的子网络赋予低概率,对好的子网络赋予高概率。
Unlike [71], who used the REINFORCE rule [66] to update the controller, we employ Proximal Policy Optimization (PPO) [51] with learning rate 0.00035 because training with PPO is faster and more stable. To encourage exploration we also use an entropy penalty with a weight of 0.00001. In our implementation, the baseline function is an exponential moving average of previous rewards with a weight of 0.95. The weights of the controller are initialized uniformly between -0.1 and 0.1.
与 [71] 用 REINFORCE 规则 [66] 更新控制器不同,我们采用近端策略优化(PPO)[51],学习率为 0.00035,因为用 PPO 训练更快也更稳定。为鼓励探索,我们还使用权重为 0.00001 的熵惩罚。在我们的实现中,基线函数是此前奖励的指数滑动平均,权重为 0.95。控制器的权重在 -0.1 与 0.1 之间均匀初始化。
A.3. Training of the Controller
A.3. 控制器的训练
For distributed training, we use a workqueue system where all the samples generated from the controller RNN are added to a global workqueue. A free “child” worker in a distributed worker pool asks the controller for new work from the global workqueue. Once the training of the child network is complete, the accuracy on a held-out validation set is computed and reported to the controller RNN. In our experiments we use a child worker pool size of 450, which means there are 450 networks being trained on 450 GPUs concurrently at any time. Upon receiving enough child model training results, the controller RNN will perform a gradient update on its weights using PPO and then sample another batch of architectures that go into the global workqueue. This process continues until a predetermined number of architectures have been sampled. In our experiments, this predetermined number of architectures is 20,000 which means the search process is terminated after 20,000 child models have been trained. Additionally, we update the controller RNN with minibatches of 20 architectures. Once the search is over, the top 250 architectures are then chosen to train until convergence on CIFAR-10 to determine the very best architecture.
分布式训练中,我们使用工作队列系统:控制器 RNN 生成的全部样本都被加入一个全局工作队列。分布式工作池中空闲的“子”工作进程向控制器请求全局工作队列中的新任务。子网络训练完成后,在留出的验证集上计算精度,并回报给控制器 RNN。实验中子工作池大小为 450,也就是任何时刻都有 450 个网络在 450 块 GPU 上并行训练。控制器 RNN 在收到足够多的子模型训练结果后,用 PPO 对其权重做一次梯度更新,再采样下一批结构放入全局工作队列。这一过程持续到预先设定的结构数量被采完。实验中该预定数量为 20,000,即在训练完 20,000 个子模型后终止搜索。此外,我们用大小为 20 个结构的小批量更新控制器 RNN。搜索结束后,再选出最好的 250 个结构,在 CIFAR-10 上训练至收敛,以确定最好的结构。
A.4. Details of architecture search space
A.4. 结构搜索空间的细节
We performed preliminary experiments to identify a flexible, expressive search space for neural architectures that learn effectively. Generally, our strategy for preliminary experiments involved small-scale explorations to identify how to run large-scale architecture search.
我们做了初步实验,以找出一个灵活、表达能力强、且能有效学习的神经结构搜索空间。总体而言,初步实验的策略是先做小规模探索,以确定如何开展大规模结构搜索。
- All convolutions employ ReLU nonlinearity. Experiments with ELU nonlinearity [10] showed minimal benefit.
- 所有卷积都使用 ReLU 非线性。用 ELU 非线性 [10] 做的实验几乎没有带来好处。
- To ensure that the shapes always match in convolutional cells, 1x1 convolutions are inserted as necessary.
- 为确保卷积 cell 中的形状始终匹配,必要时插入 1x1 卷积。
- Unlike [24], all depthwise separable convolution do not employ Batch Normalization and/or a ReLU between the depthwise and pointwise operations.
- 与 [24] 不同,所有深度可分离卷积在深度卷积与逐点卷积之间都不使用批归一化和/或 ReLU。
- All convolutions followed an ordering of ReLU, convolution operation and Batch Normalization following [21].
- 所有卷积都按 [21] 采用 ReLU、卷积操作、批归一化的顺序。
- Whenever a separable convolution is selected as an operation by the model architecture, the separable convolution is applied twice to the hidden state. We found this empirically to improve overall performance.
- 只要模型结构把可分离卷积选为一项操作,该可分离卷积就会对隐状态应用两次。我们从经验上发现,这能提高整体表现。
A.5. Training with ScheduledDropPath
A.5. 用 ScheduledDropPath 训练
We performed several experiments with various stochastic regularization methods. Naively applying dropout [56] across convolutional filters degraded performance. However, we discovered a new technique called ScheduledDropPath, a modified version of DropPath [33], that works well in regularizing NASNets. In DropPath, we stochastically drop out each path (i.e., edge with a yellow box in Figure 4) in the cell with some fixed probability. This is similar to [27] and [69] where they dropout full parts of their model during training and then at test time scale the path by the probability of keeping that path during training. Interestingly we also found that DropPath alone does not help NASNet training much, but DropPath with linearly increasing the probability of dropping out a path over the course of training significantly improves the final performance for both CIFAR and ImageNet experiments. We name this method ScheduledDropPath.
我们用多种随机正则化方法做了若干实验。简单地对卷积滤波器做 dropout [56] 会损害表现。不过,我们发现了一种称为 ScheduledDropPath 的新技术,它是 DropPath [33] 的改写版本,能很好地正则化 NASNet。在 DropPath 中,我们以某个固定概率随机丢弃 cell 中的每条路径(即图 4 中带黄色方框的边)。这与 [27] 和 [69] 类似:他们在训练时丢掉模型的整块部分,测试时再按训练期间保留该路径的概率对路径做缩放。有意思的是,我们还发现单独使用 DropPath 对 NASNet 训练帮助不大,但如果在训练过程中线性提高丢弃某条路径的概率,则能显著改善 CIFAR 和 ImageNet 实验的最终表现。我们把这种方法称为 ScheduledDropPath。
Figure 7. Schematic diagram of the NASNet search space. Network motifs are constructed recursively in stages termed blocks. Each block consists of the controller selecting a pair of hidden states (dark gray), operations to perform on those hidden states (yellow) and a combination operation (green). The resulting hidden state is retained in the set of potential hidden states to be selected on subsequent blocks.
图 7. NASNet 搜索空间的示意。网络基元按称为 block 的阶段递归构造。每个 block 包括:控制器选择一对隐状态(深灰)、对这些隐状态执行的操作(黄),以及一个组合操作(绿)。得到的隐状态保留在候选隐状态集合中,供后续 block 选择。
A.6. Training of CIFAR models
A.6. CIFAR 模型的训练
All of our CIFAR models use a single period cosine decay as in [39, 18]. All models use the momentum optimizer with momentum rate set to 0.9. All models also use L2 weight decay. Each architecture is trained for a fixed 20 epochs on CIFAR-10 during the architecture search process. Additionally, we found it beneficial to use the cosine learning rate decay during the 20 epochs the CIFAR models were trained as this helped to further differentiate good architectures. We also found that having the CIFAR models use a small during the architecture search process allowed for models to train quite quickly, while still finding cells that work well once more were stacked.
我们所有的 CIFAR 模型都使用与 [39, 18] 相同的单周期余弦衰减。所有模型都使用动量优化器,动量率设为 0.9。所有模型还使用 L2 权衰减。结构搜索过程中,每个结构在 CIFAR-10 上固定训练 20 个周期。此外我们发现,在这 20 个周期里使用余弦学习率衰减有助于进一步区分好的结构。我们还发现,搜索过程中让 CIFAR 模型使用较小的 ,可以使模型训练相当快,同时仍能找到在堆叠更多层后表现良好的 cell。
A.7. Training of ImageNet models
A.7. ImageNet 模型的训练
We use ImageNet 2012 ILSVRC challenge data for large scale image classification. The dataset consists of 1.2M images labeled across 1,000 classes [11]. Overall our training and testing procedures are almost identical to [60]. ImageNet models are trained and evaluated on 299x299 or 331x331 images using the same data augmentation procedures as described previously [60]. We use distributed synchronous SGD to train the ImageNet model with 50 workers (and 3 backup workers) each with a Tesla K40 GPU [7]. We use RMSProp with a decay of 0.9 and epsilon of 1.0. Evaluations are calculated using with a running average of parameters over time with a decay rate of 0.9999. We use label smoothing with a value of 0.1 for all ImageNet models as done in [60]. Additionally, all models use an auxiliary classifier located at 2/3 of the way up the network. The loss of the auxiliary classifier is weighted by 0.4 as done in [60]. We empirically found our network to be insensitive to the number of parameters associated with this auxiliary classifier along with the weight associated with the loss. All models also use L2 regularization. The learning rate decay scheme is the exponential decay scheme used in [60]. Dropout is applied to the final softmax matrix with probability 0.5.
我们使用 ImageNet 2012 ILSVRC 挑战赛数据做大规模图像分类。该数据集约有 120 万张图像,标注为 1,000 个类别 [11]。整体训练和测试流程几乎与 [60] 相同。ImageNet 模型在 299x299 或 331x331 图像上训练和评估,数据增强流程与此前所述相同 [60]。我们用分布式同步 SGD 训练 ImageNet 模型,共 50 个工作进程(另加 3 个备份工作进程),每个配备一块 Tesla K40 GPU [7]。我们使用 RMSProp,衰减为 0.9,epsilon 为 1.0。评估时使用参数随时间的滑动平均,衰减率为 0.9999。与 [60] 一样,所有 ImageNet 模型都使用值为 0.1 的标签平滑。此外,所有模型都在网络约 2/3 高度处使用辅助分类器。辅助分类器的损失权重为 0.4,与 [60] 相同。我们从经验上发现,网络对辅助分类器的参数量以及该损失的权重并不敏感。所有模型还使用 L2 正则。学习率衰减方案采用 [60] 中的指数衰减。Dropout 以 0.5 的概率施加于最后的 softmax 矩阵。
B. Additional Experiments
B. 补充实验
We now present two additional cells that performed well on CIFAR and ImageNet. The search spaces used for these cells are slightly different than what was used for NASNet-A. For the NASNet-B model in Figure 8 we do not concatenate all of the unused hidden states generated in the convolutional cell. Instead all of the hiddenstates created within the convolutional cell, even if they are currently used, are fed into the next layer. Note that and there are 4 hiddenstates as input to the cell as these numbers must match for this cell to be valid. We also allow addition followed by layer normalization [2] or instance normalization [61] to be predicted as two of the combination operations within the cell, along with addition or concatenation.
下面给出另外两个在 CIFAR 和 ImageNet 上表现良好的 cell。这些 cell 所用的搜索空间与 NASNet-A 略有不同。对图 8 中的 NASNet-B 模型,我们并不把卷积 cell 中生成的全部未使用隐状态拼接起来。相反,卷积 cell 内创建的全部隐状态,即使当前已被使用,也会送入下一层。注意 ,并且作为 cell 输入的隐状态也是 4 个,因为这两个数目必须一致,该 cell 才有效。我们还允许在 cell 内把“加法后再做层归一化 [2]”或“加法后再做实例归一化 [61]”预测为两种组合操作,同时仍保留加法或拼接。
For NASNet-C (Figure 9), we concatenate all of the unused hidden states generated in the convolutional cell like in NASNet-A, but now we allow the prediction of addition followed by layer normalization or instance normalization like in NASNet-B.
对 NASNet-C(图 9),我们像 NASNet-A 一样,把卷积 cell 中生成的全部未使用隐状态拼接起来,但现在也像 NASNet-B 一样,允许预测加法后再做层归一化或实例归一化。
Figure 8. Architecture of NASNet-B convolutional cell with blocks identified with CIFAR-10. The input (white) is the hidden state from previous activations (or input image). Each convolutional cell is the result of blocks. A single block is corresponds to two primitive operations (yellow) and a combination operation (green). As do we not concatenate the output hidden states, each output hidden state is used as a hidden state in the future layers. Each cell takes in 4 hidden states and thus needs to also create 4 output hidden states. Each output hidden state is therefore labeled with 0, 1, 2, 3 to represent the next four layers in that order.
图 8. 在 CIFAR-10 上找出的、 个 block 的 NASNet-B 卷积 cell 结构。输入(白)来自先前激活(或输入图像)的隐状态。每个卷积 cell 由 个 block 组成。一个 block 对应两个基元操作(黄)和一个组合操作(绿)。由于我们不拼接输出隐状态,每个输出隐状态都会作为后续层的隐状态使用。每个 cell 接收 4 个隐状态,因此也需要产生 4 个输出隐状态。各输出隐状态因此分别标为 0、1、2、3,依次表示随后的四层。
Figure 9. Architecture of NASNet-C convolutional cell with blocks identified with CIFAR-10. The input (white) is the hidden state from previous activations (or input image). The output (pink) is the result of a concatenation operation across all resulting branches. Each convolutional cell is the result of blocks. A single block corresponds to two primitive operations (yellow) and a combination operation (green).
图 9. 在 CIFAR-10 上找出的、 个 block 的 NASNet-C 卷积 cell 结构。输入(白)来自先前激活(或输入图像)的隐状态。输出(粉)是对全部所得分支做拼接操作的结果。每个卷积 cell 由 个 block 组成。一个 block 对应两个基元操作(黄)和一个组合操作(绿)。
C. Example object detection results
C. 目标检测示例结果
Finally, we will present examples of object detection results on the COCO dataset in Figure 10 and Figure 11. As can be seen from the figures, NASNet-A featurization works well with Faster-RCNN and gives accurate localization of objects.
最后,我们在图 10 和图 11 中给出 COCO 数据集上的目标检测示例。从图中可以看出,NASNet-A 特征与 Faster-RCNN 配合良好,并能对物体做出准确的定位。
图 10. 检测示例,展示相对此前最好模型的目标检测改进:上方为采用 Inception-ResNet-v2 特征的 Faster-RCNN [28],下方为 NASNet-A 特征。
Figure 11. Example detections of best performing NASNet-A featurization with Faster-RCNN trained on COCO dataset. Top and middle images courtesy of http://wikipedia.org. Bottom image courtesy of Jonathan Huang
图 11. 表现最好的 NASNet-A 特征与在 COCO 数据集上训练的 Faster-RCNN 的检测示例。上、中图像由 http://wikipedia.org 提供。下图由 Jonathan Huang 提供。
References
参考文献
[1] M. Andrychowicz, M. Denil, S. Gomez, M. W. Hoffman, D. Pfau, T. Schaul, and N. de Freitas. Learning to learn by gradient descent by gradient descent. In Advances in Neural Information Processing Systems, pages 3981–3989, 2016. 2
[2] J. L. Ba, J. R. Kiros, and G. E. Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016. 12
[3] B. Baker, O. Gupta, N. Naik, and R. Raskar. Designing neural network architectures using reinforcement learning. In International Conference on Learning Representations, 2016. 2
[4] J. Bergstra, R. Bardenet, Y. Bengio, and B. Kégl. Algorithms for hyper-parameter optimization. In Neural Information Processing Systems, 2011. 2
[5] J. Bergstra and Y. Bengio. Random search for hyperparameter optimization. Journal of Machine Learning Research, 2012. 2, 8
[6] J. Bergstra, D. Yamins, and D. D. Cox. Making a science of model search: Hyperparameter optimization in hundreds of dimensions for vision architectures. International Conference on Machine Learning, 2013. 2
[7] J. Chen, R. Monga, S. Bengio, and R. Jozefowicz. Revisiting distributed synchronous sgd. In International Conference on Learning Representations Workshop Track, 2016. 12
[8] Y. Chen, J. Li, H. Xiao, X. Jin, S. Yan, and J. Feng. Dual path networks. arXiv preprint arXiv:1707.01083, 2017. 5, 7
[9] F. Chollet. Xception: Deep learning with depthwise separable convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017. 2, 7
[10] D.-A. Clevert, T. Unterthiner, and S. Hochreiter. Fast and accurate deep network learning by exponential linear units (elus). In International Conference on Learning Representations, 2016. 11
[11] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei- Fei. Imagenet: A large-scale hierarchical image database. In IEEE Conference on Computer Vision and Pattern Recognition. IEEE, 2009. 1, 12
[12] T. DeVries and G. W. Taylor. Improved regularization of convolutional neural networks with cutout. arXiv preprint arXiv:1708.04552, 2017. 5, 6
[13] J. Donahue, Y. Jia, O. Vinyals, J. Hoffman, N. Zhang, E. Tzeng, and T. Darrell. Decaf: A deep convolutional activation feature for generic visual recognition. In International Conference on Machine Learning, volume 32, pages 647–655, 2014. 6
[14] Y. Duan, J. Schulman, X. Chen, P. L. Bartlett, I. Sutskever, and P. Abbeel. RL2: Fast reinforcement learning via slow reinforcement learning. arXiv preprint arXiv:1611.02779, 2016. 2
[15] C. Finn, P. Abbeel, and S. Levine. Model-agnostic metalearning for fast adaptation of deep networks. In International Conference on Machine Learning, 2017. 2
[16] D. Floreano, P. D¨urr, and C. Mattiussi. Neuroevolution: from architectures to learning. Evolutionary Intelligence, 2008. 2
[17] K. Fukushima. A self-organizing neural network model for a mechanism of pattern recognition unaffected by shift in position. Biological Cybernetics, page 93202, 1980. 1
[18] X. Gastaldi. Shake-shake regularization of 3-branch residual networks. In International Conference on Learning Representations Workshop Track, 2017. 6, 12
[19] D. Ha, A. Dai, and Q. V. Le. Hypernetworks. In International Conference on Learning Representations, 2017. 2
[20] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In IEEE Conference on Computer Vision and Pattern Recognition, 2016. 1, 2, 3, 4
[21] K. He, X. Zhang, S. Ren, and J. Sun. Identity mappings in deep residual networks. In European Conference on Computer Vision, 2016. 11
[22] S. Hochreiter and J. Schmidhuber. Long short-term memory. Neural Computation, 1997. 2, 11
[23] S. Hochreiter, A. Younger, and P. Conwell. Learning to learn using gradient descent. Artificial Neural Networks, pages 87–94, 2001. 2
[24] A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861, 2017. 2, 5, 7, 8, 11
[25] J. Hu, L. Shen, and G. Sun. Squeeze-and-excitation networks. arXiv preprint arXiv:1709.01507, 2017. 5, 7
[26] G. Huang, Z. Liu, and K. Q. Weinberger. Densely connected convolutional networks. In IEEE Conference on Computer Vision and Pattern Recognition, 2017. 6
[27] G. Huang, Y. Sun, Z. Liu, D. Sedra, and K. Weinberger. Deep networks with stochastic depth. In European Conference on Computer Vision, 2016. 11
[28] J. Huang, V. Rathod, C. Sun, M. Zhu, A. Korattikara, A. Fathi, I. Fischer, Z. Wojna, Y. Song, S. Guadarrama, et al. Speed/accuracy trade-offs for modern convolutional object detectors. In IEEE Conference on Computer Vision and Pattern Recognition, 2017. 6, 7, 8, 14
[29] S. Ioffe and C. Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International Conference on Learning Representations, 2015. 2, 5, 7, 8
[30] R. Jozefowicz, W. Zaremba, and I. Sutskever. An empirical exploration of recurrent network architectures. In International Conference on Learning Representations, 2015. 2
[31] A. Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. 4, 11
[32] A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing System, 2012. 1, 3
[33] G. Larsson, M. Maire, and G. Shakhnarovich. Fractalnet: Ultra-deep neural networks without residuals. arXiv preprint arXiv:1605.07648, 2016. 4, 11
[34] Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner. Gradientbased learning applied to document recognition. Proceedings of the IEEE, 1998. 1
[35] K. Li and J. Malik. Learning to optimize neural nets. arXiv preprint arXiv:1703.00441, 2017. 2
[36] T.-Y. Lin, P. Dollár, R. Girshick, K. He, B. Hariharan, and S. Belongie. Feature pyramid networks for object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017. 7
[37] T.-Y. Lin, P. Goyal, R. Girshick, K. He, and P. Dollár. Focal loss for dense object detection. arXiv preprint arXiv:1708.02002, 2017. 7, 8
[38] T.-Y. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. L. Zitnick. Microsoft coco: Common objects in context. In European Conference on Computer Vision, pages 740–755. Springer, 2014. 7
[39] I. Loshchilov and F. Hutter. SGDR: Stochastic gradient descent with warm restarts. In International Conference on Learning Representations, 2017. 12
[40] H. Mendoza, A. Klein, M. Feurer, J. T. Springenberg, and F. Hutter. Towards automatically-tuned neural networks. In Proceedings of the 2016 Workshop on Automatic Machine Learning, pages 58–65, 2016. 2
[41] T. Miconi. Neural networks with differentiable structure. arXiv preprint arXiv:1606.06216, 2016. 2
[42] R. Miikkulainen, J. Liang, E. Meyerson, A. Rawal, D. Fink, O. Francon, B. Raju, A. Navruzyan, N. Duffy, and B. Hodjat. Evolving deep neural networks. arXiv preprint arXiv:1703.00548, 2017. 2
[43] R. Negrinho and G. Gordon. DeepArchitect: Automatically designing and training deep architectures. arXiv preprint arXiv:1704.08792, 2017. 2
[44] N. Pinto, D. Doukhan, J. J. DiCarlo, and D. D. Cox. A highthroughput screening approach to discovering good forms of biologically inspired visual representation. PLoS Computational Biology, 5(11):e1000579, 2009. 2
[45] S. Ravi and H. Larochelle. Optimization as a model for fewshot learning. In International Conference on Learning Representations, 2017. 2
[46] E. Real, S. Moore, A. Selle, S. Saxena, Y. L. Suematsu, Q. Le, and A. Kurakin. Large-scale evolution of image classifiers. In International Conference on Machine Learning, 2017. 2
[47] S. Ren, K. He, R. Girshick, and J. Sun. Faster R-CNN: Towards real-time object detection with region proposal networks. In Advances in Neural Information Processing Systems, pages 91–99, 2015. 2, 6, 7
[48] S. Saxena and J. Verbeek. Convolutional neural fabrics. In Advances in Neural Information Processing Systems, 2016. 2
[49] T. Schaul and J. Schmidhuber. Metalearning. Scholarpedia, 2010. 2
[50] F. Schroff, D. Kalenichenko, and J. Philbin. Facenet: A unified embedding for face recognition and clustering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 815–823, 2015. 8
[51] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017. 4, 11
[52] A. Shrivastava, R. Sukthankar, J. Malik, and A. Gupta. Beyond skip connections: Top-down modulation for object detection. arXiv preprint arXiv:1612.06851, 2016. 7, 8
[53] K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015. 1, 2, 3, 4
[54] J. Snoek, H. Larochelle, and R. P. Adams. Practical Bayesian optimization of machine learning algorithms. In Neural Information Processing Systems, 2012. 2
[55] J. Snoek, O. Rippel, K. Swersky, R. Kiros, N. Satish, N. Sundaram, M. Patwary, M. Ali, R. P. Adams, et al. Scalable Bayesian optimization using deep neural networks. In International Conference on Machine Learning, 2015. 2
[56] N. Srivastava, G. E. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 15(1):1929–1958, 2014. 11
[57] K. O. Stanley, D. B. D’Ambrosio, and J. Gauci. A hypercube-based encoding for evolving large-scale neural networks. Artificial Life, 2009. 2
[58] C. Szegedy, S. Ioffe, V. Vanhoucke, and A. Alemi. Inceptionv4, Inception-Resnet and the impact of residual connections on learning. In International Conference on Learning Representations Workshop Track, 2016. 1, 2, 3, 4, 7
[59] C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich. Going deeper with convolutions. In IEEE Conference on Computer Vision and Pattern Recognition, 2015. 1, 2, 3, 4, 7
[60] C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna. Rethinking the Inception architecture for computer vision. In IEEE Conference on Computer Vision and Pattern Recognition, 2016. 1, 2, 3, 4, 5, 7, 8, 12
[61] D. Ulyanov, A. Vedaldi, and V. Lempitsky. Instance normalization: The missing ingredient for fast stylization. arXiv preprint arXiv:1607.08022, 2016. 12
[62] J. X. Wang, Z. Kurth-Nelson, D. Tirumala, H. Soyer, J. Z. Leibo, R. Munos, C. Blundell, D. Kumaran, and M. Botvinick. Learning to reinforcement learn. arXiv preprint arXiv:1611.05763, 2016. 2
[63] T. Weyand, I. Kostrikov, and J. Philbin. Planet-photo geolocation with convolutional neural networks. In European Conference on Computer Vision, 2016. 8
[64] O. Wichrowska, N. Maheswaranathan, M. W. Hoffman, S. G. Colmenarejo, M. Denil, N. de Freitas, and J. Sohl-Dickstein. Learned optimizers that scale and generalize. arXiv preprint arXiv:1703.04813, 2017. 2
[65] D. Wierstra, F. J. Gomez, and J. Schmidhuber. Modeling systems with internal state using evolino. In The Genetic and Evolutionary Computation Conference, 2005. 2
[66] R. J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. In Machine Learning, 1992. 11
[67] L. Xie and A. Yuille. Genetic CNN. arXiv preprint arXiv:1703.01513, 2017. 2
[68] S. Xie, R. Girshick, P. Dollár, Z. Tu, and K. He. Aggregated residual transformations for deep neural networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017. 1, 2, 7
[69] X. Zhang, Z. Li, C. C. Loy, and D. Lin. Polynet: A pursuit of structural diversity in very deep networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017. 5, 7, 8, 11
[70] X. Zhang, X. Zhou, L. Mengxiao, and J. Sun. ShuffleNet: An extremely efficient convolutional neural network for mobile devices. arXiv preprint arXiv:1707.01083, 2017. 2, 5, 7, 8
[71] B. Zoph and Q. V. Le. Neural architecture search with reinforcement learning. In International Conference on Learning Representations, 2017. 1, 2, 4, 6, 11










