SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.06668 · CVPR · 2024

PeerAiD: Improving Adversarial Distillation from a Specialized Peer Tutor

Jinho Lee, Jaewon Jung, Hongsun Jang, Jaeyong Song

arXiv · PDF · Open in the Atlas

Code that ran

7 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 4 failures of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2403.06668.json · badge: /api/ran/2403.06668.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
jaewonalive/peeraid canonical (classifier label)
classifier basis: census
6 ran · 4 no recorded run
jaewonalive/PeerAiD community
Papers with Code archive
1 ran · 0 no recorded run
FunctionStatusWhere it lives
LinfPeerAttack Ran
ran on a synthesized input · constructed an object; no result was computed
jaewonalive/PeerAiD/attack_function.py
pointer only (licence: GPL-3.0) · get_code("2cde128a4ba0c4b0")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, jaewonalive/PeerAiD, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ResNet18 Ran
ran; our contract draft was wrong, not the code
jaewonalive/peeraid/models/resnet.py
pointer only (licence: GPL-3.0) · get_code("e3684407a46e11eb")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, jaewonalive/peeraid, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ResNet34 Ran
ran; our contract draft was wrong, not the code
jaewonalive/peeraid/models/resnet.py
pointer only (licence: GPL-3.0) · get_code("d6b55f16ed793757")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, jaewonalive/peeraid, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ResNet50 Ran
ran; our contract draft was wrong, not the code
jaewonalive/peeraid/models/resnet.py
pointer only (licence: GPL-3.0) · get_code("650b60044e129f71")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, jaewonalive/peeraid, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

evaluate_adversary Ran
ran, honoured the contract we drafted
jaewonalive/peeraid/attack_function.py
pointer only (licence: GPL-3.0) · get_code("8b7cd4fa2cf72d2e")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, jaewonalive/peeraid, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_transform Ran
ran; our contract draft was wrong, not the code
jaewonalive/peeraid/datasets/datasets.py
pointer only (licence: GPL-3.0) · get_code("171db828e58bdeb1")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, jaewonalive/peeraid, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pil_loader Ran
ran, honoured the contract we drafted
jaewonalive/peeraid/robustbench/loaders.py
pointer only (licence: GPL-3.0) · get_code("f321f54723433661")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, jaewonalive/peeraid, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

accimage_loader Not yet run
unverified (harvested, no recorded run)
jaewonalive/peeraid/robustbench/loaders.py
pointer only (licence: GPL-3.0); the stored copy get_code serves, from RobustBench/robustbench, is pointer only (licence: NOASSERTION) · get_code("404fb2b2daa1ae78")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, jaewonalive/peeraid, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_dataset Not yet run
unverified (harvested, no recorded run)
jaewonalive/peeraid/datasets/datasets.py
pointer only (licence: GPL-3.0) · get_code("504291361960acd9")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, jaewonalive/peeraid, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_svhn Not yet run
unverified (harvested, no recorded run)
jaewonalive/peeraid/robustbench/data.py
pointer only (licence: GPL-3.0) · get_code("8d9e76d7ac58c516")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, jaewonalive/peeraid, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

make_custom_dataset Not yet run
unverified (harvested, no recorded run)
jaewonalive/peeraid/robustbench/loaders.py
pointer only (licence: GPL-3.0); the stored copy get_code serves, from RobustBench/robustbench, is pointer only (licence: NOASSERTION) · get_code("c4c57c3f5b63ae66")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, jaewonalive/peeraid, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
pil_loader 66 other papers
44 dated earlier, 20 later, 2 same year, order not determinable
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
and 63 more not named here
accimage_loader 39 other papers
24 dated earlier, 13 later, 2 same year, order not determinable
1702.00758 (2017-02)
HashNet: Deep Learning to Hash by Continuation
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
1805.00907 (2018-05)
Glow: Graph Lowering Compiler Techniques for Neural Networks
and 36 more not named here
make_custom_dataset 2 other papers
1 dated earlier, 1 later
2306.09844 (2023-06)
Wasserstein distributional robustness of neural networks
2606.21488 (2026-06)
Robustness Cannot be Reduced to Regularization: Studying Adversarial Training Beyond the Linear Case

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2403.06668")
get_code_for_paper("2403.06668")
have("2403.06668")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2403.06668.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2403.06668.svg)](https://syntology.ai/paper/2403.06668)

Connect an agent — have() is free.