Skip to main content
QUICK REVIEW

[Paper Review] Sparse-RS: a versatile framework for query-efficient sparse black-box adversarial attacks

Francesco Croce, Maksym Andriushchenko|arXiv (Cornell University)|Jun 23, 2020
Adversarial Robustness in Machine LearningComputer Science10 citations
TL;DR

Sparse-RS is a query-efficient, black-box adversarial attack framework based on randomized search that achieves state-of-the-art performance for sparse attacks—l₀-bounded perturbations, adversarial patches, and adversarial frames—without requiring surrogate models. It outperforms both black-box and white-box attacks on MNIST, CIFAR-10, and ImageNet, achieving high success rates even on challenging 20×20 patches and 2-pixel-wide frames.

ABSTRACT

We propose a versatile framework based on random search, Sparse-RS, for score-based sparse targeted and untargeted attacks in the black-box setting. Sparse-RS does not rely on substitute models and achieves state-of-the-art success rate and query efficiency for multiple sparse attack models: $l_0$-bounded perturbations, adversarial patches, and adversarial frames. The $l_0$-version of untargeted Sparse-RS outperforms all black-box and even all white-box attacks for different models on MNIST, CIFAR-10, and ImageNet. Moreover, our untargeted Sparse-RS achieves very high success rates even for the challenging settings of $20 imes20$ adversarial patches and $2$-pixel wide adversarial frames for $224 imes224$ images. Finally, we show that Sparse-RS can be applied to generate targeted universal adversarial patches where it significantly outperforms the existing approaches. The code of our framework is available at https://github.com/fra31/sparse-rs.

Motivation & Objective

  • Address the lack of efficient, query-effective black-box attacks for sparse threat models such as l₀-perturbations, adversarial patches, and frames.
  • Develop a framework that operates solely on classifier scores (no gradients or model weights), enabling practical black-box attacks.
  • Improve success rate and query efficiency over existing black-box methods, especially in high-dimensional and combinatorially constrained settings.
  • Enable targeted universal adversarial patch generation with superior performance compared to prior approaches.
  • Provide a unified, flexible framework applicable across diverse sparse attack types without relying on substitute models.

Proposed method

  • Leverages zeroth-order optimization via random search to explore sparse perturbation spaces under combinatorial constraints.
  • Designs specialized sampling distributions to prioritize high-impact, sparse perturbations (e.g., selecting pixel locations or patch positions efficiently).
  • Introduces a two-stage update strategy: alternating location and patch updates with a 1:4 ratio (patch updates more frequent) for improved convergence.
  • Employs single-channel updates during optimization to refine patch content after initial location convergence, enhancing success rate.
  • Uses a hybrid initialization strategy combining square patches and random sampling to improve early exploration and avoid local minima.
  • Applies score-based optimization where only classifier confidence scores are accessed, enabling full black-box operation without gradient computation.

Experimental results

Research questions

  • RQ1Can random search be effectively adapted to achieve high query efficiency and success rate in black-box sparse adversarial attacks?
  • RQ2How does the proposed Sparse-RS framework compare to existing black-box and white-box attacks in terms of success rate and query cost for l₀-perturbations?
  • RQ3Can Sparse-RS generate high-quality adversarial patches and frames with minimal queries, especially in challenging physical-world settings?
  • RQ4Does the framework outperform existing methods in generating targeted universal adversarial patches?
  • RQ5How do different update ratios between location and patch content affect the performance and stability of the attack?

Key findings

  • The l₀-universal version of Sparse-RS achieves state-of-the-art success rate on MNIST, CIFAR-10, and ImageNet, outperforming all prior black-box and even white-box attacks.
  • For 20×20 adversarial patches on ImageNet, Sparse-RS achieves a success rate of 87.8% ± 0.7% with only 2,160 ± 44 median queries on ResNet.
  • On 2-pixel-wide adversarial frames, Sparse-RS achieves a success rate of 79.5% ± 1.4% with 2,808 ± 89 median queries, significantly outperforming prior methods.
  • Patch-RS, a variant of Sparse-RS with optimized initialization and update strategy, achieves 87.8% success rate on 20×20 patches with 2,160 median queries, surpassing both TPA and PGD-based baselines.
  • The 1:4 ratio of location to patch updates yields the best performance, and Patch-RS maintains high robustness across different update ratios, demonstrating algorithmic stability.
  • Sparse-RS enables targeted universal patch attacks with significantly higher success rates than existing approaches, validating its versatility and effectiveness in complex attack scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.