Papers › PopSkipJump: Decision-Based Attack for Probabilistic Classifiers

PopSkipJump: Decision-Based Attack for Probabilistic Classifiers

14 Jun 2021arXiv:2106.07445archive 2025-07-28

Carl-Johann Simon-Gabriel, Noman Ahmed Sheikh, Andreas Krause

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 .

PaperPDFCodeCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 22 code samples harvested from 1 repository linked to this paper: 14 ran (of which 4 constructed an object rather than computing a result; 10 with no instrument failure: 3 honoured, 3 violated, 4 with no contract checked; 4 where Syntology's instrument failed) · 8 unverified. Where Syntology's instrument failed: 2 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 22 samples from 1 repository, 14 ran (10 with no instrument failure; 4 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

cjsg/PopSkipJump officialmentioned in paperpytorchSyntology: 22 samples, 14 ran (4 instrument-failed) · 8 unverified report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

22 samples harvested: 14 ran (of which 4 constructed an object rather than computing a result; 10 with no instrument failure: 3 honoured, 3 violated, 4 with no contract checked; 4 where Syntology's instrument failed) · 8 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

3ran · honoured contract
3ran · violated contract
2ran · our draft was wrong
2ran; the contract check could not run
4ran
8unverified

Licence: 22 of the 22 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from cjsg/PopSkipJump. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

cjsg/PopSkipJump official repository 22 samples, 14 ran (4 instrument-failed) · 8 unverified
Adversarial popskip.py ran no licence file found · pointer only · 05d12f387474041e · report fixture: returned Adversarial · level recorded 2026-09-22
Diary popskip.py ran no licence file found · pointer only · 4811b70427e50c18 · report fixture: returned Diary · level recorded 2026-09-22
InfoMaxStats popskip.py ran no licence file found · pointer only · 9474d7c703790a01 · report fixture: returned InfoMaxStats · level recorded 2026-09-22
ModelInterface popskip.py ran no licence file found · pointer only · f4719d8b7bfb356f · report fixture: returned ModelInterface · level recorded 2026-09-22
calculate_l2_distance popskip.py ran; the contract check could not run (RAISES) fingerprinted no licence file found · pointer only · 0a276e8039b21324 · report fixture: signature a:Tensor/2/float, b:Tensor/2/float, bounds:tuple/1/int · returned Tensor · level recorded 2026-09-22
calculate_linf_distance popskip.py ran; the contract check could not run (RAISES) fingerprinted no licence file found · pointer only · a52ce7fbeab38625 · report fixture: signature a:Tensor/2/float, b:Tensor/2/float, bounds:tuple/1/int · returned Tensor · level recorded 2026-09-22
get_alpha in 12 papers popskip.py ran · our draft was wrong fingerprinted no licence file found · pointer only · c56865ba887bc751 · report fixture: signature s:Tensor/1/float, theta:Tensor/1/float, delta:Tensor/0/float, d:Tensor/0/float, eps:Tensor/0/float · returned Tensor · level recorded 2026-09-22
get_alpha_ popskip.py ran · violated contract fingerprinted no licence file found · pointer only · 056df95cf7e0e1ab · report fixture: signature s:Tensor/1/float, theta:Tensor/1/float · returned Tensor · level recorded 2026-09-22
get_bernoulli_probs popskip.py ran · our draft was wrong no licence file found · pointer only · 0ff816fad3688b45 · report fixture: signature xx:Tensor/1/float, unperturbed:Tensor/4/float, perturbed:Tensor/4/float, model_interface:callable/0/?, label:Tensor/0/int, dist_metric:str/0/str, targeted:bool/0/bool · returned Tensor · level recorded 2026-09-22
get_cos_from_n popskip.py ran · honoured contract fingerprinted no licence file found · pointer only · b9145e88b242966e · report fixture: signature n:Tensor/0/float, s:Tensor/0/float, theta:Tensor/0/float, delta:Tensor/0/float, d:Tensor/0/float, eps:float/0/float · returned Tensor · level recorded 2026-09-22
get_n_from_cos popskip.py ran · honoured contract fingerprinted no licence file found · pointer only · a087379c5167db98 · report fixture: signature target_cos:Tensor/0/float, s:float/0/float, theta:float/0/float, delta:float/0/float, d:int/0/int, eps:float/0/float · returned Tensor · level recorded 2026-09-22
get_py_txse popskip.py ran · honoured contract fingerprinted no licence file found · pointer only · 8eaa1d4c34b16c8e · report fixture: signature y:int/0/int, t:float/0/float, x:float/0/float, s:float/0/float, eps:float/0/float · returned Tensor · level recorded 2026-09-22
unravel_index in 9 papers popskip.py ran · violated contract fingerprinted no licence file found · pointer only · 9b2a276601e99a91 · report fixture: signature index:int/0/int, shape:tuple/1/int · returned tuple · level recorded 2026-09-22
xlogy popskip.py ran · violated contract fingerprinted no licence file found · pointer only · 11d39aede2b2bf58 · report fixture: signature x:Tensor/1/float, y:Tensor/1/float · returned Tensor · level recorded 2026-09-22
Attack in 15 papers popskip.py unverified no licence file found · pointer only · b479fbfa86533c1b · report
Calls popskip.py unverified no licence file found · pointer only · f0221e92a00d2d72 · report
DefaultParams popskip.py unverified no licence file found · pointer only · 3bd0515cbb39c7dd · report
DiaryPage popskip.py unverified no licence file found · pointer only · 23290ff5e17b3fcc · report
PopSkipJump popskip.py unverified no licence file found · pointer only · 35e4a1ee0c47203b · report
Time popskip.py unverified no licence file found · pointer only · 52310c926a25a52d · report
bin_search popskip.py unverified no licence file found · pointer only · 6204fcf41720275f · report
plot_acquisition popskip.py unverified no licence file found · pointer only · dbfe2908b7fffea9 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for PopSkipJump (graph method: PopSkipJump). 22 bricks; individually on a fixture: 14 ran (of which 4 constructed an object rather than computing a result; 10 with no instrument failure: 3 honoured, 3 violated, 4 with no contract checked; 4 where Syntology's instrument failed) · 8 unverified. The assembly has not been run end-to-end.

  1. PopSkipJump entry · level 0 · unverified · 35e4a1ee0c47203b
  2. Attack helper · level 0 · unverified · b479fbfa86533c1b
  3. DefaultParams helper · level 0 · unverified · 3bd0515cbb39c7dd
  4. InfoMaxStats helper · level 1 · ran · 9474d7c703790a01
  5. bin_search helper · level 0 · unverified · 6204fcf41720275f
  6. get_cos_from_n helper · level 1 · ran · honoured contract · b9145e88b242966e
  7. get_n_from_cos helper · level 1 · ran · honoured contract · a087379c5167db98
  8. Adversarial helper · level 1 · ran · 05d12f387474041e
  9. Diary helper · level 1 · ran · 4811b70427e50c18
  10. DiaryPage helper · level 0 · unverified · 23290ff5e17b3fcc
  11. ModelInterface model · level 1 · ran · f4719d8b7bfb356f
  12. get_bernoulli_probs helper · level 1 · ran · our draft was wrong · 0ff816fad3688b45
  13. get_py_txse helper · level 1 · ran · honoured contract · 8eaa1d4c34b16c8e
  14. plot_acquisition helper · level 0 · unverified · dbfe2908b7fffea9
  15. unravel_index helper · level 1 · ran · violated contract · 9b2a276601e99a91
  16. xlogy helper · level 1 · ran · violated contract · 11d39aede2b2bf58
  17. get_alpha helper · level 1 · ran · our draft was wrong · c56865ba887bc751
  18. calculate_l2_distance helper · level 1 · ran; the contract check could not run (RAISES) · 0a276e8039b21324
  19. calculate_linf_distance helper · level 1 · ran; the contract check could not run (RAISES) · a52ce7fbeab38625
  20. Calls helper · level 0 · unverified · f0221e92a00d2d72
  21. Time helper · level 0 · unverified · 52310c926a25a52d
  22. get_alpha_ helper · level 1 · ran · violated contract · 056df95cf7e0e1ab

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2106.07445") returns these assemblies with each brick's role and wiring (how to connect).

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections