Papers › AutoMix: Unveiling the Power of Mixup for Stronger Classifiers

AutoMix: Unveiling the Power of Mixup for Stronger Classifiers

24 Mar 2021arXiv:2103.13027archive 2025-07-28

Zicheng Liu, Siyuan Li, Di wu, Zihan Liu, ZhiYuan Chen, Lirong Wu, Stan Z. Li

Data mixing augmentation have proved to be effective in improving the generalization ability of deep neural networks. While early methods mix samples by hand-crafted policies (e.g., linear interpolation), recent methods utilize saliency information to match the mixed samples and labels via complex offline optimization. However, there arises a trade-off between precise mixing policies and optimization complexity. To address this challenge, we propose a novel automatic mixup (AutoMix) framework, where the mixup policy is parameterized and serves the ultimate classification goal directly. Specifically, AutoMix reformulates the mixup classification into two sub-tasks (i.e., mixed sample generation and mixup classification) with corresponding sub-networks and solves them in a bi-level optimization framework. For the generation, a learnable lightweight mixup generator, Mix Block, is designed to generate mixed samples by modeling patch-wise relationships under the direct supervision of the corresponding mixed labels. To prevent the degradation and instability of bi-level optimization, we further introduce a momentum pipeline to train AutoMix in an end-to-end manner. Extensive experiments on nine image benchmarks prove the superiority of AutoMix compared with state-of-the-art in various classification scenarios and downstream tasks.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2103.13027")

Code

Syntology Ran 4 of 6 code samples harvested from 2 repositories linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: community (archive-listed): 6 samples from 2 repositories, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Westlake-AI/openmixup officialmentioned in papermentioned on GitHubpytorch report
Westlake-AI/AutoMix mentioned on GitHubpytorch report
zeyuanyin/tiny-imagenet mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

6 samples harvested; 4 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
1ran · fixture could not drive it
2ran
2unverified

Licence: 0 of the 6 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

accuracy zeyuanyin/tiny-imagenet/classification/utils.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 0d95e28fac98427f · report
find_classes zeyuanyin/tiny-imagenet/classification/tiny_imagenet_dataset.py community (archive-listed) ran MIT (permissive) · 403277d0bfbb477b · report
make_dataset zeyuanyin/tiny-imagenet/classification/tiny_imagenet_dataset.py community (archive-listed) ran MIT (permissive) · 5ded0879a886f3c4 · report
store_model_weights zeyuanyin/tiny-imagenet/classification/utils.py community (archive-listed) ran · our draft was wrong MIT (permissive) · aa2ba35b3854fa14 · report
average_checkpoints zeyuanyin/tiny-imagenet/classification/utils.py community (archive-listed) unverified MIT (permissive) · 30862aa4330bfa12 · report
evaluate Westlake-AI/AutoMix/engine.py community (archive-listed) unverified Apache-2.0 (permissive) · 30d82c52aa52dbd7 · report

Tasks

ClassificationData AugmentationGeneral ClassificationImage ClassificationRepresentation Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Classification CIFAR-10 ResNeXt-50 (AutoMix) Percentage correct 97.84 #68 of 265 Archive leaderboard report
Image Classification CIFAR-100 WRN-28-8 +AutoMix Percentage correct 85.16 #67 of 211 Archive leaderboard report
Image Classification CIFAR-100 ResNeXt-50(32x4d) + AutoMix Percentage correct 83.64 #85 of 211 Archive leaderboard report
Image Classification ImageNet ResNet-101 (AutoMix) Number of params 44.6M #671 of 1060 Archive leaderboard report
Image Classification ImageNet ResNet-101 (AutoMix) Top 1 Accuracy 80.98% #671 of 1060 Archive leaderboard report
Image Classification ImageNet ResNet-50 (AutoMix) Number of params 25.6M #767 of 1060 Archive leaderboard report
Image Classification ImageNet ResNet-50 (AutoMix) Top 1 Accuracy 79.25% #767 of 1060 Archive leaderboard report
Image Classification ImageNet ResNet-34 (AutoMix) Number of params 21.8M #925 of 1060 Archive leaderboard report
Image Classification ImageNet ResNet-34 (AutoMix) Top 1 Accuracy 76.1% #925 of 1060 Archive leaderboard report
Image Classification ImageNet ResNet-18 (AutoMix) Number of params 11.7M #1001 of 1060 Archive leaderboard report
Image Classification ImageNet ResNet-18 (AutoMix) Top 1 Accuracy 72.05% #1001 of 1060 Archive leaderboard report
Image Classification Places205 AutoMix (ResNet-50 Supervised) Top 1 Accuracy 64.1 #8 of 15 Archive leaderboard report
Image Classification Tiny ImageNet Classification ResNeXt-50 (AutoMix) Validation Acc 70.72% #15 of 23 Archive leaderboard report
Image Classification Tiny ImageNet Classification ResNet18 (AutoMix) Validation Acc 67.33% #20 of 23 Archive leaderboard report
Image Classification iNaturalist 2018 ResNeXt-101 (AutoMix) Top-1 Accuracy 70.49% #37 of 60 Archive leaderboard report
Image Classification iNaturalist 2018 ResNet-50 (AutoMix) Top-1 Accuracy 64.73% #49 of 60 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AttentionLinear LayerMixupMulti-Head AttentionResidual ConnectionSoftmaxVision Transformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections