{"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/advflow-inconspicuous-black-box-adversarial","title":"AdvFlow: Inconspicuous Black-box Adversarial Attacks using Normalizing Flows","arxiv_id":"2007.07435","date":"2020-07-15","proceeding":"NeurIPS 2020 12","authors":["Hadi M. Dolatabadi","Sarah Erfani","Christopher Leckie"],"abstract":"Deep learning classifiers are susceptible to well-crafted, imperceptible variations of their inputs, known as adversarial attacks. In this regard, the study of powerful attack models sheds light on the sources of vulnerability in these classifiers, hopefully leading to more robust ones. In this paper, we introduce AdvFlow: a novel black-box adversarial attack method on image classifiers that exploits the power of normalizing flows to model the density of adversarial examples around a given target image. We see that the proposed method generates adversaries that closely follow the clean data distribution, a property which makes their detection less likely. Also, our experimental results show competitive performance of the proposed approach with some of the existing attack methods on defended classifiers. The code is available at https://github.com/hmdolatabadi/AdvFlow.","url_abs":"https://arxiv.org/abs/2007.07435v2","url_pdf":"https://arxiv.org/pdf/2007.07435v2.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":"advflow-inconspicuous-black-box-adversarial","repo_url":"https://github.com/hmdolatabadi/AdvFlow","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"adversarial-attack","task_name":"Adversarial Attack"}],"methods":[{"method_slug":"normalizing-flows","method_name":"Normalizing Flows"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2007.07435","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2007.07435"}},"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/hmdolatabadi/AdvFlow","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":3,"unverified":4},"by_repo_kind":{"official":{"samples":7,"ran":3,"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":0,"samples":[{"code_sha256_prefix":"00e569acd6b45ef0","entry":"conv3x3","repo":"hmdolatabadi/AdvFlow","repo_kind":"official","path":"wide_resnets.py","file_url":"https://github.com/hmdolatabadi/AdvFlow/blob/HEAD/wide_resnets.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"00e569acd6b45ef0"}},{"code_sha256_prefix":"583f9780bdd00a45","entry":"conv3x3","repo":"hmdolatabadi/AdvFlow","repo_kind":"official","path":"resnet.py","file_url":"https://github.com/hmdolatabadi/AdvFlow/blob/HEAD/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"583f9780bdd00a45"}},{"code_sha256_prefix":"eba3f5bcc6a06d36","entry":"make_layers","repo":"hmdolatabadi/AdvFlow","repo_kind":"official","path":"vgg.py","file_url":"https://github.com/hmdolatabadi/AdvFlow/blob/HEAD/vgg.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"eba3f5bcc6a06d36"}},{"code_sha256_prefix":"87d97e34a77418a6","entry":"ResNet18","repo":"hmdolatabadi/AdvFlow","repo_kind":"official","path":"resnet.py","file_url":"https://github.com/hmdolatabadi/AdvFlow/blob/HEAD/resnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"87d97e34a77418a6"}},{"code_sha256_prefix":"e656d66272c6fd73","entry":"ResNet34","repo":"hmdolatabadi/AdvFlow","repo_kind":"official","path":"resnet.py","file_url":"https://github.com/hmdolatabadi/AdvFlow/blob/HEAD/resnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e656d66272c6fd73"}},{"code_sha256_prefix":"9e8680c7bf44ac85","entry":"vgg11","repo":"hmdolatabadi/AdvFlow","repo_kind":"official","path":"vgg.py","file_url":"https://github.com/hmdolatabadi/AdvFlow/blob/HEAD/vgg.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9e8680c7bf44ac85"}},{"code_sha256_prefix":"dbe86db498d00951","entry":"vgg11_bn","repo":"hmdolatabadi/AdvFlow","repo_kind":"official","path":"vgg.py","file_url":"https://github.com/hmdolatabadi/AdvFlow/blob/HEAD/vgg.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dbe86db498d00951"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}