SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.22722 · 2026

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

Ali Borji

arXiv · PDF

Code that ran

None of the 20 samples (functions and classes) lifted from this paper's linked repositories has a recorded run on a synthesized input (20 no recorded run), measured 2026-11-23; 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/2607.22722.json · badge: /api/ran/2607.22722.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
alikayyam/NKE_attack canonical (classifier label)
classifier basis: census
0 ran · 20 no recorded run
FunctionStatusWhere it lives
ablation_sweeps Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/exp_baseline.py
pointer only (licence: NONE) · get_code("f1ed7dd6932fb89a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

build Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/models.py
pointer only (licence: NONE) · get_code("641c44fd42c8bef1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

build_defense Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/defenses.py
pointer only (licence: NONE) · get_code("cc807c8dad3e7053")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

build_stimset Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/attackset.py
pointer only (licence: NONE) · get_code("cfc6eb6e202602f8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

cache_path Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/attackset.py
pointer only (licence: NONE) · get_code("c6dcff49e6382f5d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

classical_pgd Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/attack.py
pointer only (licence: NONE) · get_code("e8826cc484c15cc5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

correctly_classified Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/imagenet_ext.py
pointer only (licence: NONE) · get_code("6ad5a046d97de9b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

cross_model_matrix Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/exp_baseline.py
pointer only (licence: NONE) · get_code("776f97ed00c4a7d1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

evaluate Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/train_models.py
pointer only (licence: NONE) · get_code("b01a310cedec5a0a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

get_dataset Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/data.py
pointer only (licence: NONE) · get_code("ca186e19df2331a7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

get_loader Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/data.py
pointer only (licence: NONE) · get_code("124f18256cea5d08")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

get_ood_dataset Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/data.py
pointer only (licence: NONE) · get_code("24b22d11bb99fabd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

label_kept Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/imagenet_ext.py
pointer only (licence: NONE) · get_code("ec6189721421f6e2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

load Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/models.py
pointer only (licence: NONE) · get_code("8aa78af142634e04")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

nke_attack Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/attack.py
pointer only (licence: NONE) · get_code("02b19ee93eaa212a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

robust_acc_classical Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/exp_defenses.py
pointer only (licence: NONE) · get_code("9d48ca2ce82f2568")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

run Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/exp_baseline.py
pointer only (licence: NONE) · get_code("638f699f612be226")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

run Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/exp_defenses.py
pointer only (licence: NONE) · get_code("85a9df192b60265a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

run_variant Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/attack.py
pointer only (licence: NONE) · get_code("bcd1433ae7fce697")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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.

train_one Not yet run
unverified (harvested, no recorded run)
alikayyam/NKE_attack/nke/train_models.py
pointer only (licence: NONE) · get_code("2d39802415b332ce")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alikayyam/NKE_attack 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 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 20 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.

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

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

For agents

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

get_harvested_code_for_paper("2607.22722")
get_code_for_paper("2607.22722")
have("2607.22722")

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

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

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

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

Connect an agent — have() is free.