Skip to main content
QUICK REVIEW

[Paper Review] Residual Connections Encourage Iterative Inference

Stanisław Jastrzȩbski, Devansh Arpit|arXiv (Cornell University)|Oct 13, 2017
Domain Adaptation and Few-Shot LearningComputer Science46 citations
TL;DR

This paper formalizes residual networks (ResNets) as performing iterative inference by showing that residual blocks naturally implement gradient descent in the hidden representation space, moving features toward minimizing loss. It empirically demonstrates that lower blocks learn hierarchical representations while higher blocks refine features iteratively, and reveals that naive weight sharing causes overfitting due to gradient explosion—solved by unshared batch normalization with careful initialization.

ABSTRACT

Residual networks (Resnets) have become a prominent architecture in deep learning. However, a comprehensive understanding of Resnets is still a topic of ongoing research. A recent view argues that Resnets perform iterative refinement of features. We attempt to further expose properties of this aspect. To this end, we study Resnets both analytically and empirically. We formalize the notion of iterative refinement in Resnets by showing that residual connections naturally encourage features of residual blocks to move along the negative gradient of loss as we go from one block to the next. In addition, our empirical analysis suggests that Resnets are able to perform both representation learning and iterative refinement. In general, a Resnet block tends to concentrate representation learning behavior in the first few layers while higher layers perform iterative refinement of features. Finally we observe that sharing residual layers naively leads to representation explosion and counterintuitively, overfitting, and we show that simple existing strategies can help alleviating this problem.

Motivation & Objective

  • To formally define and analyze iterative inference in residual networks.
  • To investigate whether residual blocks perform gradient descent in the hidden representation space.
  • To explore parameter sharing in residual blocks for efficient iterative refinement.
  • To address the failure of naive weight sharing in deep ResNets and propose a mitigation strategy.

Proposed method

  • Uses Taylor expansion to show that each residual block approximates a gradient step in the activation space.
  • Measures cosine similarity between residual block outputs and the negative gradient of the loss to validate iterative refinement.
  • Empirically analyzes feature learning and refinement dynamics across residual block stages.
  • Proposes unshared batch normalization (UBN) with γ initialized to 0.1 to stabilize training when sharing residual blocks.
  • Unrolls trained residual blocks beyond their original depth to test generalization.
  • Conducts ablation studies to isolate the effects of batch normalization components on activation and gradient explosion.

Experimental results

Research questions

  • RQ1Do residual blocks naturally implement gradient descent in the hidden representation space?
  • RQ2Do lower and higher residual blocks in ResNets perform different roles—representation learning vs. iterative refinement?
  • RQ3Why does naive parameter sharing of residual blocks lead to overfitting and performance degradation?
  • RQ4Can ResNets be unrolled beyond their original depth without performance loss?
  • RQ5What batch normalization strategy effectively stabilizes training when sharing residual blocks?

Key findings

  • Residual blocks approximate a gradient descent step in the hidden representation space, as shown by high cosine similarity (up to 0.85) between block outputs and the negative gradient of the loss.
  • Lower residual blocks primarily perform hierarchical representation learning, while higher blocks focus on iterative refinement, with the shortcut connection enabling this division of labor.
  • Naive sharing of top residual blocks causes severe overfitting and gradient explosion, with validation accuracy dropping by up to 15% compared to unshared models.
  • Unshared batch normalization with γ initialized to 0.1 effectively mitigates activation and gradient explosion, reducing overfitting and improving generalization.
  • Unrolling a ResNet beyond its original depth improves training loss and maintains low test loss, indicating robustness to extended inference steps.
  • The ablation study confirms that unsharing both statistics and γ/β in batch normalization is essential—especially unsharing statistics—for stabilizing shared residual networks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.