Skip to main content
QUICK REVIEW

[Paper Review] Improved Image Wasserstein Attacks and Defenses

J. Edward Hu, Adith Swaminathan|arXiv (Cornell University)|Apr 26, 2020
Adversarial Robustness in Machine LearningComputer Science18 references9 citations
TL;DR

This paper proposes a corrected and stronger Wasserstein-based adversarial threat model that applies to all images, fixing flaws in prior formulations. It introduces a constrained Sinkhorn iteration for safe projection within Wasserstein and ℓ∞ balls, enabling more effective attacks and defenses; the new attack breaks prior robust models, and the authors train a state-of-the-art model robust against both the new and previous attacks.

ABSTRACT

Robustness against image perturbations bounded by a $\ell_p$ ball have been well-studied in recent literature. Perturbations in the real-world, however, rarely exhibit the pixel independence that $\ell_p$ threat models assume. A recently proposed Wasserstein distance-bounded threat model is a promising alternative that limits the perturbation to pixel mass movements. We point out and rectify flaws in previous definition of the Wasserstein threat model and explore stronger attacks and defenses under our better-defined framework. Lastly, we discuss the inability of current Wasserstein-robust models in defending against perturbations seen in the real world. Our code and trained models are available at https://github.com/edwardjhu/improved_wasserstein .

Motivation & Objective

  • To identify and correct critical flaws in the prior Wasserstein threat model that allowed adversarial examples to violate the defined perturbation bounds.
  • To develop a robust, safe, and efficient method for generating adversarial examples within a well-defined Wasserstein distance constraint.
  • To design a stronger adversarial attack by modifying PGD steps, improving attack success against previously trained robust models.
  • To train a new adversarially robust model that maintains strong performance against both the new and prior attacks, while remaining effective against real-world perturbations.
  • To evaluate the limitations of current Wasserstein-robust models in defending against natural, smooth perturbations like translation, rotation, and blur.

Proposed method

  • Reformulate the Wasserstein threat model to be applicable to all images of a given dimensionality, not just normalized ones, ensuring mathematical consistency.
  • Introduce a constrained Sinkhorn iteration that projects images onto the intersection of a Wasserstein ball and an ℓ∞ ball, guaranteeing adherence to both constraints.
  • Use a steepest descent step with ℓ2 norm of the gradient in PGD to enhance attack effectiveness, moving beyond standard PGD steps.
  • Integrate the improved attack into adversarial training to generate a new robust model that generalizes across multiple threat models.
  • Apply runtime optimizations to offset the computational cost of the constrained projection, enabling practical deployment.
  • Use the constrained Sinkhorn framework as a versatile tool to encode additional constraints, such as smoothness, in future threat models.

Experimental results

Research questions

  • RQ1How can the Wasserstein threat model be correctly defined for all images, not just normalized ones, to avoid generating invalid adversarial examples?
  • RQ2What is a computationally efficient and mathematically sound method to project perturbations within both a Wasserstein ball and an ℓ∞ ball?
  • RQ3Can a stronger adversarial attack be constructed by modifying the PGD step size and direction, and how does it impact the robustness of prior models?
  • RQ4To what extent can a model trained with the new attack maintain robustness against both the new and prior attacks, including real-world perturbations?
  • RQ5Can additional constraints, such as smoothness, be meaningfully incorporated into the threat model using the proposed constrained Sinkhorn framework?

Key findings

  • The proposed constrained Sinkhorn projection ensures that all adversarial examples remain within the specified Wasserstein and ℓ∞ bounds, fixing a critical flaw in prior work.
  • The new attack achieves significantly higher success rates than prior methods: on MNIST, it reduces robust accuracy from 94% to 39% at ε×n_pixel = 100, and from 82% to 20% on CIFAR-10 at the same radius.
  • The adversarially trained model achieves state-of-the-art robustness, maintaining 92.8% accuracy on MNIST and 84.4% on CIFAR-10 under clean data, while remaining robust to prior attacks.
  • Despite improved robustness, the new model still fails to defend against large real-world perturbations such as 20° rotations (79.1% accuracy on MNIST) and 7-pixel Gaussian blur (58.4% on MNIST), indicating a gap in defense capability.
  • The constrained Sinkhorn method is generalizable and can be extended to incorporate additional constraints like smoothness, offering a flexible foundation for future threat model design.
  • The study highlights that current Wasserstein-robust models are insufficient against natural, perceptually aligned perturbations, suggesting a need for more expressive threat models and defenses.

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.