Papers › Adversarial Attacks are Reversible with Natural Supervision

Adversarial Attacks are Reversible with Natural Supervision

26 Mar 2021ICCV 2021 10arXiv:2103.14222archive 2025-07-28

Chengzhi Mao, Mia Chiquier, Hao Wang, Junfeng Yang, Carl Vondrick

We find that images contain intrinsic structure that enables the reversal of many adversarial attacks. Attack vectors cause not only image classifiers to fail, but also collaterally disrupt incidental structure in the image. We demonstrate that modifying the attacked image to restore the natural structure will reverse many types of attacks, providing a defense. Experiments demonstrate significantly improved robustness for several state-of-the-art models across the CIFAR-10, CIFAR-100, SVHN, and ImageNet datasets. Our results show that our defense is still effective even if the attacker is aware of the defense mechanism. Since our defense is deployed during inference instead of training, it is compatible with pre-trained networks as well as most other defenses. Our results suggest deep networks are vulnerable to adversarial examples partly because their representations do not enforce the natural structure of images.

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

Code

Syntology Ran 6 of 13 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 5 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cvlab-columbia/SelfSupDefense officialmentioned in paperpytorchApache-2.0 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

13 samples harvested; 6 ran; 0 honoured the contract we drafted; 7 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
5ran
7unverified

Licence: 0 of the 13 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 cvlab-columbia/SelfSupDefense. “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.

L1_projection cvlab-columbia/SelfSupDefense/AAattack/autopgd_base.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 7325c49fd8c6a7d2 · report
PreActResNet18 cvlab-columbia/SelfSupDefense/learning/preactresnet.py official repository ran Apache-2.0 (permissive) · 1153837ba4a94242 · report
pad cvlab-columbia/SelfSupDefense/utils.py official repository ran Apache-2.0 (permissive) · 1e0eb41fc8899d05 · report
projection_l1 cvlab-columbia/SelfSupDefense/AAattack/fab_projections.py official repository ran fingerprinted Apache-2.0 (permissive) · 9647e1400ee744e4 · report
projection_l2 cvlab-columbia/SelfSupDefense/AAattack/fab_projections.py official repository ran fingerprinted Apache-2.0 (permissive) · a345677b413ef5ca · report
projection_linf cvlab-columbia/SelfSupDefense/AAattack/fab_projections.py official repository ran fingerprinted Apache-2.0 (permissive) · b8bdb6e496b4b5fa · report
PreActResNet18Mhead cvlab-columbia/SelfSupDefense/learning/preactresnet.py official repository unverified Apache-2.0 (permissive) · d043e79456d2e240 · report
PreActResNet18SSL cvlab-columbia/SelfSupDefense/learning/preactresnet.py official repository unverified Apache-2.0 (permissive) · 25f994ffc02d5ca9 · report
clamp cvlab-columbia/SelfSupDefense/cifar10_defense.py official repository unverified Apache-2.0 (permissive) · 8a93e041134b597a · report
getDictImageNetClasses cvlab-columbia/SelfSupDefense/utils.py official repository unverified Apache-2.0 (permissive) · 3bb1c5ca33fbb118 · report
normal_guassian_normalize cvlab-columbia/SelfSupDefense/cifar10_defense.py official repository unverified Apache-2.0 (permissive) · 86fba5d0611cc5ae · report
normalise cvlab-columbia/SelfSupDefense/utils.py official repository unverified Apache-2.0 (permissive) · d2a4ac781b2a9628 · report
normalize cvlab-columbia/SelfSupDefense/cifar10_defense.py official repository unverified Apache-2.0 (permissive) · 464c263f3a828a31 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AWARE

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