Normalizing Batch Normalization for Long-Tailed Recognition

Yuxiang Bao, Guoliang Kang, Linlin Yang, Xiaoyue Duan, Bo Zhao, Baochang Zhang

Abstract

Long-tailed recognition is a persistent challenge in deep learning, where models tend to favor frequent "head" classes at the expense of rare "tail" classes. This paper identifies a critical but overlooked issue: feature-level bias. We observe that features associated with rare classes are statistically weaker—possessing lower mean and variance—than those of frequent classes. To address this, we introduce Normalizing Batch Normalization (NBN), a simple yet effective modification that decouples the magnitude and direction of Batch Normalization parameters. By normalizing these parameters, NBN prevents the model from suppressing rare-specific feature channels. Extensive experiments on benchmarks like ImageNet-LT and iNaturalist 2018 demonstrate that NBN significantly improves tail-class accuracy and achieves state-of-the-art performance when combined with existing long-tailed recognition methods.

Introduction

In real-world scenarios, data distributions are rarely balanced. Instead, they often follow a "long-tailed" distribution where a few categories have thousands of examples while the majority have very few. Standard deep learning models naturally gravitate toward the head classes, often failing to capture the subtle features necessary to distinguish rare categories. While previous research has focused on data-level fixes (like oversampling) or classifier-level fixes (like adjusting loss functions), this paper argues that feature-level bias is a fundamental bottleneck that is often overlooked.

The Feature-Level Bias

The authors observe that the features necessary to identify a rare class, such as a "Fountain Pen," are statistically much weaker than those for a frequent class, like an "Eraser." Because Batch Normalization (BN) layers control these statistics via learnable weight ($\gamma$) and bias ($\beta$) parameters, the bias toward frequent classes becomes "baked into" the network's architecture. Using attention maps, the authors demonstrate that models do learn features for rare classes, but these features are so statistically weak that the model ignores them in favor of irrelevant but "stronger" background or frequent-class features.

Feature statistics comparison: Baseline vs. NBN for a rare class (Fountain Pen).

Normalizing Batch Normalization (NBN)

To counteract this bias, the authors propose Normalizing Batch Normalization (NBN). In a standard BN layer, the output is scaled by $\gamma$ and shifted by $\beta$. NBN decouples the magnitude of these parameters from their direction by treating them as vectors:

  1. Parameter Normalization: The weight vector $\gamma$ and bias vector $\beta$ are normalized to unit vectors.
  2. Learnable Scaling: These unit vectors are then multiplied by a single learnable scalar ($g_\gamma$ and $g_\beta$).
  3. The Formula: $y = g_\gamma \frac{\tilde{\gamma}}{||\tilde{\gamma}||} \circ \hat{x} + g_\beta \frac{\tilde{\beta}}{||\tilde{\beta}||}$

By forcing weights onto a unit sphere, the model can no longer simply "turn down the volume" on rare-specific feature channels. This creates a regularization effect that encourages a more even distribution of weight across different channels. Additionally, the authors introduce Logits Rectification (LR), applying Gaussian standardization to the final classifier outputs to ensure the classifier doesn't assign higher confidence to frequent classes simply because their output statistics are larger.

Experimental Results

NBN was evaluated on several standard long-tailed benchmarks, including CIFAR-10/100-LT, ImageNet-LT, and iNaturalist 2018. The method consistently outperformed state-of-the-art (SOTA) baselines. On ImageNet-LT, NBN improved baseline Cross-Entropy accuracy from 42.2% to 47.3%. Most notably, the accuracy for the "Tail" (rarest classes) jumped from 6.3% to 13.4%—more than doubling performance without sacrificing "Head" accuracy.

Evaluation on ImageNet-LT across Head, Medium, and Tail classes.

NBN is a "plug-and-play" module that can be combined with other methods. For instance, combining NBN with the multi-expert RIDE model on iNaturalist 2018 achieved 75.3% accuracy, setting a new benchmark. Unlike multi-expert methods, NBN adds negligible overhead during training and zero overhead during inference.

Conclusion and Limitations

NBN addresses the core issue of feature-level bias in long-tailed recognition by equalizing the importance of different feature channels. While highly effective, the authors noted that NBN's placement is sensitive; it performs best when applied to the final stages of an architecture, where feature bias is most critical. Future work may explore more flexible per-layer magnitude parameters and tailored normalization strategies for spatial tasks like object detection and instance segmentation.

Summary updated

BibTeX
@article{bao2025normalizing,
  author = {Yuxiang Bao and Guoliang Kang and Linlin Yang and Xiaoyue Duan and Bo Zhao and Baochang Zhang},
  title = {{Normalizing Batch Normalization for Long-Tailed Recognition}},
  journal = {IEEE Trans. Image Process.},
  year = {2025},
  doi = {10.1109/tip.2024.3518099},
}
Figure