Distributional Convergence of the Sliced Wasserstein Process

Jiaqi Xi, Jonathan Niles-WeedNeurIPS 2022

Optimal transport and Wasserstein distances have become the "Swiss Army knife" of modern machine learning, powering everything from generative models (GANs) to transfer learning. However, they come with a heavy "high-dimension tax": they are computationally expensive to calculate and statistically difficult to estimate as dimensions grow.

To dodge this tax, researchers often use Sliced Wasserstein (SW) distances, which project high-dimensional data onto one-dimensional lines where the underlying mathematics becomes tractable. But this has led to a fragmented landscape of different "sliced" variants—Max-Sliced, Distributional Sliced, and more—each requiring its own complex, bespoke statistical proof to guarantee its behavior.

In their NeurIPS 2022 paper, Jiaqi Xi and Jonathan Niles-Weed provide a "Grand Unified Theory" for these distances by introducing the Sliced Wasserstein Process. By shifting the perspective from individual distance metrics to a comprehensive stochastic process, they offer a single, powerful framework to derive statistical limits and justify bootstrap methods for almost all existing sliced Wasserstein variants.

The Curse of Dimensionality and the Slicing Solution

Standard Wasserstein distance suffers severely from the curse of dimensionality. To estimate the distance between two distributions in $d$ dimensions, the error typically scales as $n^{-1/d}$, meaning an exponential amount of data is required as $d$ increases. Furthermore, computing it for $n$ points takes $O(n^2)$ time or worse.

"Slicing" solves this computational and statistical bottleneck: projecting data onto a 1D line allows us to compute the distance in $O(n \log n)$ time with a convergence rate of $n^{-1/2}$, regardless of the original dimension. However, because there are infinitely many directions to project onto, researchers have proposed different ways to aggregate these 1D distances (e.g., averaging them or picking the maximum). Until now, proving that these estimators actually behave well and converge to a normal distribution required starting from scratch for every new variant.

A Unified Framework: The Sliced Wasserstein Process

The authors overcome this fragmentation by shifting the analytical perspective from looking at a single aggregated distance to analyzing a stochastic process.

  1. The Sliced Wasserstein Process ($\mathbb{G}_n$): They define a process indexed by the unit sphere $S^{d-1}$. For every direction $u$, the process records the difference between the empirical 1D Wasserstein distance and the true population distance.
  2. Functional Central Limit Theorem: The core theoretical contribution is proving that this entire empirical process converges to a tight Gaussian process.
  3. The Functional Delta Method: Because the entire process is shown to be Gaussian in the limit, the authors can leverage a mathematical tool called the "delta method" to automatically derive the limits for specific distances. If a distance is a "nice" function of the 1D projections (like an integral for standard SW, or a supremum for Max-SW), it automatically inherits the convergence properties of the underlying process.

Key Results and Empirical Validation

The primary theorem demonstrates that the empirical process $\mathbb{G}_n$ converges to a zero-mean Gaussian process $\mathbb{G}$ with a specific covariance function. Using this, the authors successfully derive unified distributional limits for Standard SW (the average over all directions), Max-SW (the worst-case direction), and Distributional SW (a more flexible version using a set of measures).

Beyond theoretical proofs, the authors use synthetic Monte Carlo simulations to validate their findings. They tested uniform distributions on spheres and ellipsoids, as well as Spiked Transport Models where distributions differ only in a low-dimensional subspace.

Density and Q-Q plots demonstrating the convergence of the empirical Sliced Wasserstein process to the theoretical Gaussian limit across increasing sample sizes (n=50, 100, 500).

As shown in the figure above, Monte Carlo experiments confirm that the empirical distribution of these distances matches the predicted Gaussian curves almost perfectly. The Q-Q plots demonstrate that as the sample size increases from $n=50$ to $n=500$, the empirical quantiles align tightly with the theoretical quantiles, confirming the theory holds even for moderate sample sizes.

Broader Impacts and Future Directions

This unified theory provides several critical insights for the field:

  • Bootstrap Justification: The paper provides the first rigorous theoretical guarantee that the bootstrap method (resampling data to estimate uncertainty) is valid for many of these sliced distances. This is crucial for practitioners who need to construct confidence intervals for their models.
  • The Importance of Uniqueness: The theory relies on an assumption that the 1D projections have connected supports. This ensures there is a unique "optimal way" to move mass in 1D, which is mathematically necessary for the Gaussian limit to exist.

While the current proof assumes the data lives within a bounded, compact support, the authors conjecture this could be relaxed to unbounded distributions (like Gaussians) in future work, though this would require complex tail-condition analyses. Additionally, extending this "process" approach to Sinkhorn distances (entropically regularized Wasserstein)—which are highly popular in large-scale machine learning—remains an exciting open challenge.

Summary updated

BibTeX
@inproceedings{xi2022distributional,
  author = {Jiaqi Xi and Jonathan Niles-Weed},
  title = {{Distributional Convergence of the Sliced Wasserstein Process}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=m8YYs8nJF3T},
}
Figure