OpenMixup: Open Mixup Toolbox and Benchmark for Visual Representation Learning

Siyuan Li, Zedong Wang, Zicheng Liu, Juanxi Tian, Di Wu +3 more
9/11/2022
cs.CV
benchmark-dataset

Official code: Westlake-AI/openmixup (657 stars, Python, Apache-2.0, PyTorch, last commit 2025-10-15).

Abstract

Mixup augmentation has emerged as a widely used technique for improving the generalization ability of deep neural networks (DNNs). However, the lack of standardized implementations and benchmarks has impeded recent progress, resulting in poor reproducibility, unfair comparisons, and conflicting insights.

Show full abstract

In this paper, we introduce OpenMixup, the first mixup augmentation codebase, and benchmark for visual representation learning. Specifically, we train 18 representative mixup baselines from scratch and rigorously evaluate them across 11 image datasets of varying scales and granularity, ranging from fine-grained scenarios to complex non-iconic scenes. We also open-source our modular codebase, including a collection of popular vision backbones, optimization strategies, and analysis toolkits, which not only supports the benchmarking but enables broader mixup applications beyond classification, such as self-supervised learning and regression tasks. Through experiments and empirical analysis, we gain observations and insights on mixup performance-efficiency trade-offs, generalization, and optimization behaviors, and thereby identify preferred choices for different needs. To the best of our knowledge, OpenMixup has facilitated several recent studies. We believe this work can further advance reproducible mixup augmentation research and thereby lay a solid ground for future progress in the community. The source code and user documents are available at \url{https://github.com/Westlake-AI/openmixup}.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

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

65762Python, ShellDec 30, 20211 years agoApache-2.0
automixawesome-listawesome-mimawesome-mixupbenchmark+13 more

Similar Papers

Cite this paper

@article{li2022openmixup,
  title  = {OpenMixup: Open Mixup Toolbox and Benchmark for Visual Representation Learning},
  author = {Siyuan Li and Zedong Wang and Zicheng Liu and Juanxi Tian and Di Wu and Cheng Tan and Weiyang Jin and Stan Z. Li},
  year   = {2022},
  eprint = {2209.04851},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.04851}
}

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/2209.04851.svg)](https://codeofpaper.com/paper/2209.04851)

Discussion