Papers › Guessing Smart: Biased Sampling for Efficient Black-Box Adversarial Attacks

Guessing Smart: Biased Sampling for Efficient Black-Box Adversarial Attacks

24 Dec 2018ICCV 2019 10arXiv:1812.09803archive 2025-07-28

Thomas Brunner, Frederik Diehl, Michael Truong Le, Alois Knoll

We consider adversarial examples for image classification in the black-box decision-based setting. Here, an attacker cannot access confidence scores, but only the final label. Most attacks for this scenario are either unreliable or inefficient. Focusing on the latter, we show that a specific class of attacks, Boundary Attacks, can be reinterpreted as a biased sampling framework that gains efficiency from domain knowledge. We identify three such biases, image frequency, regional masks and surrogate gradients, and evaluate their performance against an ImageNet classifier. We show that the combination of these biases outperforms the state of the art by a wide margin. We also showcase an efficient way to attack the Google Cloud Vision API, where we craft convincing perturbations with just a few hundred queries. Finally, the methods we propose have also been found to work very well against strong defenses: Our targeted attack won second place in the NeurIPS 2018 Adversarial Vision Challenge.

PaperPDFConference PDFCodeCode Syntology ran

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

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1812.09803")

Code

Syntology Ran 1 of 10 code samples harvested from 2 repositories linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · fixture could not drive it.

By repository: official repository: 10 samples from 2 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ttbrunner/biased_boundary_attack officialmentioned in papermentioned on GitHubtfMIT report
ttbrunner/biased_boundary_attack_avc officialmentioned in papermentioned on GitHubtfMIT report
MatveyMor/substitute_boundary_attack mentioned on GitHubpytorch 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

10 samples harvested; 1 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · fixture could not drive it
9unverified

Licence: 0 of the 10 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (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 from a repository marked official are listed first. 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 four 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; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). 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.

fixed_padding ttbrunner/biased_boundary_attack_avc/models/resnet18_baseline/resnet_model.py official repository ran · fixture could not drive it MIT (permissive) · 5756d6bfbcce2dfc · report
batch_norm ttbrunner/biased_boundary_attack_avc/models/resnet18_baseline/resnet_model.py official repository unverified MIT (permissive) · f4fba27e3fd641f2 · report
conv2d_fixed_padding ttbrunner/biased_boundary_attack_avc/models/resnet18_baseline/resnet_model.py official repository unverified MIT (permissive) · c756a6986ed2d1b8 · report
find_closest_img ttbrunner/biased_boundary_attack/utils/util.py official repository unverified MIT (permissive) · fb5ea6b124795904 · report
label_to_name ttbrunner/biased_boundary_attack/utils/imagenet_labels.py official repository unverified MIT (permissive) · 3ac662a79b2c646a · report
line_search_to_boundary ttbrunner/biased_boundary_attack/utils/util.py official repository unverified MIT (permissive) · bb9fbab9e6ad0e45 · report
name_to_label ttbrunner/biased_boundary_attack/utils/imagenet_labels.py official repository unverified MIT (permissive) · 5808c5dd79a489ef · report
refine_jitter ttbrunner/biased_boundary_attack_avc/attacks/methods/refinement_tricks.py official repository unverified MIT (permissive) · 8d6535e1a0fbad04 · report
refine_pixels ttbrunner/biased_boundary_attack_avc/attacks/methods/refinement_tricks.py official repository unverified MIT (permissive) · 284410a741ab221f · report
sample_hypersphere ttbrunner/biased_boundary_attack/utils/util.py official repository unverified MIT (permissive) · 2facf483973d66d6 · report

Tasks

Image Classificationimage-classification

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