Papers › Adversarial Examples Improve Image Recognition

Adversarial Examples Improve Image Recognition

21 Nov 2019CVPR 2020 6arXiv:1911.09665archive 2025-07-28

Cihang Xie, Mingxing Tan, Boqing Gong, Jiang Wang, Alan Yuille, Quoc V. Le

Adversarial examples are commonly viewed as a threat to ConvNets. Here we present an opposite perspective: adversarial examples can be used to improve image recognition models if harnessed in the right manner. We propose AdvProp, an enhanced adversarial training scheme which treats adversarial examples as additional examples, to prevent overfitting. Key to our method is the usage of a separate auxiliary batch norm for adversarial examples, as they have different underlying distributions to normal examples. We show that AdvProp improves a wide range of models on various image recognition tasks and performs better when the models are bigger. For instance, by applying AdvProp to the latest EfficientNet-B7 [28] on ImageNet, we achieve significant improvements on ImageNet (+0.7%), ImageNet-C (+6.5%), ImageNet-A (+7.0%), Stylized-ImageNet (+4.8%). With an enhanced EfficientNet-B8, our method achieves the state-of-the-art 85.5% ImageNet top-1 accuracy without extra data. This result even surpasses the best model in [20] which is trained with 3.5B Instagram images (~3000X more than ImageNet) and ~9.4X more parameters. Models are available at https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet.

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="1911.09665")

Code

Syntology Ran 2 of 2 code samples harvested from 1 repository linked to this paper; 0 have no recorded run. Of those that ran: 2 ran · our draft was wrong.

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

tensorflow/tpu officialmentioned in papertfApache-2.0 report
rwightman/pytorch-image-models mentioned 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

2 samples harvested; 2 ran; 0 honoured the contract we drafted; 0 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.

2ran · our draft was wrong

Licence: 0 of the 2 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 tingxueronghua/pytorch-classification-advprop. “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.

label_smoothing_cross_entropy tingxueronghua/pytorch-classification-advprop/imagenet.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 6a259f7cc6738039 · report
plot_overlap tingxueronghua/pytorch-classification-advprop/utils/logger.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 50afa2863ffd9fde · report

Tasks

Domain GeneralizationImage Classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Domain Generalization VizWiz-Classification EfficientNet-B8 (advprop+autoaug) Accuracy - All Images 50.5 #4 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B8 (advprop+autoaug) Accuracy - Clean Images 53.2 #4 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B8 (advprop+autoaug) Accuracy - Corrupted Images 45.8 #4 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B7 (advprop+autoaug) Accuracy - All Images 49.7 #5 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B7 (advprop+autoaug) Accuracy - Clean Images 52 #5 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B7 (advprop+autoaug) Accuracy - Corrupted Images 45 #5 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B6 (advprop+autoaug) Accuracy - All Images 49.6 #6 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B6 (advprop+autoaug) Accuracy - Clean Images 53.2 #6 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B6 (advprop+autoaug) Accuracy - Corrupted Images 44.7 #6 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B5 (advprop+autoaug) Accuracy - All Images 49.1 #7 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B5 (advprop+autoaug) Accuracy - Clean Images 51.7 #7 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B5 (advprop+autoaug) Accuracy - Corrupted Images 44 #7 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B4 (advprop+autoaug) Accuracy - All Images 48.1 #10 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B4 (advprop+autoaug) Accuracy - Clean Images 51.4 #10 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B4 (advprop+autoaug) Accuracy - Corrupted Images 42.5 #10 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B3 (advprop+autoaug) Accuracy - All Images 45.5 #15 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B3 (advprop+autoaug) Accuracy - Clean Images 49.5 #15 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B3 (advprop+autoaug) Accuracy - Corrupted Images 39.8 #15 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B2 (advprop+autoaug) Accuracy - All Images 44.3 #19 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B2 (advprop+autoaug) Accuracy - Clean Images 48 #19 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B2 (advprop+autoaug) Accuracy - Corrupted Images 38.2 #19 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B1 (advprop+autoaug) Accuracy - All Images 42.4 #23 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B1 (advprop+autoaug) Accuracy - Clean Images 46.7 #23 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B1 (advprop+autoaug) Accuracy - Corrupted Images 36.2 #23 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B0 (advprop+autoaug) Accuracy - All Images 40.5 #34 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B0 (advprop+autoaug) Accuracy - Clean Images 44.9 #34 of 90 Archive leaderboard report
Domain Generalization VizWiz-Classification EfficientNet-B0 (advprop+autoaug) Accuracy - Corrupted Images 34.2 #34 of 90 Archive leaderboard report
Image Classification ImageNet AdvProp (EfficientNet-B8) Number of params 88M #224 of 1060 Archive leaderboard report
Image Classification ImageNet AdvProp (EfficientNet-B8) Top 1 Accuracy 85.5% #224 of 1060 Archive leaderboard report
Image Classification ImageNet AdvProp (EfficientNet-B7) Number of params 66M #249 of 1060 Archive leaderboard report
Image Classification ImageNet AdvProp (EfficientNet-B7) Top 1 Accuracy 85.2% #249 of 1060 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

Introduced by this paper: AdvProp, Auxiliary Batch Normalization

1x1 ConvolutionAdvPropAutoAugmentAuxiliary Batch NormalizationAverage PoolingBatch NormalizationColorJitterConvolutionCutoutDense ConnectionsDepthwise ConvolutionDepthwise Separable ConvolutionDropoutEfficientNetInverted Residual BlockLSTMPointwise ConvolutionRMSPropReLUSigmoid ActivationSqueeze-and-Excitation BlockTanh ActivationWeight Decay

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