Skip to main content
QUICK REVIEW

[Paper Review] Stochastic Training of Residual Networks: a Differential Equation Viewpoint

Qi Sun, Yunzhe Tao|arXiv (Cornell University)|Dec 1, 2018
Adversarial Robustness in Machine LearningComputer Science26 references18 citations
TL;DR

This paper proposes a differential equation framework to interpret stochastic training in residual networks (ResNets) as weak approximations of stochastic differential equations (SDEs). By applying the stochastic modified equations method, it shows that dropout injection acts as artificial viscosity in backward Kolmogorov equations, flattening the loss landscape and improving generalization—validated by experiments on image classification with improved test accuracy despite higher training loss.

ABSTRACT

During the last few years, significant attention has been paid to the stochastic training of artificial neural networks, which is known as an effective regularization approach that helps improve the generalization capability of trained models. In this work, the method of modified equations is applied to show that the residual network and its variants with noise injection can be regarded as weak approximations of stochastic differential equations. Such observations enable us to bridge the stochastic training processes with the optimal control of backward Kolmogorov's equations. This not only offers a novel perspective on the effects of regularization from the loss landscape viewpoint but also sheds light on the design of more reliable and efficient stochastic training strategies. As an example, we propose a new way to utilize Bernoulli dropout within the plain residual network architecture and conduct experiments on a real-world image classification task to substantiate our theoretical findings.

Motivation & Objective

  • To understand the regularization mechanism of stochastic training in ResNets beyond empirical observation.
  • To establish a continuous-time connection between stochastic ResNet training and stochastic differential equations.
  • To interpret dropout as a second-order artificial viscosity term in backward Kolmogorov equations.
  • To provide a PDE-based perspective on loss landscape regularization and generalization improvement.
  • To validate the theoretical framework through empirical evaluation on real-world image classification tasks.

Proposed method

  • The method of stochastic modified equations is applied to derive a continuous-time SDE approximation of ResNet with injected noise.
  • Itô's formula is used to link the stochastic training process to the optimal control of backward Kolmogorov equations.
  • The training dynamics of plain ResNets are interpreted as constrained optimization of systems governed by transport equations.
  • The injected noise is shown to act as a second-order artificial viscosity term in the PDE formulation, smoothing the loss landscape.
  • A new stochastic training strategy is proposed by inserting Bernoulli dropout after each residual block in plain ResNet.
  • Experiments are conducted on real-world image classification (CIFAR-10) with varying survival probabilities to validate theoretical claims.

Experimental results

Research questions

  • RQ1How can stochastic training in ResNets be interpreted through the lens of stochastic differential equations?
  • RQ2What is the role of dropout in modifying the loss landscape from a PDE perspective?
  • RQ3How does noise injection in ResNets relate to optimal control of backward Kolmogorov equations?
  • RQ4Can the artificial viscosity effect of dropout be quantitatively linked to improved generalization?
  • RQ5What is the optimal dropout probability for balancing regularization and convergence in deep ResNets?

Key findings

  • The stochastic training of ResNets with noise injection is mathematically equivalent to weak approximations of SDEs with multiplicative noise.
  • Dropout injection introduces a second-order artificial viscosity term in the backward Kolmogorov equation, which reduces sharp minima and flattens the loss landscape.
  • Theoretical analysis shows that this regularization effect decreases the number of poor local minima and lowers energy barriers between them.
  • Empirical results on CIFAR-10 show that stochastic training with optimal dropout (e.g., p=85–97.5%) improves generalization, achieving higher test accuracy despite higher training loss.
  • The gap between training and validation performance is reduced, indicating better generalization, especially for deeper networks like PreResNet-56 and PreResNet-110.
  • As dropout probability approaches 100%, regularization diminishes and performance improvement diminishes, confirming the trade-off between fitting and regularization.

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.