Introduction
Batch Normalization (BN) has been a cornerstone of deep learning, facilitating faster convergence and providing a regularization effect. However, BN's reliance on batch statistics introduces a significant limitation: its performance degrades sharply when batch sizes are small. This "batch size bottleneck" is particularly problematic for memory-intensive tasks like object detection, instance segmentation, and video recognition, where high-resolution inputs or 3D data often restrict batch sizes to just one or two samples per GPU.
The Normalization Landscape
To address this, the authors propose Group Normalization (GN). GN is a simple alternative that normalizes features across groups of channels, making it independent of the batch dimension.
As shown in the figure above, GN sits between Layer Normalization (LN) and Instance Normalization (IN). While LN treats all channels as a single group and IN treats each channel as its own group, GN divides the channels into $G$ groups (typically 32). For each group, mean and variance are calculated across the spatial dimensions ($H, W$) and the channels within that group. This approach leverages the intuition that channels in neural networks are often related and can be grouped naturally, similar to classical descriptors like SIFT or HOG.
Experimental Results
The primary advantage of GN is its stability across varying batch sizes. In ImageNet classification experiments using ResNet-50, GN maintains a consistent error rate even as the batch size drops to 2 images per worker.
At a batch size of 2, GN achieves a 10.6% lower error rate than BN. While BN slightly outperforms GN at large batch sizes (e.g., 32) due to its inherent stochastic regularization, GN remains highly competitive, typically within 0.5% of BN's performance.
Beyond classification, GN shows significant gains in object detection and segmentation. In the COCO benchmark using Mask R-CNN, GN improved the box AP by 1.1 points over the standard "frozen BN" baseline. Furthermore, GN enables training object detectors from scratch without ImageNet pre-training, a feat previously difficult to achieve without large-scale synchronized BN.
Conclusion
Group Normalization provides a robust solution to the batch size dependency of Batch Normalization. By decoupling normalization from the batch dimension, GN enables stable and effective training for a wide range of computer vision tasks where memory constraints are a reality. Its simplicity and effectiveness make it a powerful tool for modern deep learning architectures.
Summary updated