{"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/towards-evaluating-transfer-based-attacks","title":"Towards Evaluating Transfer-based Attacks Systematically, Practically, and Fairly","arxiv_id":"2311.01323","date":"2023-11-02","proceeding":"NeurIPS 2023 11","authors":[],"abstract":"The adversarial vulnerability of deep neural networks (DNNs) has drawn great attention due to the security risk of applying these models in real-world applications. Based on transferability of adversarial examples, an increasing number of transfer-based methods have been developed to fool black-box DNN models whose architecture and parameters are inaccessible. Although tremendous effort has been exerted, there still lacks a standardized benchmark that could be taken advantage of to compare these methods systematically, fairly, and practically. Our investigation shows that the evaluation of some methods needs to be more reasonable and more thorough to verify their effectiveness, to avoid, for example, unfair comparison and insufficient consideration of possible substitute/victim models. Therefore, we establish a transfer-based attack benchmark (TA-Bench) which implements 30+ methods. In this paper, we evaluate and compare them comprehensively on 25 popular substitute/victim models on ImageNet. New insights about the effectiveness of these methods are gained and guidelines for future evaluations are provided. Code at: https://github.com/qizhangli/TA-Bench.","url_abs":"https://arxiv.org/abs/2311.01323v1","url_pdf":"https://arxiv.org/pdf/2311.01323v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"towards-evaluating-transfer-based-attacks","repo_url":"https://github.com/qizhangli/ta-bench","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2311.01323","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2311.01323"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/qizhangli/TA-Bench","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/qizhangli/ta-bench","reach":{"status":"ok"}}],"summary":{"ran":3,"ran_draft_wrong":2,"unverified":1},"by_repo_kind":{"listed":{"samples":6,"ran":5,"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":6,"samples":[{"code_sha256_prefix":"3c14108fba6e6184","entry":"fda_loss","repo":"qizhangli/TA-Bench","repo_kind":"listed","path":"attacks/fda.py","file_url":"https://github.com/qizhangli/TA-Bench/blob/HEAD/attacks/fda.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3c14108fba6e6184"}},{"code_sha256_prefix":"e8049e19bf3f99d4","entry":"fia_loss","repo":"qizhangli/TA-Bench","repo_kind":"listed","path":"attacks/fia.py","file_url":"https://github.com/qizhangli/TA-Bench/blob/HEAD/attacks/fia.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e8049e19bf3f99d4"}},{"code_sha256_prefix":"7c954dffd6b6e3f5","entry":"get_gaussian_kernel","repo":"qizhangli/TA-Bench","repo_kind":"listed","path":"models/condgenerators.py","file_url":"https://github.com/qizhangli/TA-Bench/blob/HEAD/models/condgenerators.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7c954dffd6b6e3f5"}},{"code_sha256_prefix":"4397ee07b3071d33","entry":"get_transforms","repo":"qizhangli/TA-Bench","repo_kind":"listed","path":"utils.py","file_url":"https://github.com/qizhangli/TA-Bench/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4397ee07b3071d33"}},{"code_sha256_prefix":"de3577618251b913","entry":"snlinear","repo":"qizhangli/TA-Bench","repo_kind":"listed","path":"models/condgenerators.py","file_url":"https://github.com/qizhangli/TA-Bench/blob/HEAD/models/condgenerators.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"de3577618251b913"}},{"code_sha256_prefix":"8575af0f00efbb3c","entry":"build_model","repo":"qizhangli/TA-Bench","repo_kind":"listed","path":"utils.py","file_url":"https://github.com/qizhangli/TA-Bench/blob/HEAD/utils.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":"8575af0f00efbb3c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}