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

Shiran Zada, Itay Benou, Michal Irani

Overview

When training data is scarce or imbalanced, deep learning models tend to overfit the few examples they have for minority classes. To combat this, researchers have introduced OPeN (Oversampling with Pure Noise), a surprisingly simple method that uses pure random noise images as additional training data to regularize the model. Paired with a novel Distribution-Aware Routing Batch Normalization (DAR-BN) layer, this approach achieves state-of-the-art results across several major imbalanced classification benchmarks.

The Challenge of Long-Tailed Data

Most standard machine learning datasets are artificially well-balanced, but real-world data is typically "long-tailed." In these scenarios, a few "majority" classes contain thousands of samples, while many "minority" classes have only a handful.

When a neural network trains on long-tailed data, it naturally becomes biased toward the majority. Common fixes like re-weighting (penalizing errors on minority classes more heavily) or oversampling (repeating minority images) often lead to severe overfitting. With oversampling, the model simply memorizes the few available images and their augmentations rather than learning generalizable features. The core bottleneck is the lack of visual variety in the minority classes.

The Solution: OPeN and DAR-BN

To prevent this memorization, the authors propose a two-part framework:

  1. OPeN (Oversampling with Pure Noise): Instead of merely duplicating existing minority images, OPeN replaces a portion of the oversampled data with pure Gaussian noise images. The probability of using a noise image is inversely proportional to the class size—meaning the smallest classes receive the most noise. These noise images are sampled based on the mean and variance of the entire dataset's color channels.
  2. DAR-BN (Distribution-Aware Routing Batch Normalization): Feeding pure noise into a standard network breaks standard Batch Normalization (BN) due to the massive distribution shift between natural images and random noise. DAR-BN solves this by routing natural images and noise images through separate normalization paths using their own internal statistics. It then applies the same affine parameters (scale and shift) learned from natural images to the noise images, and updates the running test statistics using only the natural images.
Overview of the OPeN framework and DAR-BN architecture.

This dual-path routing allows the noise to act as a powerful regularizer during training without polluting the network's understanding of natural image distributions at test time.

Why Does Pure Noise Work?

  • Noise as a Gradient Regularizer: When you oversample a minority image, the gradient magnitude increases, but the direction stays the same, leading directly to memorization. Adding pure noise increases the gradient magnitude while injecting stochasticity (randomness) into the direction. This forces the model to find more robust features rather than fixating on specific pixel patterns.
  • Implicit Prior Learning: Because noise images carry no visual information, the network effectively learns the "prior probability" of the classes. Since minority classes receive more noise, the network learns to adjust its baseline predictions to account for the skewed class distribution.
  • The Power of Extreme Out-of-Distribution Data: Previous works have used noise as an additive perturbation (adding a little fuzz to a real image). This paper demonstrates that pure noise is actually more effective for extreme data scarcity because it represents the ultimate "out-of-distribution" sample, providing a much stronger regularization effect.

Key Results

Evaluated across five widely used long-tailed (LT) benchmarks (including CIFAR-10/100-LT, ImageNet-LT, Places-LT, and CelebA-5), the OPeN method consistently outperformed previous state-of-the-art techniques:

  • CIFAR-100-LT: Improved the accuracy of the 20 smallest classes by 13.9% over the baseline and 4.3% over standard oversampling.
  • ImageNet-LT: Achieved 55.1% overall accuracy, surpassing the previous SOTA (MiSLAS) of 53.7%.
  • General Augmentation: OPeN also serves as a general-purpose augmentation tool. On a standard, balanced CIFAR-100 dataset, adding OPeN on top of AutoAugment improved accuracy by 1.5%.

Limitations and Future Directions

While highly effective for minority classes, the authors note that the "noisy gradients" introduced by OPeN can occasionally cause a very slight degradation (less than 2%) in the accuracy of the largest majority classes. Additionally, the method requires tuning a "noise ratio" hyperparameter, though a value of 1/3 proved robust across most datasets.

Looking forward, the DAR-BN architecture could prove to be a powerful tool for other "domain shift" problems, such as training on a mix of synthetic and real-world data where distributions differ but the underlying task remains the same.

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