Skip to main content
QUICK REVIEW

[Paper Review] Adjusting for Dropout Variance in Batch Normalization and Weight Initialization

Dan Hendrycks, Kevin Gimpel|arXiv (Cornell University)|Jul 8, 2016
Advanced Neural Network ApplicationsComputer Science13 references15 citations
TL;DR

This paper proposes a novel weight initialization method that corrects for dropout-induced variance by incorporating dropout rate and nonlinearity-specific factors into the initialization scale, and introduces a post-training batch normalization variance re-estimation technique. By applying these corrections, the authors achieve state-of-the-art accuracy on CIFAR-10 and CIFAR-100 without data augmentation, demonstrating improved convergence and stability in networks with dropout.

ABSTRACT

We show how to adjust for the variance introduced by dropout with corrections to weight initialization and Batch Normalization, yielding higher accuracy. Though dropout can preserve the expected input to a neuron between train and test, the variance of the input differs. We thus propose a new weight initialization by correcting for the influence of dropout rates and an arbitrary nonlinearity's influence on variance through simple corrective scalars. Since Batch Normalization trained with dropout estimates the variance of a layer's incoming distribution with some inputs dropped, the variance also differs between train and test. After training a network with Batch Normalization and dropout, we simply update Batch Normalization's variance moving averages with dropout off and obtain state of the art on CIFAR-10 and CIFAR-100 without data augmentation.

Motivation & Objective

  • To address the variance mismatch introduced by dropout in neural network training, which affects both weight initialization and batch normalization.
  • To develop a simple, efficient weight initialization technique that accounts for dropout rate and nonlinearity compressiveness without requiring batch statistics or special forward passes.
  • To correct the discrepancy in batch normalization’s moving variance estimates between training (with dropout) and inference (without dropout).
  • To improve training stability and test accuracy in fully connected and convolutional networks under dropout regularization.
  • To achieve state-of-the-art performance on standard benchmarks like CIFAR-10 and CIFAR-100 without data augmentation.

Proposed method

  • Proposes a new weight initialization scaling factor: $ W^{l} / \sqrt{ \mathbb{E}[f(z^{l-1})^2]/p + p\mathbb{E}[f'(z^l)^2] } $, where $ p $ is the dropout keep rate and $ f $ is the activation function.
  • Derives forward and backward pass variance corrections to stabilize input and gradient distributions under dropout.
  • Introduces a post-training procedure to re-estimate Batch Normalization’s moving variance by feeding the training set forward with dropout off and updating the running statistics.
  • Applies the method to fully connected networks and DenseNets, demonstrating consistent improvements across architectures.
  • Uses a default 0.5 correction factor for nonlinearity compressiveness when no empirical estimate is available, linking to Xavier and He initializations.
  • Employs unit hypersphere weight initialization with corrective scaling, avoiding batch statistics and special forward passes.

Experimental results

Research questions

  • RQ1How does dropout affect the variance of neuron inputs and gradients, and can this be corrected in weight initialization?
  • RQ2Can a simple, non-iterative weight initialization method stabilize training under dropout without relying on batch statistics?
  • RQ3Why does Batch Normalization fail to generalize properly when trained with dropout, and how can its variance estimates be corrected post-training?
  • RQ4Can post-training re-estimation of Batch Normalization’s moving variance improve test accuracy on standard vision benchmarks?
  • RQ5Does a unified initialization scheme that accounts for both forward and backward pass variance improve convergence and accuracy under dropout?

Key findings

  • The proposed weight initialization with dropout correction achieves stable input variance across layers in a 20-layer fully connected network, even under varying dropout rates.
  • The method surpasses Xavier and He initializations in stability when dropout is applied, preventing exploding or vanishing activations.
  • Re-estimating Batch Normalization’s moving variance after training using the training set with dropout off improves CIFAR-10 test error from 5.62% to 5.38%.
  • On CIFAR-100, the method reduces test error from 23.65% to 22.17% without data augmentation, achieving state-of-the-art performance.
  • The technique improves accuracy by over 2% on some configurations, demonstrating notable gains in highly regularized settings.
  • The method is general and effective across different architectures, including DenseNets, without requiring architectural changes or additional computation during inference.

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.