Provable Robust Overfitting Mitigation in Wasserstein Distributionally Robust Optimization

Shuang Liu, Yihan Wang, Yifan Zhu, Yibo Miao, Xiao-Shan Gao

Introduction

Wasserstein Distributionally Robust Optimization (WDRO) has emerged as a powerful framework for training models that are resilient to adversarial perturbations. By optimizing against the worst-case distributional shifts within a "Wasserstein ball" around the training data, WDRO provides a more principled defense than standard adversarial training. However, a significant hurdle remains: robust overfitting. This phenomenon occurs when a model's performance on adversarial test data peaks early and then declines as training continues, even as performance on the training set improves.

The Robust Overfitting Problem

The authors argue that robust overfitting in WDRO stems from a fundamental oversight: the neglect of statistical sampling error. Standard WDRO focuses on defending against adversarial noise—the intentional perturbation of data points. However, it ignores the inherent discrepancy between a finite training sample ($\mathcal{D}_n$) and the true underlying population distribution ($\mathcal{D}_{test}$). By failing to account for this statistical gap, the model "over-optimizes" for the specific noise and sampling artifacts in the training set, leading to poor generalization on unseen adversarial examples.

Statistically Robust WDRO (SR-WDRO)

To address this, the paper introduces Statistically Robust WDRO (SR-WDRO). The core innovation is a redesigned ambiguity set that accounts for both adversarial perturbations and statistical error.

Conceptual framework of SR-WDRO showing the relationship between observed, adversarial, and test distributions.

As illustrated in Figure 1, SR-WDRO employs a hybrid constraint:

  1. Wasserstein Distance ($W_p$): Handles adversarial noise by allowing for perturbations in the data space.
  2. Kullback-Leibler (KL) Divergence: Accounts for statistical error by constraining the likelihood ratio between the adversarial distribution and the true distribution.

Theoretical Foundations

The authors model this as a zero-sum game between a learner and an adversary, proving the existence of stable Stackelberg and Nash equilibria. Crucially, they provide a generalization certificate, proving that the model's performance on the true distribution is bounded by its performance on the statistically robust training loss. Unlike previous bounds, these depend on the intrinsic dimensionality of the data rather than the raw pixel count, making them more relevant for high-dimensional image data.

Computational Efficiency

While minimax problems are often computationally expensive, the authors derive a dual formulation that simplifies the task into a more manageable minimization problem. The resulting training algorithm is only approximately 12.7% slower per epoch than standard adversarial training, making it practical for large-scale applications.

Experimental Results

The SR-WDRO framework was evaluated on CIFAR-10 and CIFAR-100 datasets using ResNet-18 and WideResNet28-10 architectures against various attacks, including PGD and Auto-Attack (AA).

Robust test accuracy over training epochs for different methods on CIFAR-10.

As shown in Figure 2, SR-WDRO (labeled "Ours") significantly mitigates robust overfitting. While other methods like PGD-AT and UDR show a marked decline in robust test accuracy after the first learning rate decay (around epoch 100), SR-WDRO maintains a much more stable performance.

Key performance metrics include:

  • Reduced "Diff": On CIFAR-10, SR-WDRO reduced the gap between peak and final robust accuracy to 3.36%, compared to 7.75% for standard PGD-AT.
  • Higher Final Robustness: SR-WDRO achieved a final robust accuracy of 48.58% on CIFAR-10 (8/255 budget), outperforming PGD-AT's 45.16%.

Conclusion

SR-WDRO provides a theoretically grounded and practically efficient solution to the robust overfitting problem in WDRO. By explicitly accounting for statistical sampling error through a hybrid Wasserstein-KL ambiguity set, the framework achieves superior generalization and state-of-the-art adversarial robustness.

Summary updated

BibTeX
@inproceedings{liu2025provable,
  author = {Shuang Liu and Yihan Wang and Yifan Zhu and Yibo Miao and Xiao-Shan Gao},
  title = {{Provable Robust Overfitting Mitigation in Wasserstein Distributionally Robust Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=sq5LLWk5SN},
}
Figure