Papers › Query Attack by Multi-Identity Surrogates

Query Attack by Multi-Identity Surrogates

31 May 2021arXiv:2105.15010archive 2025-07-28

Sizhe Chen, Zhehao Huang, Qinghua Tao, Xiaolin Huang

Deep Neural Networks (DNNs) are acknowledged as vulnerable to adversarial attacks, while the existing black-box attacks require extensive queries on the victim DNN to achieve high success rates. For query-efficiency, surrogate models of the victim are used to generate transferable Adversarial Examples (AEs) because of their Gradient Similarity (GS), i.e., surrogates' attack gradients are similar to the victim's ones. However, it is generally neglected to exploit their similarity on outputs, namely the Prediction Similarity (PS), to filter out inefficient queries by surrogates without querying the victim. To jointly utilize and also optimize surrogates' GS and PS, we develop QueryNet, a unified attack framework that can significantly reduce queries. QueryNet creatively attacks by multi-identity surrogates, i.e., crafts several AEs for one sample by different surrogates, and also uses surrogates to decide on the most promising AE for the query. After that, the victim's query feedback is accumulated to optimize not only surrogates' parameters but also their architectures, enhancing both the GS and the PS. Although QueryNet has no access to pre-trained surrogates' prior, it reduces queries by averagely about an order of magnitude compared to alternatives within an acceptable time, according to our comprehensive experiments: 11 victims (including two commercial models) on MNIST/CIFAR10/ImageNet, allowing only 8-bit image queries, and no access to the victim's training data. The code is available at https://github.com/Sizhe-Chen/QueryNet.

PaperPDFCodeCode 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="2105.15010")

Code

Syntology Ran 4 of 8 code samples harvested from 2 repositories linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 2 ran with no contract checked.

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

allenchen1998/querynet officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
sizhe-chen/querynet officialmentioned in papermentioned 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

8 samples harvested; 4 ran; 1 honoured the contract we drafted; 4 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 · honoured contract
1ran · our draft was wrong
2ran
4unverified

Licence: 0 of the 8 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.

adjust_lr allenchen1998/querynet/PCDARTS/train_imagenet.py official repository ran Apache-2.0 (permissive) · e7ef53e9c5847e3e · report
channel_shuffle allenchen1998/querynet/PCDARTS/model_search.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · b9da06d4f527dd6c · report
dense_to_onehot allenchen1998/querynet/utils.py official repository ran Apache-2.0 (permissive) · 176dfa1e026fb136 · report
p_selection sizhe-chen/querynet/querynet.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 4fe62c36ed4bbecd · report
attack sizhe-chen/querynet/querynet.py official repository unverified Apache-2.0 (permissive) · b20a98cc74908419 · report
pseudo_gaussian_pert_rectangles sizhe-chen/querynet/attacker.py official repository unverified Apache-2.0 (permissive) · 67992ec4b4e8206e · report
random_classes_except_current allenchen1998/querynet/utils.py official repository unverified Apache-2.0 (permissive) · e185f97921f5be41 · report
softmax allenchen1998/querynet/utils.py official repository unverified Apache-2.0 (permissive) · 8bf374c9e1999142 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AE

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