深度学习论文阅读图像分类篇(五):ResNet《Deep Residual Learning for Image Recognition》

在这里插入图片描述
更多Ai资讯:公主号AiCharm
AiCharm公主号

Abstract 摘要

  Deeper neural networks are more difficult to train. We present a residual learning framework to ease the training of networks that are substantially deeper than those used previously. We explicitly reformulate the layers as learning residual functions with reference to the layer inputs, instead of learning unreferenced functions. We provide comprehensive empirical evidence showing that these residual networks are easier to optimize, and can gain accuracy from considerably increased depth. On the ImageNet dataset we evaluate residual nets with a depth of up to 152 layers — 8× deeper than VGG nets [40] but still having lower complexity. An ensemble of these residual nets achieves 3.57% error on the ImageNet test set. This result won the 1st place on the ILSVRC 2015 classification task. We also present analysis on CIFAR-10 with 100 and 1000 layers.
  更深的神经网络更难训练。我们提出了一种残差学习框架来减轻 网络训练,这些网络比以前使用的网络更深。我们明确地将层变为学 习关于层输入的残差函数,而不是学习未参考的函数。我们提供了全 面的经验证据说明这些残差网络很容易优化,并可以显著增加深度来 提高准确性。在 ImageNet 数据集上我们评估了深度高达 152 层的残 差网络——比 VGG[40]深 8 倍但仍具有较低的复杂度。这些残差网络 的集合在 ImageNet 测试集上取得了 3.57%的错误率。这个结果在 ILSVRC 2015 分类任务上赢得了第一名。我们也在 CIFAR-10 上分析 了 100 层和 1000 层的残差网络。
  The depth of representations is of central importance for many visual recognition tasks. Solely due to our extremely deep representations, we obtain a 28% relative improvement on the COCO object detection dataset. Deep residual nets are foundations of our submissions to ILSVRC & COCO 2015 competitions, where we also won the 1st places on the tasks of ImageNet detection, ImageNet localization, COCO detection, and COCO segmentation.
  对于许多视觉识别任务而言,表示的深度是至关重要的。仅由于 我们非常深度的表示,我们便在 COCO 目标检测数据集上得到了 28% 的相对提高。深度残差网络是我们向 ILSVRC 和 COCO 2015 竞赛提 交的基础,我们也赢得了 ImageNet 检测任务,ImageNet 定位任务, COCO 检测和 COCO 分割任务的第一名。

1. Introduction 引言

  Deep convolutional neural networks [22, 21] have led to a series of breakthroughs for image classification [21, 49, 39]. Deep networksnaturally integrate low/mid/high-level features [49] and classifiers in an end-to-end multi-layer fashion, and the “levels” of features can be enriched by the number of stacked layers (depth). Recent evidence [40, 43] reveals that network depth is of crucial importance, and the leading results [40, 43, 12, 16] on the challenging ImageNet dataset [35] all exploit “very deep” [40] models, with a depth of sixteen [40] to thirty [16]. Many other nontrivial visual recognition tasks [7, 11, 6, 32, 27] have also greatly benefited from very deep models.
  深度卷积神经网络[22, 21]导致了图像分类[21, 49, 39]的一系列突 破。深度网络自然地将低/中/高级特征[49]和分类器以端到端多层方 式进行集成,特征的“级别”可以通过堆叠层的数量(深度)来丰富。 最近的证据[40, 43]显示网络深度至关重要,在具有挑战性的 ImageNet 数据集上领先的结果都采用了“非常深”[40]的模型,深度 从 16 [40]到 30 [16]之间。许多其它重要的视觉识别任务[7, 11, 6, 32, 27]也从非常深的模型中得到了极大受益。
  Driven by the significance of depth, a question arises: Is learning better networks as easy as stacking more layers? An obstacle to answering this question was the notorious problem of vanishing/exploding gradients [14, 1, 8], which hamper convergence from the beginning. This problem, however, has been largely addressed by normalized initialization [23, 8, 36, 12] and intermediate normalization layers [16], which enable networks with tens of layers to start converging for stochastic gradient descent (SGD) with backpropagation [22].
  在深度重要性的推动下,出现了一个问题:学些更好的网络是否 等同于堆叠更多的层呢?回答这个问题的一个障碍是梯度消失/爆炸 [14, 1, 8]这个众所周知的问题,它从一开始就阻碍了收敛。然而,这 个问题通过标准初始化[23, 8, 36, 12]和中间标准化层[16]在很大程度 上已经解决,这使得数十层的网络能通过具有反向传播的随机梯度下 降(SGD)开始收敛。
  When deeper networks are able to start converging, a degradation problem has been exposed: with the network depth increasing, accuracy gets saturated (which might be unsurprising) and then degrades rapidly. Unexpectedly, such degradation is not caused by overfitting, and adding more layers to a suitably deep model leads to higher training error, as reported in [10, 41] and thoroughly verified by our experiments. Fig. 1 shows a typical example.
  当更深的网络能够开始收敛时,暴露了一个退化问题:随着网络深度的增加,准确率达到饱和(这可能并不奇怪),然后迅速下降。意外的是,这种下降不是由过拟合引起的,并且在适当的深度模型上添加更多的层会导致更高的训练误差,正如[10,41]中报告的那样,并且由我们的实验完全证实。图1显示了一个典型的例子。在这里插入图片描述
  The degradation (of training accuracy) indicates that not all systems are similarly easy to optimize. Let us consider a shallower architecture and its deeper counterpart that adds more layers onto it. There exists a solution by construction to the deeper model: the added layers are identity mapping, and the other layers are copied from the learned shallower model. The existence of this constructed solution indicates that a deeper model should produce no higher training error than its shallower counterpart. But experiments show that our current solvers on hand are unable to find solutions that are comparably good or better than the constructed solution (or unable to do so in feasible time).
  退化(训练准确率)表明不是所有的系统都很容易优化。让我们 考虑一个较浅的架构及其更深层次的对象,为其添加更多的层。存在 通过构建得到更深层模型的解决方案:添加的层是恒等映射,其他层 是从学习到的较浅模型的拷贝。这种构造解决方案的存在表明,较深的模型不应该产生比其对应的较浅模型更高的训练误差。但是实验表 明,我们目前现有的解决方案无法找到与构建的解决方案相比相对不 错或更好的解决方案(或在合理的时间内无法实现)。
  In this paper, we address the degradation problem by introducing a deep residual learning framework. Instead of hoping each few stacked layers directly fit a desired underlying mapping, we explicitly let these layers fit a residual mapping. Formally, denoting the desired underlying mapping as H(x), we let the stacked nonlinear layers fit another mapping of F(x) := H(x) − x. The original mapping is recast into F(x) + x. We hypothesize that it is easier to optimize the residual mapping than to optimize the original, unreferenced mapping. To the extreme, if an identity mapping were optimal, it would be easier to push the residual to zero than to fit an identity mapping by a stack of nonlinear layers.
  在本文中,我们通过引入深度残差学习框架解决了退化问题。我 们明确地让这些层拟合残差映射,而不是希望每几个堆叠的层直接拟 合期望的基础映射。形式上,将期望的基础映射表示为 H(x),我们将 堆叠的非线性层拟合另一个映射 F(x) := H(x) − x。原始的映射重写为 F(x) + x。我们假设残差映射比原始的、未参考的映射更容易优化。在 极端情况下,如果一个恒等映射是最优的,那么将残差置为零比通过 一堆非线性层来拟合恒等映射更容易。
  The formulation of F(x) + x can be realized by feedforward neural networks with “shortcut connections” (Fig. 2). Shortcut connections [2, 33, 48] are those skipping one or more layers. In our case, the shortcut connections simply perform identity mapping, and their outputs are added to the outputs of the stacked layers (Fig. 2). Identity shortcut connections add neither extra parameter nor computational complexity. The entire network can still be trained end-to-end by SGD with backpropagation, and can be easily implemented using common libraries (e.g., Caffe [19]) without modifying the solvers.
  公式 F(x) + x 可以通过带有“快捷连接”的前向神经网络(图 2) 来实现。快捷连接[2, 33, 48]是那些跳过一层或更多层的连接。在我们 的案例中,快捷连接简单地执行恒等映射,并将其输出添加到堆叠层 的输出(图 2)。恒等快捷连接既不增加额外的参数也不增加计算复 杂度。整个网络仍然可以由带有反向传播的 SGD 进行端到端的训练, 并且可以使用公共库(例如,Caffe [19])轻松实现,而无需修改求解器。在这里插入图片描述

  We present comprehensive experiments on ImageNet [35] to show the degradation problem and evaluate our method. We show that: 1) Our extremely deep residual nets are easy to optimize, but the counterpart “plain” nets (that simply stack layers) exhibit higher training error when the depth increases; 2) Our deep residual nets can easily enjoy accuracy gains from greatly increased depth, producing results substantially better than previous networks.
  我们在 ImageNet[35]上进行了综合实验来显示退化问题并评估 我们的方法。我们发现:1)我们极深的残差网络易于优化,但当深 度增加时,对应的“简单”网络(简单堆叠层)表现出更高的训练误 差;2)我们的深度残差网络可以从大大增加的深度中轻松获得准确 性收益,生成的结果实质上比以前的网络更好。
  Similar phenomena are also shown on the CIFAR-10 set [20], suggesting that the optimization difficulties and the effects of our method are not just akin to a particular dataset. We present successfully trained models on this dataset with over 100 layers, and explore models with over 1000 layers.
  CIFAR-10 数据集上[20]也显示出类似的现象,这表明了优化的 困难以及我们的方法的影响不仅仅是针对一个特定的数据集。我们在 这个数据集上展示了成功训练的超过 100 层的模型,并探索了超过 1000 层的模型。
  On the ImageNet classification dataset [35], we obtain excellent results by extremely deep residual nets. Our 152-layer residual net is the deepest network ever presented on ImageNet, while still having lower complexity than VGG nets [40]. Our ensemble has 3.57% top-5 error on the ImageNet test set, and won the 1st place in the ILSVRC 2015 classification competition. The extremely deep representations also have excellent generalization performance on other recognition tasks, and lead us to further win the 1st places on: ImageNet detection, ImageNet localization, COCO detection, and COCO segmentation in ILSVRC & COCO 2015 competitions. This strong evidence shows that the residual learning principle is generic, and we expect that it is applicable in other vision and non-vision problems.
  在 ImageNet 分类数据集[35]中,我们通过非常深的残差网络获得 了很好的结果。我们的 152 层残差网络是 ImageNet 上最深的网络, 同时还具有比 VGG 网络[40]更低的复杂性。我们的模型集合在 ImageNet 测试集上有 3.57% top-5 的错误率,并在 ILSVRC 2015 分类 比赛中获得了第一名。极深的表示在其它识别任务中也有极好的泛化 性能,并带领我们在进一步赢得了第一名:包括 ILSVRC & COCO 2015 竞赛中的 ImageNet 检测,ImageNet 定位,COCO 检测和 COCO 分割。坚实的证据表明残差学习准则是通用的,并且我们期望它适用 于其它的视觉和非视觉问题。

