A Riemannian exponential augmented Lagrangian method for computing the projection robust Wasserstein distance

Bo Jiang, Ya‐Feng Liu · DOI

Abstract

Projecting distance measures onto low-dimensional spaces is an effective strategy for mitigating the curse of dimensionality inherent in classical Wasserstein distance calculations. The resulting maximized distance is known as the Projection Robust Wasserstein (PRW) distance. In this work, we reformulate the PRW computation as an optimization problem over the Cartesian product of the Stiefel manifold and Euclidean space, subject to nonlinear inequality constraints. We introduce the Riemannian exponential Augmented Lagrangian Method (ReALM), a framework with global convergence guarantees. To solve the associated subproblems efficiently, we propose the inexact Riemannian Barzilai-Borwein method with Sinkhorn iteration (iRBBS). This approach utilizes a flexible number of Sinkhorn iterations to compute inexact gradients and employs adaptive Barzilai-Borwein stepsizes. Our theoretical analysis shows that iRBBS achieves an $\epsilon$-stationary point in $\mathcal{O}(\epsilon^{-3})$ iterations. Numerical experiments on synthetic and real-world datasets demonstrate that ReALM and iRBBS significantly outperform existing state-of-the-art solvers.

Introduction

The Wasserstein distance is a cornerstone of optimal transport, offering a powerful metric for comparing probability distributions. However, its practical application is often hindered by the "curse of dimensionality": the sample complexity required to estimate the distance grows exponentially with the number of dimensions. The Projection Robust Wasserstein (PRW) distance was developed to address this by seeking a $k$-dimensional subspace that maximizes the Wasserstein distance between projected distributions.

While PRW is robust, it presents a formidable optimization challenge. It is a non-convex "max-min" problem involving the Stiefel manifold—the set of matrices with orthonormal columns. Previous computational approaches often suffered from numerical instability due to reliance on vanishing penalty parameters or slow convergence from fixed stepsizes. This paper introduces a more stable and efficient framework to overcome these limitations.

The ReALM Framework

Existing methods for PRW often rely on simple penalty functions. These require the penalty parameter $\eta$ to approach zero to ensure constraint satisfaction, which frequently leads to ill-conditioned subproblems and numerical "blow-ups."

We propose ReALM (Riemannian exponential Augmented Lagrangian Method), which reformulates the problem using an augmented Lagrangian approach. By incorporating multiplier matrices, ReALM allows for accurate constraint satisfaction without forcing the penalty parameter to dangerously small values. This transition from a pure penalty method to an augmented Lagrangian framework provides the numerical stability necessary for high-dimensional applications.

Efficient Subproblem Solving with iRBBS

The core computational burden of ReALM lies in solving its Riemannian subproblems. We address this with iRBBS (inexact Riemannian Barzilai-Borwein with Sinkhorn), which introduces two key innovations:

  1. Inexact Gradients via Sinkhorn Iterations: Rather than computing an exact gradient—which is computationally expensive—iRBBS performs a flexible number of Sinkhorn iterations. This produces a "good enough" gradient that maintains the direction of descent while drastically reducing the per-iteration cost.
  2. Adaptive Barzilai-Borwein (BB) Stepsizes: While standard methods use fixed or slowly decaying stepsizes, iRBBS adapts the stepsize based on the local geometry of the Stiefel manifold and the history of the optimization path. This allows the algorithm to take larger, more aggressive steps when the landscape permits.

Experimental Results

We evaluated the proposed methods against state-of-the-art solvers (such as RBCD and RABCD) across three distinct data regimes:

  • Synthetic Benchmarks: Using the Fragmented Hypercube dataset, we tested the ability to recover hidden low-dimensional structures. iRBBS demonstrated a speedup of over 5x compared to the best adaptive methods and over 10x compared to non-adaptive variants.
  • Text Analysis: Using word embeddings from Shakespearean operas (e.g., Hamlet, Othello), we compared distributions in 300-dimensional space. ReALM maintained superior stability and convergence speed.
  • Image Processing: On MNIST digit features (128-dimensional vectors), the efficiency of our method was particularly evident. For large-scale instances ($d=250, n=2500$), our method converged in 1.6 seconds, whereas previous state-of-the-art solvers required 11.1 seconds.

Conclusion

ReALM and iRBBS represent a significant advancement in the computation of Projection Robust Wasserstein distances. By combining the stability of augmented Lagrangian methods with the efficiency of inexact Riemannian gradients and adaptive stepsizes, we provide a solver that is both faster and more robust than existing alternatives.

While the problem remains non-convex, our method offers a strong theoretical convergence guarantee of $\mathcal{O}(\epsilon^{-3})$. Future work will focus on automated hyperparameter tuning and exploring the application of the ReALM framework to other manifold-constrained optimization problems in machine learning.

Summary updated

BibTeX
@inproceedings{jiang2023riemannian,
  author = {Bo Jiang and Ya‐Feng Liu},
  title = {{A Riemannian exponential augmented Lagrangian method for computing the projection robust Wasserstein distance}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=8hKCNVqrlf},
}
Figure