Papers › Adversarial Training on Purification (AToP): Advancing Both Robustness and Generalization

Adversarial Training on Purification (AToP): Advancing Both Robustness and Generalization

29 Jan 2024arXiv:2401.16352archive 2025-07-28

Guang Lin, Chao Li, Jianhai Zhang, Toshihisa Tanaka, Qibin Zhao

The deep neural networks are known to be vulnerable to well-designed adversarial attacks. The most successful defense technique based on adversarial training (AT) can achieve optimal robustness against particular attacks but cannot generalize well to unseen attacks. Another effective defense technique based on adversarial purification (AP) can enhance generalization but cannot achieve optimal robustness. Meanwhile, both methods share one common limitation on the degraded standard accuracy. To mitigate these issues, we propose a novel pipeline to acquire the robust purifier model, named Adversarial Training on Purification (AToP), which comprises two components: perturbation destruction by random transforms (RT) and purifier model fine-tuned (FT) by adversarial loss. RT is essential to avoid overlearning to known attacks, resulting in the robustness generalization to unseen attacks, and FT is essential for the improvement of robustness. To evaluate our method in an efficient and scalable way, we conduct extensive experiments on CIFAR-10, CIFAR-100, and ImageNette to demonstrate that our method achieves optimal robustness and exhibits generalization ability against unseen attacks.

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

Code

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

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

glin2022/atop officialmentioned in paperpytorch 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

18 samples harvested; 14 ran; 1 honoured the contract we drafted; 4 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 · our draft was wrong
2ran · fixture could not drive it
10ran
4unverified

Licence: 18 of the 18 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 glin2022/atop. “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.

adv_loss glin2022/atop/torchattacks_local/stadv.py official repository ran fingerprinted no licence file found · pointer only · 101946f394ff2d40 · report
compute_color glin2022/atop/model/networks.py official repository ran no licence file found · pointer only · fb78a77b5eb800b5 · report
downsample glin2022/atop/classifiers/attribute_classifier.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · a56784666af5bd6d · report
flow_loss glin2022/atop/torchattacks_local/stadv.py official repository ran no licence file found · pointer only · 1704d0e302cf4139 · report
flow_to_image glin2022/atop/model/networks.py official repository ran fingerprinted no licence file found · pointer only · e82ba5f570765085 · report
get_logit glin2022/atop/classifiers/attribute_classifier.py official repository ran · fixture could not drive it no licence file found · pointer only · a59556109795f95c · report
hinge_loss_d glin2022/atop/model/losses.py official repository ran fingerprinted no licence file found · pointer only · 137ebcbb6c6379a2 · report
is_image_file glin2022/atop/utils/data.py official repository ran no licence file found · pointer only · 1fabc732ffcd8750 · report
lerp_clip glin2022/atop/classifiers/attribute_net.py official repository ran no licence file found · pointer only · 195d635db8eb778b · report
ls_loss_d glin2022/atop/model/losses.py official repository ran fingerprinted no licence file found · pointer only · e18af9981db25101 · report
ls_loss_g glin2022/atop/model/losses.py official repository ran fingerprinted no licence file found · pointer only · 24947afc30d8acc3 · report
max_res_from_state_dict glin2022/atop/classifiers/attribute_net.py official repository ran no licence file found · pointer only · d5eb57879ef1704e · report
pil_loader glin2022/atop/utils/data.py official repository ran · honoured contract no licence file found · pointer only · f321f54723433661 · report
wrapper_method glin2022/atop/torchattacks_local/attack.py official repository ran · our draft was wrong no licence file found · pointer only · 9b45cb80d93fe980 · report
flow_st glin2022/atop/torchattacks_local/stadv.py official repository unverified no licence file found · pointer only · 1beef8065a504d20 · report
from_state_dict glin2022/atop/classifiers/attribute_net.py official repository unverified no licence file found · pointer only · 0dd156dfa78cac88 · report
get_softmaxed glin2022/atop/classifiers/attribute_classifier.py official repository unverified no licence file found · pointer only · 6a3bd6aafe71b50e · report
output_to_image glin2022/atop/model/networks.py official repository unverified no licence file found · pointer only · 0303f947b7d3c5d4 · report

Tasks

Adversarial Purification

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