Certifiable Black-Box Attacks with Randomized Adversarial Examples: Breaking Defenses with Provable Confidence

Hanbin Hong, Xinyu Zhang, Binghui Wang, Zhongjie Ba, Yuan Hong

TL;DR

This paper introduces "Certifiable Black-Box Attacks," a novel paradigm that generates adversarial examples with provable guarantees on attack success probability, even against strong defenses. By leveraging randomized adversarial examples and a new theoretical framework, these attacks can bypass detection mechanisms and demonstrate vulnerabilities with higher confidence than traditional empirical methods.

What Problem Does This Paper Address?

Machine learning models are increasingly deployed in critical applications, but they remain vulnerable to adversarial attacks. While black-box attacks (where the attacker only has access to model outputs) are more realistic, they are often countered by sophisticated defenses like query pattern detection and randomized noise injection. Existing empirical black-box attacks struggle to bypass these defenses and lack provable guarantees on their success. This paper addresses the challenge of creating black-box attacks that are not only effective against state-of-the-art defenses but also come with a mathematical guarantee of their attack success probability, even before interacting with the target model.

Methods

The core innovation is the "Certifiable Attack" framework, which shifts from crafting individual adversarial examples to defining an "Adversarial Distribution" in the input space. This distribution is designed such that any sample drawn from it has a guaranteed minimum attack success probability (ASP). Key techniques include:

  • Randomized Parallel Query (RPQ): An efficient method to estimate the ASP of the Adversarial Distribution by querying the model with multiple randomized inputs in parallel.
  • Adversarial Distribution Localization: Two novel strategies, Smoothed Self-Supervised Localization (SSSP) and Binary Search Localization, are proposed to find a feasible Adversarial Distribution. SSSP adapts self-supervised perturbation techniques, while Binary Search iteratively refines the distribution.
  • Adversarial Distribution Refinement: A "Geometrical Shifting" method is introduced to reduce the perturbation size of adversarial examples while maintaining the provable ASP guarantee. This involves shifting the distribution towards the decision boundary.
  • Theoretical Foundation: The paper establishes a theoretical framework based on randomized smoothing and Neyman-Pearson Lemma to guarantee the ASP of adversarial examples sampled from the crafted distribution.

Datasets

The authors evaluate their approach on several standard datasets:

  • Image Classification: CIFAR10, CIFAR100, and ImageNet.
  • Speech Recognition: LibriSpeech for speaker verification.

Key Insights and Ideas

  • Shifting from Sample to Distribution: The most significant insight is moving from attacking individual data points to defining and attacking an entire distribution of adversarial examples. This allows for provable guarantees and the generation of potentially infinite adversarial examples.
  • Provable Confidence Against Defenses: The certifiable nature of the attack means it can break defenses that rely on detecting query patterns or random noise, as the attack's success is mathematically assured.
  • Randomness as a Feature, Not a Bug: By embracing randomness in the adversarial examples, the attack becomes inherently harder to detect and more robust against randomized defenses.
  • Verification-Free Attacks: Once the Adversarial Distribution is certified, samples drawn from it are considered adversarial without needing further verification queries to the target model, making the attack more efficient and stealthy.

Key Results

  • Bypassing SOTA Defenses: The certifiable attack consistently bypasses strong defenses like Blacklight detection (0% detection rate), RAND-Pre, and RAND-Post, achieving high attack success rates (e.g., 93-99% on average across datasets against RAND-Pre).
  • Provable Guarantees: The attack achieves provable lower bounds on ASP, with experimental results showing empirical ASPs close to these bounds.
  • Query Efficiency: Compared to many empirical black-box attacks, the certifiable attack is more query-efficient, especially when using the SSSP localization method.
  • Imperceptibility: While the core attack focuses on provable ASP, techniques like diffusion model denoising are explored to further reduce perturbation size and improve imperceptibility.

Limitations and Future Work

  • Computational Cost: While RPQ is parallelized, the overall process of localization and refinement can be computationally intensive.
  • Adaptive Defenses: The paper acknowledges that highly adaptive defenses, specifically designed to counter this type of attack (e.g., by knowing the noise distribution), could pose a challenge.
  • Targeted Attacks: The current work focuses on untargeted attacks, and extending it to targeted attacks is noted as a future direction.
  • Diffusion Model Integration: While diffusion models can improve imperceptibility, their integration adds complexity and computational overhead.
  • Generalization to Other Domains: While tested on audio, further exploration across diverse domains is suggested.

Summary updated

BibTeX
@inproceedings{hong2024certifiable,
  author = {Hanbin Hong and Xinyu Zhang and Binghui Wang and Zhongjie Ba and Yuan Hong},
  title = {{Certifiable Black-Box Attacks with Randomized Adversarial Examples: Breaking Defenses with Provable Confidence}},
  booktitle = {CCS},
  year = {2024},
  doi = {10.1145/3658644.3690343},
}
Figure