DifAttack++: Query-Efficient Black-Box Adversarial Attack via Hierarchical Disentangled Feature Space in Cross-Domain

Jun Liu, Jiantao Zhou, Jiandian Zeng, Jinyu Tian, Zheng LiarXiv 2024 · DOI

Abstract

DifAttack++ is a highly efficient black-box adversarial attack designed to overcome the limitations of query inefficiency and visual artifacts in existing methods. By leveraging a hierarchical disentangled feature space, the framework separates an image's "adversarial features" (AF) from its "visual features" (VF). This allows for precise optimization of the adversarial signal while keeping the visual appearance intact. Utilizing a cross-domain autoencoder architecture, DifAttack++ achieves superior success rates and image quality across various benchmarks, including real-world commercial APIs.

Introduction

Adversarial attacks—small, imperceptible perturbations that trick AI models—are essential for evaluating model robustness. In "black-box" scenarios, where the internal architecture of the victim model is unknown, attackers must rely on iterative queries to find successful perturbations. Existing black-box attacks face three major hurdles: high query counts, noticeable visual artifacts (such as colored stripes or blocks), and poor generalization when the victim model's training domain differs from the attacker's local surrogate models. DifAttack++ addresses these challenges through hierarchical feature disentanglement and cross-domain training.

Methodology

The authors introduce three primary innovations to streamline the attack process:

  1. Hierarchical Decouple-Fusion (HDF) Module: Instead of a single layer of separation, the HDF uses multiple levels of convolution to peel apart an image's Adversarial Feature (AF)—which dictates the model's classification—and its Visual Feature (VF)—which dictates how the image looks to humans.
  2. Cross-Domain (CD) Autoencoders: Clean images and adversarial examples (AEs) exist on different mathematical manifolds. DifAttack++ trains two separate autoencoders: one for the clean domain ($\mathcal{G}$) and one for the adversarial domain ($\mathcal{G}^*$). This cross-domain approach ensures more precise feature extraction during the attack stage.
  3. Iterative AF Optimization: During the attack, the VF is locked to ensure visual quality. The AF is then iteratively updated using a Natural Evolution Strategy (NES), which uses the victim model's score feedback to "evolve" the adversarial feature until the model is successfully deceived.
Overview of the DifAttack++ framework showing the training stage with cross-domain autoencoders and the attack stage utilizing hierarchical disentanglement.

Key Results and Insights

DifAttack++ was evaluated across challenging benchmarks including ImageNet-1k, Food101, ObjectNet, and modern CLIP models. The results demonstrate significant improvements over existing methods like MCGSquare and SimBA:

  • Query Efficiency: In targeted attacks on ImageNet, DifAttack++ reduced the average number of queries by 37.4% for simple models and 29.8% for complex models compared to previous state-of-the-art methods.
  • Attack Success Rate (ASR): The method achieved nearly 100% ASR in most untargeted scenarios and significantly higher ASR in targeted scenarios than its predecessors.
  • Visual Quality: It maintained a much higher PSNR (27.51 dB) and SSIM than competing methods, ensuring that adversarial images remain imperceptible to human observers.
  • Real-World Impact: The attack successfully compromised the commercial Imagga API with an 86.7% success rate, proving its viability against production-level AI systems.
Mathematical notation and descriptions for the components of the DifAttack++ architecture.

Conclusion and Future Work

DifAttack++ demonstrates that disentangling the "identity" of an image from its "adversarial signal" provides a powerful shortcut for black-box attacks. By treating adversarial examples as a separate domain and utilizing a hierarchical approach, the method drastically reduces the search space for successful perturbations. While the method requires a pre-training phase on surrogate models, its robust performance in open-set scenarios suggests high practical utility. Future work may involve extending this hierarchical disentanglement to other domains such as video or audio adversarial attacks.

Summary updated

BibTeX
@misc{liu2024difattack,
  author = {Jun Liu and Jiantao Zhou and Jiandian Zeng and Jinyu Tian and Zheng Li},
  title = {{DifAttack++: Query-Efficient Black-Box Adversarial Attack via Hierarchical Disentangled Feature Space in Cross-Domain}},
  year = {2024},
  eprint = {2406.03017},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.03017},
}
Figure