mlsanityData to 14 Oct 2026

How to Robustify Black-Box ML Models? A Zeroth-Order Optimization Perspective

arXiv 2203.14195 ↗First posted 27 Mar 2022cs.LG cs.AI cs.CVcited by 39

Not on the map. Why?

Abstract (arXiv)

The lack of adversarial robustness has been recognized as an important issue for state-of-the-art machine learning (ML) models, e.g., deep neural networks (DNNs). Thereby, robustifying ML models against adversarial attacks is now a major focus of research. However, nearly all existing defense methods, particularly for robust training, made the white-box assumption that the defender has the access to the details of an ML model (or its surrogate alternatives if available), e.g., its architectures and parameters. Beyond existing works, in this paper we aim to address the problem of black-box defense: How to robustify a black-box model using just input queries and output feedback? Such a problem arises in practical scenarios, where the owner of the predictive model is reluctant to share model information in order to preserve privacy. To this end, we propose a general notion of defensive operation that can be applied to black-box models, and design it through the lens of denoised smoothing (DS), a first-order (FO) certified defense technique. To allow the design of merely using model queries, we further integrate DS with the zeroth-order (gradient-free) optimization. However, a direct implementation of zeroth-order (ZO) optimization suffers a high variance of gradient estimates, and thus leads to ineffective defense. To tackle this problem, we next propose to prepend an autoencoder (AE) to a given (black-box) model so that DS can be trained using variance-reduced ZO optimization. We term the eventual defense as ZO-AE-DS. In practice, we empirically show that ZO-AE- DS can achieve improved accuracy, certified robustness, and query complexity over existing baselines. And the effectiveness of our approach is justified under both image classification and image reconstruction tasks. Codes are available at https://github.com/damon-demon/Black-Box-Defense.

Key facts. Cited by 39 papers in the map (data through 14 Oct 2026). Builds on 62 of its 75 references that are in the map. First posted on arXiv 27 Mar 2022.

Builds on

62 of 75 references.

References · 62

  1. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  2. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  3. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  4. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
  5. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
  6. 2016Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoisingcited by 1,358
  7. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
  8. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
  9. 2016Practical Black-Box Attacks against Machine Learningcited by 903
  10. 2018Robustness May Be at Odds with Accuracycited by 880
  11. 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
  12. 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 744
38 more
  1. 2020Fast is better than free: Revisiting adversarial trainingcited by 727
  2. 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 724
  3. 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 666
  4. 2019Adversarial Training for Free!cited by 643
  5. 2017Provable defenses against adversarial examples via the convex outer adversarial polytopecited by 567
  6. 2020On Adaptive Attacks to Adversarial Example Defensescited by 555
  7. 2017Countering Adversarial Images using Input Transformationscited by 520
  8. 2017Adversarial Patchcited by 517
  9. 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 501
  10. 2019Unlabeled Data Improves Adversarial Robustnesscited by 416
  11. 2019Provably Robust Deep Learning via Adversarially Trained Smoothed Classifierscited by 330
  12. 2018Certified Defenses against Adversarial Examplescited by 306
  13. 2017MagNet: a Two-Pronged Defense against Adversarial Examplescited by 269
  14. 2018Towards Fast Computation of Certified Robustness for ReLU Networkscited by 255
  15. 2017Formal Verification of Piece-Wise Linear Feed-Forward Neural Networkscited by 242
  16. 2017On Detecting Adversarial Perturbationscited by 232
  17. 2020Understanding and Improving Fast Adversarial Trainingcited by 214
  18. 2019On instabilities of deep learning in image reconstruction - Does AI come at a cost?cited by 212
  19. 2019You Only Propagate Once: Accelerating Adversarial Training via Maximal Principlecited by 183
  20. 2018Evaluating the Robustness of Neural Networks: An Extreme Value Theory Approachcited by 182
  21. 2017On the (Statistical) Detection of Adversarial Examplescited by 180
  22. 2019Are Labels Required for Improving Adversarial Robustness?cited by 163
  23. 2020A Primer on Zeroth-Order Optimization in Signal Processing and Machine Learningcited by 162
  24. 2020Adversarial Robustness: From Self-Supervised Pre-Training to Fine-Tuningcited by 153
  25. 2018Prior Convictions: Black-Box Adversarial Attacks with Bandits and Priorscited by 146
  26. 2018Scaling provable adversarial defensescited by 143
  27. 2018AutoZOOM: Autoencoder-based Zeroth Order Optimization Method for Attacking Black-box Neural Networkscited by 137
  28. 2018A Dual Approach to Scalable Verification of Deep Networkscited by 125
  29. 2018Zeroth-Order Stochastic Variance Reduction for Nonconvex Optimizationcited by 111
  30. 2017Maximum Resilience of Artificial Neural Networkscited by 97
  31. 2020Towards Robust LiDAR-based Perception in Autonomous Driving: General Black-box Adversarial Sensor Attack and Countermeasurescited by 95
  32. 2019Model Inversion Networks for Model-Based Optimizationcited by 83
  33. 2020Secure and Robust Machine Learning for Healthcare: A Surveycited by 80
  34. 2022Parallel Rectangle Flip Attack: A Query-based Black-box Attack against Object Detectioncited by 79
  35. 2017Robust Physical-World Attacks on Deep Learning Modelscited by 72
  36. 2019Adversarial camera stickers: A physical camera-based attack on deep learning systemscited by 70
  37. 2018Structured Adversarial Attack: Towards General Implementation and Better Interpretabilitycited by 64
  38. 2019Black-Box Adversarial Attack with Transferable Model-based Embeddingcited by 57

