BRUSLEATTACK: A QUERY-EFFICIENT SCORE- BASED BLACK-BOX SPARSE ADVERSARIAL ATTACK

Quoc Viet Vo, Ehsan Abbasnejad, Damith Ranasinghe

Abstract

Sparse adversarial attacks aim to deceive machine learning models by perturbing a minimal number of pixels. However, finding these pixels in a black-box setting is often query-intensive and computationally expensive. We present BruSLeAttack, a novel Bayesian-based sparse attack that significantly improves query efficiency. By utilizing a lower-dimensional search space through synthetic color images and a Dirichlet-based Bayesian framework to learn influential pixels, BruSLeAttack achieves state-of-the-art success rates. Our method demonstrates superior performance on ImageNet and real-world systems like Google Cloud Vision, while also highlighting the relative robustness of Vision Transformers compared to traditional CNNs.

Introduction

Most adversarial research focuses on "dense" attacks, where imperceptible changes are applied to every pixel. In contrast, "sparse" attacks aim to flip a model's prediction by modifying only a tiny fraction of the image. This task is significantly more difficult in black-box settings, where the attacker only observes output confidence scores. Finding the optimal pixels to perturb is an NP-hard combinatorial problem. Existing sparse attacks are often "query-hungry," requiring tens of thousands of interactions, which is impractical for attacking Machine Learning as a Service (MLaaS) platforms with rate limits.

Overview of the BruSLeAttack process and its effect on different architectures.

Methodology

BruSLeAttack addresses the complexity of sparse attacks through three core innovations:

  1. Lower Dimensional Search Space: Instead of optimizing both pixel locations and colors, the attack pre-generates a "synthetic color image" ($x'$). The problem is then simplified to a binary selection: for each pixel, should we keep the original value or swap it with the synthetic one?
  2. Bayesian Learning Framework: The algorithm maintains a Dirichlet distribution over the pixels to track their "influence." As queries are made, the posterior is updated to favor pixels that historically caused larger increases in the loss function. This allows the attack to "learn" the model's vulnerabilities.
  3. Dissimilarity Map ($M$): A heuristic is used to prioritize pixels that differ most between the source and synthetic images, as larger jumps in pixel value are more likely to cross decision boundaries quickly.
The BruSLeAttack pipeline, illustrating the generation and update cycles using a Bayesian approach.

Experimental Evaluation

The attack was evaluated on ImageNet, CIFAR-10, STL-10, and Robustbench. It was also tested against the Google Cloud Vision (GCV) API to assess real-world impact.

Key Results

  • Efficiency: On ImageNet, BruSLeAttack achieved over 90% Attack Success Rate (ASR) with only 6,000 queries at 1.0% sparsity, consistently outperforming the previous state-of-the-art, Sparse-RS.
  • Real-World Efficacy: The attack successfully fooled GCV. For instance, a "Mushroom" image was misclassified using only 490 queries, while baseline methods failed within a 5,000-query budget.
  • Robustness of Vision Transformers (ViTs): A significant finding is that ViTs are more robust to sparse attacks than CNNs like ResNet. This is attributed to the global receptive field of ViTs, which makes them less dependent on the local features targeted by sparse perturbations.

Conclusion

BruSLeAttack demonstrates that historical query data can be leveraged via a Bayesian framework to create highly efficient sparse attacks. While effective, future work could explore dynamic optimization of synthetic colors and methods to evade query-based detection systems. The study also underscores the need for new defense mechanisms, as current adversarial training and noise-based defenses remain vulnerable to efficient sparse perturbations.

Summary updated

BibTeX
@inproceedings{vo2024brusleattack,
  author = {Quoc Viet 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