{"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/popskipjump-decision-based-attack-for","title":"PopSkipJump: Decision-Based Attack for Probabilistic Classifiers","arxiv_id":"2106.07445","date":"2021-06-14","proceeding":null,"authors":["Carl-Johann Simon-Gabriel","Noman Ahmed Sheikh","Andreas Krause"],"abstract":"Most current classifiers are vulnerable to adversarial examples, small input perturbations that change the classification output. Many existing attack algorithms cover various settings, from white-box to black-box classifiers, but typically assume that the answers are deterministic and often fail when they are not. We therefore propose a new adversarial decision-based attack specifically designed for classifiers with probabilistic outputs. It is based on the HopSkipJump attack by Chen et al. (2019, arXiv:1904.02144v5 ), a strong and query efficient decision-based attack originally designed for deterministic classifiers. Our P(robabilisticH)opSkipJump attack adapts its amount of queries to maintain HopSkipJump's original output quality across various noise levels, while converging to its query efficiency as the noise level decreases. We test our attack on various noise models, including state-of-the-art off-the-shelf randomized defenses, and show that they offer almost no extra robustness to decision-based attacks. Code is available at https://github.com/cjsg/PopSkipJump .","url_abs":"https://arxiv.org/abs/2106.07445v1","url_pdf":"https://arxiv.org/pdf/2106.07445v1.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":"popskipjump-decision-based-attack-for","repo_url":"https://github.com/cjsg/PopSkipJump","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2106.07445","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.07445"}},"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/cjsg/PopSkipJump","reach":null}],"summary":{"ran":4,"ran_fixture":2,"ran_draft_wrong":2,"ran_violates":3,"ran_honours":3,"unverified":8},"by_repo_kind":{"official":{"samples":22,"ran":14,"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":22,"samples":[{"code_sha256_prefix":"05d12f387474041e","entry":"Adversarial","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.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":"05d12f387474041e"}},{"code_sha256_prefix":"4811b70427e50c18","entry":"Diary","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.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":"4811b70427e50c18"}},{"code_sha256_prefix":"9474d7c703790a01","entry":"InfoMaxStats","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.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":"9474d7c703790a01"}},{"code_sha256_prefix":"f4719d8b7bfb356f","entry":"ModelInterface","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.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":"f4719d8b7bfb356f"}},{"code_sha256_prefix":"0a276e8039b21324","entry":"calculate_l2_distance","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0a276e8039b21324"}},{"code_sha256_prefix":"a52ce7fbeab38625","entry":"calculate_linf_distance","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a52ce7fbeab38625"}},{"code_sha256_prefix":"c56865ba887bc751","entry":"get_alpha","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c56865ba887bc751"}},{"code_sha256_prefix":"056df95cf7e0e1ab","entry":"get_alpha_","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"056df95cf7e0e1ab"}},{"code_sha256_prefix":"0ff816fad3688b45","entry":"get_bernoulli_probs","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0ff816fad3688b45"}},{"code_sha256_prefix":"b9145e88b242966e","entry":"get_cos_from_n","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b9145e88b242966e"}},{"code_sha256_prefix":"a087379c5167db98","entry":"get_n_from_cos","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a087379c5167db98"}},{"code_sha256_prefix":"8eaa1d4c34b16c8e","entry":"get_py_txse","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8eaa1d4c34b16c8e"}},{"code_sha256_prefix":"9b2a276601e99a91","entry":"unravel_index","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9b2a276601e99a91"}},{"code_sha256_prefix":"11d39aede2b2bf58","entry":"xlogy","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"11d39aede2b2bf58"}},{"code_sha256_prefix":"b479fbfa86533c1b","entry":"Attack","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.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":"b479fbfa86533c1b"}},{"code_sha256_prefix":"f0221e92a00d2d72","entry":"Calls","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.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":"f0221e92a00d2d72"}},{"code_sha256_prefix":"3bd0515cbb39c7dd","entry":"DefaultParams","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.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":"3bd0515cbb39c7dd"}},{"code_sha256_prefix":"23290ff5e17b3fcc","entry":"DiaryPage","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.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":"23290ff5e17b3fcc"}},{"code_sha256_prefix":"35e4a1ee0c47203b","entry":"PopSkipJump","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.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":"35e4a1ee0c47203b"}},{"code_sha256_prefix":"52310c926a25a52d","entry":"Time","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.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":"52310c926a25a52d"}},{"code_sha256_prefix":"6204fcf41720275f","entry":"bin_search","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.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":"6204fcf41720275f"}},{"code_sha256_prefix":"dbfe2908b7fffea9","entry":"plot_acquisition","repo":"cjsg/PopSkipJump","repo_kind":"official","path":"popskip.py","file_url":"https://github.com/cjsg/PopSkipJump/blob/HEAD/popskip.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":"dbfe2908b7fffea9"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}