50 most cited of 62 All 62 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 3; 2023: 14; 2024: 13; 2025: 4; 2026: 5.

39 papers.

Sort:

By area:

  1. 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Nowcited by 210
  2. 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Modelscited by 168
  3. 2024Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmarkcited by 114
  4. 2022Understanding and Improving Visual Prompting: A Label-Mapping Perspectivecited by 87
  5. 2023DeepZero: Scaling up Zeroth-Order Optimization for Deep Model Trainingcited by 76
  6. 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 50
  7. 2023Adversarial Prompt Tuning for Vision-Language Modelscited by 44
  8. 2022Visual Prompting for Adversarial Robustnesscited by 34
  9. 2022Fairness Reprogrammingcited by 33
  10. 2023Seasoning Model Soups for Robustness to Adversarial and Natural Distribution Shiftscited by 23
  11. 2023Text-Visual Prompting for Efficient 2D Temporal Video Groundingcited by 18
  12. 2023Learning to Learn from APIs: Black-Box Data-Free Meta-Learningcited by 18
27 more
  1. 2024Advancing the Robustness of Large Language Models through Self-Denoised Smoothingcited by 16
  2. 2023Tensor-Compressed Back-Propagation-Free Training for (Physics-Informed) Neural Networkscited by 12
  3. 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalizationcited by 12
  4. 2023Certified Zeroth-order Black-Box Defense with Robust UNet Denoisercited by 11
  5. 2023ZooPFL: Exploring Black-box Foundation Models for Personalized Federated Learningcited by 9
  6. 2024COAP: Memory-Efficient Training with Correlation-Aware Gradient Projectioncited by 8
  7. 2024PartImageNet++ Dataset: Scaling up Part-based Models for Robust Recognitioncited by 7
  8. 2024Privacy-preserving Fine-tuning of Large Language Models through Flatnesscited by 6
  9. 2024Fully Zeroth-Order Bilevel Programming via Gaussian Smoothingcited by 6
  10. 2025ElasticZO: A Memory-Efficient On-Device Learning with Combined Zeroth- and First-Order Optimizationcited by 5
  11. 2025ZOQO: Zero-Order Quantized Optimizationcited by 4
  12. 2023SMUG: Towards robust MRI reconstruction by smoothed unrollingcited by 3
  13. 2024The Power of Few: Accelerating and Enhancing Data Reweighting with Coreset Selectioncited by 3
  14. 2024Adversarial Robustification via Text-to-Image Diffusion Modelscited by 3
  15. 2024Privacy-preserving Universal Adversarial Defense for Black-box Modelscited by 3
  16. 2025Elucidating Subspace Perturbation in Zeroth-Order Optimization: Theory and Practice at Scalecited by 2
  17. 2025Subspace-based Approximate Hessian Method for Zeroth-Order Optimizationcited by 2
  18. 2023Can Adversarial Examples Be Parsed to Reveal Victim Model Information?cited by 1
  19. 2023Post-train Black-box Defense via Bayesian Boundary Correctioncited by 1
  20. 2023Robust MRI Reconstruction by Smoothed Unrolling (SMUG)cited by 1
  21. 2024Cross-Input Certified Training for Universal Perturbationscited by 1
  22. 2024Adversarial Watermarking for Face Recognitioncited by 1
  23. 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpoweredcited by 1
  24. 2023Asynchronous Message-Passing and Zeroth-Order Optimization Based Distributed Learning with a Use-Case in Resource Allocation in Communication Networkscited by 0
  25. 2026ZO-SAM: Zero-Order Sharpness-Aware Minimization for Efficient Sparse Trainingcited by 0
  26. 2026Curvature-Aware Zeroth-Order Optimization for Memory-Efficient Test-Time Adaptationcited by 0
  27. 2026SAFEGuard: Detect Optimization-Based Jailbreak Attacks Through Harmful Semantic Analysis and Fluency Measurementcited by 0