Paper commentary
Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification
- Problem Standard rectifier networks keep the negative response of ReLU fixed, and common Gaussian and Xavier initializations ignore the rectifier, which makes very deep models hard to train from scratch.
- Method Learns a per-channel negative slope (PReLU) by backpropagation, derives a ReLU/PReLU-aware Gaussian initialization, and combines both with deeper and wider architectures, dense multi-view testing and model combination.
- Results Reached 4.94% top-5 test error with multi-model PReLU-nets on ImageNet 2012, about 26% relative to GoogLeNet.
The two questions behind the paper
Rectifier networks in this period rely on a fixed nonlinearity, and the paper asks whether making the rectifier's negative response learnable improves classification. Training is a second obstacle: very deep rectified models trained from random weights have difficulty converging, and the widely used Gaussian and Xavier schemes were not derived with rectifiers in mind.
The headline number is a 4.94% top-5 error on the ImageNet 2012 test set, which the paper sets against GoogLeNet and against a reported human-level figure.
The two lines meet in the final system: the activation changes what is learned, the initialization makes deeper architectures trainable from scratch, and the large models use both. Reading the results requires keeping apart small-model comparisons, single-model validation results and multi-model test-set numbers, since each uses its own training and testing conditions.
Learning a per-channel negative slope
PReLU keeps the input unchanged when it is positive and scales it by a slope a_i when it is not, with a separate slope for each channel i. The activation is equivalent to the expression max(0, y_i) + a_i min(0, y_i), so the two parts of the input are handled by one formula. \\[ f(y_i) = \\max(0, y_i) + a_i \\min(0, y_i) \\] Setting a_i to zero recovers ReLU, fixing a small value such as 0.01 gives the Leaky ReLU from prior work, and making a_i learnable gives PReLU.
The channel-shared variant uses one slope per layer and therefore adds a single parameter per layer, whereas the channel-wise form adds one parameter per channel. The authors expect this small number of added parameters to carry little overfitting risk, because it is negligible next to the total number of weights.
The gradient for a_i sums, over all positions of the feature map, the gradient arriving from the deeper layer multiplied by the local derivative of f with respect to a_i. \\[ \\frac{\\partial E}{\\partial a_i} = \\sum_{y_i} \\frac{\\partial E}{\\partial f(y_i)} \\frac{\\partial f(y_i)}{\\partial a_i} \\] That local derivative is y_i where y_i is at most 0, and zero where y_i is positive.
The slopes are updated with momentum and a learning rate epsilon, using \\(\\Delta a_i := \\mu \\Delta a_i + \\epsilon \\frac{\\partial E}{\\partial a_i}\\), and they are trained together with the other layers.
Weight decay is not applied to the slopes, because it pushes a_i toward zero and would move PReLU back toward ReLU. The range of a_i is not constrained, so the activation may become non-monotonic. The slopes start at 0.25, and the learned values rarely exceed 1 in magnitude in the experiments.
ReLU versus PReLU on a 14-layer model
The test model has 14 weight layers and is taken from prior work, and the ReLU baseline reaches 33.82 top-1 and 13.34 top-5 error with 10-view testing on ImageNet 2012. The conditions are 224×224 views from images resized to a shorter side of 256, with training for 75 epochs.
Replacing every ReLU with a channel-wise PReLU and training from scratch lowers top-1 error to 32.64, a gain of 1.2 over the baseline. The channel-shared version reaches 32.71 top-1 and 12.87 top-5, and the channel-wise version reaches 12.75 top-5. The channel-shared form adds 13 free parameters over the ReLU model, yet it gives a 1.1% gain over the baseline, which the authors read as evidence that adapting the activation shape matters.
Table 1 lists the learned coefficients for each layer, and the first convolution layer has coefficients of 0.681 channel-shared and 0.596 channel-wise, both greater than zero. The authors connect this to the Gabor-like filters of that layer, reading it as keeping both the positive and the negative responses of the filters. For the channel-wise version, the coefficients in deeper convolution layers are generally smaller, which the authors read as activations becoming more nonlinear with depth.
A rectifier-aware initialization
The starting point is the fixed-deviation Gaussian used in prior work, which makes very deep models with more than eight convolution layers hard to converge, and the Xavier scheme, which assumes linear activations. A ReLU output does not have zero mean, so the second moment of the activation is what enters the variance, and the Xavier conclusion does not carry over.
For ReLU, \\(E[x_l^2] = \\frac{1}{2}\\mathrm{Var}[y_{l-1}]\\) under a symmetric zero-centred distribution, so \\(\\mathrm{Var}[y_l] = \\frac{1}{2} n_l \\mathrm{Var}[w_l] \\mathrm{Var}[y_{l-1}]\\). Keeping the product across layers near one gives \\(\\frac{1}{2} n_l \\mathrm{Var}[w_l] = 1\\), which yields a zero-mean Gaussian with standard deviation \\(\\sqrt{2/n_l}\\) and zero biases.
In back-propagation the gradient with respect to the layer input is \\(\\Delta x_l = \\hat{W}_l \\Delta y_l\\), where \\(\\hat{n}_l = k^2 d\\) counts the connections in the backward pass. Because the ReLU derivative is zero or one with equal probability, the same argument gives \\(\\frac{1}{2}\\hat{n}_l \\mathrm{Var}[w_l] = 1\\), with standard deviation \\(\\sqrt{2/\\hat{n}_l}\\).
The two conditions differ only through the counts, and the paper notes that either one alone suffices, since the forward product under the backward condition is c_2/d_L, which is not diminishing in common designs.
For PReLU with initial slope a, the forward condition becomes \\(\\frac{1}{2}(1+a^2) n_l \\mathrm{Var}[w_l] = 1\\), which reduces to the ReLU case at a = 0 and to the linear case at a = 1. The same reasoning explains why a constant standard deviation of 0.01 stalls some deep networks, since a per-layer factor away from one compounds with depth.
Unnormalized inputs in about [−128, 128] could make the softmax overflow, so the paper uses a standard deviation of 0.01 for the first two fully connected layers and 0.001 for the last.
Convergence of 22 and 30 layer models
In the 22-layer model B, both initializations converge with ReLU, and the derived one starts reducing top-1 error earlier, measured on 3,000 random validation samples with center crops. The authors note that the Xavier scale falls short of the derived scale as depth grows, but not by enough to stall these 22-layer models.
The authors did not observe a clear accuracy difference between the two schemes.
With the derived initialization this model converges, whereas with Xavier the learning stalls, the gradients diminish, and it does not converge even with more epochs.
Model A, B and C designs
Model A starts from VGG-19 and changes three things: its first layer uses a 7×7 filter with stride 2, three convolution layers move from the two largest feature maps to the 56, 28 and 14 maps, and spatial pyramid pooling precedes the first fully connected layer. The pyramid uses bins of 7×7, 3×3, 2×2 and 1×1, giving 63 bins in total.
Model A is meant mainly for speed, because convolution layers on larger maps run slower than those on smaller maps even at equal complexity. On four K20 GPUs, model A takes 2.6 s per mini-batch of 128, against 3.0 s for the reproduced VGG-19. The authors state they have no evidence that model A is a better architecture than VGG-19.
Model B adds three extra convolution layers to A, giving 22 layers, and model C is a wider version of B with more filters. Model C's complexity is about 2.3 times that of B, and Table 3 lists 2.32 for B and 5.30 for C. Training A or B on four K20 GPUs, or C on eight K40 GPUs, takes about 3-4 weeks.
The authors chose width over depth, citing small-model studies where deeper networks saturated or degraded and the VGG paper, where 16- and 19-layer models perform comparably. They also monitored deeper variants with 3 to 9 layers added to B, and saw training and test error degrade in the first 20 epochs, although these runs were not carried to the end.
The authors conjecture that similar degradation may occur for large ImageNet models, and for that reason they did not increase depth further.
Training and testing procedure
Training crops 224×224 regions from an image whose shorter side is s, with the per-pixel mean subtracted, and half the samples are flipped horizontally with random color altering applied. The shorter side is jittered in [256, 512], and scale jittering applies from the start of training rather than only at fine-tuning. Deep models are trained directly with the derived initialization, not initialized from shallower pre-trained models.
Weight decay is 0.0005, momentum is 0.9, and Dropout at 50% is applied to the first two fully connected layers, with mini-batches of 128. The learning rate is 1e-2, 1e-3 and 1e-4, switched when the error plateaus, over about 80 epochs per model.
At test time the convolutional layers run on the resized full image, and each 14×14 window of the last feature map is pooled by spatial pyramid pooling before the fully connected layers score it. Scores are averaged over all dense sliding windows and over horizontally flipped images, and results are then combined across scales.
Multi-GPU training uses data parallelism on the convolution layers, while the fully connected layers run on a single GPU, implemented on a modified Caffe library. The mini-batch stays at 128, and the reported speedups for the large models are 3.8x on 4 GPUs and 6.0x on 8 GPUs.
PReLU versus ReLU on model A
Model A is trained with ReLU and with channel-wise PReLU for the same number of epochs, with the learning rate switched at the same points. At the single scale 384, PReLU gives 24.20 top-1 and 7.03 top-5, against 24.77 and 7.26 for ReLU.
For the multi-scale combination, PReLU gives 22.97 top-1 and 6.28 top-5, against 24.02 and 6.51 for ReLU.
The authors read the same direction in the small and large models as showing that PReLU helps both, at almost no computational cost.
Single-model results on the validation set
Under 10-view testing on the validation set, model A reaches 26.48 top-1 and 8.59 top-5 with ReLU, and 25.59 and 8.23 with PReLU. Model C with PReLU reaches 24.27 top-1 and 7.38 top-5, and 7.38 is the best 10-view score reported.
Under the multi-scale and multi-view or dense protocol, model A with ReLU reaches 24.02 top-1 and 6.51 top-5, and model C with PReLU reaches 21.59 top-1 and 5.71 top-5. The authors describe the 5.71 top-5 result as better than all previous multi-model results.
The authors compare the 6.51 baseline with the 7.1 top-5 reported for VGG-19 in the latest arXiv version of prior work, and attribute the gain mainly to end-to-end training without shallow pre-training. A+PReLU and B+PReLU perform comparably, while widening from B to C still improves accuracy, which the authors read as width becoming important once the model is deep enough.
Test-set result of the multi-model combination
The combination includes six models, among them the architectures in Table 6, and only one of them is architecture C. The other models trail C by considerable margins, and the authors conjecture that fewer, stronger models would do better.
The combined system reaches 4.94% top-5 error on the test set, scored by the ILSVRC server because the test labels are not published. That is 1.7 points lower than the GoogLeNet entry at 6.66%, a relative improvement of about 26%. Against the 5.98% Baidu result, the gap is about 17% relative.
Other test-set entries in the table include the in-competition MSRA SPP-nets at 8.06, VGG at 6.8 in its arXiv v5 version, and GoogLeNet at 6.66.
Human-level comparison on ImageNet
The human reference is the 5.1% top-5 error reported by Russakovsky et al., from an annotator trained on validation images who used an interface showing 13 example training images per class. That human estimate was made on a random subset of 1500 test images, while the 4.94% is the test-set score returned by the ILSVRC server.
The authors state that this is the first published instance of surpassing humans on this challenge. They also note that the human errors in the cited analysis come mainly from fine-grained recognition and class unawareness, and that algorithms can do better on fine-grained categories such as the 120 dog species in the dataset. Figure 4 includes fine-grained examples such as coucal, komondor and yellow lady's slipper.
The authors limit this reading to this dataset, and state that it does not show that machines outperform humans on object recognition in general. On elementary categories such as Pascal VOC, the paper reports that machines still make errors on cases that are trivial for humans.
Per-class errors on the test set
Per-class top-5 error is shown in ascending order, and 113 classes have zero top-5 error on the test set.
Compared with the in-competition ILSVRC 2014 result averaging 8.06% top-5 error, per-class error falls in 824 classes, stays unchanged in 127 and rises in 49. This comparison is against the team's own earlier system, not against GoogLeNet.
Limitations
The 30-layer model reaches 38.56 top-1 and 16.59 top-5 error, which is worse than the 33.82 and 13.34 of the 14-layer model. The authors suspect the depth-increasing method may be inappropriate, or that the recognition task is not complex enough, and no accuracy gain from extreme depth was observed on ImageNet.
The degradation seen in extra-deep large models covers only the first 20 epochs, since those runs were not finished for lack of time.
The multi-model result rests on one model with architecture C, and the other members trail it by considerable margins. The 75-epoch comparison and the roughly 80-epoch large-model runs use different training budgets, so their numbers are not interchangeable.
The human comparison rests on one annotator and a 1500-image test subset, and the paper scopes its claim to this dataset.
Paper info
- Authors
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun
- Venue
- arXiv · Preprint
- First published
- 2015-2-6
- Added
- 2026-10-20
- Updated
- 2015-2-6
- Version
- v1
- arXiv
- 1502.01852
- Category
- cs.CV · cs.AI · cs.LG
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun (2015). Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification. arXiv:1502.01852v1. https://arxiv.org/abs/1502.01852v1
BibTeX
@misc{he2015delving,
title = {{Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification}},
author = {Kaiming He and Xiangyu Zhang and Shaoqing Ren and Jian Sun},
year = {2015},
eprint = {1502.01852},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1502.01852v1}
}