Papers › A New Kind of Adversarial Example: Measuring the Human-Model Gap, and Its Relationship...

A New Kind of Adversarial Example: Measuring the Human-Model Gap, and Its Relationship to OOD Detection

22 Jul 2026arXiv:2607.22722added by Syntology

Ali Borji

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Almost all adversarial attacks add an imperceptible perturbation to fool a model. We instead study the opposite: a large, clearly visible perturbation that causes the model to keep its original, correct prediction, even though a human would no longer recognize the image. Prior work showed such examples can be generated at scale but left three questions untested: whether humans really perform worse than the model, whether standard out-of-distribution (OOD) detection and calibration tools catch it, and whether existing defenses mitigate it. We answer all three on MNIST, CIFAR-10, and ImageNet. (i) An independent recognizer proxy drops to ~49% on CIFAR-10 while the model stays at 100% -- a gap a small human pilot (N=5) corroborates directly and that is not explained by signal loss (a matched-magnitude Gaussian control degrades recognizability faster); a CLIP zero-shot proxy confirms the gap at ImageNet scale too. (ii) Confidence- and energy-based OOD detectors and calibration are structurally blind (0% detection, ECE ~= 0), while a feature-space Mahalanobis detector flags 100% -- but is evaded by an adaptive attacker at no cost to success. (iii) No classical defense, including adversarial training (45% robust accuracy), reduces attack success (correlation with large-epsilon_l resistance r ~= 0). A mechanistic analysis further shows the attack destroys low-level texture far faster than edge/shape structure.

PaperPDFCode Syntology ran

In Syntology 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="2607.22722")

Code

Syntology Ran 0 of 20 code samples harvested from 1 repository linked to this paper; 20 have no recorded run.

By repository: found in paper text by Syntology: 20 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

alikayyam/NKE_attack found in paper text by Syntology report

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

20 samples harvested; 0 ran; 0 honoured the contract we drafted; 20 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.

20unverified

Licence: 20 of the 20 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 alikayyam/NKE_attack. “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.

ablation_sweeps alikayyam/NKE_attack/nke/exp_baseline.py found in paper text by Syntology unverified no licence file found · pointer only · f1ed7dd6932fb89a · report
build alikayyam/NKE_attack/nke/models.py found in paper text by Syntology unverified no licence file found · pointer only · 641c44fd42c8bef1 · report
build_defense alikayyam/NKE_attack/nke/defenses.py found in paper text by Syntology unverified no licence file found · pointer only · cc807c8dad3e7053 · report
build_stimset alikayyam/NKE_attack/nke/attackset.py found in paper text by Syntology unverified no licence file found · pointer only · cfc6eb6e202602f8 · report
cache_path alikayyam/NKE_attack/nke/attackset.py found in paper text by Syntology unverified no licence file found · pointer only · c6dcff49e6382f5d · report
classical_pgd alikayyam/NKE_attack/nke/attack.py found in paper text by Syntology unverified no licence file found · pointer only · e8826cc484c15cc5 · report
correctly_classified alikayyam/NKE_attack/nke/imagenet_ext.py found in paper text by Syntology unverified no licence file found · pointer only · 6ad5a046d97de9b6 · report
cross_model_matrix alikayyam/NKE_attack/nke/exp_baseline.py found in paper text by Syntology unverified no licence file found · pointer only · 776f97ed00c4a7d1 · report
evaluate alikayyam/NKE_attack/nke/train_models.py found in paper text by Syntology unverified no licence file found · pointer only · b01a310cedec5a0a · report
get_dataset alikayyam/NKE_attack/nke/data.py found in paper text by Syntology unverified no licence file found · pointer only · ca186e19df2331a7 · report
get_loader alikayyam/NKE_attack/nke/data.py found in paper text by Syntology unverified no licence file found · pointer only · 124f18256cea5d08 · report
get_ood_dataset alikayyam/NKE_attack/nke/data.py found in paper text by Syntology unverified no licence file found · pointer only · 24b22d11bb99fabd · report
label_kept alikayyam/NKE_attack/nke/imagenet_ext.py found in paper text by Syntology unverified no licence file found · pointer only · ec6189721421f6e2 · report
load alikayyam/NKE_attack/nke/models.py found in paper text by Syntology unverified no licence file found · pointer only · 8aa78af142634e04 · report
nke_attack alikayyam/NKE_attack/nke/attack.py found in paper text by Syntology unverified no licence file found · pointer only · 02b19ee93eaa212a · report
robust_acc_classical alikayyam/NKE_attack/nke/exp_defenses.py found in paper text by Syntology unverified no licence file found · pointer only · 9d48ca2ce82f2568 · report
run alikayyam/NKE_attack/nke/exp_baseline.py found in paper text by Syntology unverified no licence file found · pointer only · 638f699f612be226 · report
run alikayyam/NKE_attack/nke/exp_defenses.py found in paper text by Syntology unverified no licence file found · pointer only · 85a9df192b60265a · report
run_variant alikayyam/NKE_attack/nke/attack.py found in paper text by Syntology unverified no licence file found · pointer only · bcd1433ae7fce697 · report
train_one alikayyam/NKE_attack/nke/train_models.py found in paper text by Syntology unverified no licence file found · pointer only · 2d39802415b332ce · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2607.22722, was issued in July 2026, after that date, so the archive has no leaderboard rows for it.

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