2. Related Work 相关工作

  Residual Representations. In image recognition, VLAD [18] is a representation that encodes by the residual vectors with respect to a dictionary, and Fisher Vector [30] can be formulated as a probabilistic version [18] of VLAD. Both of them are powerful shallow representations for image retrieval and classification [4, 47]. For vector quantization, encoding residual vectors [17] is shown to be more effective than encoding original vectors.
  残差表示:在图像识别中,VLAD[18]是一种通过关于字典的残 差向量进行编码的表示形式,Fisher 矢量[30]可以表示为 VLAD 的概 率版本[18]。它们都是图像检索和图像分类[4,47]中强大的浅层表示。 对于矢量量化,编码残差矢量[17]被证明比编码原始矢量更有效。
  In low-level vision and computer graphics, for solving Partial Differential Equations (PDEs), the widely used Multigrid method [3] reformulates the system as subproblems at multiple scales, where each subproblem is responsible for the residual solution between a coarser and a finer scale. An alternative to Multigrid is hierarchical basis preconditioning [44, 45], which relies on variables that represent residual vectors between two scales. It has been shown [3, 44, 45] that these solvers converge much faster than standard solvers that are unaware of the residual nature of the solutions. These methods suggest that a good reformulation or preconditioning can simplify the optimization.
  在低层次视觉和计算机图形学中,为了求解偏微分方程(PDE), 广泛使用的 Multigrid 方法[3]将系统重构为在多个尺度上的子问题, 其中每个子问题负责较粗尺度和较细尺度的残差解。Multigrid 的替代 方法是层次化基础预处理[44,45],它依赖于表示两个尺度之间残差向 量的变量。已经被证明[3,44,45]这些求解器比不知道解的残差性质的 标准求解器收敛得更快。这些方法表明,良好的重构或预处理可以简 化优化。
Shortcut Connections. Practices and theories that lead to shortcut connections [2, 33, 48] have been studied for a long time. An early practice of training multi-layer perceptrons (MLPs) is to add a linear layer connected from the network input to the output [33, 48]. In [43, 24], a few intermediate layers are directly connected to auxiliary classifiers for addressing vanishing/exploding gradients. The papers of [38, 37, 31, 46] propose methods for centering layer responses, gradients, and propagated errors, implemented by shortcut connections. In [43], an “inception” layer is composed of a shortcut branch and a few deeper branches.
  快捷连接:实践和理论导致快捷连接[2,33,48]已经被研究了很长 时间。训练多层感知机(MLP)的早期实践是添加一个线性层来连接 网络的输入和输出[33,48]。在[43,24]中,一些中间层直接连接到辅助 分类器,用于解决梯度消失/爆炸。论文[38,37,31,46]提出了通过快捷 连接实现层间响应,梯度和传播误差的方法。在[43]中,一个“inception” 层由一个快捷分支和一些更深的分支组成。
  Concurrent with our work, “highway networks” [41, 42] present shortcut connections with gating functions [15]. These gates are datadependent and have parameters, in contrast to our identity shortcuts that are parameter-free. When a gated shortcut is “closed” (approaching zero), the layers in highway networks represent non-residual functions. On the contrary, our formulation always learns residual functions; our identity shortcuts are never closed, and all information is always passed through, with additional residual functions to be learned. In addition, highway networks have not demonstrated accuracy gains with extremely increased depth (e.g., over 100 layers).
  和我们同时进行的工作,“highway networks” [41, 42]提出了门 控功能[15]的快捷连接。这些门是数据依赖且有参数的,与我们不具 有参数的恒等快捷连接不同。当门控快捷连接“关闭”(接近零)时, 高速网络中的层表示非残差函数。相反,我们的公式总是学习残差函 数;我们的恒等快捷连接永远不会关闭,所有的信息总是通过,还有 额外的残差函数要学习。此外,高速网络还没有证实极度增加的深度 (例如,超过 100 个层)带来的准确性收益。

