SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1905.09747 · 2019

Adversarially Robust Distillation

arXiv · PDF · Open in the Atlas

Code that ran

6 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 0 no recorded run), measured 2026-11-22; 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/1905.09747.json · badge: /api/ran/1905.09747.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
goldblum/AdversariallyRobustDistillation canonical (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
3 ran · 0 no recorded run
FunctionStatusWhere it lives
ResNet18 Ran
ran; our contract draft was wrong, not the code
goldblum/AdversariallyRobustDistillation/models/resnet.py
code served (permissive licence) · get_code("d92ef68ca445d801")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ResNet. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "num_classes": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ResNet — a ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ResNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ResNet34 Ran
ran; our contract draft was wrong, not the code
goldblum/AdversariallyRobustDistillation/models/resnet.py
code served (permissive licence) · get_code("9aac0eec28d31210")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ResNet. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "num_classes": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ResNet — a ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ResNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ResNet50 Ran
ran; our contract draft was wrong, not the code
goldblum/AdversariallyRobustDistillation/models/resnet.py
code served (permissive licence) · get_code("fbee4d09475f9bc3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ResNet. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'num_classes': 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ResNet — a ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ResNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
attack_pgd Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from zibojia/rslad
pointer only · get_code("57555b28180e36f9")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

kl_loss Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from zibojia/rslad
pointer only · get_code("9960f247d801fa2a")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

rslad_inner_loss Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from zibojia/rslad
pointer only · get_code("d4a9a69d1dba912f")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 6 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 6 later) and 0 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
ResNet18 7 other papers
1 dated earlier, 6 later
1807.06906 (2018-07)
Towards Automated Deep Learning: Efficient Joint Neural Architecture and Hyperparameter Search
2011.03083 (2020-11)
A Tunable Robust Pruning Framework Through Dynamic Network Rewiring of DNNs
2106.04928 (2021-06)
Reliable Adversarial Distillation with Unreliable Teachers
and 4 more not named here
ResNet34 3 other papers
1 dated earlier, 2 later
1807.06906 (2018-07)
Towards Automated Deep Learning: Efficient Joint Neural Architecture and Hyperparameter Search
2106.04928 (2021-06)
Reliable Adversarial Distillation with Unreliable Teachers
2312.13555 (2023-12)
CR-SAM: Curvature Regularized Sharpness-Aware Minimization
ResNet50 3 other papers
3 later
2106.04928 (2021-06)
Reliable Adversarial Distillation with Unreliable Teachers
2201.13329 (2022-01)
Can Adversarial Training Be Manipulated By Non-Robust Features?
2312.13555 (2023-12)
CR-SAM: Curvature Regularized Sharpness-Aware Minimization
kl_loss 3 other papers
1 dated earlier, 2 later
1706.06083 (2017-06)
Towards Deep Learning Models Resistant to Adversarial Attacks
2108.07969 (2021-08)
Revisiting Adversarial Robustness Distillation: Robust Soft Labels Make Student Better
2306.16170 (2023-06)
Mitigating Accuracy-Robustness Trade-off via Balanced Multi-Teacher Adversarial Distillation
attack_pgd 2 other papers
1 dated earlier, 1 later
1706.06083 (2017-06)
Towards Deep Learning Models Resistant to Adversarial Attacks
2108.07969 (2021-08)
Revisiting Adversarial Robustness Distillation: Robust Soft Labels Make Student Better
rslad_inner_loss 2 other papers
1 dated earlier, 1 later
1706.06083 (2017-06)
Towards Deep Learning Models Resistant to Adversarial Attacks
2108.07969 (2021-08)
Revisiting Adversarial Robustness Distillation: Robust Soft Labels Make Student Better

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-22.

Repositories linked to this paper

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

Abstract

Knowledge distillation is effective for producing small, high-performance neural networks for classification, but these small networks are vulnerable to adversarial attacks. This paper studies how adversarial robustness transfers from teacher to student during knowledge distillation. We find that a large amount of robustness may be inherited by the student even when distilled on only clean images. Second, we introduce Adversarially Robust Distillation (ARD) for distilling robustness onto student networks. In addition to producing small models with high test accuracy like conventional distillation, ARD also passes the superior robustness of large networks onto the student. In our experiments, we find that ARD student models decisively outperform adversarially trained networks of identical architecture in terms of robust accuracy, surpassing state-of-the-art methods on standard robustness benchmarks. Finally, we adapt recent fast adversarial training methods to ARD for accelerated robust distillation.

For agents

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

get_harvested_code_for_paper("1905.09747")
get_code_for_paper("1905.09747")
have("1905.09747")

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

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

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

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

Connect an agent — have() is free.