Papers › PeerAiD: Improving Adversarial Distillation from a Specialized Peer Tutor

PeerAiD: Improving Adversarial Distillation from a Specialized Peer Tutor

11 Mar 2024CVPR 2024 1arXiv:2403.06668archive 2025-07-28

Jaewon Jung, Hongsun Jang, Jaeyong Song, Jinho Lee

Adversarial robustness of the neural network is a significant concern when it is applied to security-critical domains. In this situation, adversarial distillation is a promising option which aims to distill the robustness of the teacher network to improve the robustness of a small student network. Previous works pretrain the teacher network to make it robust against the adversarial examples aimed at itself. However, the adversarial examples are dependent on the parameters of the target network. The fixed teacher network inevitably degrades its robustness against the unseen transferred adversarial examples which target the parameters of the student network in the adversarial distillation process. We propose PeerAiD to make a peer network learn the adversarial examples of the student network instead of adversarial examples aimed at itself. PeerAiD is an adversarial distillation that trains the peer network and the student network simultaneously in order to specialize the peer network for defending the student network. We observe that such peer networks surpass the robustness of the pretrained robust teacher model against adversarial examples aimed at the student network. With this peer network and adversarial distillation, PeerAiD achieves significantly higher robustness of the student network with AutoAttack (AA) accuracy by up to 1.66%p and improves the natural accuracy of the student network by up to 4.72%p with ResNet-18 on TinyImageNet dataset. Code is available at https://github.com/jaewonalive/PeerAiD.

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

Code

Syntology Ran 7 of 11 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 6 ran with no contract checked.

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

jaewonalive/peeraid officialmentioned in papermentioned on GitHubpytorchGPL-3.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

11 samples harvested; 7 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
6ran
4unverified

Licence: 11 of the 11 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 jaewonalive/PeerAiD. “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.

LinfPeerAttack jaewonalive/PeerAiD/attack_function.py official repository ran GPL-3.0 (copyleft) · pointer only · 2cde128a4ba0c4b0 · report
ResNet18 jaewonalive/peeraid/models/resnet.py official repository ran GPL-3.0 (copyleft) · pointer only · e3684407a46e11eb · report
ResNet34 jaewonalive/peeraid/models/resnet.py official repository ran GPL-3.0 (copyleft) · pointer only · d6b55f16ed793757 · report
ResNet50 jaewonalive/peeraid/models/resnet.py official repository ran GPL-3.0 (copyleft) · pointer only · 650b60044e129f71 · report
evaluate_adversary jaewonalive/peeraid/attack_function.py official repository ran GPL-3.0 (copyleft) · pointer only · 8b7cd4fa2cf72d2e · report
get_transform jaewonalive/peeraid/datasets/datasets.py official repository ran fingerprinted GPL-3.0 (copyleft) · pointer only · 171db828e58bdeb1 · report
pil_loader jaewonalive/peeraid/robustbench/loaders.py official repository ran · honoured contract GPL-3.0 (copyleft) · pointer only · f321f54723433661 · report
accimage_loader jaewonalive/peeraid/robustbench/loaders.py official repository unverified GPL-3.0 (copyleft) · pointer only · 404fb2b2daa1ae78 · report
get_dataset jaewonalive/peeraid/datasets/datasets.py official repository unverified GPL-3.0 (copyleft) · pointer only · 504291361960acd9 · report
load_svhn jaewonalive/peeraid/robustbench/data.py official repository unverified GPL-3.0 (copyleft) · pointer only · 8d9e76d7ac58c516 · report
make_custom_dataset jaewonalive/peeraid/robustbench/loaders.py official repository unverified GPL-3.0 (copyleft) · pointer only · c4c57c3f5b63ae66 · report

Tasks

Adversarial Robustness

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