3. Deep Residual Learning 深度残差学习

3.1. Residual Learning 残差学习

  Let us consider H(x) as an underlying mapping to be fit by a few stacked layers (not necessarily the entire net), with x denoting the inputs to the first of these layers. If one hypothesizes that multiple nonlinear layers can asymptotically approximate complicated functions, then it is equivalent to hypothesize that they can asymptotically approximate the residual functions, i.e., H(x) – x (assuming that the input and output are of the same dimensions). So rather than expect stacked layers to approximate H(x), we explicitly let these layers approximate a residual function F(x) := H(x) − x. The original function thus becomes F(x) + x. Although both forms should be able to asymptotically approximate the desired functions (as hypothesized), the ease of learning might be different.
  我们把 H(x)看作几个堆叠层(不必是整个网络)要拟合的基础映 射,x 表示这些层中第一层的输入。如果假设多个非线性层可以渐近 地近似复杂函数,那么它等价于假设它们可以渐近地近似残差函数, 即 H(x) – x(假设输入输出是相同维度的)。因此,我们明确让这些 层近似参数函数 F(x) := H(x) − x,而不是期望堆叠层近似 H(x)。因此 原始函数变为 F(x) + x。尽管两种形式应该都能渐近地近似目标函数 (如假设),但学习的难易程度可能是不同的。
  This reformulation is motivated by the counterintuitive phenomena about the degradation problem (Fig. 1, left). As we discussed in the introduction, if the added layers can be constructed as identity mappings, a deeper model should have training error no greater than its shallower counterpart. The degradation problem suggests that the solvers might have difficulties in approximating identity mappings by multiple nonlinear layers. With the residual learning reformulation, if identity mappings are optimal, the solvers may simply drive the weights of the multiple nonlinear layers toward zero to approach identity mappings.
  关于退化问题的反直觉现象激发了这种重构(图 1 左)。正如我 们在引言中讨论的那样,如果添加的层可以被构建为恒等映射,更深 模型的训练误差应该不大于它对应的更浅版本。退化问题表明求解器 通过多个非线性层来近似恒等映射可能有困难。通过残差学习的重构, 如果恒等映射是最优的,求解器可能简单地将多个非线性连接的权重 推向零来接近恒等映射。
  In real cases, it is unlikely that identity mappings are optimal, but our reformulation may help to precondition the problem. If the optimal function is closer to an identity mapping than to a zero mapping, it should be easier for the solver to find the perturbations with reference to an identity mapping, than to learn the function as a new one. We show by experiments (Fig. 7) that the learned residual functions in general have small responses, suggesting that identity mappings provide reasonable preconditioning.
  在实际情况下,恒等映射不太可能是最优的,但是我们的重构可 能有助于对问题进行预处理。如果最优函数比零映射更接近于恒等映 射,则求解器应该更容易找到关于恒等映射的抖动,而不是将该函数 作为新函数来学习。我们通过实验(图 7)得到学习的残差函数通常 有更小的响应,表明恒等映射提供了合理的预处理。
在这里插入图片描述

3.2 Identity Mapping by Shortcuts 快捷恒等映射

  We adopt residual learning to every few stacked layers. A building block is shown in Fig. 2. Formally, in this paper we consider a building block defined as: y = F(x, Wi) + x (1) Here x and y are the input and output vectors of the layers considered. The function F(x, Wi) represents the residual mapping to be learned. For the example in Fig. 2 that has two layers, F = W2σ(W1x) in which σ denotes ReLU [29] and the biases are omitted for simplifying notations. The operation F + x is performed by a shortcut connection and element-wise addition. We adopt the second nonlinearity after the addition (i.e., σ(y), see Fig. 2).
  我们每隔几个堆叠层采用残差学习。构建块如图 2 所示。在本文 中我们考虑构建块正式定义为: 在这里插入图片描述

x 和 y 是考虑的层的输入和输出向量。函数 F(x, Wi)表示要学习 的残差映射。图 2 中的例子有两层,F = W2σ(W1x)中 σ 表示 ReLU 函 数[29],为了简化写法忽略偏置项。F + x 操作通过快捷连接和各个元 素相加来执行。在相加之后我们采纳了第二种非线性(即 σ(y),看图 2)。
  The shortcut connections in Eqn.(1) introduce neither extra parameter nor computation complexity. This is not only attractive in practice but also important in our comparisons between plain and residual networks. We can fairly compare plain/residual networks that simultaneously have the same number of parameters, depth, width, and computational cost (except for the negligible element-wise addition).
  方程(1)中的快捷连接既没有引入外部参数又没有增加计算复 杂度。这不仅在实践中有吸引力,而且在简单网络和残差网络的比较 中也很重要。我们可以公平地比较同时具有相同数量的参数,相同深 度,宽度和计算成本的简单/残差网络(除了可忽略不计的元素加法之 外)
  The dimensions of x and F must be equal in Eqn.(1). If this is not the case (e.g., when changing the input/output channels), we can perform a linear projection Ws by the shortcut connections to match the dimensions:在这里插入图片描述
  We can also use a square matrix Ws in Eqn.(1). But we will show by experiments that the identity mapping is sufficient for addressing the degradation problem and is economical, and thus Ws is only used when matching dimensions.
  方程(1)中 x 和 F 的维度必须是相等的。如果不是这种情况(例如,当更改输入/输出通道时),我们可以通过快捷连接执行线性投影 Ws来匹配维度:
在这里插入图片描述
我们也可以使用方程(1)中的方阵 Ws。但是我们将通过实验表 明,恒等映射足以解决退化问题,并且是合算的,因此 Ws 仅在匹配维度时使用。
  The form of the residual function F is flexible. Experiments in this paper involve a function F that has two or three layers (Fig. 5), while more layers are possible. But if F has only a single layer, Eqn.(1) is similar to a linear layer: y = W1x + x, for which we have not observed advantages.
  残差函数 F 的形式是可变的。本文中的实验包括有两层或三层 (图 5)的函数 F,当然更多层也是可以的。但如果 F 只有一层,方 程(1)类似于线性层:y = W1x + x,我们没有看到优势。
在这里插入图片描述
  We also note that although the above notations are about fullyconnected layers for simplicity, they are applicable to convolutional layers. The function F(x, Wi) can represent multiple convolutional layers. The element-wise addition is performed on two feature maps, channel by channel.
  我们还注意到,为了简单起见,尽管上述符号是关于全连接层的, 但它们同样适用于卷积层。函数 F(x, Wi)可以表示多个卷积层。元素 加法在两个特征图上逐通道进行。

