Adversarial AutoMixup

Huafeng Qin, Xin Jin, Yun Jiang, Mounîm A. El-Yacoubi, Xinbo Gao
2/12/2026

No official code found. Best implementation: Westlake-AI/openmixup (657 stars, Apache-2.0, PyTorch, last commit 2025-10-15). 1 more below.

Abstract

Data mixing augmentation has been widely applied to improve the generalization ability of deep neural networks. Recently, offline data mixing augmentation, e.g. handcrafted and saliency information-based mixup, has been gradually replaced by automatic mixing approaches. Through minimizing two sub-tasks, namely, mixed sample generation and mixup classification in an end-to-end way, AutoMix significantly improves accuracy on image classification tasks. However, as the optimization objective is consistent for the two sub-tasks, this approach is prone to generating consistent instead of diverse mixed samples, which results in overfitting for target task training. In this paper, we propose AdAutomixup, an adversarial automatic mixup augmentation approach that generates challenging samples to train a robust classifier for image classification, by alternatively optimizing the classifier and the mixup sample generator. AdAutomixup comprises two modules, a mixed example generator, and a target classifier. The mixed sample generator aims to produce hard mixed examples to challenge the target classifier, while the target classifier's aim is to learn robust features from hard mixed examples to improve generalization. To prevent the collapse of the inherent meanings of images, we further introduce an exponential moving average (EMA) teacher and cosine similarity to train AdAutomixup in an end-to-end way. Extensive experiments on seven image benchmarks consistently prove that our approach outperforms the state of the art in various classification scenarios. The source code is available at https://github.com/JinXins/Adversarial-AutoMixup.

View on arXivView PDF

Code Implementations(2)

PyTorchApache-2.0

CAIRI Supervised, Semi- and Self-Supervised Visual Representation Learning Toolbox and Benchmark

65762Shell, PythonDec 30, 20211 years agoApache-2.0
automixawesome-listawesome-mimawesome-mixupbenchmark+13 more
PyTorchApache-2.0

Official PyTorch(MMCV) implementation of “Adversarial AutoMixup” (ICLR 2024 spotlight)

715PythonNov 24, 20231 years agoApache-2.0
cars196classificationcomputer-visionconvolutional-neural-networkscorruption+4 more

Similar Papers

Cite this paper

@article{qin2026adversarial,
  title  = {Adversarial AutoMixup},
  author = {Huafeng Qin and Xin Jin and Yun Jiang and Mounîm A. El-Yacoubi and Xinbo Gao},
  year   = {2026},
  eprint = {2312.11954},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.11954},
  journal = {ICLR 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/2312.11954.svg)](https://codeofpaper.com/paper/2312.11954)

Discussion