Papers › Beyond ImageNet Attack: Towards Crafting Adversarial Examples for Black-box Domains

Beyond ImageNet Attack: Towards Crafting Adversarial Examples for Black-box Domains

27 Jan 2022ICLR 2022 4arXiv:2201.11528archive 2025-07-28

Qilong Zhang, Xiaodan Li, Yuefeng Chen, Jingkuan Song, Lianli Gao, Yuan He, Hui Xue

Adversarial examples have posed a severe threat to deep neural networks due to their transferable nature. Currently, various works have paid great efforts to enhance the cross-model transferability, which mostly assume the substitute model is trained in the same domain as the target model. However, in reality, the relevant information of the deployed model is unlikely to leak. Hence, it is vital to build a more practical black-box threat model to overcome this limitation and evaluate the vulnerability of deployed models. In this paper, with only the knowledge of the ImageNet domain, we propose a Beyond ImageNet Attack (BIA) to investigate the transferability towards black-box domains (unknown classification tasks). Specifically, we leverage a generative model to learn the adversarial function for disrupting low-level features of input images. Based on this framework, we further propose two variants to narrow the gap between the source and target domains from the data and model perspectives, respectively. Extensive experiments on coarse-grained and fine-grained domains demonstrate the effectiveness of our proposed methods. Notably, our methods outperform state-of-the-art approaches by up to 7.71\% (towards coarse-grained domains) and 25.91\% (towards fine-grained domains) on average. Our code is available at \url{https://github.com/qilong-zhang/Beyond-ImageNet-Attack}.

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="2201.11528")

Code

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

By repository: official repository: 11 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.

Alibaba-AAIG/Beyond-ImageNet-Attack officialmentioned in papermentioned on GitHubpytorchMIT report
qilong-zhang/beyond-imagenet-attack 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

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

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

GeneratorResnet qilong-zhang/beyond-imagenet-attack/generator.py official repository ran MIT (permissive) · acddffe2ca275748 · report
ResidualBlock qilong-zhang/beyond-imagenet-attack/generator.py official repository ran fingerprinted MIT (permissive) · fc5d9d84d0fa3f1a · report
conv3x3 Alibaba-AAIG/Beyond-ImageNet-Attack/imagenet/resnet.py official repository ran · our draft was wrong MIT (permissive) · 583f9780bdd00a45 · report
make_layers Alibaba-AAIG/Beyond-ImageNet-Attack/imagenet/vgg.py official repository ran MIT (permissive) · ac62432dc5134b0d · report
alexnet Alibaba-AAIG/Beyond-ImageNet-Attack/imagenet/alexnet.py official repository unverified MIT (permissive) · 2acf0497fa785363 · report
cifar10 Alibaba-AAIG/Beyond-ImageNet-Attack/cifar/model.py official repository unverified MIT (permissive) · e6436dcd699473d2 · report
cifar100 Alibaba-AAIG/Beyond-ImageNet-Attack/cifar/model.py official repository unverified MIT (permissive) · 3baa599c5d5d5bb5 · report
get Alibaba-AAIG/Beyond-ImageNet-Attack/imagenet/dataset.py official repository unverified MIT (permissive) · c89d1e59cc2475a1 · report
make_layers Alibaba-AAIG/Beyond-ImageNet-Attack/cifar/model.py official repository unverified MIT (permissive) · ec2c08983ca02f3d · report
vgg11 Alibaba-AAIG/Beyond-ImageNet-Attack/imagenet/vgg.py official repository unverified MIT (permissive) · 935d064cdc5a56c6 · report
vgg13 Alibaba-AAIG/Beyond-ImageNet-Attack/imagenet/vgg.py official repository unverified MIT (permissive) · f9a4c5c980953259 · report

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