ResNet — Deep Residual Learning for Image Recognition — Talking points
Verifiable press / blog coverage
- Original paper (2015): Kaiming He et al., “Deep Residual Learning for Image Recognition” — arXiv:1512.03385. Openly states ResNets won ILSVRC 2015 classification with 3.57% top-5 error and also won ImageNet detection, localization, COCO detection, and COCO segmentation.
- Wikipedia: Residual neural network — explains skip connections, the degradation problem, and the residual mapping
F(x) + x.
Q&A (answers from the paper)
Q: Why does adding more layers to a plain CNN sometimes make it worse? A: It is not overfitting. The training error itself rises as depth increases—this is the degradation problem. Plain layers struggle to learn identity-like mappings, so extra layers corrupt a signal they should be able to pass through unchanged. (Source: paper Section 1 and Figure 1, Section 3.1.)
Q: What is the residual mapping in plain language? A: Instead of asking layers to compute the desired output H(x) from scratch, ask them to compute the difference F(x) = H(x) - x and then add x back. This makes learning easier because a layer can push its output toward zero when it has nothing useful to add. (Source: paper Section 3.1.)
Q: How is the shortcut handled when shapes differ? A: The paper uses an identity shortcut when dimensions match. When they do not—usually because stride or channels change—it either keeps the identity shortcut and pads the extra channels with zeros, or uses a projection shortcut done by 1×1 convolutions to match the shape. (Source: paper Sections 3.2 and 3.3.)
Q: Are ResNets only for image classification? A: No. The paper itself plugs ResNet-101 into the Faster R-CNN object detector in place of VGG-16 and reports a 28% relative improvement on COCO detection, and its ResNets also took 1st place in ImageNet detection, ImageNet localization, COCO detection and COCO segmentation. (Source: paper Section 4.3 and Appendix.) Later models in other areas, such as transformers, also use skip connections; see the Wikipedia article.
Q: What is the practical depth limit ResNet demonstrated? A: On CIFAR-10 the paper trained networks of more than 1000 layers. On ImageNet the strongest result came from a 152-layer model, with ResNet-101/152 showing clear gains over the 34-layer variant. (Source: paper Section 4.2 for the 1202-layer CIFAR-10 model, Section 4.1 for ImageNet.)
Q: In a small 18-layer test, ResNet didn’t beat the plain net. Does that mean ResNet doesn’t work? A: No. At 18 layers a plain net still trains well, so there is nothing for the shortcuts to fix. The paper found the same: on ImageNet, plain-18 has 27.94% top-1 error and ResNet-18 has 27.88%, almost a tie. The difference shows up when you go deeper. Plain-34 gets worse (28.54%) than plain-18, while ResNet-34 gets better (25.03%). ResNet’s real promise is that adding layers stops hurting. (Source: paper Section 4.1 and Table 2.)
Common misconceptions
- “ResNet fixes the vanishing gradient problem.” It does not magically remove vanishing gradients; it gives gradients a direct path to propagate through shortcuts, which greatly stabilizes very deep networks.
- “Skip connections are just a regularization trick.” They are not regularization like dropout. They are an architectural reformulation that changes the learned function from
H(x)toF(x) + x. - “You need batch normalization for skip connections to work.” BN helps train very deep ResNets, but the skip-connection idea is independent of BN and works in many settings without it.
- “A deeper ResNet always beats a shallower one.” On small datasets or with limited compute, a shallow ResNet can generalize better. Depth helps mainly when data and compute scale with it.
Real citations
- He, K., Zhang, X., Ren, S., \& Sun, J. (2016). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 770–778.
- He, K., Zhang, X., Ren, S., \& Sun, J. (2016). Identity mappings in deep residual networks. European Conference on Computer Vision (ECCV).