Projection Robust Wasserstein Distance and Riemannian Optimization

Tianyi Lin, Chenyou Fan, Nhat Ho, Marco Cuturi, Michael I. Jordan

TL;DR

Projection Robust Wasserstein (PRW) distance offers a powerful way to bypass the "curse of dimensionality" in optimal transport, but its non-convex and non-smooth nature has long made it computationally impractical. This paper introduces efficient Riemannian optimization algorithms that make PRW viable, providing the first provable complexity bounds and demonstrating superior robustness to noise compared to standard Wasserstein methods.

What Problem Does This Paper Address?

The Wasserstein distance is a cornerstone of modern machine learning, used for everything from generative modeling to domain adaptation. However, it suffers from a major statistical flaw: the "curse of dimensionality." As the dimension of your data grows, the number of samples needed to accurately estimate the distance grows exponentially.

To fix this, researchers proposed the Projection Robust Wasserstein (PRW) distance. Instead of comparing high-dimensional distributions directly, PRW looks for a lower-dimensional subspace (a "projection") where the two distributions are as different as possible. While statistically robust, PRW is a nightmare to compute because it involves maximizing a non-smooth, non-convex function over the Stiefel manifold (the set of all matrices with orthonormal columns). Previous attempts often settled for convex relaxations that lost some of the original's discriminative power.

Methods

The authors tackle the non-convexity head-on by leveraging Riemannian Optimization. Their key insight is that while the problem is non-convex in Euclidean space, the geometry of the Stiefel manifold can be exploited to find stationary points efficiently.

They introduce two primary algorithms:

  1. RGAS (Riemannian Gradient Ascent with Sinkhorn): This combines Riemannian gradient ascent on the Stiefel manifold with the popular Sinkhorn iteration to solve the inner optimal transport problem.
  2. RAGAS (Riemannian Adaptive Gradient Ascent with Sinkhorn): An adaptive version that uses different weights for different components of the gradient, making it more robust to the choice of learning rate.

Crucially, they use entropic regularization to smooth the objective function, allowing for the use of gradient-based methods. They also provide a third algorithm, RSGAN, in the appendix for the unregularized case using a network simplex solver.

The RGAS algorithm combines Riemannian geometry with entropic optimal transport.

Datasets

The researchers evaluated their algorithms on a mix of synthetic and real-world benchmarks:

  • Fragmented Hypercube: A synthetic dataset designed to test if an algorithm can recover a specific "spiked" low-dimensional structure hidden in high-dimensional noise.
  • Gaussian Distributions: Used to test robustness against varying levels of additive white noise.
  • Movie Scripts & Shakespeare Plays: Text mining tasks where scripts are converted into distributions over word embeddings (Word2Vec).
  • MNIST Digits: Comparing distributions of features extracted from a pre-trained Convolutional Neural Network (CNN).

Key Insights and Ideas

  • Intractability is Overstated: Despite theoretical hardness results in a minimax sense, the authors show that PRW can be computed efficiently in practice for many relevant machine learning cases.
  • Linear vs. Quadratic Complexity: Their Riemannian approach has a complexity that is linear in the data dimension ($d$), whereas previous state-of-the-art methods for the convex relaxation (SRW) were quadratic ($d^2$). This makes PRW much more scalable for high-dimensional features.
  • Robustness to Noise: PRW is significantly more robust to moderate-to-high variance noise than both the standard Wasserstein distance and its convex relaxation. It effectively "filters out" noise dimensions to focus on the signal.
  • Adaptive Strategies Matter: The RAGAS algorithm showed much lower variance in computation time across different learning rates compared to the standard RGAS, highlighting the value of adaptive Riemannian methods.

Key Results

  • Recovery of Spiked Models: In the fragmented hypercube experiment, PRW correctly identified the true $k^*$-dimensional subspace, with the distance plateauing once the signal dimensions were captured.
  • Speedup: The proposed algorithms were significantly faster than the Frank-Wolfe baseline used for the subspace robust Wasserstein (SRW) distance, especially as the dimension $d$ increased.
  • Real-World Intuition: On MNIST, PRW distances aligned well with human intuition (e.g., the digit '1' is most similar to '7', and '4' is often confused with '9'), often providing cleaner discriminative signals than the relaxed SRW version.

Limitations and Future Work

The authors acknowledge that their algorithms are guaranteed to find approximate stationary points, not necessarily the global optimum. While these stationary points perform well in practice, comparing them to the true global solution remains a theoretical challenge.

Future research directions include:

  • Extending the theory and algorithms to continuous probability distributions.
  • Integrating PRW distance into deep generative models (like GANs or VAEs) to improve their training stability and sample quality in high dimensions.
  • Further exploring the gap between stationary points and global optima in structured data settings.

Summary updated

Abstract

Projection robust Wasserstein (PRW) distance, or Wasserstein projection pursuit (WPP), is a robust variant of the Wasserstein distance. Recent work suggests that this quantity is more robust than the standard Wasserstein distance, in particular when comparing probability measures in high-dimensions. However, it is ruled out for practical application because the optimization model is essentially non-convex and non-smooth which makes the computation intractable. Our contribution in this paper is to revisit the original motivation behind WPP/PRW, but take the hard route of showing that, despite its non-convexity and lack of nonsmoothness, and even despite some hardness results proved by~\citet{Niles-2019-Estimation} in a minimax sense, the original formulation for PRW/WPP \textit{can} be efficiently computed in practice using Riemannian optimization, yielding in relevant cases better behavior than its convex relaxation. More specifically, we provide three simple algorithms with solid theoretical guarantee on their complexity bound (one in the appendix), and demonstrate their effectiveness and efficiency by conducing extensive experiments on synthetic and real data. This paper provides a first step into a computational theory of the PRW distance and provides the links between optimal transport and Riemannian optimization.
BibTeX
@inproceedings{lin2020projection,
  author = {Tianyi Lin and Chenyou Fan and Nhat Ho and Marco Cuturi and Michael I. Jordan},
  title = {{Projection Robust Wasserstein Distance and Riemannian Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=u3c_e1ODWax},
}
Figure