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

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

7 Oct 2023NeurIPS 2023 11arXiv:2310.04780archive 2025-07-28

Zhenglin Huang, Xiaoan Bao, Na Zhang, Qingqi Zhang, Xiaomei Tu, Biao Wu, Xi Yang

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.

PaperPDFConference PDFCodeCode 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="2310.04780")

Code

Syntology Ran 15 of 17 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 7 ran · our draft was wrong; 6 ran · fixture could not drive it.

By repository: official repository: 16 samples from 1 repository, 14 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hzlsaber/IPMix officialmentioned in papermentioned on GitHubpytorch 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

17 samples harvested; 15 ran; 1 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 · honoured contract
1ran · violated contract
7ran · our draft was wrong
6ran · fixture could not drive it
2unverified

Licence: 1 of the 17 samples is 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 hzlsaber/IPMix. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

add hzlsaber/IPMix/cifar.py official repository ran · fixture could not drive it MIT (permissive) · cbb347ae0777187b · report
get_ab hzlsaber/IPMix/cifar.py official repository ran · honoured contract MIT (permissive) · 6b102ac91e94b5e7 · report
invert hzlsaber/IPMix/cifar.py official repository ran · our draft was wrong MIT (permissive) · 4cebd5ded62dc91a · report
mirror hzlsaber/IPMix/cifar.py official repository ran · fixture could not drive it MIT (permissive) · 68e7d0362ce44040 · report
multiply hzlsaber/IPMix/cifar.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 1c5c42ef4d6b41ed · report
patch_mixing hzlsaber/IPMix/cifar.py official repository ran · our draft was wrong MIT (permissive) · 464e4c4f1f24b52c · report
random_elems hzlsaber/IPMix/cifar.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 198cba22a2041b0b · report
random_pixels hzlsaber/IPMix/cifar.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · f47705e21f50aab3 · report
rotate hzlsaber/IPMix/cifar.py official repository ran · our draft was wrong MIT (permissive) · 6ff6756edee1c9da · report
shear_x hzlsaber/IPMix/cifar.py official repository ran · our draft was wrong MIT (permissive) · 7dbf6f8a2088e9be · report
shear_y hzlsaber/IPMix/cifar.py official repository ran · our draft was wrong MIT (permissive) · ca2d43eb1a8c083f · report
train hzlsaber/ipmix/imagenet.py official repository ran · fixture could not drive it MIT (permissive) · 7914dbaf0adf4d57 · report
translate_x hzlsaber/IPMix/cifar.py official repository ran · our draft was wrong MIT (permissive) · d33ba26b62d93326 · report
translate_y hzlsaber/IPMix/cifar.py official repository ran · our draft was wrong MIT (permissive) · 0e7f36bd010453cf · report
augment_input hzlsaber/IPMix/cifar.py official repository unverified MIT (permissive) · d79fa91500ab0018 · report
ipmix hzlsaber/IPMix/cifar.py official repository unverified MIT (permissive) · 4eb2047e53db0d50 · report
get_lr identical code first harvested elsewhere ran · violated contract fingerprinted licence of this copy not recorded · 190117b425ab9fe1 · report

Tasks

Anomaly DetectionData AugmentationDiversity

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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