Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Identity Mappings in Deep Residual Networks

ResNet with pre-activation units trains deeper networks more easily

  • Problem Changing the shortcut in very deep ResNets raises training error, because optimization becomes harder. Those changes make the signal path harder to optimize through the stack.
  • Method The authors move BN and ReLU before the weight layers instead of after the addition, so the path through the addition stays an identity mapping.
  • Results On CIFAR-10, the 1001-layer model with the proposed unit scored 4.92% test error, compared to 7.61% for the original.

Why a clean shortcut matters in deep ResNets

A residual network (ResNet) is built from stacked residual units, and each unit adds a residual function to a shortcut before applying an activation. In the original design the shortcut is an identity skip connection and the after-addition activation is ReLU. Models more than 100 layers deep have posted strong accuracy on ImageNet and MS COCO, but the authors ask what happens to the signal as the stack grows.

Their focus is the route information takes through the whole network, not only inside one unit.

If the shortcut and the after-addition activation are both identity mappings, the feature of a deeper unit is a shallower feature plus a sum of residual functions. The derivation gives \(x_L = x_l + \sum_{i=l}^{L-1} F(x_i, W_i)\) for any deeper unit L and any shallower unit l. The gradient has the same structure, so part of it reaches a shallow unit without passing through any weight layer.

The authors use this additive term as the direct route for both forward and backward signals, and the argument depends on the identity conditions holding.

The original unit breaks this route at its after-addition activation, because ReLU is applied after the sum. The rest of the paper therefore asks how much training suffers when the shortcut and this activation are changed one at a time.

What breaks a clean shortcut

The authors test shortcut changes on ResNet-110, which has 54 two-layer residual units and a baseline test error of 6.61% on CIFAR-10. Each configuration is reported as the median of 5 runs, which reduces the effect of random variation.

Scaling both paths by 0.5 converged but reached 12.35% test error, and its training error stayed above the baseline. The authors read this as optimization trouble once the shortcut signal shrinks.

Exclusive gating splits the signal into a residual path scaled by g(x) and a shortcut scaled by 1 minus g(x). Its bias initialization matters, and the best of the candidates searched from 0 to -10 was -6, which gave 8.70% test error. Shortcut-only gating leaves F unscaled, and it scored 12.86% when the bias started at 0 but 6.91% when it started at -6.

A strongly negative bias pushes 1 minus g(x) toward 1, so the shortcut stays close to an identity mapping.

Replacing the identity shortcut with a 1×1 convolution gave 12.22% test error with higher training error. The authors note that a 1×1 shortcut had worked on a 34-layer ResNet, but it didn't hold once the network had many more residual units. Dropout with ratio 0.5 on the identity shortcut failed to converge to a good solution, and the paper labels any error above 20% as fail.

Gating and 1×1 shortcuts add parameters, and they can represent the identity, so they should not be weaker than the identity shortcut. Their higher training error therefore points to optimization difficulty rather than a lack of capacity.

Moving BN and ReLU before the weight layers

The fix is to make the after-addition activation an identity, which means rearranging BN and ReLU rather than removing them. The authors read BN and ReLU as pre-activations of the next weight layers, instead of post-activations of the previous one.

In an asymmetric form, only an activation \(\hat f\) acts on the residual path, which gives \(x_{l+1} = x_l + F(\hat f(x_l), W_l)\). Because the sum now passes unchanged, the after-addition activation is an identity mapping, and the derivations for the earlier form carry over to this unit. This is why an asymmetric after-addition activation is equivalent to a pre-activation unit.

The full pre-activation unit places BN and ReLU before both weight layers of the residual path. At the first unit, one activation comes right after conv1 and before the two paths split, and the last unit gets an extra activation after its addition.

Does the pre-activation unit train better on CIFAR?

The authors attribute the BN result to the BN layer altering the signal that passes through the shortcut.

The largest gap appears for the 1001-layer bottleneck network, which scored 7.61% for the original unit compared to 4.92% for the proposed one. Its training loss falls quickly from the start, while the original design reduces it slowly at first.

The pre-activation models reach slightly higher training loss at convergence, yet they produce lower test error. The authors presume this comes from the regularizing effect of BN, since in the pre-activation unit every weight layer receives normalized input.

ImageNet results and training cost

The BN-after-addition version of ResNet-101 gave 24.6% top-1 and 7.5% top-5 single-crop validation error, compared to 23.6% and 7.1% for the original. The authors call this in line with the CIFAR result. Their preliminary runs of the other skip-connection variants on ImageNet were halted early because of limited resources.

At a 320×320 test crop, the pre-activation ResNet-200 scored 20.7% top-1 error, compared to 21.8% for the original. The original ResNet-200 had lower training error than ResNet-152, which the authors take as a sign of overfitting.

ResNet-1001 took about 27 hours on 2 GPUs on CIFAR, and ResNet-200 took about 3 weeks on 8 GPUs on ImageNet.

Limits of the evidence

The signal-propagation derivations assume an identity after-addition activation, which the ReLU-based experiments don't satisfy. For those runs the derivations hold only approximately.

The ImageNet comparison covers the BN-after-addition variant on ResNet-101 only, and the other skip variants were halted early. The ImageNet numbers are single-crop results.

The shortcut ablations were run on ResNet-110 only. The regularization explanation is presumed by the authors rather than tested.

Paper info

Authors
Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun
Venue
arXiv · Preprint
First published
2016-3-16
Added
2026-11-11
Updated
2016-7-25
Version
v3
arXiv
1603.05027
Category
cs.CV · 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 (2016). Identity Mappings in Deep Residual Networks. arXiv:1603.05027v3. https://arxiv.org/abs/1603.05027v3

BibTeX
@misc{he2016identity,
  title = {{Identity Mappings in Deep Residual Networks}},
  author = {Kaiming He and Xiangyu Zhang and Shaoqing Ren and Jian Sun},
  year = {2016},
  eprint = {1603.05027},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1603.05027v3}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up