Universal generalization guarantees for Wasserstein distributionally robust models

Tam Le, Jerome MalickICLR 2025

Machine learning models frequently falter when deployed in environments that differ from their training data—a phenomenon known as distribution shift. Distributionally Robust Optimization (DRO) addresses this by training models to perform well on the "worst-case" distribution within a defined neighborhood, or "ambiguity set," around the empirical training data.

When this neighborhood is defined using the Wasserstein distance, researchers have historically encountered a severe theoretical roadblock: the curse of dimensionality. Standard statistical theory suggested that to guarantee the true data distribution falls within the Wasserstein ball, the robustness radius $\rho$ must scale as $O(n^{-1/d})$, where $d$ is the data dimension. In high-dimensional settings, this renders the required radius practically useless.

While recent studies have managed to achieve a more favorable $O(1/\sqrt{n})$ rate, they typically relied on restrictive assumptions—such as requiring smooth loss functions or limiting the scope to specific linear models—or they only provided approximate bounds. This paper bridges that gap by establishing the first "universal" and exact generalization guarantees for Wasserstein DRO (WDRO). Crucially, these guarantees apply to a broad range of parametric models, including nonsmooth architectures like modern deep neural networks with ReLU activations.

Methodological Innovations

The authors depart from traditional "concentration of measure" proofs, which focus on the proximity of the empirical distribution to the true distribution. Instead, they employ an optimization-based proof strategy. Key technical innovations include:

  • Nonsmooth Analysis: By leveraging tools like Clarke subdifferentials and the envelope theorem, the authors directly address the nonsmoothness inherent in the WDRO objective (arising from the supremum over distributions). This proves that nonsmoothness is not a barrier to rigorous generalization bounds.
  • Dual Representation: The WDRO problem is analyzed through its dual form, utilizing a "dual generator" function to simplify the optimization landscape.
  • Critical Radius ($\rho_{crit}$): The authors introduce a deterministic degeneracy threshold. If the robustness radius exceeds $\rho_{crit}$, the model becomes overly conservative, predicting the global worst-case loss and losing its predictive utility.
  • Regularized WDRO: The analysis is also extended to "Sinkhorn" style robust models, which use entropic regularization to make the optimization more computationally efficient.

Key Theoretical Results

As a purely theoretical work, the paper relies on mathematical proofs and examples (e.g., Linear/Logistic Regression, SVMs with hinge loss, and Deep Learning objectives) rather than empirical datasets. The standout results include:

  • Universal $1/\sqrt{n}$ Rate: The paper proves that for any parametric class with finite Dudley entropy (a measure of model complexity), WDRO generalizes at the standard $1/\sqrt{n}$ rate, completely avoiding exponential dependence on the data dimension $d$.
  • Exact Generalization (Theorem 3.1): Unlike Empirical Risk Minimization (ERM), which often requires an additive "slack" term in generalization bounds, WDRO provides an exact bound. For a sufficiently large sample size $n$, if $\rho$ scales as $O(1/\sqrt{n})$, the empirical robust risk directly upper-bounds the true population risk with high probability.
  • Excess Risk Bounds: The authors also bound how much the robust objective might "overshoot" the true risk, ensuring the model remains performant and not just conservative.
  • Regularization Bias: For regularized (Sinkhorn) WDRO, the generalization becomes "inexact" due to a quantifiable bias introduced by the regularization, which prevents the robust risk from perfectly bounding the true risk.

Limitations and Future Directions

While this paper represents a significant theoretical leap, a few limitations remain. The current proofs require the sample space to be compact (bounded). While this is common in practice via data clipping or truncation, extending the guarantees to heavy-tailed or unbounded distributions remains an open challenge. Additionally, the reliance on finite Dudley entropy restricts the findings to parametric models, potentially excluding certain non-parametric settings.

Furthermore, while the $1/\sqrt{n}$ rate is optimal, the specific constants derived in the general proof may be conservative. The authors suggest that leveraging specific model structures could lead to sharper constants. Finally, while the paper provides the mathematical guarantee for a given radius, choosing the optimal $\rho$ in practice remains a difficult algorithmic task, paving the way for future research into data-driven radius selection procedures.

Summary updated

BibTeX
@inproceedings{le2025universal,
  author = {Tam Le and Jerome Malick},
  title = {{Universal generalization guarantees for Wasserstein distributionally robust models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=0h6v4SpLCY},
}
Figure