Skip to main content
QUICK REVIEW

[Paper Review] Four Things Everyone Should Know to Improve Batch Normalization

Cecilia Summers, Michael J. Dinneen|arXiv (Cornell University)|Jun 9, 2019
Advanced Neural Network ApplicationsComputer Science48 references30 citations
TL;DR

This paper identifies four practical improvements to Batch Normalization that enhance model performance across all batch sizes without additional training computation. It introduces inference example weighting to fix training-inference discrepancy, validates Ghost Batch Normalization's regularization effect in medium batches, shows weight decay on γ and β improves generalization, and proposes a hybrid Batch-Group Normalization method for very small batches, boosting accuracy by over 6% on CIFAR-100.

ABSTRACT

A key component of most neural network architectures is the use of normalization layers, such as Batch Normalization. Despite its common use and large utility in optimizing deep architectures, it has been challenging both to generically improve upon Batch Normalization and to understand the circumstances that lend themselves to other enhancements. In this paper, we identify four improvements to the generic form of Batch Normalization and the circumstances under which they work, yielding performance gains across all batch sizes while requiring no additional computation during training. These contributions include proposing a method for reasoning about the current example in inference normalization statistics, fixing a training vs. inference discrepancy; recognizing and validating the powerful regularization effect of Ghost Batch Normalization for small and medium batch sizes; examining the effect of weight decay regularization on the scaling and shifting parameters gamma and beta; and identifying a new normalization algorithm for very small batch sizes by combining the strengths of Batch and Group Normalization. We validate our results empirically on six datasets: CIFAR-100, SVHN, Caltech-256, Oxford Flowers-102, CUB-2011, and ImageNet.

Motivation & Objective

  • To address the overlooked discrepancy between training and inference normalization in Batch Normalization.
  • To identify and validate underused regularization techniques like Ghost Batch Normalization in non-large-batch regimes.
  • To investigate the impact of weight decay on learnable parameters γ and β in Batch Normalization.
  • To develop a new normalization method effective in very small batch settings by combining Batch and Group Normalization strengths.

Proposed method

  • Introduces inference example weighting by blending current example statistics with moving averages during inference, reducing the training-inference discrepancy.
  • Employs Ghost Batch Normalization by splitting each batch into smaller groups for normalization, enhancing regularization even in medium-batch, single-GPU training.
  • Applies weight decay directly to the scaling (γ) and shifting (β) parameters of Batch Normalization, treating them as model parameters for improved generalization.
  • Proposes a hybrid normalization method that combines batch-level and group-level statistics, using cross-example information effectively in small batches.
  • Uses exponential moving averages of batch statistics for inference, while incorporating the current example's statistics via a learnable weight α.
  • Validates all methods across six datasets using standard image classification benchmarks with both training-from-scratch and transfer learning settings.

Experimental results

Research questions

  • RQ1How does the discrepancy between training and inference normalization affect model performance, and can it be mitigated without additional computation?
  • RQ2To what extent does Ghost Batch Normalization improve generalization in medium and small batch sizes, beyond its original use case?
  • RQ3What is the effect of applying weight decay to the learnable parameters γ and β in Batch Normalization, and does it serve as a meaningful regularizer?
  • RQ4Can a unified normalization approach be designed that leverages the strengths of both Batch and Group Normalization in very small batch settings?

Key findings

  • Inference example weighting reduced error rate by up to 20% on non-i.i.d. minibatches, with no retraining required.
  • Ghost Batch Normalization achieved performance comparable to Batch Renormalization in non-i.i.d. settings, even with small ghost batch sizes.
  • Applying weight decay to γ and β improved generalization, particularly in small-batch regimes, and was effective across all datasets tested.
  • The proposed hybrid Batch-Group Normalization method achieved 76.1% accuracy on CIFAR-100 with B=2, outperforming standard Batch Normalization and showing robustness to non-i.i.d. data.
  • When all four improvements were applied together, accuracy improved by over 6% on CIFAR-100 compared to standard Batch Normalization.
  • The method was effective across diverse datasets including ImageNet, Caltech-256, and CUB-2011, with consistent gains in both training-from-scratch and fine-tuning scenarios.

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.