[Paper Review] Wasserstein Smoothing: Certified Robustness against Wasserstein Adversarial Attacks
This paper proposes Wasserstein smoothing, the first certified defense against Wasserstein adversarial attacks using randomized smoothing in the flow space of pixel transport. By representing image differences as flows and upper-bounding Wasserstein distance via L1 norms in this space, the method achieves certified robustness and demonstrates significantly improved empirical robustness on MNIST and CIFAR-10 compared to unprotected models.
In the last couple of years, several adversarial attack methods based on different threat models have been proposed for the image classification problem. Most existing defenses consider additive threat models in which sample perturbations have bounded L_p norms. These defenses, however, can be vulnerable against adversarial attacks under non-additive threat models. An example of an attack method based on a non-additive threat model is the Wasserstein adversarial attack proposed by Wong et al. (2019), where the distance between an image and its adversarial example is determined by the Wasserstein metric ("earth-mover distance") between their normalized pixel intensities. Until now, there has been no certifiable defense against this type of attack. In this work, we propose the first defense with certified robustness against Wasserstein Adversarial attacks using randomized smoothing. We develop this certificate by considering the space of possible flows between images, and representing this space such that Wasserstein distance between images is upper-bounded by L_1 distance in this flow-space. We can then apply existing randomized smoothing certificates for the L_1 metric. In MNIST and CIFAR-10 datasets, we find that our proposed defense is also practically effective, demonstrating significantly improved accuracy under Wasserstein adversarial attack compared to unprotected models.
Motivation & Objective
- To address the lack of certified defenses against non-additive, Wasserstein-metric adversarial attacks, which bypass traditional Lp-norm based defenses.
- To develop a robustness certificate for classifiers under the Wasserstein threat model, where perturbations are measured by earth-mover distance between normalized pixel intensities.
- To enable certified robustness by transforming the Wasserstein distance into an L1 distance in a flow representation space.
- To empirically validate that the method outperforms baseline models under Wasserstein attacks on image classification benchmarks.
Proposed method
- The method introduces a non-unique flow representation of image differences, where the minimal flow's L1 norm equals the Wasserstein distance between images.
- It leverages this flow-space representation to apply existing L1-based randomized smoothing certificates, enabling certified robustness.
- Noise is added in the flow space to smooth the classifier, with the smoothed classifier's robustness derived from the L1 norm of the flow perturbations.
- The approach independently adds noise to each color channel in multi-channel images, preserving robustness certification via Corollary 2 in the appendix.
- Certified robustness is computed using Monte Carlo sampling over 10,000 noise samples per input to estimate the smoothed classifier's prediction.
- Empirical robustness is evaluated using the projected gradient descent attack under the Wasserstein metric, with 128 noise samples per gradient estimate.
Experimental results
Research questions
- RQ1Can a certified defense be constructed for Wasserstein adversarial attacks, which are non-additive and based on earth-mover distance?
- RQ2Is it possible to transform the Wasserstein distance into an L1 distance in a flow representation space to enable existing L1 smoothing certificates?
- RQ3How does the empirical robustness of the proposed method compare to unprotected models and other defenses under Wasserstein attacks?
- RQ4What is the gap between certified robustness and empirical robustness in the Wasserstein threat model?
Key findings
- On MNIST, the Wasserstein smoothing defense achieved 87.01% classification accuracy with 0.24% abstention at σ=0.00005, significantly outperforming the unprotected baseline under Wasserstein attacks.
- For CIFAR-10, the method achieved 77.57% accuracy with 0.66% abstention at σ=0.0002, demonstrating strong empirical robustness against Wasserstein attacks.
- The median certified robustness radius was 0.000223 for MNIST and 0.000179 for CIFAR-10, with the certified radius being two orders of magnitude smaller than the median empirical attack radius.
- The method outperformed both standard and binarized models tested by Wong et al. (2019) in empirical robustness on CIFAR-10, though it was less robust than adversarially trained models for large perturbations.
- The certified robustness was found to be significantly lower than the empirical robustness, indicating a need for improved certificates or stronger attacks in the Wasserstein metric.
- The approach is effective for color images by independently applying noise in the flow space per channel, with theoretical validity supported by Corollary 2 in the appendix.
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.