Practical No-box Adversarial Attacks with Training-free Hybrid Image Transformation

Qilong Zhang, Chaoning Zhang, Chaoqun Li, Jingkuan Song, Lianli Gao, Heng Tao Shen · DOI

TL;DR

This paper introduces a novel "no-box" adversarial attack method called Hybrid Image Transformation (HIT) that is both training-free and practical. HIT achieves state-of-the-art performance by manipulating the high-frequency components of images, outperforming existing no-box attacks and even rivaling some transfer-based black-box methods.

What Problem Does This Paper Address?

Deep neural networks (DNNs) are known to be vulnerable to adversarial attacks, where small, imperceptible perturbations to an input image can cause the model to misclassify it. While white-box attacks (where the attacker has full knowledge of the target model) are well-studied, they are not practical in real-world scenarios. Black-box attacks, which don't require model knowledge, are more realistic but often suffer from high query costs or reliance on pre-trained substitute models. The most challenging and practical scenario is the "no-box" attack, which requires no knowledge of the target model, no substitute model, and no access to training data. Existing no-box methods are either not performant enough or computationally expensive due to training requirements. This paper aims to bridge this gap by proposing a practical, training-free no-box attack.

Methods

The core of the proposed Hybrid Image Transformation (HIT) attack lies in understanding the role of image frequencies in DNNs. The authors observe that high-frequency components (HFC), which represent edges and textures, are crucial for classification, especially in shallow network layers. Their attack strategy involves:

  1. Crafting Adversarial Patches: Generating "proto-patterns" (simple geometric shapes like circles, squares, or rhombuses) that are regionally homogeneous, repeating, and dense. These patterns are designed to create strong, irrelevant HFCs.
  2. Hybrid Image Transformation: Extracting the low-frequency component (LFC) of the original image and combining it with the HFC of the generated adversarial patch.
  3. Perturbation Application: Clipping the resulting hybrid image to ensure it stays within a specified epsilon (ε) bound in the L∞ norm, making the perturbation imperceptible.

This approach is "training-free" because it doesn't require training any substitute model or using any training data.

Datasets

The primary dataset used for evaluation is ImageNet. The authors also used fine-grained classification datasets: CUB-200-2011, Stanford Cars, and FGVC Aircraft. For real-world system testing, they used the Google Cloud Vision API.

Key Insights and Ideas

  • HFC is King for Classification: The paper strongly suggests that high-frequency components (edges, textures) are disproportionately important for DNNs' classification decisions, especially in early layers.
  • Training-Free is Feasible: The research demonstrates that effective adversarial attacks can be crafted without any model knowledge or training, challenging the prevailing notion that such attacks are inherently weak.
  • Properties of Effective Perturbations: The authors identify "regionally homogeneous, repeating, and dense" as key properties for crafting effective adversarial HFCs.
  • Hybrid Approach Works: Combining the LFC of the original image with the carefully crafted HFC of an adversarial patch is a potent strategy for fooling DNNs.
  • Targeted Attacks Emerge Naturally: Interestingly, the no-box HIT attack sometimes exhibits targeted attack behavior, misclassifying images into specific, related categories, likely due to the frequency domain alignment between the generated patch and the target class's features.

Key Results

  • High Success Rate on ImageNet: HIT achieved an average attack success rate of 98.13% on ten well-known ImageNet models, significantly outperforming state-of-the-art no-box attacks by 29.39%.
  • Competitive with Black-Box Attacks: The method's performance was competitive with mainstream transfer-based black-box attacks.
  • Effective on Fine-Grained Tasks: HIT showed strong performance on fine-grained classification tasks, often surpassing existing practical black-box methods.
  • Real-World System Attack: The attack successfully fooled the Google Cloud Vision API with a 72.5% success rate.
  • Robustness Against Defenses: HIT demonstrated effectiveness against various defenses, including JPEG compression, Gaussian filters, and adversarial training methods.
  • Perceptually Less Distorting: Qualitative comparisons showed that HIT-generated adversarial examples had less perceptible distortions compared to other methods.

Limitations and Future Work

  • Targeted Attack Behavior: While the paper notes that HIT can naturally lead to targeted attacks, it's not explicitly designed for this. The authors suggest further research into selecting and generating adversarial patches to guide resultant examples towards specific targeted categories.
  • Geometric Pattern Choice: The paper explores three basic geometric patterns (circles, squares, rhombuses) and finds circles generally perform best. The reason for this superiority is not fully explained and is suggested as a future research direction.
  • Parameter Tuning: While the method is training-free, optimal parameters (like kernel size, weight factor λ, density, tile-scheme) might still require some tuning for specific scenarios or models.
  • Computational Cost: Although training-free, the generation of adversarial examples still involves image processing steps. The paper highlights its real-time capability, but a detailed analysis of computational complexity compared to other methods might be beneficial.

Summary updated

BibTeX
@misc{zhang2022practical,
  author = {Qilong Zhang and Chaoning Zhang and Chaoqun Li and Jingkuan Song and Lianli Gao and Heng Tao Shen},
  title = {{Practical No-box Adversarial Attacks with Training-free Hybrid Image Transformation}},
  year = {2022},
  eprint = {2203.04607},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.04607},
}
Figure