Abstract
Batch Normalization (BN) has become an essential component in Convolutional Neural Networks (CNNs), enabling higher learning rates and faster training without meticulous initialization. However, this work demonstrates that a simple extension, Dynamic Normalization (DN), significantly enhances network performance. By adaptively generating scale and shift parameters for each channel of every sample (DN-B), the model gains substantial robustness. In classification tasks, DN-B improves MobileNetV2 accuracy on ImageNet-100 by over 2% with minimal computational overhead. In detection tasks, it boosts SSDLite on MS-COCO by nearly 4% mAP. Furthermore, DN-B maintains stable performance under high learning rates and small batch sizes where standard BN typically fails.
The Problem with Static Normalization
Batch Normalization (BN) is the "secret sauce" of modern CNNs, yet it suffers from two primary limitations:
- Static Parameters: Post-training, the scale ($\gamma$) and shift ($\beta$) parameters are fixed, failing to adapt to the unique characteristics of individual input images.
- Batch Size Sensitivity: BN relies on mini-batch statistics. In memory-intensive tasks like high-resolution object detection, small batch sizes lead to noisy statistics and model collapse.
Proposed Method: Dynamic Normalization (DN)
The core innovation is the SC-Module, which replaces the standard constant affine parameters in BN. The authors explored two variants:
- DN-C (Batch-shared): Uses mini-batch statistics to generate parameters shared across the batch. This version proved unstable and failed to train effectively.
- DN-B (Batch and Channel-wise): The successful "Dynamic" version. It processes input features through a lightweight bottleneck to output unique scale ($\alpha$) and shift ($\lambda$) parameters for each channel of every individual sample.
By using grouped operations, the SC-Module adds only about 0.6% to the total Multi-Adds (MACs), making it a highly efficient "plug-and-play" replacement for standard BN.
Key Results and Robustness
The quantitative gains are substantial across different tasks and architectures:
- ImageNet-100 Classification: DN-B achieved 84.74% test accuracy compared to 82.50% for standard BN (+2.24%).
- MS-COCO Object Detection: Using an SSDLite detector with a MobileNetV2 backbone, DN-B improved performance from 15.3% to 19.2% mAP (+3.9%).
Beyond raw accuracy, DN-B exhibits remarkable robustness to hyperparameters. When the learning rate was increased from 0.2 to 0.5, BN's accuracy plummeted by over 8%, while DN-B's dropped by less than 1%. Most notably, at a tiny batch size of 8—where standard BN fails completely (1% accuracy)—DN-B maintained a high accuracy of 78.42%.
Normalization as Attention
The authors suggest that the dynamic scale coefficient in DN-B acts as a form of channel-wise attention, similar to Squeeze-and-Excitation (SE) blocks. By integrating this logic directly into the normalization layer, the network performs sample-adaptive recalibration without the need for separate attention modules. The failure of the batch-shared DN-C variant underscores that the primary benefit comes from per-sample adaptation rather than reacting to mini-batch noise.
Conclusion and Future Work
Dynamic Normalization offers a powerful, efficient alternative to standard BN, particularly for lightweight models. While current experiments focus on MobileNetV2 and ResNet architectures, future work could explore its application in larger models like Vision Transformers or different domains such as sequence modeling (RNNs) and image generation (GANs), where normalization stability remains a critical challenge.
Summary updated