Sliced Wasserstein Distance Estimation
- Sliced Wasserstein Distance Estimation is a method that projects high-dimensional distributions onto 1D spaces to efficiently compute optimal transport distances.
- It leverages integral transforms like the Radon transform and employs sorting algorithms to reduce complexity in comparing empirical measures.
- The estimator’s performance is influenced by sample size and projection count, achieving optimal convergence rates under standard regularity conditions.
The sliced Wasserstein distance (SWD) is a computationally tractable variant of the Wasserstein (optimal transport) distance that leverages one-dimensional projections to compare high-dimensional probability measures. SWD is widely studied for its statistical properties, empirical performance, and central role in large-scale generative modeling, distributional regression, and high-dimensional data analysis. Estimating the SWD from finite samples—termed "sliced Wasserstein distance estimation"—is essential for both theoretical inference and practical implementation.
1. Definition and Slicing Transforms
Given probability measures on with finite -th moments, for each unit vector (the unit sphere), define the associated one-dimensional marginals: where denotes projection and the pushforward. The -sliced Wasserstein distance is
where is the standard 1D Wasserstein distance and 0 is the uniform Haar measure (Chen et al., 2023).
More generally, slicing may be interpreted via integral transforms, such as the Radon transform,
1
for 2 a function or density and 3 the surface measure (Chen et al., 2023, Nguyen et al., 2022). Injectivity and invertibility of the chosen transform are essential for establishing metric properties.
2. Sample-Based Estimation and Algorithms
In practical settings, one observes i.i.d. samples 4, 5 and constructs empirical measures 6. For each projection direction 7, one computes the projected samples, sorts them, and evaluates the 1D 8. The empirical estimator with 9 directions is
0
Directions 1 are typically selected i.i.d. uniformly on 2, but deterministic quadrature (e.g., spherical designs) is also possible (Chen et al., 2023). The sorting cost for each projection is 3, so the total complexity is 4 for moderate sample sizes.
Algorithmic Summary:
| Step | Description | Complexity |
|---|---|---|
| Project/sort | For each 5, compute and sort | 6 |
| 1D OT | Compute 7 via quantile/empirical CDF | 8 |
| Average | Aggregate over all directions (9) | 0 |
(Chen et al., 2023, Nguyen et al., 2022, Nietert et al., 2022)
3. Theoretical Guarantees
Consistency and Rates
Under standard regularity conditions (compact support, bounded density, finite moments), the empirical estimator satisfies
1
as 2 (Chen et al., 2023). When sample size and the number of directions are of the same order, the error decreases at the optimal parametric rate.
Uniform Concentration
With suitable bracketing or VC-type entropy control over the class of projections, uniform concentration inequalities apply, and for bounded one-dimensional Wasserstein terms, Hoeffding-type deviation bounds yield
3
for some constant 4 (Chen et al., 2023).
4. Comparison to Alternative Paradigms
Slice-Average Regression (SAW):
Performs minimization of the full sliced Wasserstein (i.e., over the space of probability measures on 5), which is non-convex globally but reflects the full geometry of the underlying distributions.
Slice-Wise Regression (SWW):
Performs independent 1D regression per direction (Fréchet mean), then reconstructs the multivariate distribution via inversion of the slice transform. While each 1D problem is convex and parallelizable, the aggregation step may be unstable or high-variance in large 6.
Each paradigm's statistical and computational tradeoffs depend on the properties of the slicing/inversion schemes and the geometry of the regression functional (Chen et al., 2023).
5. Practical Considerations in SWD Estimation
- Number of Directions (7): Empirically, 8 suffices in moderate dimensions (9). Cost grows linearly with 0. Adaptive approaches (e.g., cross-validation) can guide selection (Chen et al., 2023).
- Sampling of Directions: Random uniform sampling is unbiased and easy to implement; deterministic designs can yield lower variance/quadrature error.
- Computational Complexity: For common settings (1), estimation is feasible on standard hardware in seconds.
- Bias and Variance: Finite 2 yields 3 bias; finite 4 yields 5 variance. The total RMSE is of the form 6 for appropriate constants.
- Empirical Performance: Simulations confirm predicted rates and demonstrate suitability for data analysis and regression tasks with distributional responses (Chen et al., 2023).
6. Extensions: Slicing Transforms and Stability
The definition of slicing is extendable: any transform 7 that satisfies injectivity, stability (Lipschitz), invertibility, and admits regularized inverses can, in principle, serve as the basis for a generalized SWD. The Radon transform is a canonical choice due to its known properties in tomography and harmonic analysis (Chen et al., 2023, Nguyen et al., 2022). For stable inference and regression, the existence of a continuous regularized inverse is necessary.
7. Applications and Limitations
SWD estimation is widely deployed in statistical modeling with distributional responses, such as Fréchet regression, and in generative modeling for high-dimensional data where full-dimensional OT is computationally prohibitive (Nguyen et al., 2022, Nietert et al., 2022). Its favorable statistical properties, fast computational algorithms, and adaptability to different slicing paradigms make SWD estimation a central tool for modern data-driven studies of probability distributions.
Limitations include the non-convexity of the global regression objective when using the full SWD (SAW), instability of the inversion step when employing slice-wise regression (SWW) in high dimensions, and the linear scaling of computation with the number of projections.
Summary Table: Estimator Error Sources
| Error Source | Rate | Main Control Parameter |
|---|---|---|
| Finite sample size | 8 | 9, 0 |
| Number of slices | 1 | 2 |
These rates are minimax optimal under classical regularity conditions for optimal transport processes (Chen et al., 2023).