Regularization for Wasserstein distributionally robust optimization

Waïss Azizian, Franck Iutzeler, Jérôme Malick

Abstract

Optimal transport has recently proved to be a useful tool in various machine learning applications needing comparisons of probability measures. Among these, applications of distributionally robust optimization naturally involve Wasserstein distances in their models of uncertainty, capturing data shifts or worst-case scenarios. Inspired by the success of the regularization of Wasserstein distances in optimal transport, we study in this paper the regularization of Wasserstein distributionally robust optimization. First, we derive a general strong duality result of regularized Wasserstein distributionally robust problems. Second, we refine this duality result in the case of entropic regularization and provide an approximation result when the regularization parameters vanish.

Introduction

Machine learning models are notoriously brittle when faced with "distribution shift"—the phenomenon where real-world data deviates from the training distribution. Distributionally Robust Optimization (DRO) addresses this by training models to perform well not just on the training data, but on the worst-case distribution within a defined neighborhood, known as the ambiguity set.

Using the Wasserstein distance to define this neighborhood is particularly effective because it captures the underlying geometric relationships between data points. However, solving Wasserstein DRO (WDRO) problems is often computationally grueling. In the related field of Optimal Transport (OT), researchers bypassed similar computational bottlenecks by introducing entropic regularization, leading to the efficient Sinkhorn algorithm. This paper establishes the theoretical foundation for applying similar regularization techniques to WDRO, ensuring that computational speedups do not come at the cost of mathematical integrity.

The Framework of Doubly-Regularized WDRO

The authors introduce a framework for "doubly-regularized" WDRO. In this setup, convex regularization functions are added to both the objective (the loss function) and the constraints (the budget for distributional shifts). This approach aims to smooth the optimization landscape, making the problem more amenable to standard numerical solvers.

The Duality Bridge

A central contribution of this work is the proof of strong duality for regularized WDRO. By applying Fenchel and Lagrangian duality, the authors transform the complex "primal" problem—which involves finding a worst-case distribution over an infinite-dimensional space—into a much simpler "dual" optimization problem.

This transformation is not a straightforward application of OT theory. In standard OT, both the source and destination marginal distributions are fixed. In WDRO, however, the "shifted" (worst-case) distribution is an unknown variable. Handling this requires sophisticated mathematical tools, including the disintegration theorem and the theory of normal integrands, to ensure the optimization remains valid when the destination marginal is part of the search space.

Entropic Regularization and Smoothing

The paper places a specific focus on entropic regularization (using Kullback-Leibler divergence), which is the WDRO equivalent of the "Sinkhorn" approach.

One of the key insights is how regularization affects the "max" operator. In standard WDRO, the dual problem often involves a hard supremum to identify the absolute worst-case scenario. The entropic version replaces this with a "Soft-Max" or log-sum-exp operator. This change makes the objective function smoother and significantly easier for gradient-based optimization algorithms to navigate.

Key Results and Convergence

The paper provides two landmark theorems that bridge the gap between regularized approximations and the original robust problem:

  1. Theorem 3.1 (Strong Duality): This theorem provides an explicit, tractable dual form for the entropy-regularized WDRO problem, confirming that the dual solution matches the primal.
  2. Theorem 3.4 (Approximation Error): The authors quantify the "price" of regularization. They establish that as the regularization parameter ((\epsilon)) approaches zero, the solution to the regularized problem converges to the original WDRO solution. Specifically, for a space of dimension (d), the error vanishes at a rate of (O(\epsilon \log(1/\epsilon))).

Furthermore, while much of the analysis assumes a compact (bounded) space, the authors extend these results to non-compact, closed sets under specific growth conditions on the loss function, ensuring the theory applies to a wide range of real-world loss functions.

Conclusion and Future Directions

This research provides the necessary mathematical rigor to justify the use of regularized Wasserstein distances in robust machine learning. By proving that the regularized problem is a faithful and predictable approximation of the original, the authors open the door for more efficient, "Sinkhorn-like" algorithms in the DRO space.

While the paper is purely theoretical and does not provide empirical benchmarks or a specific new algorithm, it sets the stage for future work. Key areas for exploration include the design of specific solvers for the dual forms provided and investigating whether entropic regularization offers additional statistical benefits, such as improved generalization in the presence of noisy data.

Summary updated

BibTeX
@inproceedings{azizian2023regularization,
  author = {Waïss Azizian and Franck Iutzeler and Jérôme Malick},
  title = {{Regularization for Wasserstein distributionally robust optimization}},
  booktitle = {ESAIM},
  year = {2023},
  doi = {10.1051/cocv/2023019},
}
Figure