Comparing two probability distributions is a fundamental task in machine learning, essential for everything from training Generative Adversarial Networks (GANs) to performing two-sample tests. However, standard metrics like the Wasserstein distance suffer from a devastating "curse of dimensionality": the number of samples required to estimate the distance grows exponentially with the dimension of the data.
To bypass this, researchers have converged on a shared strategy: instead of comparing distributions in their high-dimensional ambient space, we should project them onto low-dimensional subspaces where their differences are most pronounced.
The Geometry of the Curse
In high-dimensional spaces, data points become increasingly sparse. As Kimia Nadjahi and colleagues explain in Statistical and Topological Properties of Sliced Probability Divergences, standard "rulers" like the Wasserstein distance become statistically inefficient because they try to account for every possible dimension of variance, much of which may be irrelevant noise.
The core intuition behind subspace methods is that the "signal"—the actual difference between two distributions—often resides on a much lower-dimensional manifold. By projecting the data, we effectively "squash" the high-dimensional noise, allowing the underlying structural differences to emerge.
Slicing and Maximizing
There are two primary ways to utilize projections for distribution comparison:
- Slicing (Averaging): This approach, explored by Clément Bonet in Unbalanced Optimal Transport meets Sliced-Wasserstein, involves taking many random one-dimensional projections (slices) of the data, calculating the distance in 1D (which is computationally trivial), and averaging the results. This ensures that the sample complexity depends only on the 1D base divergence rather than the ambient dimension.
- Projection Robustness (Maximizing): Rather than averaging over random directions, this method searches for the best $k$-dimensional subspace. As Tianyi Lin and Michael I. Jordan detail in On Projection Robust Optimal Transport, we define the distance as the maximum possible Wasserstein distance achievable under any $k$-dimensional linear projection.
This "max-min" formulation—maximizing the transport cost over projections while minimizing it over transport plans—acts as a powerful filter. It forces the metric to ignore dimensions where the distributions look similar (noise) and focus on the directions where they are most distinct.
Breaking the Sample Complexity Barrier
The most significant advantage of these methods is statistical. In Two-sample Test using Projected Wasserstein Distance, Jie Wang and Yao Xie demonstrate that the convergence rate of the Projected Wasserstein (PW) distance depends on the dimension of the projection subspace, not the ambient space.
This means that even if your data has thousands of features, if the difference between your "real" and "generated" data lies in a 10-dimensional subspace, you only need enough samples to satisfy a 10-dimensional problem. Minhui Huang and Lifeng Lai apply this principle to Projection Robust Wasserstein Barycenters, showing that aggregating distributions in a shared subspace leads to much more stable "average" distributions (barycenters) in noisy settings.
Computational Efficiency via Optimization
While finding the optimal projection sounds difficult, recent work has made it practical. Makoto Yamada and Masashi Sugiyama introduced $D^3$-HSA in Direct Density-Ratio Estimation with Dimensionality Reduction, providing analytic solutions for finding these subspaces.
For more complex transport problems, researchers like Bo Jiang have developed specialized solvers like ReALM (A Riemannian exponential augmented Lagrangian method). These methods treat the search for the optimal projection as an optimization problem on the Stiefel manifold (the space of all orthogonal projection matrices), achieving massive speedups over naive gradient descent.
Beyond Linear Projections
The idea of subspace-constrained transport is now moving beyond simple linear projections. Boris Muzellec and Marco Cuturi proposed Subspace Detours (Subspace Detours: Building Transport Plans that are Optimal on Subspace Projections), a method to construct a full-dimensional transport map by first solving the problem in a bottleneck subspace and then extending it.
Similarly, in the realm of Bayesian inference, Daniele Bigoni and Youssef Marzouk use "lazy maps" (Greedy inference with structure-exploiting lazy maps) that only transform a small, informative subspace of the data. This reduces the parameter count of normalizing flows by over 60% while maintaining high accuracy, proving that in high dimensions, less is often more.