TL;DR
This paper introduces Normalizing Batch Normalization (NBN), a simple yet powerful technique to fix the inherent bias towards frequent classes in long-tailed datasets. By decoupling the magnitude and direction of Batch Normalization parameters, NBN strengthens "rare-specific" features, leading to state-of-the-art performance across multiple recognition benchmarks without sacrificing accuracy on common classes.
What Problem Does This Paper Address?
In real-world scenarios, datasets are rarely balanced; a few "head" classes often have thousands of samples, while many "tail" classes have only a handful. Standard deep learning models trained on such "long-tailed" data become heavily biased, performing well on frequent classes but poorly on rare ones.
While previous research has focused on re-balancing data (sampling) or adjusting the final classifier (loss functions), this paper identifies a deeper issue: feature bias. The authors demonstrate that features uniquely important for rare classes are significantly weaker—having lower statistical mean and variance—than those for frequent classes. As shown in Illustration of feature bias, even when a model identifies rare-specific features, their weak signal causes the overall attention to drift toward irrelevant regions or frequent-class characteristics, leading to misclassification.
Methods
The core proposal is Normalizing Batch Normalization (NBN). In a standard Batch Normalization (BN) layer, learnable weight ($\gamma$) and bias ($\beta$) parameters determine the scale and shift of feature channels. In long-tailed settings, these parameters naturally become smaller for channels that represent rare classes.
NBN reformulates the BN operation by treating the weights and biases as vectors and decoupling their direction from their magnitude: $$y = g_\gamma \frac{\tilde{\gamma}}{||\tilde{\gamma}||} \circ \hat{x} + g_\beta \frac{\tilde{\beta}}{||\tilde{\beta}||}$$ Here, $g$ is a single learnable scalar representing magnitude, while the unit vectors represent the direction. This formulation forces the model to learn a more balanced distribution of feature strengths across all channels.
The authors also introduce Logits Rectification (LR), which applies a similar Gaussian standardization to the final classifier outputs to further reduce prediction bias.
As illustrated above, NBN is strategically inserted into the final stages of a ResNet architecture to directly rectify the high-level features fed into the classifier.
Datasets
The authors evaluated their method on four standard long-tailed benchmarks:
- CIFAR-10-LT & CIFAR-100-LT: Artificially imbalanced versions of the popular CIFAR datasets.
- ImageNet-LT: A long-tailed version of the massive ImageNet dataset with 1,000 classes and an imbalance factor of 256.
- iNaturalist 2018: A large-scale, naturally long-tailed dataset for fine-grained species classification containing over 8,000 classes.
Key Insights and Ideas
- Bias is Embedded in Features: The most critical insight is that long-tailed distributions don't just bias the final decision; they weaken the very features needed to recognize rare objects.
- Gradient-Driven Balancing: Through mathematical analysis of the back-propagation process, the authors show that NBN’s formulation naturally penalizes channels with disproportionately large weights. This encourages the model to distribute "importance" more evenly across feature channels.
- Plug-and-Play Compatibility: NBN doesn't require complex multi-stage training. It can be easily integrated into existing architectures and combined with other long-tailed recognition techniques (like RIDE or BCL) for additive gains.
- Adaptive Magnitude: As training progresses, the learnable magnitude parameter $g_\gamma$ increases (see Magnitude growth during training), allowing the model to adaptively balance data-fitting with feature-rectification.
Key Results
NBN achieves significant improvements over standard cross-entropy training and existing state-of-the-art (SOTA) methods:
- ImageNet-LT: NBN improved the baseline accuracy from 45.8% to 49.4%. When combined with the multi-expert RIDE method, it reached 58.2%, setting a new SOTA (see ImageNet-LT Results).
- iNaturalist 2018: The method achieved a top-1 accuracy of 75.3% when combined with RIDE, outperforming previous benchmarks.
- Balanced Performance: Unlike many methods that sacrifice "head" class accuracy to improve the "tail," NBN often improves performance across all groups or maintains head accuracy while significantly boosting tail performance.
Limitations and Future Work
The authors note that NBN is specifically designed for long-tailed scenarios. On perfectly balanced datasets, it provides results comparable to standard BN but doesn't offer additional gains, as the specific feature bias it targets isn't present.
While they successfully extended the method to object detection and instance segmentation on the LVIS dataset, the authors suggest that further research is needed to optimize NBN for these complex multi-task settings. Future work could also explore applying similar normalization principles to other types of layers beyond Batch Normalization, such as LayerNorm or InstanceNorm.
Summary updated