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

Easy Batch Normalization

Arip Asadulaev, Alexander Panfilov, Andrey FilchenkovarXiv 2022

Abstract

It was shown that adversarial examples improve object recognition. But what about their opposite side, easy examples? Easy examples are samples that the machine learning model classifies correctly with high confidence. In our paper, we are making the first step toward exploring the potential benefits of using easy examples in the training procedure of neural networks. We propose to use an auxiliary batch normalization for easy examples for the standard and robust accuracy improvement.

Introduction

In deep learning, a persistent challenge is the trade-off between standard accuracy and adversarial robustness. Typically, techniques designed to make a model more resistant to adversarial attacks (robust accuracy) lead to a degradation in performance on clean data (standard accuracy). Recent methods like AdvProp addressed this by using an auxiliary Batch Normalization (BN) layer specifically for "hard" adversarial examples, preventing them from corrupting the statistics of the clean data.

This paper explores the opposite end of the spectrum: Easy Batch Normalization (EBN). While "easy examples"—samples classified correctly with high confidence—are often dismissed as redundant, we hypothesize that they can be leveraged to refine a model's internal representations, helping it map noisy adversarial inputs back to a stable, clean data manifold.

Methodology

To utilize easy examples effectively, we introduce two primary innovations:

  1. Perturbed Easy Examples: Since naturally occurring easy examples are limited, we synthesize them using targeted adversarial attacks in reverse. Instead of finding a perturbation to fool the model, we use the ground truth label as the target to create an image mathematically nudged toward features the model finds highly recognizable.
  2. Easy Batch Normalization (EBN): During training, the model processes original images through a main BN layer and synthesized "easy" images through a separate, auxiliary BN layer.
Visual comparison of synthesized "Easy" examples versus original "Real" images for car and truck classes.

We evaluated EBN on FashionMNIST and CIFAR-10 using ResNet-18 and ResNet-50 architectures, comparing it against standard training and AdvProp (AP).

Results and Discussion

Our experiments demonstrate that EBN consistently matches or exceeds the performance of AdvProp in both standard and robust accuracy.

Standard and Robust Accuracy

On CIFAR-10, ResNet-50 with EBN achieved a standard accuracy of 94.62%, compared to 94.55% for AdvProp. The gains are even more pronounced in robustness benchmarks. On FashionMNIST, under an $l_2$ PGD attack ($\epsilon=0.1$), ResNet-18 with EBN maintained 86.39% accuracy, significantly outperforming AdvProp's 82.82%.

Performance comparison on FashionMNIST across various attack budgets and models, highlighting EBN's robustness gains.

The "Cleaning" Effect

We hypothesize that layers trained on easy examples learn to "clean up" data. When the model encounters a noisy adversarial point, the EBN-trained weights help pull that point back toward the clean data manifold. This is supported by our "stacked" experiment, where models focused almost exclusively on the "easy" portion of a composite image to make predictions, confirming that these features are highly dominant in the model's decision-making process.

Conclusion

Easy Batch Normalization provides a novel pathway to improving model robustness without sacrificing standard accuracy. By reinforcing what the model already recognizes well, EBN helps generalize better across noisy inputs. Future work will focus on scaling these findings to larger datasets like ImageNet and exploring the theoretical implications of the latent space representations formed by easy examples.

Summary updated

BibTeX
@misc{asadulaev2022easy,
  author = {Arip Asadulaev and Alexander Panfilov and Andrey Filchenkov},
  title = {{Easy Batch Normalization}},
  year = {2022},
  eprint = {2207.08940},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.08940},
}
Figure