Group Whitening: Balancing Learning Efficiency and Representational Capacity

Lei Huang, Li Liu, Fan Zhu, Ling Shao

Abstract

Deep learning models rely heavily on normalization techniques for stable training. While Batch Normalization (BN) is standard, it suffers from performance degradation in small-batch settings. Group Normalization (GN) addresses this but lacks the optimization benefits of feature whitening. This paper introduces Group Whitening (GW), a technique that performs whitening within groups to enhance optimization while maintaining stability across batch sizes. Furthermore, the authors propose the "Constraint Number" framework to characterize the trade-off between normalization-induced stability and the loss of representational capacity. Empirical results on ImageNet and COCO demonstrate that GW consistently outperforms BN and GN across various architectures.

Introduction

Normalization layers are essential components of modern deep neural networks, facilitating faster convergence and better generalization. Batch Normalization (BN) is the most prevalent method, yet its reliance on batch statistics leads to significant accuracy drops when the batch size is small—a common constraint in memory-intensive tasks like object detection or high-resolution image synthesis.

Alternatives such as Group Normalization (GN) avoid batch dependencies by normalizing across channels. However, GN only performs standardization (mean and variance adjustment), missing the benefits of whitening, which decorrelates features and smoothens the optimization landscape. Previous attempts at Batch Whitening (BW) were even more sensitive to small batches than BN. Group Whitening (GW) is proposed to bridge this gap, providing the optimization power of whitening without the instability of small-batch statistics.

Methods: Group Whitening (GW)

Group Whitening operates by dividing channels into groups and performing whitening within each group. The process involves three primary steps:

  1. Group Division: The $C$ channels of a feature map are divided into $G$ groups, each containing $C/G$ channels.
  2. Whitening: Within each group, the features are whitened to have zero mean and an identity covariance matrix. To ensure computational efficiency and GPU compatibility, the authors utilize Iterative Normalization (ItN), which approximates the whitening matrix using Newton's iteration, avoiding costly eigen-decomposition.
  3. Inverse Group Division: The whitened groups are concatenated back to the original feature dimensions.

A key theoretical contribution of this work is the Constraint Number. Normalization can be viewed as imposing a set of constraints on the feature space. As the number of groups increases, the number of constraints also increases, which can eventually restrict the model's ability to represent complex data distributions.

Figure 1: (a) Accuracy vs. batch size for different normalization methods. GW remains stable even at a batch size of 2. (b) Accuracy vs. group number, showing the impact of increasing constraints.

Representational Capacity and Constraints

The paper explores the fundamental trade-off between learning efficiency and representational capacity. While whitening improves the "conditioning" of the optimization problem, over-constraining the features can be detrimental. The "Constraint Number" framework predicts that as the number of groups $G$ increases, the model becomes more rigid.

Experimental results on MNIST and CIFAR-10 using MLPs of varying depths confirm this. Simpler models (like linear classifiers) are more sensitive to high constraint numbers, showing a sharp drop in training accuracy as the group number increases. Deeper models are more robust but still exhibit performance degradation when the group number is excessively high.

Figure 5: Training accuracy vs. group number for (a) Linear classifier, (b) One-layer MLP, and (c) Four-layer MLP. Simpler models lose representational capacity more quickly as constraints increase.

Key Results

The effectiveness of GW was validated on large-scale benchmarks:

  • ImageNet Classification: GW achieved gains of 1.02% to 1.49% in top-1 accuracy over BN baselines using ResNet and ResNeXt architectures.
  • COCO Object Detection: In Faster R-CNN frameworks, GW improved bounding box Average Precision (AP) by 1.82% to 3.21% compared to frozen BN.
  • Optimization Efficiency: GW reached higher training accuracy faster than GN, confirming that whitening provides a more direct path for gradient descent.

Discussion and Conclusion

Group Whitening successfully combines the advantages of whitening and group-based normalization. It solves the small-batch problem of BN while providing superior optimization compared to GN. However, whitening is computationally more expensive than simple standardization. Replacing all BN layers with GW in a ResNet-50 increases training time by approximately 90%. The authors recommend a hybrid approach (the "S1-B2" configuration), replacing only specific layers to achieve most of the accuracy gains with a manageable 23% overhead.

In conclusion, GW offers a robust and efficient alternative for deep learning normalization, supported by a theoretical framework that helps practitioners balance optimization speed with the model's expressive power.

Summary updated

BibTeX
@inproceedings{huang2021group,
  author = {Lei Huang and Li Liu and Fan Zhu and Ling Shao},
  title = {{Group Whitening: Balancing Learning Efficiency and Representational Capacity}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00939},
}
Figure