3.3 Network Architectures 网络架构

  We have tested various plain/residual nets, and have observed consistent phenomena. To provide instances for discussion, we describe two models for ImageNet as follows.
  我们测试了各种简单/残差网络,并观察到了一致的现象。为了提 供讨论的实例,我们描述了 ImageNet 的两个模型如下。
  Plain Network. Our plain baselines (Fig. 3, middle) are mainly inspired by the philosophy of VGG nets [41] (Fig. 3, left). The convolutional layers mostly have 3×3 filters and follow two simple design rules: (i) for the same output feature map size, the layers have the same number of filters; and (ii) if the feature map size is halved, the number of filters is doubled so as to preserve the time complexity per layer. We perform downsampling directly by convolutional layers that have a stride of 2. The network ends with a global average pooling layer and a 1000- way fully-connected layer with softmax. The total number of weighted layers is 34 in Fig. 3 (middle).
  简单网络。我们简单网络的基准(图 3,中间)主要受到 VGG 网 络[40](图 3,左图)的哲学启发。卷积层主要有 3×3 的滤波器,并 遵循两个简单的设计规则:(i)为了得到相同的输出特征图尺寸,所 有层具有相同数量的滤波器;(ii)如果特征图尺寸减半,则滤波器 数量加倍,以便保持每层的时间复杂度。我们通过步长为 2 的卷积层 直接执行下采样。网络以全局平均池化层和具有 softmax 的 1000 维 全连接层结束。图 3(中间)的加权层总数为 34。

在这里插入图片描述

图 3 ImageNet 的网络架构例子。左:作为参考的 VGG-19 模型[41](196 亿 FLOPs)。中:具有 34 个参数层的简单网络(36 亿 FLOPs)。右:具有 34 个参 数层的残差网络(36 亿 FLOPs)。带点的快捷连接增加了维度。表 1 显示了更 多细节和其它变种。

在这里插入图片描述
  It is worth noticing that our model has fewer filters and lower complexity than VGG nets [41] (Fig. 3, left). Our 34-layer baseline has 3.6 billion FLOPs (multiply-adds), which is only 18% of VGG-19 (19.6 billion FLOPs).
  值得注意的是我们的模型与 VGG 网络(图 3 左)相比,有更少 的滤波器和更低的复杂度。我们的 34 层基准有 36 亿 FLOP(乘加), 仅是 VGG-19(196 亿 FLOP)的 18%。
  Residual Network. Based on the above plain network, we insert shortcut connections (Fig. 3, right) which turn the network into its counterpart residual version. The identity shortcuts (Eqn.(1)) can be directly used when the input and output are of the same dimensions (solid line shortcuts in Fig. 3). When the dimensions increase (dotted line shortcuts in Fig. 3), we consider two options: (A) The shortcut still performs identity mapping, with extra zero entries padded for increasing dimensions. This option introduces no extra parameter; (B) The projection shortcut in Eqn.(2) is used to match dimensions (done by 1 × 1 convolutions). For both options, when the shortcuts go across feature maps of two sizes, they are performed with a stride of 2.
   残差网络。基于上述的简单网络,我们插入快捷连接(图 3 右), 将网络转换为其对应的残差版本。当输入和输出具有相同的维度时 (图 3 中的实线快捷连接)时,可以直接使用恒等快捷连接(方程 (1))。当维度增加(图 3 中的虚线快捷连接)时,我们考虑两个 选项:(A)快捷连接仍然执行恒等映射,额外填充零输入以增加维 度。此选项不会引入额外的参数;(B)方程(2)中的投影快捷连接 用于匹配维度(由 1×1 卷积完成)。对于这两个选项,当快捷连接 跨越两种尺寸的特征图时,它们执行时步长为 2。

3.4. Implementation 实现

   Our implementation for ImageNet follows the practice in [21, 41]. The image is resized with its shorter side randomly sampled in [256, 480] for scale augmentation [41]. A 224×224 crop is randomly sampled from an image or its horizontal flip, with the per-pixel mean subtracted [21]. The standard color augmentation in [21] is used. We adopt batch normalization (BN) [16] right after each convolution and before activation, following [16]. We initialize the weights as in [12] and train all plain/residual nets from scratch. We use SGD with a mini-batch size of 256. The learning rate starts from 0.1 and is divided by 10 when the error plateaus, and the models are trained for up to 60×104 iterations. We use a weight decay of 0.0001 and a momentum of 0.9. We do not use dropout [13], following the practice in [16].
   ImageNet 中我们的实现遵循[21,41]的实践。调整图像大小,其 较短的边在[256,480]之间进行随机采样,用于尺度增强[41]。从图像 或其水平翻转中随机采样 224×224 裁剪大小,并逐像素减去均值[21]。 使用了[21]中的标准颜色增强。参照[16],在每个卷积之后和激活之 前,我们采用批量归一化(BN)[16]。我们按照[12]的方法初始化权 重,从零开始训练所有的简单/残差网络。我们使用批大小为 256 的 SGD 方法。学习速度从 0.1 开始,当误差稳定时学习率除以 10,并且 模型训练达 60×104 次迭代。我们使用的权重衰减为 0.0001,动量为 0.9。根据[16]的实践,我们不使用丢弃[13]。
   In testing, for comparison studies we adopt the standard 10-crop testing [21]. For best results, we adopt the fully-convolutional form as in [41, 13], and average the scores at multiple scales (images are resized such that the shorter side is in {224, 256, 384, 480, 640}).
   在测试阶段,为了比较学习我们采用标准的 10-crop 测试[21]。 对于最好的结果,我们采用如[40, 13]中的全卷积形式,并在多尺度上 对分数进行平均(图像归一化,短边位于{224, 256, 384, 480, 640}中)

4. Experiments 实验

4.1. ImageNet Classification ImageNet图像分类

   We evaluate our method on the ImageNet 2012 classification dataset [36] that consists of 1000 classes. The models are trained on the 1.28 million training images, and evaluated on the 50k validation images. We also obtain a final result on the 100k test images, reported by the test server. We evaluate both top-1 and top-5 error rates.
   我们在 ImageNet 2012 分类数据集[36]上对我们的方法进行了评 估,该数据集由 1000 个类别组成。这些模型在 128 万张训练图像上 进行训练,并在 5 万张验证图像上进行评估。我们也获得了测试服务 器报告的在 10 万张测试图像上的最终结果。我们评估了 top-1 和 top5 错误率。
   Plain Networks. We first evaluate 18-layer and 34-layer plain nets. The 34-layer plain net is in Fig. 3 (middle). The 18-layer plain net is of a similar form. See Table 1 for detailed architectures.
   简单网络:我们首先评估 18 层和 34 层的简单网络。34 层简单 网络在图 3(中间)。18 层简单网络是一种类似的形式。有关详细的 体系结构,请参见表 1。
   The results in Table 2 show that the deeper 34-layer plain net has higher validation error than the shallower 18-layer plain net. To reveal the reasons, in Fig. 4 (left) we compare their training/validation errors during the training procedure. We have observed the degradation problem - the 34-layer plain net has higher training error throughout the whole training procedure, even though the solution space of the 18-layer plain network is a subspace of that of the 34-layer one.
   表 2 中的结果表明,较深的 34 层简单网络比较浅的 18 层简单网 络有更高的验证误差。为了揭示原因,在图 4(左图)中,我们比较 训练过程中的训练/验证误差。我们观察到退化问题——虽然 18 层简 单网络的解空间是 34 层简单网络解空间的子空间,但 34 层简单网络 在整个训练过程中具有较高的训练误差。
