Papers › Testing Robustness Against Unforeseen Adversaries

Testing Robustness Against Unforeseen Adversaries

21 Aug 2019arXiv:1908.08016archive 2025-07-28

Max Kaufmann, Daniel Kang, Yi Sun, Steven Basart, Xuwang Yin, Mantas Mazeika, Akul Arora, Adam Dziedzic, Franziska Boenisch, Tom Brown, Jacob Steinhardt, Dan Hendrycks

Adversarial robustness research primarily focuses on L_p perturbations, and most defenses are developed with identical training-time and test-time adversaries. However, in real-world applications developers are unlikely to have access to the full range of attacks or corruptions their system will face. Furthermore, worst-case inputs are likely to be diverse and need not be constrained to the L_p ball. To narrow in on this discrepancy between research and reality we introduce ImageNet-UA, a framework for evaluating model robustness against a range of unforeseen adversaries, including eighteen new non-L_p attacks. To perform well on ImageNet-UA, defenses must overcome a generalization gap and be robust to a diverse attacks not encountered during training. In extensive experiments, we find that existing robustness measures do not capture unforeseen robustness, that standard robustness techniques are beat by alternative training strategies, and that novel methods can improve unforeseen robustness. We present ImageNet-UA as a useful tool for the community for improving the worst-case behavior of machine learning systems.

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

Code

Syntology Ran 3 of 18 code samples harvested from 2 repositories linked to this paper; 15 have no recorded run. Of those that ran: 1 ran · violated contract; 2 ran · our draft was wrong.

By repository: official repository: 17 samples from 2 repositories, 2 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

centerforaisafety/adversarial-corruptions officialmentioned in papermentioned on GitHubpytorch report
ddkang/advex-uar officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
gatheluck/Stronghold mentioned on GitHubpytorch 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; 3 ran; 0 honoured the contract we drafted; 15 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 · violated contract
2ran · our draft was wrong
15unverified

Licence: 3 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 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

normalize_l2 centerforaisafety/adversarial-corruptions/attacks/attacks.py official repository ran · violated contract fingerprinted no licence file found · pointer only · c1e43d48e3be5a73 · report
tensor_clamp_l2 centerforaisafety/adversarial-corruptions/attacks/attacks.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 0cf0b2e3ac7eb3ab · report
compute_uar ddkang/advex-uar/advex_uar/analysis/compute_uar.py official repository unverified Apache-2.0 (permissive) · 397083ca14c129e6 · report
fog_creator ddkang/advex-uar/advex_uar/attacks/fog.py official repository unverified Apache-2.0 (permissive) · 6b64dfab81078b74 · report
get_attack ddkang/advex-uar/advex_uar/analysis/compute_ata.py official repository unverified Apache-2.0 (permissive) · ae65e44ca288d223 · report
get_attack_types ddkang/advex-uar/advex_uar/analysis/compute_uar.py official repository unverified Apache-2.0 (permissive) · 5b9cee62b4db0aa5 · report
get_attacks ddkang/advex-uar/advex_uar/analysis/compute_ata.py official repository unverified Apache-2.0 (permissive) · a5fe600c6f90a29e · report
get_defense_run_ids ddkang/advex-uar/advex_uar/analysis/compute_uar.py official repository unverified Apache-2.0 (permissive) · 8cfbe3915f54e09f · report
get_eps_params ddkang/advex-uar/advex_uar/attacks/attacks.py official repository unverified Apache-2.0 (permissive) · d611a25ed152d734 · report
get_gabor ddkang/advex-uar/advex_uar/attacks/gabor.py official repository unverified Apache-2.0 (permissive) · 2c107ae31d213cb3 · report
get_imagenet_params ddkang/advex-uar/advex_uar/attacks/attacks.py official repository unverified Apache-2.0 (permissive) · c6dc9d5916f95448 · report
normalize ddkang/advex-uar/advex_uar/attacks/gabor.py official repository unverified Apache-2.0 (permissive) · 68e2adcd4a226d1f · report
parse_logs ddkang/advex-uar/advex_uar/analysis/compute_ata.py official repository unverified Apache-2.0 (permissive) · 4195644f8fd630c7 · report
rgb_to_ycbcr ddkang/advex-uar/advex_uar/attacks/jpeg.py official repository unverified Apache-2.0 (permissive) · f377568c1b1b92e8 · report
rgb_to_ycbcr_jpeg ddkang/advex-uar/advex_uar/attacks/jpeg.py official repository unverified Apache-2.0 (permissive) · 76d91377101614b7 · report
tensordot_pytorch ddkang/advex-uar/advex_uar/attacks/jpeg.py official repository unverified Apache-2.0 (permissive) · 4b0cb77b372f4eef · report
valid_position ddkang/advex-uar/advex_uar/attacks/gabor.py official repository unverified Apache-2.0 (permissive) · 603ca4e51314b267 · report
tensor_clamp identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 5b640b32a444ae38 · report

Tasks

Adversarial DefenseAdversarial 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