Toward Understanding and Boosting Adversarial Transferability From a Distribution Perspective

Yao Zhu, Yuefeng Chen, Xiaodan Li, Kejiang Chen, Yuan He, Xiang Tian, Bolun Zheng, Yaowu Chen, Qingming Huang

Introduction

Deep Neural Networks (DNNs) are notoriously vulnerable to adversarial examples—input images with tiny, imperceptible perturbations that cause misclassification. A significant security threat is adversarial transferability, where an attacker crafts an exploit using a "surrogate" model to successfully attack a "black-box" target model. While previous research focused on model-specific factors like decision boundaries, this paper shifts the focus to the data distribution perspective to explain why attacks transfer across wildly different architectures, such as from CNNs to Vision Transformers.

Distribution-Relevant Attack (DRA)

The authors propose the Distribution-Relevant Attack (DRA), a two-stage approach designed to exploit the underlying data distribution:

  1. Gradient Matching (Fine-tuning): The surrogate model is fine-tuned using a novel loss function called DCG (Distance between the gradient of log Conditional density and log Ground truth distribution). This aligns the surrogate model’s internal gradients with the actual structure of the data distribution. To handle the computational complexity of Hessian matrices, the authors employ Hutchinson’s trick, a stochastic algorithm that ensures scalability for high-dimensional image data.
  2. The Attack Phase: Once the surrogate is "distribution-aware," standard iterative methods (like PGD) generate perturbations. Untargeted attacks push images away from their original distribution, while targeted attacks "drag" them toward a specific target class distribution.

Key Insights: Semantic and Distributional Shifts

A core finding is that data distribution is model-agnostic. Because the distribution is a property of the data itself, manipulations are naturally effective against any model trained on that data.

Figure 1: Comparison of PGD and DRA (Ours). DRA perturbations exhibit vivid semantic features, such as corn-like textures when attacking a tree frog image, whereas PGD appears as random noise.

Unlike standard attacks that often resemble random noise, DRA perturbations contain "vivid semantic features." For example, an attack turning a "tree frog" into "corn" imprints subtle corn-like textures onto the image. Furthermore, the authors demonstrate an "Out-of-Distribution" (OOD) connection: successful untargeted attacks essentially transform images into OOD examples, moving them further from the clean data manifold than previous methods.

Experimental Results

The study validates DRA using benchmarks like ImageNet, ImageNet-V2, and CIFAR-10, as well as real-world tests against the Google Cloud Vision API.

Figure 6: Success rates of various attacks (PGD, DI, MI, SGM, DRA) across different target models (ResNet-152, DenseNet-201, SE154) as a function of the perturbation budget epsilon. DRA consistently outperforms other methods.
  • Targeted Attack Performance: DRA outperformed previous state-of-the-art methods by up to 40% in targeted success rates.
  • Cross-Architecture Transferability: Attacks generated on a ResNet-50 (CNN) achieved a 58.46% success rate against a Vision Transformer (ViT), nearly 40% higher than the PGD baseline.
  • Commercial Systems: Against the Google Cloud Vision API, DRA achieved an 86.6% success rate for untargeted attacks and 48.6% for targeted attacks.
  • Robustness to Defenses: Models protected by AugMix or Adversarial Training still struggle against DRA, as these defenses typically harden boundaries without altering the underlying distribution.

Limitations and Future Directions

While effective, DRA is computationally intensive; fine-tuning a surrogate ResNet-50 takes approximately 8 hours on an NVIDIA Tesla V100 GPU. The method is also sensitive to the regularization constant ($\lambda$), requiring careful tuning to balance classification accuracy and distribution matching. Future research aims to leverage this distribution perspective to develop more robust defense mechanisms capable of detecting distributional "dragging."

Summary updated

BibTeX
@article{zhu2022toward,
  author = {Yao Zhu and Yuefeng Chen and Xiaodan Li and Kejiang Chen and Yuan He and Xiang Tian and Bolun Zheng and Yaowu Chen and Qingming Huang},
  title = {{Toward Understanding and Boosting Adversarial Transferability From a Distribution Perspective}},
  journal = {IEEE Trans. Image Process.},
  year = {2022},
  doi = {10.1109/tip.2022.3211736},
}
Figure