在这里插入图片描述
在这里插入图片描述
   We argue that this optimization difficulty is unlikely to be caused by vanishing gradients. These plain networks are trained with BN [16], which ensures forward propagated signals to have non-zero variances. We also verify that the backward propagated gradients exhibit healthy norms with BN. So neither forward nor backward signals vanish. In fact, the 34-layer plain net is still able to achieve competitive accuracy (Table 3), suggesting that the solver works to some extent. We conjecture that the deep plain nets may have exponentially low convergence rates, which impact the reducing of the training error1 . The reason for such optimization difficulties will be studied in the future.
   我们认为这种优化难度不可能是由于梯度消失引起的。这些简单 网络使用 BN[16]训练,这保证了前向传播信号有非零方差。我们还 验证了反向传播的梯度,结果显示其符合 BN 的正常标准。因此既不 是前向信号消失也不是反向信号消失。实际上,34 层简单网络仍能取 得有竞争力的准确率(表 3),这表明在某种程度上来说求解器仍有 效。我们推测深度简单网络可能有指数级低收敛特性,这影响了训练 误差的降低。这种优化困难的原因将来会研究。
表3 ImageNet 验证集错误率(%,10 个裁剪图像进行测试)。VGG16 是基于我 们的测试结果的。ResNet-50/101/152 都是仅使用投影增加维度的 B 配置。

   Residual Networks. Next we evaluate 18-layer and 34-layer residual nets (ResNets). The baseline architectures are the same as the above plain nets, expect that a shortcut connection is added to each pair of 3×3 filters as in Fig. 3 (right). In the first comparison (Table 2 and Fig. 4 right), we use identity mapping for all shortcuts and zero-padding for increasing dimensions (option A). So they have no extra parameter compared to the plain counterparts.
   残差网络:接下来我们评估 18 层和 34 层残差网络(ResNets)。 基准架构与上述的简单网络相同,如图 3(右)所示,预计每对 3×3 滤波器都会添加快捷连接。在第一次比较(表 2 和图 4 右侧)中,我 们对所有快捷连接都使用恒等映射和零填充以增加维度(选项 A)。 所以与对应的简单网络相比,它们没有额外的参数。
   We have three major observations from Table 2 and Fig. 4. First, the situation is reversed with residual learning - the 34-layer ResNet is better than the 18-layer ResNet (by 2.8%). More importantly, the 34-layer ResNet exhibits considerably lower training error and is generalizable to the validation data. This indicates that the degradation problem is well addressed in this setting and we manage to obtain accuracy gains from increased depth.
   我们从表 2 和图 4 中可以看到三个主要的观察结果。首先,通过 残差学习这种情况发生的逆转——34 层 ResNet 比 18 层 ResNet 更好 (2.8%)。更重要的是,34 层 ResNet 显示出相当低的训练误差,并且可以泛化到验证数据。这表明在这种情况下,退化问题得到了很好 的解决,我们从增加的深度中设法获得了准确性收益。
   Second, compared to its plain counterpart, the 34-layer ResNet reduces the top-1 error by 3.5% (Table 2), resulting from the successfully reduced training error (Fig. 4 right vs. left). This comparison verifies the effectiveness of residual learning on extremely deep systems.
   第二,与对应的简单网络相比,由于成功的减少了训练误差,34 层 ResNet 降低了 3.5%的 top-1 错误率。这种比较证实了在极深系统 中残差学习的有效性。
   Last, we also note that the 18-layer plain/residual nets are comparably accurate (Table 2), but the 18-layer ResNet converges faster (Fig. 4 right vs. left). When the net is “not overly deep” (18 layers here), the current SGD solver is still able to find good solutions to the plain net. In this case, the ResNet eases the optimization by providing faster convergence at the early stage.
   最后,我们还注意到 18 层的简单/残差网络同样地准确(表 2), 但 18 层 ResNet 收敛更快(图 4 右和左)。当网络“不过度深”时(18 层),目前的 SGD 求解器仍能在简单网络中找到好的解。在这种情 况下,ResNet 通过在早期提供更快的收敛简便了优化。
   Identity vs. Projection Shortcuts. We have shown that parameterfree, identity shortcuts help with training. Next we investigate projection shortcuts (Eqn.(2)). In Table 3 we compare three options: (A) zero-padding shortcuts are used for increasing dimensions, and all shortcuts are parameter-free (the same as Table 2 and Fig. 4 right); (B) projectionshortcuts are used for increasing dimensions, and other shortcuts are identity; and © all shortcuts are projections.
   恒等与投影快捷连接:我们已经表明没有参数、恒等快捷连接有 助于训练。接下来我们探讨投影快捷连接(方程 2)。在表 3 中我们 比较了三个选项:(A)零填充快捷连接用来增加维度,所有的快捷 连接是没有参数的(与表 2 和图 4 右相同);(B)投影快捷连接用 来增加维度,其它的快捷连接是恒等的;(C)所有的快捷连接都是 投影。
   Table 3 shows that all three options are considerably better than the plain counterpart. B is slightly better than A. We argue that this is because the zero-padded dimensions in A indeed have no residual learning. C is marginally better than B, and we attribute this to the extra parameters introduced by many (thirteen) projection shortcuts. But the small differences among A/B/C indicate that projection shortcuts are not essential for addressing the degradation problem. So we do not use option C in the rest of this paper, to reduce memory/time complexity and model sizes. Identity shortcuts are particularly important for not increasing the complexity of the bottleneck architectures that are introduced below.
   表 3 显示,所有三个选项都比对应的简单网络好很多。选项 B 比 A 略好。我们认为这是因为 A 中的零填充确实没有残差学习。选项 C 比 B 稍好,我们把这归因于许多(十三)投影快捷连接引入了额外参 数。但 A/B/C 之间的细微差异表明,投影快捷连接对于解决退化问题 不是至关重要的。因为我们在本文的剩余部分不再使用选项 C,以减少内存/时间复杂性和模型大小。恒等快捷连接对于不增加下面介绍 的瓶颈结构的复杂性尤为重要。
   Deeper Bottleneck Architectures. Next we describe our deeper nets for ImageNet. Because of concerns on the training time that we can afford, we modify the building block as a bottleneck design. For each residual function F, we use a stack of 3 layers instead of 2 (Fig. 5). The three layers are 1×1, 3×3, and 1×1 convolutions, where the 1×1 layers are responsible for reducing and then increasing (restoring) dimensions, leaving the 3×3 layer a bottleneck with smaller input/output dimensions. Fig. 5 shows an example, where both designs have similar time complexity.
   更深的瓶颈结构:接下来我们描述 ImageNet 中我们使用的更深 的网络。由于考虑到我们能承受的训练时间,我们将构建块修改为瓶 颈设计。对于每个残差函数 F,我们使用 3 层堆叠而不是 2 层(图 5)。这三层是 1×1,3×3 和 1×1 卷积,其中 1×1 层负责减小然后 增加(恢复)维度,使 3×3 层成为具有较小输入/输出维度的瓶颈。 图 5 展示了一个示例,两个设计具有相似的时间复杂度。
   The parameter-free identity shortcuts are particularly important for the bottleneck architectures. If the identity shortcut in Fig. 5 (right) is replaced with projection, one can show that the time complexity and model size are doubled, as the shortcut is connected to the two high-dimensional ends. So identity shortcuts lead to more efficient models for the bottleneck designs.
   无参数恒等快捷连接对于瓶颈架构尤为重要。如果图 5(右)中 的恒等快捷连接被投影替换,则可以显示出时间复杂度和模型大小加倍,因为快捷连接是连接到两个高维端。因此,恒等快捷连接可以为 瓶颈设计得到更有效的模型。
   50-layer ResNet: We replace each 2-layer block in the 34-layer net with this 3-layer bottleneck block, resulting in a 50-layer ResNet (Table 1). We use option B for increasing dimensions. This model has 3.8 billion FLOPs. 50 层 ResNet:
   我们用 3 层瓶颈块替换 34 层网络中的每一个 2 层 块,得到了一个 50 层 ResNet(表 1)。我们使用选项 B 来增加维度。 该模型有 38 亿 FLOP。
   101-layer and 152-layer ResNet: We construct 101-layer and 152- layer ResNets by using more 3-layer blocks (Table 1). Remarkably, although the depth is significantly increased, the 152-layer ResNet (11.3 billion FLOPs) still has lower complexity than VGG-16/19 nets (15.3/19.6 billion FLOPs).
   101 层和 152 层 ResNet:我们通过使用更多的 3 层瓶颈块来构建 101 层和 152 层 ResNets(表 1)。值得注意的是,尽管深度显著增 加,但 152 层 ResNet(113 亿 FLOP)仍然比 VGG-16/19 网络(153/196 亿 FLOP)具有更低的复杂度。
   The 50/101/152-layer ResNets are more accurate than the 34-layer ones by considerable margins (Table 3 and 4). We do not observe the degradation problem and thus enjoy significant accuracy gains from considerably increased depth. The benefits of depth are witnessed for all evaluation metrics (Table 3 and 4).
   50/101/152 层 ResNet 比 34 层 ResNet 的准确性要高得多(表 3 和 4)。我们没有观察到退化问题,因此可以从显著增加的深度中获得 显著的准确性收益。所有评估指标都能证明深度的收益(表 3 和表 4)。
   Comparisons with State-of-the-art Methods. In Table 4 we compare with the previous best single-model results. Our baseline 34-layer ResNets have achieved very competitive accuracy. Our 152-layer ResNet has a single-model top-5 validation error of 4.49%. This single-model result outperforms all previous ensemble results (Table 5). We combine six models of different depth to form an ensemble (only with two 152-layer ones at the time of submitting). This leads to 3.57% top-5 error on the test set (Table 5). This entry won the 1st place in ILSVRC 2015.
