[Paper Review] Visualizing Residual Networks
This paper investigates the functional role of residual skip connections in deep residual networks (ResNets) through qualitative visualization and guided backpropagation. By analyzing feature maps across residual blocks, the authors demonstrate that skip connections enable features to be progressively refined and sharpened across layers, confirming that residual networks learn hierarchical representations where features become more discriminative over depth. The key contribution is visual evidence that residual connections promote feature refinement rather than just identity mapping.
Residual networks are the current state of the art on ImageNet. Similar work in the direction of utilizing shortcut connections has been done extremely recently with derivatives of residual networks and with highway networks. This work potentially challenges our understanding that CNNs learn layers of local features that are followed by increasingly global features. Through qualitative visualization and empirical analysis, we explore the purpose that residual skip connections serve. Our assessments show that the residual shortcut connections force layers to refine features, as expected. We also provide alternate visualizations that confirm that residual networks learn what is already intuitively known about CNNs in general.
Motivation & Objective
- To understand the qualitative role of residual skip connections in ResNets, which achieved state-of-the-art performance on ImageNet.
- To challenge assumptions about CNNs learning increasingly global features by analyzing how residual connections affect feature learning.
- To validate He et al.'s intuition that learning residual functions relative to identity mapping improves training and feature representation.
- To provide visual evidence of feature refinement across residual blocks using guided backpropagation and top-activating patches.
Proposed method
- Visualized feature maps using guided backpropagation to trace how input pixels contribute to unit activations in each residual block.
- Identified top-9 image patches from the ImageNet validation set that maximally activate each channel in a given layer.
- Used pretrained 50-layer ResNet architecture with both basic and projection shortcut blocks for consistent comparison.
- Applied modifications to Yosinski et al.'s visualization code to support residual network structures and guided backpropagation.
- Compared feature evolution across layers (e.g., res2a → res2b → res2c) to assess refinement patterns.
- Examined filter behavior across architectural boundaries (e.g., res3c → res4a) where channel dimensions change and projection shortcuts are used.
Experimental results
Research questions
- RQ1How do residual skip connections influence the evolution of learned features across layers in a deep network?
- RQ2To what extent do residual blocks refine features rather than simply pass them through?
- RQ3Do residual networks learn hierarchical representations where features become more discriminative over depth?
- RQ4How do feature patterns change when transitioning from basic blocks to projection blocks with increased channels and spatial downsampling?
- RQ5Can visualizations confirm that residual networks learn functions relative to the identity mapping, as hypothesized by He et al.?
Key findings
- Residual blocks with the same dimensionality show progressive refinement: features become sharper and more discriminative across layers, such as curved lines evolving into loops.
- Some filters, like channel 150, evolve from detecting slight curves in res2a to recognizing tighter curves in res2b and res2c, indicating refinement.
- Filter 1660 in res5a initially activates on tandem bicycles, and by res5c, all top-9 activations are tandem bicycles, showing strong refinement over depth.
- The guided backpropagation visualizations confirm that filters focus on specific sub-features—e.g., suit collars or bicycle spokes—indicating attention to discriminative parts.
- In contrast to AlexNet, which showed little correspondence or refinement between layers, ResNets exhibit clear, consistent refinement across residual blocks.
- The presence of skip connections enables features to be refined rather than simply passed through, supporting the hypothesis that residual learning is more effective than learning raw features.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.