Finite-Sample Guarantees for Wasserstein Distributionally Robust Optimization: Breaking the Curse of Dimensionality

Rui Gao

Abstract

Wasserstein distributionally robust optimization (DRO) aims to find robust and generalizable solutions by hedging against data perturbations in Wasserstein distance. Despite its recent empirical success in operations research and machine learning, existing performance guarantees for generic loss functions are either overly conservative due to the curse of dimensionality, or plausible only in large sample asymptotics. In this paper, we develop a non-asymptotic framework for analyzing the out-of-sample performance for Wasserstein robust learning and the generalization bound for its related Lipschitz and gradient regularization problems. To the best of our knowledge, this gives the first finite-sample guarantee for generic Wasserstein DRO problems without suffering from the curse of dimensionality. Our results highlight that Wasserstein DRO, with a properly chosen radius, balances between the empirical mean of the loss and the variation of the loss, measured by the Lipschitz norm or the gradient norm of the loss. Our analysis is based on two novel methodological developments that are of independent interest: 1) a new concentration inequality controlling the decay rate of large deviation probabilities by the variation of the loss and, 2) a localized Rademacher complexity theory based on the variation of the loss.

Introduction

Distributionally Robust Optimization (DRO) has emerged as a cornerstone framework for developing models that are resilient to data noise and distribution shifts. By optimizing against the worst-case distribution within a specified uncertainty set, DRO provides a principled approach to "hedging" against uncertainty. Among various metrics used to define these sets, the Wasserstein distance is particularly favored for its ability to capture natural perturbations in data. However, a significant theoretical barrier has historically limited its application: the "curse of dimensionality."

In high-dimensional settings, traditional guarantees for Wasserstein DRO suggest that the uncertainty radius must scale at a rate of $O(n^{-1/d})$, where $d$ is the dimension. This leads to overly conservative models that lack practical utility as the number of features grows. This paper addresses this gap by providing the first finite-sample, non-asymptotic guarantees showing that Wasserstein DRO can achieve optimal generalization rates of $O(1/\sqrt{n})$ independent of the data's dimension.

The Dimensionality Hurdle

The fundamental challenge in Wasserstein DRO lies in the concentration of the empirical measure. Previous foundational research indicated that to ensure the true data distribution is contained within a Wasserstein ball around the empirical distribution with high probability, the ball's radius must be large—specifically, it must grow exponentially with the dimension $d$.

While empirical evidence and some large-sample asymptotic analyses suggested that better rates might be possible, a rigorous non-asymptotic proof was missing. Without such a proof, practitioners were left with a dilemma: use a theoretically "safe" but overly large radius that degrades performance, or use a smaller, heuristic radius without formal performance guarantees.

Methodology: Shifting the Focus to Variation

The core innovation of this work is a shift in perspective. Rather than requiring the Wasserstein ball to encompass the entire true distribution, the author demonstrates that we only need the ball to be large enough to account for the variation of the specific loss function being optimized. This insight is operationalized through two novel methodological developments:

  1. Variation-based Concentration Inequalities: Traditional tools like Hoeffding’s inequality are often insufficient for the complexities of Wasserstein DRO. The paper derives new concentration inequalities based on "transportation-information inequalities." These show that the tail probability of the loss is controlled by the variation of the loss (e.g., its Lipschitz norm or gradient norm) rather than the global properties of the distribution.
  2. Localized Rademacher Complexity: The paper refines the concept of Rademacher complexity—a measure of a function class's capacity—by "localizing" it around functions with small variation. This allows for significantly tighter generalization bounds than global complexity measures.

Furthermore, the analysis leverages the mathematical equivalence between Wasserstein DRO and certain forms of regularization. For instance, Wasserstein DRO with $p=1$ is often equivalent to Lipschitz regularization, while $p=2$ relates to gradient norm regularization.

Breaking the Curse: Key Theoretical Results

The primary result of the paper is the $O(1/\sqrt{n})$ guarantee. By setting the Wasserstein radius $\rho_n = \tilde{O}(1/\sqrt{n})$, the author proves that the out-of-sample loss is upper-bounded by the Wasserstein robust loss plus a residual term of $O(1/n)$. This rate is optimal and, crucially, independent of the dimension $d$.

This result highlights a "Goldilocks" principle for radius selection: a radius that shrinks at the rate of $1/\sqrt{n}$ is large enough to provide robustness and generalization, but small enough to avoid the conservatism of the $O(n^{-1/d})$ rate. This framework effectively frames Wasserstein DRO as a principled method for balancing the empirical mean of the loss (bias) against the variation of the loss (generalization gap).

Practical Applications

The theoretical framework is applied to several classic problem structures, demonstrating its versatility across domains:

  • Linear Prediction and Kernel Methods: The paper shows that for regression and classification, generalization bounds can be entirely dimension-independent if the loss function is sufficiently smooth.
  • Big-data Newsvendor: A feature-based inventory management problem where robust solutions are critical for supply chain stability.
  • Portfolio Optimization: In the context of the Markowitz mean-variance model, the framework provides new insights into robust asset allocation under market uncertainty.
  • Neural Networks: For two-layer networks, the paper provides guarantees using gradient regularization and orthonormal constraints, offering a theoretical foundation for techniques used to stabilize GANs and improve neural network robustness.

Conclusion and Future Directions

This work provides a long-sought theoretical foundation for Wasserstein DRO in high-dimensional settings. By proving that $O(1/\sqrt{n})$ rates are achievable in finite samples, it bridges the gap between theory and practice, justifying the use of Wasserstein-based regularization in modern machine learning.

However, some avenues for future research remain. The current results for 2-Wasserstein DRO require the loss function to have a Lipschitz-continuous gradient, which may not hold for non-smooth architectures like standard ReLU networks. Additionally, the theory assumes the underlying distribution is "sub-Gaussian." Extending these guarantees to heavy-tailed data or higher-order Wasserstein distances (such as $p=\infty$, common in adversarial training) represents the next frontier in the study of distributionally robust optimization.

Summary updated

BibTeX
@inproceedings{gao2020finite,
  author = {Rui Gao},
  title = {{Finite-Sample Guarantees for Wasserstein Distributionally Robust Optimization: Breaking the Curse of Dimensionality}},
  booktitle = {Operations Research},
  year = {2020},
  url = {https://openreview.net/forum?id=RnDnI0hfMQ},
}
Figure