在这里插入图片描述
在这里插入图片描述
   与最先进的方法比较。在表 4 中,我们与以前最好的单一模型结 果进行比较。我们基准的 34 层 ResNet 已经取得了非常有竞争力的准 确性。我们的 152 层 ResNet 单模型具有 4.49%的 top-5 错误率。这个 单一模型的结果胜过以前的所有集成结果(表 5)。我们结合了六种 不同深度的模型,形成一个集成模型(在提交时仅有两个 152 层)。 这在测试集上得到了 3.5%的 top-5 错误率(表 5)。这次提交在 2015 年 ILSVRC 中荣获了第一名。

4.2. CIFAR-10 and Analysis CIFAR-10 和分析

   We conducted more studies on the CIFAR-10 dataset [20], which consists of 50k training images and 10k testing images in 10 classes. We present experiments trained on the training set and evaluated on the test set. Our focus is on the behaviors of extremely deep networks, but not on pushing the state-of-the-art results, so we intentionally use simple architectures as follows.
   我们对 CIFAR-10 数据集[20]进行了更多的研究,其中包括 10 个 类别中的 5 万张训练图像和 1 万张测试图像。我们介绍了在训练集上 进行训练和在测试集上进行评估的实验。我们的焦点在于极深网络的 行为,而不是产生最先进的结果,所以我们有意使用如下的简单架构。
   The plain/residual architectures follow the form in Fig. 3 (middle/right). The network inputs are 32×32 images, with the per-pixel mean subtracted. The first layer is 3×3 convolutions. Then we use a stack of 6n layers with 3×3 convolutions on the feature maps of sizes {32, 16, 8} respectively, with 2n layers for each feature map size. The numbers of filters are {16, 32, 64} respectively. The subsampling is performed by convolutions with a stride of 2. The network ends with a global average pooling, a 10-way fully-connected layer, and softmax. There are totally 6n+2 stacked weighted layers. The following table summarizes the architecture: When shortcut connections are used, they are connected to the pairs of 3×3 layers (totally 3n shortcuts). On this dataset we use identity shortcuts in all cases (i.e., option A), so our residual models have exactly the same depth, width, and number of parameters as the plain counterparts.
   简单/残差架构如图 3(中/右)的形式。网络输入是 32×32 的图 像,每个像素减去均值。第一层是 3×3 卷积。然后我们在大小为 {32,16,8}的特征图上分别使用了带有 3×3 卷积的 6n 个堆叠层,每个 特征图大小使用 2n 层。滤波器数量分别为{16,32,64}。下采样由步长 为 2 的卷积进行。网络以全局平均池化,一个 10 维全连接层和 softmax 作为结束。共有 6n+2 个堆叠的加权层。下表总结了这个架构:
在这里插入图片描述

   当使用快捷连接时,它们连接到成对的 3×3 卷积层上(共 3n 个 快捷连接)。在这个数据集上,我们在所有案例中都使用恒等快捷连 接(即选项 A),因此我们的残差模型与对应的简单模型具有完全相 同的深度,宽度和参数数量。
   We use a weight decay of 0.0001 and momentum of 0.9, and adopt the weight initialization in [12] and BN [16] but with no dropout. These models are trained with a mini-batch size of 128 on two GPUs. We start with a learning rate of 0.1, divide it by 10 at 32k and 48k iterations, and terminate training at 64k iterations, which is determined on a 45k/5k train/val split. We follow the simple data augmentation in [24] for training: 4 pixels are padded on each side, and a 32×32 crop is randomly sampled from the padded image or its horizontal flip. For testing, we only evaluate the single view of the original 32×32 image.
   我们使用的权重衰减为 0.0001 和动量为 0.9,并采用[12]和 BN[16] 中的权重初始化,但没有使用 dropout。这些模型在两个 GPU 上进行 训练,批处理大小为 128。我们开始使用的学习率为 0.1,在 32k 次和 48k 次迭代后学习率除以 10,并在 64k 次迭代后终止训练,这是由 45k/5k 的训练/验证集分割决定的。我们按照[24]中的简单数据增强进 行训练:每边填充 4 个像素,并从填充图像或其水平翻转图像中随机 采样 32×32 的裁剪图像。对于测试,我们只评估原始 32×32 图像的 单一视图。
   We compare n = {3,5,7,9}, leading to 20, 32, 44, and 56-layer networks. Fig. 6 (left) shows the behaviors of the plain nets. The deep plain nets suffer from increased depth, and exhibit higher training error when going deeper. This phenomenon is similar to that on ImageNet (Fig. 4, left) and on MNIST (see [42]), suggesting that such an optimization difficulty is a fundamental problem.
   我们比较了 n = {3,5,7,9},得到了 20 层,32 层,44 层和 56 层的 网络。图 6(左)显示了简单网络的行为。深度简单网络经历了深度 增加,随着深度增加表现出了更高的训练误差。这种现象类似于 ImageNet 中(图 4,左)和 MNIST 中(请看[42])的现象,表明这种 优化困难是一个基本的问题。
