Abstract: Augmenting neural networks with skip connections, as introduced in the ResNet architecture, enabled the training of networks exceeding 1,000 layers with significant performance gains. This paper deciphers ResNet by analyzing the effect of skip connections and provides new theoretical results on the advantages of identity skip connections. We prove that skip connections in residual blocks facilitate preserving the gradient norm, leading to stable back-propagation. Surprisingly, as more residual blocks are stacked, the norm-preservation of the network is enhanced. To further optimize this, we propose an efficient method to regularize the singular values of the convolution operator in transition layers. Our results demonstrate that these "Procrustes ResNets" improve learning dynamics and classification performance, offering a guide for training even deeper architectures.
Introduction
Training extremely deep neural networks has historically been hindered by the vanishing and exploding gradient problems. During back-propagation, gradients are repeatedly multiplied by layer weights; if these weights are not carefully controlled, the gradient magnitude can either shrink to zero or grow to infinity, halting the optimization process.
Residual Networks (ResNets) revolutionized the field by introducing skip connections, allowing gradients to bypass layers. While the community often attributed this success to "shortening the gradient path," this research argues for a more fundamental mechanism: Norm-Preservation. By maintaining the magnitude of the gradient as it flows backward, skip connections ensure that even the earliest layers in a 1,000-layer network receive meaningful updates.
The Mechanics of Norm-Preservation
The core of the paper's contribution is a theoretical proof regarding the behavior of residual blocks. The authors demonstrate that identity skip connections ($x + f(x)$) shift the singular values of a layer's transformation toward 1.
Contrary to the intuition that more layers introduce more instability, the authors prove that stacking more residual blocks actually makes the network more norm-preserving. Specifically, the ratio of the gradient norm between the output and input of a residual block approaches 1 as the number of layers ($L$) increases. This convergence occurs at a rate of $O(1/L)$ for linear blocks and $O(\log L / L)$ for non-linear blocks. Essentially, the deeper the ResNet, the more "transparent" its blocks become to the gradient flow.
Procrustes ResNets: Strengthening the Transition
Despite the success of identity mappings, standard ResNets contain a "weak link": Transition Blocks. These blocks are necessary when the network must change feature map dimensions or channel counts (e.g., downsampling). Because the input and output dimensions differ, a simple identity skip is impossible. Standard architectures typically use a $1 \times 1$ convolution in the skip path, which breaks the norm-preservation property and introduces optimization bottlenecks.
To address this, the authors introduce Procrustes Regularization. This method projects the convolution kernels of transition blocks onto the set of norm-preserving kernels. By treating this as a Procrustes problem—finding the closest orthogonal matrix to a given matrix—the authors developed an efficient iterative algorithm using 2D Fourier Transforms. This allows for precise control over the spectral properties of convolutions with minimal computational overhead (less than 8% additional training time for a 164-layer network).
Empirical Evaluation
The proposed ProcResNet architecture was evaluated on CIFAR-10 and CIFAR-100 datasets, yielding several key insights:
- Parameter Efficiency: A ProcResNet274 with only 2.82M parameters outperformed a standard ResNet1001 with 10.32M parameters. This represents a nearly 4x reduction in parameters while achieving superior accuracy.
- Stability: While "plain" 164-layer networks (without skip connections) often fail to converge, ProcResNets remain perfectly stable. The regularization ensures the gradient norm ratio stays near unity across various channel configurations.
- Generalization: ProcResNets exhibited a smaller generalization gap between training and testing error, suggesting that norm-preservation acts as a beneficial regularizer.
As shown in the gradient norm analysis, the proposed regularization (Figure 6a) maintains a stable ratio near 1.0 across most channel counts, whereas unregularized blocks (Figure 6b) show significant volatility, particularly as channel counts increase. The only observed failure case occurs at very low channel counts (e.g., the initial 3-channel RGB input), where the statistical assumptions of the Procrustes projection are less robust.
Conclusion
This work provides a rigorous theoretical foundation for the success of ResNets, identifying norm-preservation as the critical factor enabling extreme depth. By extending this property to transition layers through Procrustes Regularization, the authors demonstrate that we can achieve higher performance with significantly fewer parameters. These findings serve as a vital guide for the design of future deep learning architectures, suggesting that spectral control and norm-preservation are essential for stable and efficient optimization.
Summary updated