Brusleattack: a Query-Efficient Score- based Black-Box Sparse Adversarial Attack

Viet Quoc Vo, Ehsan Abbasnejad, Damith Ranasinghe · DOI · OpenReview

TL;DR

This paper introduces BRUSLEATTACK, a novel and efficient method for generating sparse adversarial attacks against black-box deep learning models. By reformulating the problem and employing a Bayesian framework, BRUSLEATTACK achieves state-of-the-art attack success rates and query efficiency, particularly on high-resolution image datasets, making it a significant advancement in understanding and testing model security.

What Problem Does This Paper Address?

Deep neural networks are increasingly deployed in real-world applications, making their safety and security paramount. Adversarial attacks, which subtly alter inputs to cause misclassifications, pose a significant threat. While dense adversarial attacks (perturbing many pixels slightly) have been extensively studied, sparse adversarial attacks (perturbing very few pixels significantly) are less understood and harder to achieve, especially in black-box settings where the model's internal workings are unknown. In these black-box scenarios, attackers typically only have access to model outputs like class labels or confidence scores. Constructing sparse attacks using only score-based feedback is particularly challenging due to the NP-hard nature of the problem and the non-differentiable search space involved in selecting which pixels to perturb and how to alter their colors. This paper aims to bridge this gap by proposing an efficient and effective sparse adversarial attack method for score-based black-box models.

Methods

The core of BRUSLEATTACK lies in its novel approach to tackling the combinatorial optimization problem of sparse adversarial attacks.

  • Problem Reformulation: The authors reformulate the original NP-hard problem of finding optimal pixel perturbations and their colors into a lower-dimensional, discrete search space. Instead of directly optimizing pixel values, they introduce a "synthetic color image" and a binary matrix to select which pixels to perturb. This significantly reduces the search space.
  • Bayesian Framework: They employ a Bayesian framework to iteratively learn the influence of individual pixels on the model's decision. This involves maintaining a probability distribution over pixel selections, updated using historical information from previous attack attempts. This allows the algorithm to intelligently explore and exploit promising pixel candidates.
  • Dissimilarity Map: To further accelerate the search, BRUSLEATTACK utilizes a "dissimilarity map" that captures the difference between the source image and the synthetic color image. This map guides the selection of pixels that are likely to move the adversarial example closer to the decision boundary more effectively.
  • Sampling and Update Strategy: The algorithm iteratively samples potential adversarial perturbations based on the learned pixel influences and the dissimilarity map. Accepted perturbations are used to update the Bayesian model, refining the search for optimal sparse adversarial examples.

Datasets

The paper evaluates BRUSLEATTACK on several standard computer vision datasets:

  • ImageNet: Used for extensive evaluations, including targeted and untargeted attacks, and comparisons with state-of-the-art methods.
  • CIFAR-10: Used for comparative studies and to demonstrate the generalizability of the attack.
  • STL-10: Also used for evaluating the attack's performance and generalization.

The authors also demonstrate the attack's effectiveness against a real-world system:

  • Google Cloud Vision (GCV): Used to showcase the practical applicability of BRUSLEATTACK in a challenging, real-world black-box scenario.

Key Insights and Ideas

  • Reformulating the Search Space is Crucial: The paper highlights that directly tackling the high-dimensional, mixed discrete-continuous search space of sparse attacks is intractable. By reformulating it into a lower-dimensional, discrete problem using a synthetic image and a binary mask, the authors make the problem tractable.
  • Learning Pixel Influence is More Effective than Random Search: Instead of relying on purely stochastic methods, BRUSLEATTACK learns which pixels are more influential for misclassification. This learned knowledge, captured by the Bayesian framework, guides the search more efficiently, leading to better query efficiency.
  • Vision Transformers are More Robust to Sparse Attacks (but not immune): The study reveals that Vision Transformers (ViTs) exhibit greater robustness against sparse adversarial attacks compared to traditional Convolutional Neural Networks (CNNs) like ResNets. This is attributed to ViTs' ability to attend to the entire image, making them less susceptible to localized perturbations. However, BRUSLEATTACK can still effectively degrade ViT performance.
  • Dissimilarity Maps Aid in Faster Convergence: The introduction of a dissimilarity map, which highlights regions of significant difference between the source and synthetic images, helps the attack converge faster, especially at lower sparsity levels.

Key Results

  • State-of-the-Art Performance: BRUSLEATTACK consistently outperforms the state-of-the-art sparse attack method, SPARSE-RS, in terms of Attack Success Rate (ASR) across various datasets, models, and sparsity levels.
  • Query Efficiency: The proposed method is significantly more query-efficient than existing approaches. For instance, on ImageNet, BRUSLEATTACK can achieve over 90% ASR with a small query budget of 6K queries and 1.0% sparsity, outperforming SPARSE-RS.
  • Effectiveness on High-Resolution Images: The attack demonstrates strong performance on high-resolution datasets like ImageNet, which are often challenging for adversarial attacks.
  • Real-World System Attack: BRUSLEATTACK successfully attacks Google Cloud Vision, demonstrating its practical utility against real-world deployed systems, often with fewer queries than SPARSE-RS.
  • Robustness Against Defenses: The attack shows effectiveness against models employing adversarial training and other defense mechanisms, though defended models generally require higher sparsity to be compromised.

Limitations and Future Work

  • Computational Cost: While BRUSLEATTACK is query-efficient, the initial setup and the Bayesian inference process can still be computationally intensive.
  • Hyperparameter Sensitivity: The performance of the attack can be influenced by hyperparameter choices, although the paper explores and provides recommendations for optimal settings.
  • Future Work: The authors suggest exploring more complex initialization schemes and generation strategies for synthetic images. They also point to the potential for developing more sophisticated Bayesian inference techniques and investigating the impact of different schedulers for further optimization. The research also opens avenues for exploring the influence of pixels on model decisions more deeply.

Summary updated

BibTeX
@inproceedings{vo2024brusleattack,
  author = {Viet Quoc Vo and Ehsan Abbasnejad and Damith Ranasinghe},
  title = {{Brusleattack: a Query-Efficient Score- based Black-Box Sparse Adversarial Attack}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=PAfnMGXief},
}
Figure