在这里插入图片描述

   Fig. 6 (middle) shows the behaviors of ResNets. Also similar to the ImageNet cases (Fig. 4, right), our ResNets manage to overcome the optimization difficulty and demonstrate accuracy gains when the depth increases.
   图 6(中)显示了 ResNet 的行为。这也与 ImageNet 的情况类似 (图 4,右),我们的 ResNet 设法克服优化困难,并随着深度的增加 呈现了准确性收益
   We further explore n = 18 that leads to a 110-layer ResNet. In this case, we find that the initial learning rate of 0.1 is slightly too large to start converging. So we use 0.01 to warm up the training until the training error is below 80% (about 400 iterations), and then go back to 0.1 and continue training. The rest of the learning schedule is as done previously. This 110- layer network converges well (Fig. 6, middle). It has fewer parameters than other deep and thin networks such as FitNet [35] and Highway [42] (Table 6), yet is among the state-of-the-art results (6.43%, Table 6).
在这里插入图片描述
   我们进一步探索了 n = 18 得到了 110 层的 ResNet。在这种情况 下,我们发现 0.1 的初始学习率对于收敛来说太大了。因此我们使用 0.01 的学习率开始训练,直到训练误差低于 80%(大约 400 次迭代), 然后学习率变回到 0.1 并继续训练。学习过程的剩余部分与前面做的 一样。这个 110 层网络收敛的很好(图 6,中)。它与其它的深且窄 的网络例如 FitNet[35]和 Highway[42]相比有更少的参数,然而结果仍 在目前最好的结果中(6.43%,表 6)。
   Analysis of Layer Responses. Fig. 7 shows the standard deviations (std) of the layer responses. The responses are the outputs of each 3×3 layer, after BN and before other nonlinearity (ReLU/addition). For ResNets, this analysis reveals the response strength of the residual functions. Fig. 7 shows that ResNets have generally smaller responses than their plain counterparts. These results support our basic motivation (Sec.3.1) that the residual functions might be generally closer to zero than the non-residual functions. We also notice that the deeper ResNet has smaller magnitudes of responses, as evidenced by the comparisons among ResNet-20, 56, and 110 in Fig. 7. When there are more layers, an individual layer of ResNets tends to modify the signal less.
   层响应分析 图 7 显示了层响应的标准偏差(std)。这些响应每 个 3×3 层的输出,在 BN 之后和其他非线性(ReLU/加法)之前。对 于 ResNets,该分析揭示了残差函数的响应强度。图 7 显示 ResNet 的 响应比其对应的简单网络的响应更小。这些结果支持了我们的基本动机(第 3.1 节),即残差函数通常比非残差函数更接近零。通过比较图 7 中 ResNet-20,ResNet-56 和 ResNet-110,我们还注意到,更深的 ResNet 具有较小的响应幅度。当层数更多时,单层ResNet 趋向于更少地修改信号。
   Exploring Over 1000 layers. We explore an aggressively deep model of over 1000 layers. We set n = 200 that leads to a 1202-layer network, which is trained as described above. Our method shows no optimization difficulty, and this 103 -layer network is able to achieve training error<0.1% (Fig. 6, right). Its test error is still fairly good (7.93%, Table 6).
   探索超过 1000 层。我们探索了一个超过 1000 层非常深的模型。 我们设置 n = 200,得到了 1202 层的网络,其训练如上所述。我们的 方法显示没有优化困难,这个 103 层的网络能够实现训练误差<0.1%(图 6,右图)。其测试误差仍然很好(7.93%,表 6)。
   But there are still open problems on such aggressively deep models. The testing result of this 1202-layer network is worse than that of our 110- layer network, although both have similar training error. We argue that this is because of overfitting. The 1202-layer network may be unnecessarily large (19.4M) for this small dataset. Strong regularization such as maxout [9] or dropout [13] is applied to obtain the best results ([9, 25, 24, 34]) on this dataset. In this paper, we use no maxout/dropout and just simply impose regularization via deep and thin architectures by design, without distracting from the focus on the difficulties of optimization. But combining with stronger regularization may improve results, which we will study in the future.
   但是,这种极深的模型仍然存在着一些未解决的问题。这个 1202 层网络的测试结果比我们的 110 层网络的测试结果更差,虽然两者都 具有类似的训练误差。我们认为这是过拟合造成的。对于这种小型数 据集,1202 层网络可能过大(19.4M)。在这个数据集应用强大的正 则化,如 maxout[9]或者 dropout[13]来获得最佳结果([9,25,24,34])。 在本文中,我们不使用 maxout/dropout,只是简单地通过设计深且窄 的架构简单地进行正则化,而不会分散集中在优化难点上的注意力。 但结合更强的正规化可能会改善结果,我们将来会做研究。

4.3. Object Detection on PASCAL and MS COCO 在 PASCAL 和 MS COCO 上的目标检测

   Our method has good generalization performance on other recognition tasks. Table 7 and 8 show the object detection baseline results on PASCAL VOC 2007 and 2012 [5] and COCO [26]. We adopt Faster RCNN [32] as the detection method. Here we are interested in the improvements of replacing VGG-16 [40] with ResNet-101. The detection implementation (see appendix) of using both models is the same, so the gains can only be attributed to better networks. Most remarkably, on the challenging COCO dataset we obtain a 6.0% increase in COCO’s standard metric (mAP@[.5, .95]), which is a 28% relative improvement. This gain is solely due to the learned representations.
   我们的方法对其他识别任务有很好的泛化性能。表 7 和表 8 显示 了 PASCAL VOC 2007 和 2012[5]以及 COCO[26]的目标检测基准结 果。我们采用 Faster R-CNN[32]作为检测方法。在这里,我们感兴趣 的是用 ResNet-101 替换 VGG-16[40]。这两种模型的检测方法(见附 录)是一样的,所以收益只能归因于更好的网络。最显著的是,在有 挑战性的 COCO 数据集中,COCO 的标准度量指标(mAP@[.5,.95]) 增长了 6.0%,相对改善了 28%。这种收益完全是由于学习到的表示。
在这里插入图片描述

   Based on deep residual nets, we won the 1st places in several tracks in ILSVRC & COCO 2015 competitions: ImageNet detection, ImageNet localization, COCO detection, and COCO segmentation. The details are in the appendix.
   基于深度残差网络,我们在 ILSVRC 和 COCO 2015 竞赛的几个 任务中获得了第一名,分别是:ImageNet 检测,ImageNet 定位,COCO 检测,COCO 分割。详见附录。
