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

BCN: Batch Channel Normalization for Image Classification

Afifa Khaled, Chao Li, Jia Ning, Kun HearXiv 2023 · DOI

Introduction

Normalization layers have become indispensable components of modern deep neural networks, primarily by mitigating the "internal covariate shift" problem. Batch Normalization (BN) and Layer Normalization (LN) are the two most prevalent techniques. While BN is the standard for Convolutional Neural Networks (CNNs), its performance degrades significantly when training with small batch sizes due to inaccurate batch statistics. Conversely, LN, which is widely used in Recurrent Neural Networks and Transformers, often underperforms BN in convolutional architectures. This paper introduces Batch Channel Normalization (BCN), a hybrid approach that adaptively combines batch and channel statistics to achieve superior performance and robustness across varying batch sizes.

The Normalization Trade-off

The choice of normalization dimension significantly impacts model performance. BN normalizes activations across the batch dimension ($N$), making it effective for large-scale training but sensitive to batch size. LN normalizes across the channel dimension ($C$), offering batch-size independence but failing to capture the inter-sample dependencies that often benefit CNNs.

Comparison of BN, LN, and the proposed BCN normalization schemes.

Batch Channel Normalization (BCN)

BCN addresses these limitations by computing both batch and channel statistics and learning an optimal weighting between them. For an input tensor $x \in \mathbb{R}^{N \times C \times H \times W}$, the process involves four key steps:

  1. Batch-wise Normalization: The input is normalized along the $(N, H, W)$ dimensions to produce $\bar{x}_1$, following the standard BN approach.
  2. Channel-wise Normalization: The input is normalized along the $(C, H, W)$ dimensions to produce $\bar{x}_2$, following the LN approach.
  3. Adaptive Combination: A learnable parameter $\iota$ (iota) is introduced to weight the two normalized outputs: $\bar{y} = \iota\bar{x}_1 + (1 - \iota)\bar{x}_2$.
  4. Affine Transformation: The combined output is scaled and shifted using standard learnable parameters $\gamma$ and $\beta$.

By making $\iota$ a learnable parameter, the network can dynamically adjust its reliance on batch vs. channel statistics at each layer. This flexibility allows BCN to behave more like LN when batch sizes are small and noisy, and more like BN when batch statistics are reliable. At inference time, batch statistics are frozen using an exponential moving average, allowing the operation to be fused into convolutions for efficiency.

Experimental Evaluation

The authors evaluated BCN across several benchmarks, including CIFAR-10/100, SVHN, and ImageNet, comparing it against BN, LN, Instance Normalization (IN), and Group Normalization (GN).

Key Results

  • Enhanced Accuracy: On CIFAR-100 using a ResNet architecture, BCN achieved a test accuracy of 79.09%, significantly outperforming BN (74.50%) and LN (68.61%).
  • Micro-Batch Robustness: BCN demonstrates remarkable stability at small batch sizes. While BN performance typically collapses at batch sizes below 8, BCN maintains high accuracy even with as few as 2 samples per batch.
  • Generalizability: Beyond CNNs, BCN was integrated into Vision Transformers (ViTs), resulting in a 0.72% improvement in test accuracy. It also showed benefits in self-supervised learning frameworks like BYOL.
  • Faster Convergence: BCN matches or exceeds the convergence rate of BN on CIFAR-10, reaching high training accuracy faster than LN.

Limitations and Future Work

While BCN offers significant performance gains, computing two separate sets of statistics (batch and channel) requires slightly more memory and computation during the forward pass compared to standard BN or LN. Future research will focus on a formal ablation study comparing BCN to naive normalization across all dimensions simultaneously, as well as evaluating its performance on downstream tasks such as object detection and segmentation.

Conclusion

Batch Channel Normalization (BCN) provides a robust, drop-in replacement for traditional normalization layers. By adaptively blending batch and channel statistics, it overcomes the small-batch limitations of BN while retaining the performance benefits of channel-aware normalization. Its success across CNNs, Transformers, and self-supervised learning suggests it is a versatile tool for stabilizing and improving deep learning models.

Summary updated

BibTeX
@misc{khaled2023bcn,
  author = {Afifa Khaled and Chao Li and Jia Ning and Kun He},
  title = {{BCN: Batch Channel Normalization for Image Classification}},
  year = {2023},
  eprint = {2312.00596},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.00596},
}
Figure