{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2607-22722","title":"A New Kind of Adversarial Example: Measuring the Human-Model Gap, and Its Relationship to OOD Detection","arxiv_id":"2607.22722","date":"2026-07-22","proceeding":null,"authors":["Ali Borji"],"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 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.","url_abs":"https://arxiv.org/abs/2607.22722","url_pdf":"https://arxiv.org/pdf/2607.22722","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2607.22722","atlas_url":null,"mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2607.22722"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/alikayyam/NKE_attack","reach":null}],"summary":{"unverified":20},"by_repo_kind":{"found_in_text":{"samples":20,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":20,"samples":[{"code_sha256_prefix":"f1ed7dd6932fb89a","entry":"ablation_sweeps","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/exp_baseline.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/exp_baseline.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f1ed7dd6932fb89a"}},{"code_sha256_prefix":"641c44fd42c8bef1","entry":"build","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/models.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"641c44fd42c8bef1"}},{"code_sha256_prefix":"cc807c8dad3e7053","entry":"build_defense","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/defenses.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/defenses.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cc807c8dad3e7053"}},{"code_sha256_prefix":"cfc6eb6e202602f8","entry":"build_stimset","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/attackset.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/attackset.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cfc6eb6e202602f8"}},{"code_sha256_prefix":"c6dcff49e6382f5d","entry":"cache_path","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/attackset.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/attackset.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c6dcff49e6382f5d"}},{"code_sha256_prefix":"e8826cc484c15cc5","entry":"classical_pgd","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/attack.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/attack.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e8826cc484c15cc5"}},{"code_sha256_prefix":"6ad5a046d97de9b6","entry":"correctly_classified","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/imagenet_ext.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/imagenet_ext.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6ad5a046d97de9b6"}},{"code_sha256_prefix":"776f97ed00c4a7d1","entry":"cross_model_matrix","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/exp_baseline.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/exp_baseline.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"776f97ed00c4a7d1"}},{"code_sha256_prefix":"b01a310cedec5a0a","entry":"evaluate","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/train_models.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/train_models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b01a310cedec5a0a"}},{"code_sha256_prefix":"ca186e19df2331a7","entry":"get_dataset","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/data.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ca186e19df2331a7"}},{"code_sha256_prefix":"124f18256cea5d08","entry":"get_loader","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/data.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"124f18256cea5d08"}},{"code_sha256_prefix":"24b22d11bb99fabd","entry":"get_ood_dataset","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/data.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"24b22d11bb99fabd"}},{"code_sha256_prefix":"ec6189721421f6e2","entry":"label_kept","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/imagenet_ext.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/imagenet_ext.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ec6189721421f6e2"}},{"code_sha256_prefix":"8aa78af142634e04","entry":"load","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/models.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8aa78af142634e04"}},{"code_sha256_prefix":"02b19ee93eaa212a","entry":"nke_attack","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/attack.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/attack.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"02b19ee93eaa212a"}},{"code_sha256_prefix":"9d48ca2ce82f2568","entry":"robust_acc_classical","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/exp_defenses.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/exp_defenses.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9d48ca2ce82f2568"}},{"code_sha256_prefix":"638f699f612be226","entry":"run","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/exp_baseline.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/exp_baseline.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"638f699f612be226"}},{"code_sha256_prefix":"85a9df192b60265a","entry":"run","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/exp_defenses.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/exp_defenses.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"85a9df192b60265a"}},{"code_sha256_prefix":"bcd1433ae7fce697","entry":"run_variant","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/attack.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/attack.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bcd1433ae7fce697"}},{"code_sha256_prefix":"2d39802415b332ce","entry":"train_one","repo":"alikayyam/NKE_attack","repo_kind":"found_in_text","path":"nke/train_models.py","file_url":"https://github.com/alikayyam/NKE_attack/blob/HEAD/nke/train_models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2d39802415b332ce"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}