NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Representative Batch Normalization With Feature Calibration

Shang-Hua Gao, Qi Han, Duo Li, Ming-Ming Cheng, Pai Peng

Introduction

Batch Normalization (BN) has become a fundamental component in modern deep neural networks, primarily due to its ability to stabilize training by normalizing features using mini-batch statistics. Despite its success, BN operates under a "one-size-fits-all" assumption, where every image in a batch is expected to follow the same distribution within a specific channel. This assumption leads to two primary issues: inconsistency between training (mini-batch) and testing (running) statistics, and a significant loss of instance-specific detail. Standard BN can "wash out" important features or fail to filter noise because it centers features based on the batch mean rather than individual image characteristics.

Representative Batch Normalization (RBN) is proposed as a "plug-and-play" enhancement to address these limitations. By incorporating a simple feature calibration scheme that utilizes instance-specific statistics, RBN captures individual image nuances that standard BN ignores, leading to significant performance gains across various computer vision tasks with negligible computational overhead.

Methodology: Feature Calibration

RBN introduces two calibration steps into the standard BN pipeline to regain the descriptive power of individual instances while maintaining global stability:

  1. Centering Calibration (CC): Before standard centering, RBN applies a shift based on the instance's own mean ($\mu_c$), controlled by a learnable weight ($w_m$). This ensures features are correctly positioned relative to activation functions like ReLU, preventing important signals from being clipped.
  2. Scaling Calibration (SC): Following standard scaling, RBN applies a restriction factor using instance statistics and a Sigmoid-gated learnable weight to dampen overly intense features. This prevents any single channel from dominating the output, ensuring a stable feature distribution.
Visualization of feature map intensity changes before and after Centering Calibration (CC) and Scaling Calibration (SC).

These calibrations add only three learnable parameters per channel, making the additional computational cost almost zero.

Experimental Results

The effectiveness of RBN was evaluated across several standard benchmarks, including ImageNet for classification and MS COCO for object detection and segmentation.

Classification Performance

On the ImageNet dataset, RBN consistently outperformed standard BN across various backbones. For a ResNet-50 model, RBN reduced the top-1 error by 1.21% (from 23.85% to 22.64%). The improvements were even more pronounced on lightweight architectures like MobileNet v2, which saw a 1.8% jump in accuracy.

Detection and Segmentation

In object detection tasks on MS COCO using Faster R-CNN with a ResNet-50 backbone, RBN improved Average Precision (AP) by 1.5%. Similarly, for instance segmentation using Mask R-CNN, RBN achieved a 1.6% improvement in box AP and a 1.4% improvement in mask AP.

Training loss and testing error curves comparing standard Batch Normalization (BN) with Representative Batch Normalization (RBN).

As shown in the training curves, RBN maintains a consistently lower training loss and testing error throughout the entire optimization process compared to standard BN.

Discussion and Key Insights

The core insight of RBN lies in the "ReLU connection." Standard BN centering can cause features of "darker" images (those with lower mean intensity than the batch average) to fall below zero, leading to their removal by the ReLU activation. Centering calibration acts as a safety net, shifting these features back into the active zone. Furthermore, scaling calibration primarily acts to restrict features. By constraining scaling factors between 0 and 1 via a Sigmoid function, RBN prevents outlier feature maps from disrupting the training of subsequent layers.

Conclusion

Representative Batch Normalization offers a simple yet powerful drop-in replacement for standard BatchNorm. By reintroducing instance-specific statistics through centering and scaling calibration, it preserves critical image details and improves training stability. While current work focuses on channel-wise statistics, future research could explore more complex non-linear calibration or the interaction of RBN with normalization techniques in Transformer-based architectures.

Summary updated

BibTeX
@inproceedings{gao2021representative,
  author = {Shang-Hua Gao and Qi Han and Duo Li and Ming-Ming Cheng and Pai Peng},
  title = {{Representative Batch Normalization With Feature Calibration}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00856},
}
Figure