Provably Robust Adversarial Examples

Dimitar Iliev Dimitrov, Gagandeep Singh, Timon Gehr, Martin VechevICLR 2022

TL;DR

Most adversarial attacks find a single "broken" pixel configuration to fool a neural network, but these isolated points are often brittle and easily defeated by modern defenses. This paper introduces PARADE, a novel method that constructs entire regions of input space—containing up to $10^{599}$ distinct points—that are mathematically guaranteed to be adversarial. By securing massive, provable volumes of adversarial space, PARADE generates attacks that are far more effective against robust defenses like randomized smoothing.

The Problem: The Fragility of Single-Point Attacks

Adversarial examples are often considered the "Achilles' heel" of deep learning. These are tiny, typically invisible changes to an image that cause a model to confidently misclassify it. However, traditional attack methods (like Projected Gradient Descent, or PGD) only produce a single "concrete" point in the input space.

These isolated points are often fragile. A slight shift in lighting, a minor rotation, or a defense mechanism like "randomized smoothing" (which averages predictions over a small neighborhood of inputs) can easily nullify the attack.

To counter this, researchers have tried to create "robust" adversarial examples—regions of space where many points are adversarial. Historically, these have been empirical: you might sample 1,000 points in a bounding box and find they all fool the network, but you cannot mathematically guarantee the 1,001st point will do the same. This paper tackles the challenge of provability: how do we define and find a connected region where we can guarantee that every single point inside is adversarial?

The PARADE Methodology

To solve this, the authors propose a framework called PARADE (ProvAbly Robust ADversarial Examples). The process works in two main stages:

The PARADE methodology: generating an overapproximation box from samples, then iteratively shrinking it to a verifiable underapproximation.
  1. Overapproximation: First, PARADE uses standard attack methods to find several adversarial points. It then fits a "hyperbox" (a multi-dimensional rectangle) around these points. This box serves as a candidate region that likely contains many adversarial examples, but it isn't yet proven to be "pure" (it might contain correctly classified points).
  2. Iterative Refinement (Shrinking): This is the core innovation. PARADE uses a neural network verifier (specifically DeepPoly) to check if the region is entirely adversarial. If the verifier cannot prove it, the algorithm "shrinks" the box to remove the unverified space.
  3. For pixel intensity changes ($L_\infty$ perturbations), the method solves a Linear Programming (LP) problem to find the largest possible sub-box that satisfies the safety constraints.
  4. For geometric transformations (rotation, scaling, translation), it uses Projected Gradient Descent (PGD) to optimize the box's boundaries in the geometric parameter space.

By iteratively shrinking and verifying, PARADE converges on a region that is formally certified to contain only adversarial examples.

Experimental Setup

The authors evaluated PARADE on two standard computer vision benchmarks:

  • MNIST: The classic dataset of handwritten digits.
  • CIFAR10: A more complex dataset of small color images.

They tested these against several network architectures, including fully connected networks and convolutional neural networks (CNNs), some of which were specifically trained to be robust (e.g., using DiffAI).

Key Insights and Results

Quantity is Quality

The sheer "size" of these adversarial regions is staggering. PARADE successfully found regions containing $\approx 10^{573}$ adversarial points for pixel intensity changes and $\approx 10^{599}$ for geometric perturbations. For context, there are only about $10^{80}$ atoms in the observable universe.

Furthermore, the authors demonstrated the "hole" problem in empirical robustness. Regions that merely look adversarial under random sampling often contain "holes" of correctly classified points. PARADE eliminates these holes through formal verification, ensuring the attack is truly inescapable within that volume.

Defeating Randomized Smoothing

Randomized smoothing is a powerful defense that works by adding noise to an input and taking a majority vote of the network's predictions. Because PARADE finds a "solid" volume of adversarial space, the majority vote is much more likely to be wrong.

Comparison of attack success rates against randomized smoothing, showing PARADE significantly outperforming individual attacks.

In tests against randomized smoothing defenses, PARADE-generated examples proved to be 2x to 6x stronger than individual point attacks. While individual attacks often failed to flip the smoothed prediction, the massive contiguous regions found by PARADE consistently overwhelmed the defense's voting mechanism.

Efficiency

Despite the heavy mathematical guarantees, PARADE is remarkably efficient. It can generate these massive provable regions in roughly 2 minutes for pixel intensity changes and about 20 minutes for complex geometric transformations on a CIFAR10 network.

Limitations and Future Work

The primary limitation of PARADE is its scalability to larger models. The method relies heavily on neural network verifiers like DeepPoly. While these are state-of-the-art, they still struggle with the computational complexity of very deep or very wide networks (like those used for ImageNet). As the field of formal verification advances and produces faster, tighter verifiers, PARADE will naturally scale alongside them.

Additionally, the method currently focuses on hyperboxes and polyhedra. Future work could explore more complex, non-linear shapes for adversarial regions that might better capture the true "manifold" of a network's failure modes.

Summary updated

BibTeX
@inproceedings{dimitrov2022provably,
  author = {Dimitar Iliev Dimitrov and Gagandeep Singh and Timon Gehr and Martin Vechev},
  title = {{Provably Robust Adversarial Examples}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=UMfhoMtIaP5},
}
Figure