Skip to main content
QUICK REVIEW

[Paper Review] Beware the Black-Box: On the Robustness of Recent Defenses to Adversarial Examples

Kaleel Mahmood, Deniz Gurevin|arXiv (Cornell University)|Oct 18, 2021
Adversarial Robustness in Machine LearningComputer Science20 references18 citations
TL;DR

This paper evaluates nine recent adversarial defense methods against adaptive black-box attacks using multiple attacks on CIFAR-10 and Fashion-MNIST. It finds that 7 out of 9 defenses offer less than 25% improvement in defense accuracy, revealing a critical gap in robustness against black-box adversaries despite strong white-box performance.

ABSTRACT

Many defenses have recently been proposed at venues like NIPS, ICML, ICLR and CVPR. These defenses are mainly focused on mitigating white-box attacks. They do not properly examine black-box attacks. In this paper, we expand upon the analyses of these defenses to include adaptive black-box adversaries. Our evaluation is done on nine defenses including Barrage of Random Transforms, ComDefend, Ensemble Diversity, Feature Distillation, The Odds are Odd, Error Correcting Codes, Distribution Classifier Defense, K-Winner Take All and Buffer Zones. Our investigation is done using two black-box adversarial models and six widely studied adversarial attacks for CIFAR-10 and Fashion-MNIST datasets. Our analyses show most recent defenses (7 out of 9) provide only marginal improvements in security (<25%), as compared to undefended networks. For every defense, we also show the relationship between the amount of data the adversary has at their disposal, and the effectiveness of adaptive black-box attacks. Overall, our results paint a clear picture: defenses need both thorough white-box and black-box analyses to be considered secure. We provide this large scale study and analyses to motivate the field to move towards the development of more robust black-box defenses.

Motivation & Objective

  • To assess the robustness of recent adversarial defenses against adaptive black-box attacks, which are often overlooked in favor of white-box evaluations.
  • To investigate how the amount of training data available to an adversary affects the effectiveness of adaptive black-box attacks on these defenses.
  • To provide a comprehensive, reproducible benchmark for evaluating defenses under realistic black-box threat models.
  • To motivate the machine learning community to develop more robust defenses that are secure against both white-box and black-box adversaries.

Proposed method

  • Evaluated nine recent defenses—Barrage of Random Transforms, ComDefend, Ensemble Diversity, Feature Distillation, The Odds are Odd, Error Correcting Codes, Distribution Classifier Defense, K-Winner Take All, and Buffer Zones—on CIFAR-10 and Fashion-MNIST.
  • Applied six widely used adversarial attacks (e.g., MIM, PGD) under two black-box adversarial models: query-based and data-reconstruction-based.
  • Varied the adversary's access to training data (100%, 75%, 50%, 25%, 1%) to study the relationship between data availability and attack success.
  • Used the same base CNN architecture and training protocol across all defenses to ensure fair comparison and reproducibility.
  • Collected and publicly released detailed code and hyperparameter tuning instructions to support reproducibility and future research.
  • Measured defense accuracy on adversarial examples generated via untargeted attacks to assess robustness under realistic conditions.

Experimental results

Research questions

  • RQ1How effective are recent defenses against adaptive black-box adversaries compared to white-box adversaries?
  • RQ2What is the relationship between the amount of training data available to a black-box adversary and the success rate of adaptive attacks?
  • RQ3Do defenses that perform well under white-box attacks also maintain strong performance under black-box settings?
  • RQ4Which defense mechanisms show meaningful improvements in defense accuracy when exposed to adaptive black-box attacks?
  • RQ5To what extent do implementation differences (e.g., framework-specific training) affect the observed defense performance?

Key findings

  • Seven out of nine defenses showed less than a 25% improvement in defense accuracy over the undefended baseline when attacked by adaptive black-box adversaries.
  • The distribution classifier defense achieved only a 6.82% average improvement in defense accuracy on Fashion-MNIST across all adversary strengths, indicating marginal gains.
  • The k-Winner-Take-All defense performed approximately the same or slightly worse than the vanilla model, with no significant security benefit.
  • Error Correcting Output Codes (ECOC) performed worse than the vanilla model on CIFAR-10 for all adversary strengths except at 1% data access, suggesting limited robustness.
  • Barrage of Random Transforms (BaRT) showed better performance than the distribution classifier defense due to more extensive retraining and transformation diversity.
  • The study confirms that gradient masking and other white-box defense mechanisms do not reliably protect against black-box attacks, undermining the assumption that white-box robustness implies black-box robustness.

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.