NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Identity Connections in Residual Nets Improve Noise Stability

Shuzhi Yu, Carlo TomasiarXiv 2019

Introduction

Since their introduction, Residual Networks (ResNets) have become the industry standard for deep learning, consistently outperforming traditional "plain" convolutional architectures. While it is well-documented that ResNets train faster and generalize better, the underlying mathematical reasons for this superiority have remained a subject of intense research. In their 2019 study, Shuzhi Yu and Carlo Tomasi from Duke University provide a rigorous analysis of this phenomenon. By isolating the identity connection, they demonstrate that ResNet's success is rooted in superior noise stability and optimized gradient flow rather than increased representational capacity.

Architectural Comparison: ResNets vs. Plain Nets

To isolate the effect of the identity connection, the authors compare ResNets to "Plain Networks" (PlnNets) that are identical in every respect except for the skip connection. They utilize simplified versions of these architectures, removing Batch Normalization and restricting skip connections to individual layers to focus on the core mechanics of the identity mapping.

Comparison of (a) a plain convolutional block and (b) a residual block with an identity connection.

As shown in the figure above, the primary difference lies in the output formulation. In a plain block, the output is simply the result of the convolutional layer $y = p(x)$. In a residual block, the input is added back to the output: $y = p(x) + x$. This seemingly simple addition fundamentally alters the network's optimization landscape.

Mathematical Equivalence as Initialization

A key finding of the paper is that simplified ResNets and PlnNets are mathematically equivalent in terms of expressive power. The authors prove a 1-1 mapping: for any simplified ResNet, one can construct a PlnNet with the same parameters that implements the exact same function.

The critical distinction is how these parameters are initialized. A ResNet effectively functions as a plain network that has been pre-initialized in a highly specific, non-random way. While standard initialization (like Kaiming) starts weights near zero, the identity connection in a ResNet effectively starts a subset of weights—specifically the diagonal entries of the convolutional kernels—at 1. This "ID initialization" places the model in a more favorable region of the optimization landscape from the start.

Noise Stability and the Layer Cushion

The authors introduce the concept of a "layer cushion" to quantify noise stability. The cushion is defined as the ratio of the output's magnitude to its sensitivity to weight noise. A larger cushion indicates that the network is more robust to perturbations in its parameters.

Empirical analysis reveals that ResNets possess a significantly larger cushion than plain networks. For a typical residual block, the interlayer cushion was measured at approximately 0.20, whereas for a plain block, it plummeted to $2.7 \times 10^{-7}$. This high noise stability is a strong predictor of superior generalization, as it ensures that small errors in weight updates do not lead to wildly different outputs.

Dominant Gradient Flows

Beyond stability, the identity connection creates "dominant signal paths" or Sub-Activation Paths (SAPs). In a plain network, the gradient of the loss function with respect to early layers is often "smeared" or diffused across many paths, leading to the vanishing gradient problem. In a ResNet, the identity connections act as highways, allowing the supervisory signal to travel back more directly to early layers. The authors measured that this dominant gradient flow is between 1.24x and 4.06x stronger in ResNets, explaining their faster convergence rates.

Empirical Results on CIFAR-10

The theoretical insights were validated using the CIFAR-10 dataset across various network depths (20, 32, and 44 layers). The experiments highlighted the "degradation problem," where increasing the depth of a plain network leads to higher training error.

Training loss comparison between PlnNets and ResNets across 1200 epochs, illustrating how ResNets mitigate the degradation problem.

As illustrated in the loss curves, ResNets maintain significantly lower training loss as depth increases. Specifically, moving from 20 to 44 layers caused the training loss in plain networks to increase by 6.85x, while the ResNet loss only increased by 1.73x. Furthermore, even when both architectures achieved similar training losses, the ResNets consistently demonstrated lower test error, confirming their inherent advantage in generalization.

Conclusion

Yu and Tomasi’s work clarifies that the advantage of ResNets is not found in what they can represent, but in how they learn. By providing a superior initialization through identity connections, ResNets achieve high noise stability and clear gradient signals. These properties allow them to scale to extreme depths without the performance degradation that plagues traditional convolutional architectures.

Summary updated

BibTeX
@misc{yu2019identity,
  author = {Shuzhi Yu and Carlo Tomasi},
  title = {{Identity Connections in Residual Nets Improve Noise Stability}},
  year = {2019},
  eprint = {1905.10944},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.10944},
}
Figure