Local Black-box Adversarial Attacks: A Query Efficient Approach

Tao Xiang, Hangcheng Liu, Shangwei Guo, Tianwei Zhang, Xiaofeng LiaoarXiv 2021

Introduction

Adversarial attacks pose a significant security threat to machine learning systems by introducing imperceptible perturbations that lead to misclassification. While white-box attacks are well-understood, black-box attacks—where the attacker lacks access to model parameters—often suffer from high query costs and visual detectability. This paper proposes a novel framework for local black-box adversarial attacks that leverages the transferability of model interpretations to focus perturbations on discriminative image regions, significantly enhancing query efficiency and image quality.

The Challenge of Global Perturbations

Traditional black-box attacks typically apply "global" perturbations, modifying every pixel in an image. This approach is fundamentally inefficient for two reasons:

  1. High Query Cost: Searching for an optimal global perturbation requires thousands of queries, making the attack slow and easy to detect by security systems.
  2. Visual Detectability: Modifying smooth background areas introduces visible noise, reducing the "stealthiness" of the attack to the human eye.

The authors posit that "not all pixels are born equal." For instance, in a classification task for a "Husky," the background pixels are largely irrelevant; only the pixels constituting the dog itself are critical for the model's decision.

Methodology: A Two-Phase Framework

The proposed approach utilizes a reference model to jumpstart the attack on a target black-box model through a two-phase process.

Phase 1: Preprocessing and Localization

Instead of starting from a clean image, the attacker uses a publicly available reference model (e.g., VGG16) to identify the most important features using Grad-CAM.

The Grad-CAM process generates heatmaps by weighting feature maps to identify discriminative regions.

By identifying these "discriminative zones," the attacker can apply a local pre-perturbation—a "warm start" that moves the image closer to the target model's decision boundary before any queries are sent.

Phase 2: Local Black-box Perturbing

If the initial pre-perturbation fails to fool the target, the attacker begins querying the target model using localized versions of standard techniques:

  • IAE&MI-GE (Gradient Estimation): Estimates the gradient direction solely for discriminative pixels.
  • IAE&MI-RS (Random Search): Iteratively tweaks pixels within the identified important areas until the model fails.

Key Insights: Interpretation Transferability

A core finding of this research is the high degree of interpretation transferability. Heatmaps generated by different architectures (such as VGG, ResNet, and Inception) often highlight the same semantic features for a given class.

Heatmaps across various architectures demonstrate that different models focus on similar discriminative features, enabling the use of proxy models for localization.

By masking the background and focusing on these shared discriminative regions, the search space for the attack is drastically reduced. This "background as noise" philosophy allows the attack to bypass resource-intensive global searches.

Experimental Results

The authors evaluated their framework using ImageNet and a custom dataset of 410 real-world images. Key findings include:

  • Efficiency Gains: The local attacks (IAE&MI-GE/RS) were 1.68x to 5.16x more query-efficient than state-of-the-art global methods.
  • Success Rates: On a ResNet50 target, the local gradient-based attack achieved a 99.51% success rate while requiring 76% fewer queries than standard global approaches.
  • Visual Fidelity: By confining changes to complex textures, the adversarial images maintained higher visual quality (measured by PSNR and MAD) compared to global attacks that distort smooth backgrounds.

Conclusion and Future Work

This work demonstrates that localizing perturbations based on model interpretations is a powerful strategy for efficient black-box attacks. While the method depends on the availability of a relevant proxy model, it remains robust even when the proxy is significantly weaker than the target. Future research may explore more advanced interpretation tools, such as Grad-CAM++, to further refine attack zones and improve stealth.

Summary updated

BibTeX
@misc{xiang2021local,
  author = {Tao Xiang and Hangcheng Liu and Shangwei Guo and Tianwei Zhang and Xiaofeng Liao},
  title = {{Local Black-box Adversarial Attacks: A Query Efficient Approach}},
  year = {2021},
  eprint = {2101.01032},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.01032},
}
Figure