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

Qilong Zhang, Youheng Sun, Chaoning Zhang, Chaoqun Li, Xuanhan Wang, Jingkuan Song, Lianli Gao

TL;DR

This paper introduces Hybrid Image Transformation (HIT), a "no-box" adversarial attack that requires zero training and zero knowledge of the target model. By strategically suppressing an image's original high-frequency components and replacing them with synthetic, noisy patterns, HIT achieves a staggering 98.13% average success rate across ten popular deep learning models, outperforming previous state-of-the-art no-box attacks by nearly 30%.

What Problem Does This Paper Address?

Adversarial attacks typically fall into three categories: white-box (full access to model parameters), black-box (querying the model or using a similar substitute model), and the most challenging, no-box.

A true no-box attack is the "holy grail" of practical adversarial machine learning because it assumes the attacker has:

  1. No model access: No knowledge of architecture, parameters, or gradients.
  2. No query access: No ability to probe the target model for outputs.
  3. No data access: No access to the original training dataset to build a substitute model.

Existing no-box methods often rely on training an auto-encoder to generate perturbations, which is computationally expensive and requires auxiliary data. The authors of this paper sought a training-free, real-time method that exploits the fundamental way Deep Neural Networks (DNNs) process visual information.

Methods

The authors propose Hybrid Image Transformation (HIT), which treats an adversarial example as a "hybrid image" composed of two frequency domains:

  1. Frequency Splitting: Using a simple Gaussian low-pass filter ($G$), they decompose images into Low-Frequency Components (LFC) and High-Frequency Components (HFC).
  2. Synthetic Patch Generation: Instead of training a model, they draw simple geometric "proto-patterns"—concentric circles, squares, or rhombuses. These patterns are tiled and resized to create a noisy adversarial patch ($x^p$).
  3. The HIT Transformation: The final adversarial image ($x_{adv}$) is crafted by combining the LFC of the original image with the HFC of the synthetic patch: $$x_{adv} = \text{clip}_{x,\epsilon}(x * G + \lambda \cdot (x^p - x^p * G))$$ This effectively "drowns out" the original texture and edge information that the DNN relies on for classification.
Fig. 1: The confidence of a raw image (left), its low-frequency component (middle) and high-frequency component (right) on Inc-v3 [2].

Datasets

  • ImageNet: 10,000 images from the validation set, tested against ten models (VGG19, Inception-v3, ResNet-152, etc.).
  • Fine-grained Datasets: CUB-200-2011 (birds), Stanford Cars, and FGVC Aircraft.
  • Real-world API: Evaluation on the Google Cloud Vision API using 200 randomly sampled images.
  • Downstream Tasks: The authors also tested HIT on object detection (COCO) and semantic segmentation (VOC2012) in the appendix.

Key Insights and Ideas

  • HFC Dominance: The authors observed that shallow layers of DNNs are primarily focused on HFC (edges and textures). As shown in Figure 3, as you increase the Gaussian kernel size (filtering out more HFC), the model's accuracy drops precipitously.
  • Texture Bias: DNNs are notoriously biased toward texture over shape. By replacing natural textures with synthetic HFC, the attack exploits this fundamental architectural vulnerability.
  • The "Three Pillars" of Effective Noise: Through ablation studies, the authors found that for a training-free HFC perturbation to be effective, it must be:
  • Regionally Homogeneous: Patch-wise regularity helps form features recognizable by DNNs.
  • Repeating: Multiple copies of a pattern strengthen the "irrelevant" features.
  • Dense: Local repetition further amplifies the adversarial effect.
  • Feature Erasure: Visualization shows that HIT effectively "blanks out" the meaningful feature maps in shallow layers, replacing them with noisy activations that lead to misclassification.
Fig. 2: The visualization for the shallow layer (“activation 2”) feature maps of Inception-v3 [2] w.r.t. the input (a) and its corresponding adversarial example crafted by our HIT.

Key Results

  • Superiority in No-box Settings: HIT achieved a 98.13% success rate on ImageNet, dwarfing the previous best no-box method (68.74%).
  • Cross-Model Transferability: The attack is highly effective across diverse architectures, from heavyweights like ResNet-152 to lightweight models like MobileNet-v2.
  • Real-world Impact: HIT achieved a 72.5% success rate against the Google Cloud Vision API, successfully changing top labels (e.g., turning a "Fish" into a "Reptile" or "Art").
  • Perceptibility: Qualitatively, HIT perturbations are often less noticeable to the human eye than those generated by gradient-based black-box methods like PI-FGSM or BIA.

Limitations and Future Work

  • Targeted Attack Difficulty: While HIT naturally tends to push models toward certain labels (like "shower curtain" due to the circular patterns), it is not yet a precise, user-controllable targeted attack. The authors suggest that fusing texture information from a target class into the patches could be a future direction.
  • Frequency Defense: The authors note that while standard defenses like JPEG compression or small Gaussian filters fail, a very large Gaussian filter (17x17) can mitigate the attack, though at the cost of significantly degrading the original image quality.
  • Theoretical Gap: The paper notes that why specific patterns (like circles) are more effective than others at decreasing feature cosine similarity remains an open question for future research.

Summary updated

BibTeX
@misc{zhang2022practical,
  author = {Qilong Zhang and Youheng Sun and Chaoning Zhang and Chaoqun Li and Xuanhan Wang and Jingkuan Song and Lianli Gao},
  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