Skip to main content
QUICK REVIEW

[Paper Review] A Unified Wasserstein Distributional Robustness Framework for Adversarial Training

Tuan Anh Bui, Trung Le|arXiv (Cornell University)|Feb 27, 2022
Adversarial Robustness in Machine LearningComputer Science6 citations
TL;DR

This paper proposes a unified Wasserstein distributional robustness framework that generalizes state-of-the-art adversarial training (AT) methods by modeling adversarial robustness through distributional perturbations rather than pointwise perturbations. By introducing a novel Wasserstein cost function and risk formulation, the framework subsumes PGD-AT, TRADES, MART, and AWP as special cases, enabling improved robustness through better generalization on unseen data, with empirical results showing consistent performance gains over standard AT across CIFAR-10 and MNIST.

ABSTRACT

It is well-known that deep neural networks (DNNs) are susceptible to adversarial attacks, exposing a severe fragility of deep learning systems. As the result, adversarial training (AT) method, by incorporating adversarial examples during training, represents a natural and effective approach to strengthen the robustness of a DNN-based classifier. However, most AT-based methods, notably PGD-AT and TRADES, typically seek a pointwise adversary that generates the worst-case adversarial example by independently perturbing each data sample, as a way to "probe" the vulnerability of the classifier. Arguably, there are unexplored benefits in considering such adversarial effects from an entire distribution. To this end, this paper presents a unified framework that connects Wasserstein distributional robustness with current state-of-the-art AT methods. We introduce a new Wasserstein cost function and a new series of risk functions, with which we show that standard AT methods are special cases of their counterparts in our framework. This connection leads to an intuitive relaxation and generalization of existing AT methods and facilitates the development of a new family of distributional robustness AT-based algorithms. Extensive experiments show that our distributional robustness AT algorithms robustify further their standard AT counterparts in various settings.

Motivation & Objective

  • To address the vulnerability of deep neural networks to adversarial attacks by improving robustness beyond pointwise perturbation-based adversarial training.
  • To bridge the gap between standard adversarial training and distributional robustness by unifying them under a Wasserstein-based framework.
  • To develop a generalizable, distribution-aware robust training framework that enhances generalization and robustness on unseen data.
  • To empirically validate that distributional robustness via Wasserstein metrics outperforms standard AT in adversarial robustness.

Proposed method

  • Proposes a new Wasserstein cost function that measures distributional distance between data and perturbed distributions, enabling robust optimization over entire data distributions.
  • Introduces a unified risk formulation that generalizes standard AT methods by embedding them as special cases within a distributional robustness framework.
  • Employs a smoothed cost function with adaptive gradient updates, using separate step sizes for loss and regularization gradients to balance push and pull dynamics during adversarial example generation.
  • Uses multiple gradient ascent steps without projection, with dynamic step scaling based on whether the perturbation exceeds the $ε$-ball, improving stability and convergence.
  • Adopts dataset-specific cost functions: $L_{\infty}$ for MNIST and $L_2$ for CIFAR-10, based on pixel contribution patterns to model predictions.
  • Applies a two-step update strategy to balance the gradients of the model loss and the cost function, preventing dominance of the regularization term.

Experimental results

Research questions

  • RQ1Can distributional robustness via Wasserstein metrics be formally unified with standard adversarial training methods?
  • RQ2How does modeling adversarial robustness at the distribution level improve generalization compared to pointwise perturbations?
  • RQ3Can the proposed framework generalize and subsume existing SOTA AT methods like PGD-AT, TRADES, MART, and AWP as special cases?
  • RQ4What is the impact of different cost functions (e.g., $L_1$, $L_2$, $L_\infty$) on adversarial example generation and robustness?
  • RQ5Does the proposed distributional robustness framework achieve better robustness than standard AT on benchmark datasets?

Key findings

  • The proposed framework generalizes PGD-AT, TRADES, MART, and AWP as special cases under a unified Wasserstein distributional robustness formulation.
  • The distributional robustness approach achieves consistently higher adversarial robustness than standard AT across multiple datasets, including CIFAR-10 and MNIST.
  • Using $L_\infty$ for MNIST and $L_2$ for CIFAR-10 in the cost function improves gradient stability and adversarial example quality, aligning with data-specific sparsity patterns.
  • The two-step gradient update strategy effectively balances the loss and regularization gradients, preventing the cost function from dominating and improving robustness.
  • Empirical results show that the proposed distributional robustness algorithms outperform their standard AT counterparts in both natural and robust accuracy on benchmark datasets.
  • The histogram analysis confirms that the gradient of the cost function is significantly stronger than the model gradient, justifying the need for stepwise balancing in adversarial training.

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.