IPMix: Label-Preserving Data Augmentation Method for Training Robust Classifiers

Zhenglin Huang, Xianan Bao, Na Zhang, Qingqi Zhang, Xiaomei Tu +2 more
2/12/2026

No official code found. Best implementation: hzlsaber/IPMix (15 stars, MIT, last commit 2024-05-07).

Abstract

Data augmentation has been proven effective for training high-accuracy convolutional neural network classifiers by preventing overfitting. However, building deep neural networks in real-world scenarios requires not only high accuracy on clean data but also robustness when data distributions shift. While prior methods have proposed that there is a trade-off between accuracy and robustness, we propose IPMix, a simple data augmentation approach to improve robustness without hurting clean accuracy. IPMix integrates three levels of data augmentation (image-level, patch-level, and pixel-level) into a coherent and label-preserving technique to increase the diversity of training data with limited computational overhead. To further improve the robustness, IPMix introduces structural complexity at different levels to generate more diverse images and adopts the random mixing method for multi-scale information fusion. Experiments demonstrate that IPMix outperforms state-of-the-art corruption robustness on CIFAR-C and ImageNet-C. In addition, we show that IPMix also significantly improves the other safety measures, including robustness to adversarial perturbations, calibration, prediction consistency, and anomaly detection, achieving state-of-the-art or comparable results on several benchmarks, including ImageNet-R, ImageNet-A, and ImageNet-O.

View on arXivView PDF

Code Implementations(1)

hzlsaber/IPMixCommunity100%
MIT

The offical repository of "IPMix: Label-Preserving Data Augmentation Method for Training Robust Classifiers"

151PythonOct 9, 20232 years agoMIT

Similar Papers

Cite this paper

@article{huang2026ipmix,
  title  = {IPMix: Label-Preserving Data Augmentation Method for Training Robust Classifiers},
  author = {Zhenglin Huang and Xianan Bao and Na Zhang and Qingqi Zhang and Xiaomei Tu and Biao Wu and Xi Yang},
  year   = {2026},
  eprint = {2310.04780},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.04780},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.04780.svg)](https://codeofpaper.com/paper/2310.04780)

Discussion