SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.13131 · 2023

Scaling Compute Is Not All You Need for Adversarial Robustness

arXiv · PDF · Open in the Atlas

Code that ran

12 of 14 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; 5 honoured the contract we drafted, 2 violated it and 1 has no contract verdict; 4 failures of our instrument; 2 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/2312.13131.json · badge: /api/ran/2312.13131.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
dedeswim/timm-adv-training canonical (classifier label)
classifier basis: census
12 ran · 2 no recorded run
FunctionStatusWhere it lives
count_params Ran
ran, honoured the contract we drafted
dedeswim/timm-adv-training/benchmark.py
pointer only (licence: NONE) · get_code("410bffb8a07b52e3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

check_end_of_training Ran
ran, violated the contract we drafted
dedeswim/timm-adv-training/check_end_of_training.py
pointer only (licence: NONE) · get_code("e35ff2bdc490fe54")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

check_end_of_training Ran
ran, violated the contract we drafted
dedeswim/timm-adv-training/create_csv.py
pointer only (licence: NONE) · get_code("dacaeb0776b0fadb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

conv1x1 Ran
ran; our contract draft was wrong, not the code
dedeswim/timm-adv-training/src/models/adv_resnet.py
pointer only (licence: NONE) · get_code("d9def42110729a85")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

conv3x3 Ran
ran; our contract draft was wrong, not the code
dedeswim/timm-adv-training/src/models/adv_resnet.py
pointer only (licence: NONE) · get_code("160bb14bd76201b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

count_model_parameters Ran
ran, honoured the contract we drafted
dedeswim/timm-adv-training/create_csv.py
pointer only (licence: NONE) · get_code("9ba2e71ff9efea7b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

cuda_timestamp Ran
ran, honoured the contract we drafted
dedeswim/timm-adv-training/benchmark.py
pointer only (licence: NONE) · get_code("50d653ee6a59955c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

float_or_none Ran
ran, honoured the contract we drafted
dedeswim/timm-adv-training/create_csv.py
pointer only (licence: NONE) · get_code("7784f1eaf0ecd721")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

init_linf Ran
ran; our contract draft was wrong, not the code
dedeswim/timm-adv-training/src/attacks.py
pointer only (licence: NONE) · get_code("3120bc13e5c3119a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

project_linf Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dedeswim/timm-adv-training/src/attacks.py
pointer only (licence: NONE) · get_code("d0c7744cdca9dcda")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

summary_row_dict Ran
ran on a synthesized input
dedeswim/timm-adv-training/src/monitor.py
pointer only (licence: NONE) · get_code("bdf711c61b603111")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

timestamp Ran
ran, honoured the contract we drafted
dedeswim/timm-adv-training/benchmark.py
pointer only (licence: NONE) · get_code("475160c5a1a1225a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

init_l2 Not yet run
unverified (harvested, no recorded run)
dedeswim/timm-adv-training/src/attacks.py
pointer only (licence: NONE) · get_code("a4a0d88d7ad50530")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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.

parse_args Not yet run
unverified (harvested, no recorded run)
dedeswim/timm-adv-training/src/arg_parser.py
pointer only (licence: NONE) · get_code("6e589cc8596033c9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dedeswim/timm-adv-training when it was checked. 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 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 2 the same month, 5 later) and 9 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
conv1x1 431 other papers
297 dated earlier, 7 the same month, 118 later, 8 same year, order not determinable, 1 undated · 38 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1506.01186 (2015-06)
Cyclical Learning Rates for Training Neural Networks
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
and 428 more not named here
conv3x3 312 other papers
198 dated earlier, 8 the same month, 98 later, 7 same year, order not determinable, 1 undated · 31 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
and 309 more not named here
count_params 10 other papers
5 dated earlier, 4 later, 1 same year, order not determinable
2108.01390 (2021-08)
Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer
2201.09792 (2022-01)
Patches Are All You Need?
ijcai2023_0106 (2023 (year only))
SWAT: Spatial Structure Within and Among Tokens
and 7 more not named here
cuda_timestamp 10 other papers
5 dated earlier, 4 later, 1 same year, order not determinable
2108.01390 (2021-08)
Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer
2201.09792 (2022-01)
Patches Are All You Need?
ijcai2023_0106 (2023 (year only))
SWAT: Spatial Structure Within and Among Tokens
and 7 more not named here
timestamp 10 other papers
5 dated earlier, 4 later, 1 same year, order not determinable
2108.01390 (2021-08)
Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer
2201.09792 (2022-01)
Patches Are All You Need?
ijcai2023_0106 (2023 (year only))
SWAT: Spatial Structure Within and Among Tokens
and 7 more not named here

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

The last six years have witnessed significant progress in adversarially robust deep learning. As evidenced by the CIFAR-10 dataset category in RobustBench benchmark, the accuracy under $\ell_\infty$ adversarial perturbations improved from 44\% in \citet{Madry2018Towards} to 71\% in \citet{peng2023robust}. Although impressive, existing state-of-the-art is still far from satisfactory. It is further observed that best-performing models are often very large models adversarially trained by industrial labs with significant computational budgets. In this paper, we aim to understand: ``how much longer can computing power drive adversarial robustness advances?" To answer this question, we derive \emph{scaling laws for adversarial robustness} which can be extrapolated in the future to provide an estimate of how much cost we would need to pay to reach a desired level of robustness. We show that increasing the FLOPs needed for adversarial training does not bring as much advantage as it does for standard training in terms of performance improvements. Moreover, we find that some of the top-performing techniques are difficult to exactly reproduce, suggesting that they are not robust enough for minor changes in the training setup. Our analysis also uncovers potentially worthwhile directions to pursue in future research. Finally, we make our benchmarking framework (built on top of \texttt{timm}~\citep{rw2019timm}) publicly available to facilitate future analysis in efficient robust deep learning.

For agents

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

get_harvested_code_for_paper("2312.13131")
get_code_for_paper("2312.13131")
have("2312.13131")

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

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

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

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

Connect an agent — have() is free.