Understanding the Disharmony Between Dropout and Batch Normalization by Variance Shift

By Xiang-Yang Li, Shuo Chen, Xiaolin Hu, Jian Yang. 2018

331 citations recorded by the source corpus.

This paper first answers the question ``why do the two most powerful techniques Dropout and Batch Normalization (BN) often lead to a worse performance when they are combined together in many modern neural networks, but cooperate well sometimes as in Wide ResNet (WRN)?'' in both theoretical and empirical aspects. Theoretically, we find that Dropout shifts the variance of a specific neural unit when we transfer the state of that network from training to test. However, BN maintains its statistical variance, which is accumulated from the entire learning procedure, in the test phase. The inconsistency of variances in Dropout and BN (we name this scheme ``variance shift'') causes the unstable numerical behavior in inference that leads to erroneous predictions finally. Meanwhile, the large feature dimension in WRN further reduces the ``variance shift'' to bring benefits to the overall performance. Thorough experiments on representative modern convolutional networks like DenseNet, ResNet, ResNeXt and Wide ResNet confirm our findings. According to the uncovered mechanism, we get better understandings in the combination of these two techniques and summarize guidelines for better practices.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Ping Luo
  2. Steven C. H. Hoi
  3. Jianfeng Gao
  4. Mohit Bansal
  5. Ling Shao
  6. Radu Soricut
  7. Piyush Sharma
  8. Liang Lin

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Ling Shao
  3. Dacheng Tao
  4. Ming-Hsuan Yang
  5. Steven C. H. Hoi
  6. Xiaogang Wang
  7. Trevor Darrell
  8. Andrew Zisserman

In Optimization & Training

  1. Steven C. H. Hoi
  2. Quang Pham
  3. Chenghao Liu
  4. Junier B. Oliva
  5. Ping Luo
  6. Zhanglin Peng
  7. Ling Shao
  8. Oge Marques

Citations in the corpus