[Paper Review] Beyond ImageNet Attack: Towards Crafting Adversarial Examples for Black-box Domains
This paper proposes Beyond ImageNet Attack (BIA), a novel black-box adversarial attack framework that generates transferable adversarial examples for unknown domains using only ImageNet knowledge. By training a generator to disrupt low-level features and introducing domain-agnostic attention and random normalization modules, BIA achieves state-of-the-art transferability, outperforming prior methods by up to 25.91% on fine-grained domains and 7.71% on coarse-grained domains.
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}.
Motivation & Objective
- To address the practical limitation of existing black-box attacks that rely on leaked data distributions or query access to target models.
- To develop a more realistic threat model where attackers have no knowledge of the target model’s training data or architecture.
- To enhance cross-domain transferability of adversarial examples by leveraging only ImageNet-scale data and pre-trained models.
- To improve adversarial transferability in unknown (black-box) domains through data and model-level domain generalization techniques.
- To demonstrate that even without any information about the target model, adversarial examples can still be highly effective, exposing vulnerabilities in real-world deployments.
Proposed method
- A generator network $\mathcal{G}_{\theta}$ is trained on ImageNet to craft adversarial perturbations that disrupt low-level features, enhancing transferability to unseen domains.
- The domain-agnostic attention (DA) module is introduced to help the generator focus on essential, transferable features across diverse models.
- The random normalization (RN) module simulates diverse data distributions during training to improve generalization to unknown data domains.
- The generator is trained using a contrastive loss $\mathcal{L}_{\text{cos}}$ that aligns attention maps of the source and perturbed images at the last convolutional layer.
- The framework enables one-forward-pass inference on any input domain, making it efficient and scalable.
- The method is evaluated across coarse-grained, fine-grained, and source-domain tasks, with ablation studies on module combinations.
Experimental results
Research questions
- RQ1Can adversarial examples be effectively crafted for black-box domains without access to the target model’s training data or architecture?
- RQ2How can transferability of adversarial examples be improved when the source and target domains differ significantly?
- RQ3To what extent can data-level domain generalization (via random normalization) and model-level attention (via domain-agnostic attention) enhance cross-domain attack performance?
- RQ4Does training on ImageNet alone suffice to generate highly transferable adversarial examples for diverse downstream tasks?
- RQ5How do the proposed modules interact, and in which settings do they reinforce or conflict with each other?
Key findings
- BIA outperforms state-of-the-art methods by up to 7.71% on average in coarse-grained domains and 25.91% in fine-grained domains.
- The BIA+DA variant reduces top-1 accuracy on Inc-v3 by 24.34% compared to CDA, demonstrating improved transferability.
- The BIA+RN variant achieves a 2.4% improvement in transferability on Dense-169 and a 24.34% drop on Inc-v3, showing enhanced generalization.
- Combining RN and DA modules improves performance on fine-grained and source domains, but can be detrimental in some cases, such as when attacking Dense-169.
- Visualizations confirm that RN enhances discriminative features in VGG-16 but suppresses them in Dense-169, explaining the conflicting behavior with DA.
- The results demonstrate that even without any information about the target model, adversarial attacks remain highly effective, highlighting the vulnerability of deployed models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.