更多Ai资讯:公主号AiCharm
AiCharm公主号

  • 7
    点赞
  • 24
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
不管你想做什么,你都要好好的从论文看,而不是单纯的调论文写代码!通过这些学习,你才能真正的对深度学习的发展,模型的优化,进经典的trick有深入的理解! 做算法,做科研必不可少!时间有限的人可以只看1.3 2.1 2.2 !(强烈推荐!) ## 1.3 ImageNet Evolution(Deep Learning broke out from here) **[4]** Krizhevsky, Alex, Ilya Sutskever, and Geoffrey E. Hinton. "**Imagenet classification with deep convolutional neural networks**." Advances in neural information processing systems. 2012. [[pdf]](http://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks.pdf) **(AlexNet, Deep Learning Breakthrough)** :star::star::star::star::star: **[5]** Simonyan, Karen, and Andrew Zisserman. "**Very deep convolutional networks for large-scale image recognition**." arXiv preprint arXiv:1409.1556 (2014). [[pdf]](https://arxiv.org/pdf/1409.1556.pdf) **(VGGNet,Neural Networks become very deep!)** :star::star::star: **[6]** Szegedy, Christian, et al. "**Going deeper with convolutions**." Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2015. [[pdf]](http://www.cv-foundation.org/openaccess/content_cvpr_2015/papers/Szegedy_Going_Deeper_With_2015_CVPR_paper.pdf) **(GoogLeNet)** :star::star::star: **[7]** He, Kaiming, et al. "**Deep residual learning for image recognition**." arXiv preprint arXiv:1512.03385 (2015). [[pdf]](https://arxiv.org/pdf/1512.03385.pdf) **(ResNet,Very very deep networks, CVPR best paper)** :star::star::star::star::star: #2 Deep Learning Method ## 2.1 Model **[14]** Hinton, Geoffrey E., et al. "**Improving neural networks by preventing co-adaptation of feature detectors**." arXiv preprint arXiv:1207.0580 (2012). [[pdf]](https://arxiv.org/pdf/1207.0580.pdf) **(Dropout)** :star::star::star: **[15]** Srivastava, Nitish, et al. "**Dropout: a simple way to prevent neural networks from overfitting**." Journal of Machine Learning Research 15.1 (2014): 1929-1958. [[pdf]](https://www.cs.toronto.edu/~hinton/absps/JMLRdropout.pdf) :star::star::star: **[16]** Ioffe, Sergey, and Christian Szegedy. "**Batch normalization: Accelerating deep network training by reducing internal covariate shift**." arXiv preprint arXiv:1502.03167 (2015). [[pdf]](http://arxiv.org/pdf/1502.03167) **(An outstanding Work in 2015)** :star::star::star::star: **[17]** Ba, Jimmy Lei, Jamie Ryan Kiros, and Geoffrey E. Hinton. "**Layer normalization**." arXiv preprint arXiv:1607.06450 (2016). [[pdf]](https://arxiv.org/pdf/1607.06450.pdf?utm_source=sciontist.com&utm_medium=refer&utm_campaign=promote) **(Update of Batch Normalization)** :star::star::star::star: **[18]** Courbariaux, Matthieu, et al. "**Binarized Neural Networks: Training Neural Networks with Weights and Activations Constrained to+ 1 or−1**." [[pdf]](https://pdfs.semanticscholar.org/f832/b16cb367802609d91d400085eb87d630212a.pdf) **(New Model,Fast)** :star::star::star: **[19]** Jaderberg, Max, et al. "**Decoupled neural interfaces using synthetic gradients**." arXiv preprint arXiv:1608.05343 (2016). [[pdf]](https://arxiv.org/pdf/1608.05343) **(Innovation of Training Method,Amazing Work)** :star::star::star::star::star: **[20]** Chen, Tianqi, Ian Goodfellow, and Jonathon Shlens. "Net2net: Accelerating learning via knowledge transfer." arXiv preprint arXiv:1511.05641 (2015). [[pdf]](https://arxiv.org/abs/1511.05641) **(Modify previously trained network to reduce training epochs)** :star::star::star: **[21]** Wei, Tao, et al. "Network Morphism." arXiv preprint arXiv:1603.01670 (2016). [[pdf]](https://arxiv.org/abs/1603.01670) **(Modify previously trained network to reduce training epochs)** :star::star::star: ## 2.2 Optimization **[22]** Sutskever, Ilya, et al. "**On the importance of initialization and momentum in deep learning**." ICML (3) 28 (2013): 1139-1147. [[pdf]](http://www.jmlr.org/proceedings/papers/v28/sutskever13.pdf) **(Momentum optimizer)** :star::star: **[23]** Kingma, Diederik, and Jimmy Ba. "**Adam: A method for stochastic optimization**." arXiv preprint arXiv:1412.6980 (2014). [[pdf]](http://arxiv.org/pdf/1412.6980) **(Maybe used most often currently)** :star::star::star: **[24]** Andrychowicz, Marcin, et al. "**Learning to learn by gradient descent by gradient descent**." arXiv preprint arXiv:1606.04474 (2016). [[pdf]](https://arxiv.org/pdf/1606.04474) **(Neural Optimizer,Amazing Work)** :star::star::star::star::star: **[25]** Han, Song, Huizi Mao, and William J. Dally. "**Deep compression: Compressing deep neural network with pruning, trained quantization and huffman coding**." CoRR, abs/1510.00149 2 (2015). [[pdf]](https://pdfs.semanticscholar.org/5b6c/9dda1d88095fa4aac1507348e498a1f2e863.pdf) **(ICLR best paper, new direction to make NN running fast,DeePhi Tech Startup)** :star::star::star::star::star: **[26]** Iandola, Forrest N., et al. "**SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and< 1MB model size**." arXiv preprint arXiv:1602.07360 (2016). [[pdf]](http://arxiv.org/pdf/1602.07360) **(Also a new direction to optimize NN,DeePhi Tech Startup)** :star::star::star::star:
deep residual learning for image recognition是一种用于图像识别的深度残差学习方法。该方法通过引入残差块(residual block)来构建深度神经网络,以解决深度网络训练过程中的梯度消失和梯度爆炸等问题。 在传统的深度学习网络中,网络层数增加时,随之带来的问题是梯度消失和梯度爆炸。这意味着在网络中进行反向传播时,梯度会变得非常小或非常大,导致网络训练变得困难。deep residual learning则使用了残差连接(residual connection)来解决这一问题。 在残差块中,输入特征图被直接连接到输出特征图上,从而允许网络直接学习输入与输出之间的残差。这样一来,即使网络层数增加,也可以保持梯度相对稳定,加速网络训练的过程。另外,通过残差连接,网络也可以更好地捕获图像中的细节和不同尺度的特征。 使用deep residual learning方法进行图像识别时,我们可以通过在网络中堆叠多个残差块来增加网络的深度。这样,网络可以更好地提取图像中的特征,并在训练过程中学习到更复杂的表示。通过大规模图像数据训练,deep residual learning可以在很多图像识别任务中达到甚至超过人类表现的准确性。 总之,deep residual learning for image recognition是一种利用残差连接解决梯度消失和梯度爆炸问题的深度学习方法,通过增加网络深度并利用残差学习,在图像识别任务中获得了突破性的表现。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

AiCharm

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值