Abstract
Deep Residual Networks (ResNets) have recently achieved state-of-the-art results on many challenging computer vision tasks. In this work we analyze the role of Batch Normalization (BatchNorm) layers on ResNets in the hope of improving the current architecture and better incorporating other normalization techniques, such as Normalization Propagation (NormProp), into ResNets. Firstly, we verify that BatchNorm helps distribute representation learning to residual blocks at all layers, as opposed to a plain ResNet without BatchNorm where learning happens mostly in the latter part of the network. We also observe that BatchNorm well regularizes Concatenated ReLU (CReLU) activation scheme on ResNets, whose magnitude of activation grows by preserving both positive and negative responses when going deeper into the network. Secondly, we investigate the use of NormProp as a replacement for BatchNorm in ResNets. Though NormProp theoretically attains the same effect as BatchNorm on generic convolutional neural networks, the identity mapping of ResNets invalidates its theoretical promise and NormProp exhibits a significant performance drop when naively applied. To bridge the gap between BatchNorm and NormProp in ResNets, we propose a simple modification to NormProp and employ the CReLU activation scheme. We experiment on visual object recognition benchmark datasets such as CIFAR-10/100 and ImageNet and demonstrate that 1) the modified NormProp performs better than the original NormProp but is still not comparable to BatchNorm and 2) CReLU improves the performance of ResNets with or without normalizations.
Introduction
While ResNets revolutionized deep learning by allowing for hundreds of layers, the specific role of BatchNorm within these architectures wasn't fully understood. Researchers knew BatchNorm helped, but they didn't know how it interacted with the "identity mappings" (skip connections) that define ResNets.
Additionally, BatchNorm has downsides: it’s computationally expensive and doesn't work well with small batch sizes or online learning. The authors wanted to see if alternative techniques, like Normalization Propagation (NormProp), could replace it. However, they found that simply swapping one for the other leads to a massive drop in accuracy. This paper seeks to explain these failures and provide a more robust architectural recipe for deep networks.
Methods
The authors analyze ResNets through a specific metric: $\Delta$ (Delta), which measures the difference between the input and output of a residual block. A small $\Delta$ means the block is doing very little (information just passes through the skip connection), while a large $\Delta$ means the residual layers are actively transforming the data.
Key technical contributions include:
- CReLU Integration: They replace standard ReLU with Concatenated ReLU ($\rho_c(x) = ([x]_+, [-x]_+)$). This doubles the number of channels by keeping both the positive and negative responses of a convolution, preventing the "vanishing activation" problem where too many neurons stay at zero.
- NormProp2 & NormProp3: To fix the failure of Normalization Propagation in ResNets, the authors proposed modifications that remove certain affine transformation terms that were incompatible with identity mappings and tuned the scaling parameters ($\gamma$) specifically for deep architectures.
Key Insights and Ideas
- BatchNorm "Wakes Up" Early Layers: In a "plain" ResNet (no BatchNorm), the $\Delta$ values for the first half of the network are nearly zero. This means the first 50+ layers are essentially dead weight, and learning only happens at the very end. BatchNorm stabilizes the scale, forcing the network to distribute representation learning across all layers.
- CReLU is a Natural Partner for Normalization: CReLU prevents the network from becoming too "sparse" (where most activations are zero). While CReLU can cause activations to explode in magnitude if left unchecked, BatchNorm provides the necessary regularization to keep those magnitudes stable.
- Identity Mappings Break NormProp: The theoretical foundation of NormProp assumes that convolution filters are "incoherent" (nearly orthogonal). The authors proved that the identity mappings in ResNets violate this assumption, explaining why NormProp fails naively and requiring the "NormProp2" adjustment.
Key Results
The researchers validated their findings on three standard computer vision benchmarks: CIFAR-10, CIFAR-100, and ImageNet (ILSVRC 2012).
- State-of-the-Art Improvements: On CIFAR-10, a 110-layer ResNet using BatchNorm + CReLU achieved a test error of 5.72%, significantly better than the standard ReLU version (6.35%).
- ImageNet Success: For a 101-layer ResNet on ImageNet, switching to CReLU reduced the top-1 error from 22.44% to 21.89%.
- Robustness: CReLU models were found to be more robust to "mean shift" (changes in the average value of activations) than standard ReLU models, making them easier to train even when normalization isn't perfect.
Conclusion
The primary limitation is that while the modified "NormProp2" performed better than the original version, it still could not match the performance of BatchNorm on large-scale datasets like ImageNet. BatchNorm remains the "gold standard," even if it is computationally heavier.
The authors suggest that future research should look into transferring these insights—specifically the synergy between CReLU and normalization—to other architectures like Recurrent Neural Networks (RNNs), where standard normalization techniques often struggle.
Summary updated