NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Design of Black-box Adversarial Examples by Leveraging Gradient-free Optimization and Operator Splitting Method

Pu Zhao, Sijia Liu, Pin-Yu Chen, Nghia Hoang, Kaidi Xu, Bhavya Kailkhura, Xue Lin

Adversarial attacks have traditionally relied on "white-box" access to a model's internal weights and gradients. However, real-world security threats often occur in "black-box" environments, such as cloud-based Vision APIs, where an attacker can only observe outputs (labels or confidence scores) for a given input. This paper introduces a significant advancement in black-box attack efficiency through a framework called ZO-ADMM.

The Challenge of Black-Box Attacks

Existing black-box methods face two primary hurdles:

  1. Query Complexity: Estimating gradients without direct access to the model typically requires millions of queries, making attacks slow and easily detectable.
  2. Rigidity: Most frameworks are hard-coded for specific distortion metrics (like $L_2$ or $L_\infty$ norms), lacking the flexibility to handle diverse constraints like $L_0$ (sparsity) or $L_1$.

The ZO-ADMM Framework

The authors propose using the Alternating Direction Method of Multipliers (ADMM), an operator-splitting algorithm, to decouple the adversarial optimization problem. By splitting the objective into an "attack loss" sub-problem and a "distortion constraint" sub-problem, the framework gains both mathematical generality and computational efficiency.

Key Methodological Innovations

  • Random Gradient Estimation (RGE): Instead of checking every pixel individually, ZO-ADMM probes the model using a small number of random directions to estimate the gradient efficiently.
  • Linearized ADMM: To prevent the optimization from stalling, the authors use a linearized version of the loss function. This allows the adversarial image to be updated using just one gradient estimation per iteration, rather than solving the sub-problem to completion at every step.
  • Bayesian Optimization (BO-ADMM): For scenarios with extremely limited query budgets, the framework integrates Bayesian Optimization to model the attack surface as a Gaussian Process.
  • Versatile Norm Support: The ADMM structure allows for the easy swapping of "proximal operators," enabling the attack to optimize for $L_0$, $L_1$, $L_2$, or Elastic Net distortions without redesigning the core algorithm.

Experimental Results and Insights

The framework was evaluated on MNIST, CIFAR-10, and ImageNet (using Inception v3). The results demonstrate a massive leap in efficiency:

  • Query Reduction: On MNIST and CIFAR-10, ZO-ADMM reduced the queries needed for a successful attack by over 95% compared to the state-of-the-art ZOO (Zeroth-Order Optimization) method. On ImageNet, the reduction reached a staggering 99.2%.
  • Success Rates: Despite the lower query count, the Attack Success Rate (ASR) remained near 100% in score-based settings.
Progression of a decision-based targeted attack on MNIST. The attack starts with an image from the target class ('8') and iteratively 'shrinks' it toward the original source image ('2') while maintaining the target classification.

One of the most effective strategies identified for "hard-label" (decision-based) attacks is a top-down initialization. Instead of adding noise to a source image, the attack starts with an image already in the target class and "shrinks" it toward the original image. This approach is significantly faster than searching for a boundary from scratch.

Progression of a decision-based targeted attack on CIFAR-10. The attack successfully reduces distortion relative to the original image over 36,300 queries while remaining in the target class.

Conclusion and Future Work

ZO-ADMM proves that black-box attacks can be both highly efficient and mathematically flexible. While the framework excels in score-based scenarios, the authors note that decision-based attacks (where only the final label is known) still require more queries. Future work involves scaling Bayesian Optimization (BO-ADMM) to handle the high dimensionality of large-scale images more effectively, as BO currently struggles with the resolution of datasets like ImageNet.

Summary updated

BibTeX
@inproceedings{zhao2019design,
  author = {Pu Zhao and Sijia Liu and Pin-Yu Chen and Nghia Hoang and Kaidi Xu and Bhavya Kailkhura and Xue Lin},
  title = {{On the Design of Black-box Adversarial Examples by Leveraging Gradient-free Optimization and Operator Splitting Method}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00021},
}
Figure