How to Robustify Black-Box ML Models? A Zeroth-Order Optimization Perspective
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
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
- 2016Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoisingcited by 1,358
- 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
- 2016Practical Black-Box Attacks against Machine Learningcited by 903
- 2018Robustness May Be at Odds with Accuracycited by 880
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 744
38 more
- 2020Fast is better than free: Revisiting adversarial trainingcited by 727
- 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 724
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 666
- 2019Adversarial Training for Free!cited by 643
- 2017Provable defenses against adversarial examples via the convex outer adversarial polytopecited by 567
- 2020On Adaptive Attacks to Adversarial Example Defensescited by 555
- 2017Countering Adversarial Images using Input Transformationscited by 520
- 2017Adversarial Patchcited by 517
- 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 501
- 2019Unlabeled Data Improves Adversarial Robustnesscited by 416
- 2019Provably Robust Deep Learning via Adversarially Trained Smoothed Classifierscited by 330
- 2018Certified Defenses against Adversarial Examplescited by 306
- 2017MagNet: a Two-Pronged Defense against Adversarial Examplescited by 269
- 2018Towards Fast Computation of Certified Robustness for ReLU Networkscited by 255
- 2017Formal Verification of Piece-Wise Linear Feed-Forward Neural Networkscited by 242
- 2017On Detecting Adversarial Perturbationscited by 232
- 2020Understanding and Improving Fast Adversarial Trainingcited by 214
- 2019On instabilities of deep learning in image reconstruction - Does AI come at a cost?cited by 212
- 2019You Only Propagate Once: Accelerating Adversarial Training via Maximal Principlecited by 183
- 2018Evaluating the Robustness of Neural Networks: An Extreme Value Theory Approachcited by 182
- 2017On the (Statistical) Detection of Adversarial Examplescited by 180
- 2019Are Labels Required for Improving Adversarial Robustness?cited by 163
- 2020A Primer on Zeroth-Order Optimization in Signal Processing and Machine Learningcited by 162
- 2020Adversarial Robustness: From Self-Supervised Pre-Training to Fine-Tuningcited by 153
- 2018Prior Convictions: Black-Box Adversarial Attacks with Bandits and Priorscited by 146
- 2018Scaling provable adversarial defensescited by 143
- 2018AutoZOOM: Autoencoder-based Zeroth Order Optimization Method for Attacking Black-box Neural Networkscited by 137
- 2018A Dual Approach to Scalable Verification of Deep Networkscited by 125
- 2018Zeroth-Order Stochastic Variance Reduction for Nonconvex Optimizationcited by 111
- 2017Maximum Resilience of Artificial Neural Networkscited by 97
- 2020Towards Robust LiDAR-based Perception in Autonomous Driving: General Black-box Adversarial Sensor Attack and Countermeasurescited by 95
- 2019Model Inversion Networks for Model-Based Optimizationcited by 83
- 2020Secure and Robust Machine Learning for Healthcare: A Surveycited by 80
- 2022Parallel Rectangle Flip Attack: A Query-based Black-box Attack against Object Detectioncited by 79
- 2017Robust Physical-World Attacks on Deep Learning Modelscited by 72
- 2019Adversarial camera stickers: A physical camera-based attack on deep learning systemscited by 70
- 2018Structured Adversarial Attack: Towards General Implementation and Better Interpretabilitycited by 64
- 2019Black-Box Adversarial Attack with Transferable Model-based Embeddingcited by 57
50 most cited of 62 All 62 (JSON)
Built on by
Citing papers per year: 2022: 3; 2023: 14; 2024: 13; 2025: 4; 2026: 5.
39 papers.
Sort:
By area:
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Nowcited by 210
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Modelscited by 168
- 2024Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmarkcited by 114
- 2022Understanding and Improving Visual Prompting: A Label-Mapping Perspectivecited by 87
- 2023DeepZero: Scaling up Zeroth-Order Optimization for Deep Model Trainingcited by 76
- 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 50
- 2023Adversarial Prompt Tuning for Vision-Language Modelscited by 44
- 2022Visual Prompting for Adversarial Robustnesscited by 34
- 2022Fairness Reprogrammingcited by 33
- 2023Seasoning Model Soups for Robustness to Adversarial and Natural Distribution Shiftscited by 23
- 2023Text-Visual Prompting for Efficient 2D Temporal Video Groundingcited by 18
- 2023Learning to Learn from APIs: Black-Box Data-Free Meta-Learningcited by 18
27 more
- 2024Advancing the Robustness of Large Language Models through Self-Denoised Smoothingcited by 16
- 2023Tensor-Compressed Back-Propagation-Free Training for (Physics-Informed) Neural Networkscited by 12
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalizationcited by 12
- 2023Certified Zeroth-order Black-Box Defense with Robust UNet Denoisercited by 11
- 2023ZooPFL: Exploring Black-box Foundation Models for Personalized Federated Learningcited by 9
- 2024COAP: Memory-Efficient Training with Correlation-Aware Gradient Projectioncited by 8
- 2024PartImageNet++ Dataset: Scaling up Part-based Models for Robust Recognitioncited by 7
- 2024Privacy-preserving Fine-tuning of Large Language Models through Flatnesscited by 6
- 2024Fully Zeroth-Order Bilevel Programming via Gaussian Smoothingcited by 6
- 2025ElasticZO: A Memory-Efficient On-Device Learning with Combined Zeroth- and First-Order Optimizationcited by 5
- 2025ZOQO: Zero-Order Quantized Optimizationcited by 4
- 2023SMUG: Towards robust MRI reconstruction by smoothed unrollingcited by 3
- 2024The Power of Few: Accelerating and Enhancing Data Reweighting with Coreset Selectioncited by 3
- 2024Adversarial Robustification via Text-to-Image Diffusion Modelscited by 3
- 2024Privacy-preserving Universal Adversarial Defense for Black-box Modelscited by 3
- 2025Elucidating Subspace Perturbation in Zeroth-Order Optimization: Theory and Practice at Scalecited by 2
- 2025Subspace-based Approximate Hessian Method for Zeroth-Order Optimizationcited by 2
- 2023Can Adversarial Examples Be Parsed to Reveal Victim Model Information?cited by 1
- 2023Post-train Black-box Defense via Bayesian Boundary Correctioncited by 1
- 2023Robust MRI Reconstruction by Smoothed Unrolling (SMUG)cited by 1
- 2024Cross-Input Certified Training for Universal Perturbationscited by 1
- 2024Adversarial Watermarking for Face Recognitioncited by 1
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpoweredcited by 1
- 2023Asynchronous Message-Passing and Zeroth-Order Optimization Based Distributed Learning with a Use-Case in Resource Allocation in Communication Networkscited by 0
- 2026ZO-SAM: Zero-Order Sharpness-Aware Minimization for Efficient Sparse Trainingcited by 0
- 2026Curvature-Aware Zeroth-Order Optimization for Memory-Efficient Test-Time Adaptationcited by 0
- 2026SAFEGuard: Detect Optimization-Based Jailbreak Attacks Through Harmful Semantic Analysis and Fluency Measurementcited by 0
- 2026SAFEGuard: Detect Optimization-Based Jailbreak Attacks Through Harmful Semantic Analysis and Fluency Measurement5 Sep 2026
- 2026Curvature-Aware Zeroth-Order Optimization for Memory-Efficient Test-Time Adaptation12 Aug 2026
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpowered15 May 2026
- 2026ZO-SAM: Zero-Order Sharpness-Aware Minimization for Efficient Sparse Training13 Mar 2026
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalization19 Feb 2026
- 2025Subspace-based Approximate Hessian Method for Zeroth-Order Optimization8 Jul 2025
- 2025Elucidating Subspace Perturbation in Zeroth-Order Optimization: Theory and Practice at Scale31 Jan 2025
- 2025ZOQO: Zero-Order Quantized Optimization12 Jan 2025
- 2025ElasticZO: A Memory-Efficient On-Device Learning with Combined Zeroth- and First-Order Optimization8 Jan 2025
- 2024COAP: Memory-Efficient Training with Correlation-Aware Gradient Projection26 Nov 2024
- 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structures10 Oct 2024
- 2024Adversarial Watermarking for Face Recognition24 Sep 2024
27 more
- 2024Privacy-preserving Universal Adversarial Defense for Black-box Models20 Aug 2024
- 2024Adversarial Robustification via Text-to-Image Diffusion Models26 Jul 2024
- 2024PartImageNet++ Dataset: Scaling up Part-based Models for Robust Recognition15 Jul 2024
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models24 May 2024
- 2024Cross-Input Certified Training for Universal Perturbations15 May 2024
- 2024Advancing the Robustness of Large Language Models through Self-Denoised Smoothing18 Apr 2024
- 2024Fully Zeroth-Order Bilevel Programming via Gaussian Smoothing29 Mar 2024
- 2024The Power of Few: Accelerating and Enhancing Data Reweighting with Coreset Selection18 Mar 2024
- 2024Privacy-preserving Fine-tuning of Large Language Models through Flatness7 Mar 2024
- 2024Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmark18 Feb 2024
- 2023Robust MRI Reconstruction by Smoothed Unrolling (SMUG)12 Dec 2023
- 2023Adversarial Prompt Tuning for Vision-Language Models19 Nov 2023
- 2023Asynchronous Message-Passing and Zeroth-Order Optimization Based Distributed Learning with a Use-Case in Resource Allocation in Communication Networks8 Nov 2023
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct 2023
- 2023ZooPFL: Exploring Black-box Foundation Models for Personalized Federated Learning8 Oct 2023
- 2023DeepZero: Scaling up Zeroth-Order Optimization for Deep Model Training3 Oct 2023
- 2023Tensor-Compressed Back-Propagation-Free Training for (Physics-Informed) Neural Networks18 Aug 2023
- 2023Post-train Black-box Defense via Bayesian Boundary Correction29 Jun 2023
- 2023Learning to Learn from APIs: Black-Box Data-Free Meta-Learning28 May 2023
- 2023Certified Zeroth-order Black-Box Defense with Robust UNet Denoiser13 Apr 2023
- 2023SMUG: Towards robust MRI reconstruction by smoothed unrolling14 Mar 2023
- 2023Can Adversarial Examples Be Parsed to Reveal Victim Model Information?13 Mar 2023
- 2023Text-Visual Prompting for Efficient 2D Temporal Video Grounding9 Mar 2023
- 2023Seasoning Model Soups for Robustness to Adversarial and Natural Distribution Shifts20 Feb 2023
- 2022Understanding and Improving Visual Prompting: A Label-Mapping Perspective21 Nov 2022
- 2022Visual Prompting for Adversarial Robustness12 Oct 2022
- 2022Fairness Reprogramming21 Sep 2022
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Nowcited by 210
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Modelscited by 168
- 2024Adversarial Robustification via Text-to-Image Diffusion Modelscited by 3
- 2024Adversarial Robustification via Text-to-Image Diffusion Models26 Jul 2024
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models24 May 2024
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct 2023
- 2023Adversarial Prompt Tuning for Vision-Language Modelscited by 44
- 2023Adversarial Prompt Tuning for Vision-Language Models19 Nov 2023
- 2024Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmarkcited by 114
- 2022Understanding and Improving Visual Prompting: A Label-Mapping Perspectivecited by 87
- 2023DeepZero: Scaling up Zeroth-Order Optimization for Deep Model Trainingcited by 76
- 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structurescited by 50
- 2022Visual Prompting for Adversarial Robustnesscited by 34
- 2022Fairness Reprogrammingcited by 33
- 2023Seasoning Model Soups for Robustness to Adversarial and Natural Distribution Shiftscited by 23
- 2023Text-Visual Prompting for Efficient 2D Temporal Video Groundingcited by 18
- 2023Tensor-Compressed Back-Propagation-Free Training for (Physics-Informed) Neural Networkscited by 12
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalizationcited by 12
- 2023Certified Zeroth-order Black-Box Defense with Robust UNet Denoisercited by 11
- 2023ZooPFL: Exploring Black-box Foundation Models for Personalized Federated Learningcited by 9
12 most cited of 32 All 32 (JSON)
- 2026Curvature-Aware Zeroth-Order Optimization for Memory-Efficient Test-Time Adaptation12 Aug 2026
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpowered15 May 2026
- 2026ZO-SAM: Zero-Order Sharpness-Aware Minimization for Efficient Sparse Training13 Mar 2026
- 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalization19 Feb 2026
- 2025Subspace-based Approximate Hessian Method for Zeroth-Order Optimization8 Jul 2025
- 2025Elucidating Subspace Perturbation in Zeroth-Order Optimization: Theory and Practice at Scale31 Jan 2025
- 2025ZOQO: Zero-Order Quantized Optimization12 Jan 2025
- 2025ElasticZO: A Memory-Efficient On-Device Learning with Combined Zeroth- and First-Order Optimization8 Jan 2025
- 2024COAP: Memory-Efficient Training with Correlation-Aware Gradient Projection26 Nov 2024
- 2024Enhancing Zeroth-order Fine-tuning for Language Models with Low-rank Structures10 Oct 2024
- 2024Adversarial Watermarking for Face Recognition24 Sep 2024
- 2024Privacy-preserving Universal Adversarial Defense for Black-box Models20 Aug 2024
12 newest of 32 All 32 (JSON)