[Paper Review] Certified Defenses for Adversarial Patches
This paper introduces the first certified defense against adversarial patch attacks using Interval Bound Propagation (IBP), shows that prior patch defenses can be broken in white-box settings, and proposes training methods to obtain provable robustness against square patches (and extends to sparse attacks and shape transfer).
Adversarial patch attacks are among one of the most practical threat models against real-world computer vision systems. This paper studies certified and empirical defenses against patch attacks. We begin with a set of experiments showing that most existing defenses, which work by pre-processing input images to mitigate adversarial patches, are easily broken by simple white-box adversaries. Motivated by this finding, we propose the first certified defense against patch attacks, and propose faster methods for its training. Furthermore, we experiment with different patch shapes for testing, obtaining surprisingly good robustness transfer across shapes, and present preliminary results on certified defense against sparse attacks. Our complete implementation can be found on: https://github.com/Ping-C/certifiedpatchdefense.
Motivation & Objective
- Motivate robustness against practical physical-world patch attacks on vision systems.
- Show weaknesses of existing patch defenses under white-box attacks.
- Develop a certified defense against patch attacks based on interval bound propagation (IBP).
- Propose faster IBP training variants and evaluate transferability across patch shapes and against sparse attacks.
Proposed method
- Extend IBP to the patch-attack setting to certify robustness over all possible patch locations and perturbations.
- Define a certificate condition and a method to compute a lower bound on adversarial accuracy (certified accuracy).
- Introduce training-time tricks for stable IBP training and an epsilon schedule to gradually enlarge perturbations.
- Propose two efficient certificate-training schemes (Random Patch and Guided Patch) to avoid quadratic scaling with image size.
- Extend IBP to defend against sparse attacks by modifying the first-layer bounds to account for top-k pixel perturbations.
- Evaluate transferability of square-patch trained models to non-square shapes and various datasets.
Experimental results
Research questions
- RQ1Can we certify robustness of neural networks against patch-based adversaries within a provable margin?
- RQ2How do existing patch defenses perform under white-box attacks, and can we surpass them with certified training?
- RQ3What are practical training strategies to obtain tight certificates for patch attacks?
- RQ4Does robustness transfer across different patch shapes, and how does robustness compare for sparse attacks?
Key findings
- Existing patch defenses (DW, LGS) are brittle under white-box attacks and can be defeated by incorporating the defense into backpropagation or via BPDA.
- IBP-based certifiable defenses can achieve non-trivial certified accuracy against patch attacks; e.g., MNIST 2x2 patch yields 91.6% certified accuracy, CIFAR-10 5x5 patch yields 24.9% certified accuracy with selected models.
- All-patch certificate training yields the best certified accuracy given unlimited compute, but random or guided patch training offer significantly better efficiency and scalability.
- The square-patch trained model transfers robustness to other shapes (rectangle, line, diamond, parallelogram) with generally small losses in certified accuracy, though performance degrades for shapes with larger pixel counts like rectangles.
- For sparse attacks (k non-adjacent pixels), IBP-trained models achieve competitive certified accuracy on MNIST and CIFAR-10, outperforming some sparse baselines on MNIST.
- Larger models improve certified accuracy (e.g., CIFAR with a large model reaches about 30.3% certified accuracy for 5x5 patches).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.