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

Instance Enhancement Batch Normalization: An Adaptive Regulator of Batch Noise

Senwei Liang, Zhongzhan Huang, Mingfu Liang, Haizhao Yang

Abstract

Batch Normalization (BN) is a cornerstone of modern deep learning, yet it introduces stochastic "batch noise" by calculating statistics over mini-batches. This noise can degrade performance, particularly in small-batch settings or complex tasks. We present Instance Enhancement Batch Normalization (IEBN), a lightweight, attention-based module designed to adaptively regulate batch noise. By recalibrating channel-wise features with instance-specific information, IEBN improves model generalization and robustness. Our results demonstrate consistent accuracy gains across standard benchmarks like ImageNet and CIFAR, while providing superior resilience against noise-based attacks.

Introduction: The Double-Edged Sword of Batch Noise

Batch Normalization (BN) has revolutionized deep neural network training by stabilizing gradients and accelerating convergence. However, BN's reliance on mini-batch statistics (mean and variance) introduces a phenomenon known as "batch noise." Because the features of a single image are normalized using statistics derived from its neighbors in the batch, the resulting representation is inherently "polluted" by external data. While moderate noise can act as a regularizer, excessive batch noise—common in small batches or heterogeneous datasets—destabilizes training and limits the model's ability to capture instance-specific nuances.

The IEBN Framework

To address this, we propose Instance Enhancement Batch Normalization (IEBN). IEBN acts as an adaptive regulator that "infuses" the model with instance-specific awareness to counteract batch-level interference. The module is integrated directly into the normalization process through three primary steps:

  1. Global Squeezing: For each channel, IEBN calculates the average value across all pixels via Global Average Pooling (GAP). This produces a compact descriptor of the specific instance's feature map.
  2. Feature Processing: This descriptor undergoes a linear transformation using two learnable parameters per channel ($\hat{\gamma}$ and $\hat{\beta}$), followed by a Sigmoid activation. This generates a gating coefficient ($\delta$) between 0 and 1.
  3. Instance Embedding: The gating coefficient scales the output of the standard BN reparameterization. This allows the network to adaptively "dial up" or "dial down" the influence of specific channels based on the content of the individual image.
The IEBN architecture integrated into a residual block (top) and the detailed internal mechanism of the IEBN module (bottom).

IEBN is remarkably efficient, adding only two parameters per channel—significantly fewer than alternative modules like Squeeze-and-Excitation (SE).

Experimental Evaluation

We evaluated IEBN across several standard computer vision benchmarks, including CIFAR-10, CIFAR-100, and ImageNet (2012).

Accuracy and Efficiency

IEBN consistently outperformed standard BN across various architectures. On CIFAR-100 using a ResNet-164 backbone, IEBN achieved an accuracy of 77.09%, compared to 74.29% for BN. On the large-scale ImageNet dataset, IEBN improved ResNet-152 top-1 accuracy from 77.58% to 79.17%. Notably, IEBN achieved these gains with a lower parameter overhead than SE modules.

Robustness to Noise Attacks

One of IEBN's most striking properties is its resilience to intentional noise. In a "Constant-Noise Attack," where noise is injected into BN layers, standard BN accuracy plummeted from 74% to 35%. In contrast, IEBN remained stable at approximately 77%. Similarly, in a "Mix-Dataset Attack" (mixing CIFAR with MNIST samples to increase batch variance), IEBN showed a significantly lower performance drop than BN, proving its efficacy in filtering out irrelevant batch-level statistics.

Insights from Style Transfer

The motivation for IEBN is partly derived from style transfer. In this domain, Instance Normalization (IN) is preferred over BN because it is "batch-noise-free," allowing for better preservation of instance-specific style. We found that IEBN allows BN to behave more like IN when necessary, effectively regulating the disturbances caused by other samples in the mini-batch.

Visual comparison of style transfer results. IEBN (labeled as IBEN) produces more coherent and instance-appropriate stylization compared to standard BN, which often suffers from "confused" features due to batch noise.

Conclusion

IEBN provides a simple yet powerful mechanism for regulating batch noise in deep networks. By adaptively enhancing instance-specific information, it bridges the gap between the stabilization benefits of Batch Normalization and the instance-specific clarity of Instance Normalization. Future work will explore the application of IEBN in non-convolutional architectures like Transformers and its utility in downstream tasks such as object detection.

Summary updated

BibTeX
@inproceedings{liang2020instance,
  author = {Senwei Liang and Zhongzhan Huang and Mingfu Liang and Haizhao Yang},
  title = {{Instance Enhancement Batch Normalization: An Adaptive Regulator of Batch Noise}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.5917},
}
Figure