Pure Noise to the Rescue of Insufficient Data: Improving Imbalanced Classification by Training on Random Noise Images

Shiran Zada, Itay Benou, Michal Irani

Abstract

Deep learning models often struggle with long-tailed data distributions, where minority classes suffer from severe overfitting due to data scarcity. This paper introduces OPeN (Oversampling with Pure Noise Images), a novel approach that augments minority classes with pure Gaussian noise. To handle the resulting distribution shift, the authors propose DAR-BN (Distribution-Aware Routing Batch Normalization). This combination prevents the network from memorizing the limited samples of minority classes and achieves state-of-the-art performance on major long-tailed classification benchmarks.

Introduction: The Challenge of Long-Tailed Data

Real-world data naturally follows a "long-tail" distribution. While majority classes may have thousands of examples, minority classes often contain only a handful. Training neural networks on such imbalanced data typically results in a heavy bias toward majority classes.

Standard solutions like re-weighting or oversampling often fail when a class has extremely few samples (e.g., fewer than 10 images). In these cases, oversampling leads to severe overfitting as the network simply memorizes the few available images. Even advanced data augmentation cannot generate enough variety from such a small base. The authors address this by introducing a counter-intuitive source of data: pure random noise.

Methods: OPeN and DAR-BN

The proposed framework consists of two main components: Oversampling with Pure Noise (OPeN) and Distribution-Aware Routing Batch Normalization (DAR-BN).

The OPeN framework (left) balances batches using pure noise, while the DAR-BN module (right) handles the distribution shift between real and noise images.

1. OPeN (Oversampling with Pure Noise Images)

To balance the dataset, the authors oversample minority classes. However, instead of duplicating real images, they replace a fraction of these oversampled instances with pure Gaussian noise, matched to the dataset's mean and standard deviation. The probability of using noise increases as the class size decreases, ensuring that the most data-starved classes receive the most regularization.

Visualization of the sampling strategy: as class index increases (minority classes), the proportion of pure noise images increases to balance the dataset.

2. DAR-BN (Distribution-Aware Routing Batch Normalization)

Feeding pure noise into a standard network typically degrades performance because it breaks Batch Normalization (BN), which assumes a consistent input distribution. DAR-BN solves this by routing real and noise images through separate normalization paths. It calculates statistics independently but uses learnable affine parameters ($\gamma$, $\beta$) optimized only on real images. This allows the network to learn from noise without corrupting the features learned from real data.

Key Insights: Why Noise Works

  • Noise as a Featureless Regularizer: By assigning featureless noise to minority class labels, the network is forced to stop memorizing specific pixel patterns of the few real images, effectively regularizing the decision boundary.
  • Gradient Stochasticity: Standard oversampling increases gradient magnitude but keeps the direction static, leading to overfitting. Injecting noise maintains high gradient magnitude while adding stochasticity to the direction, which improves generalization.
  • Implicit Prior Learning: Noise images allow the network to implicitly learn the prior class probabilities and adjust decision boundaries without being distracted by misleading visual features in tiny sample sets.

Experimental Results

The authors evaluated OPeN on several long-tailed (LT) benchmarks, including CIFAR-10/100-LT, ImageNet-LT, and Places-LT.

  • State-of-the-Art: OPeN outperformed leading methods like MiSLAS and LADE. On ImageNet-LT, it achieved 55.1% accuracy, a significant jump over previous benchmarks.
  • Minority Class Gains: The most dramatic improvements occurred in the "tail" classes. On CIFAR-100-LT, accuracy for the 20 smallest classes rose from 11.6% to 25.5%.
  • General Applicability: Even on fully balanced datasets, OPeN provided a modest accuracy boost (+1.5% on CIFAR-100), suggesting its potential as a general-purpose augmentation tool.

Conclusion

OPeN demonstrates that even "useless" data like pure noise can be highly beneficial when handled correctly. By combining noise-based oversampling with distribution-aware normalization, the method effectively combats the data scarcity problem in long-tailed classification. Future work will explore applying this technique to a broader range of architectures and tasks beyond classification.

Summary updated

BibTeX
@inproceedings{zada2022pure,
  author = {Shiran Zada and Itay Benou and Michal Irani},
  title = {{Pure Noise to the Rescue of Insufficient Data: Improving Imbalanced Classification by Training on Random Noise Images}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=p73g3zJgKG},
}
Figure