TL;DR
This paper introduces Quasi-Sliced Wasserstein (QSW) and its randomized counterpart (RQSW) to significantly improve the approximation of the Sliced Wasserstein distance in 3D applications. By replacing standard Monte Carlo sampling with low-discrepancy point sets on the unit sphere, the authors achieve much lower approximation errors and more stable gradients for tasks like point-cloud reconstruction, interpolation, and style transfer.
What Problem Does This Paper Address?
The Wasserstein distance is a powerful tool for comparing probability distributions, particularly in geometric tasks like 3D point-cloud analysis. However, it is computationally expensive ($O(n^3 \log n)$). The Sliced Wasserstein (SW) distance offers a faster alternative ($O(n \log n)$) by projecting high-dimensional data onto one-dimensional lines and averaging the results.
The catch? The "averaging" part involves an integral over all possible directions on a unit sphere, which is mathematically intractable. In practice, researchers use Monte Carlo (MC) integration—essentially picking random directions and averaging them. While simple, MC is suboptimal; it converges slowly ($O(L^{-1/2})$ where $L$ is the number of projections) and often leaves "gaps" in the sphere, leading to high approximation errors. This paper seeks a more efficient way to sample these directions, specifically for 3D data.
Methods
The authors propose using Quasi-Monte Carlo (QMC) methods. Instead of random sampling, QMC uses deterministic "low-discrepancy" point sets designed to cover the space as uniformly as possible.
The paper explores several ways to construct these point sets on the 3D unit sphere ($S^2$):
- Gaussian-based mapping: Transforming low-discrepancy sequences from a unit cube to a sphere using inverse Gaussian CDFs.
- Equal area mapping: Using the Lambert cylindrical projection to map a 2D grid onto the sphere.
- Generalized spiral points: A geometric construction that distributes points along a spiral path.
- Energy Optimization: Finding point sets that maximize pairwise distance or minimize "Coulomb energy" (treating points like electrons that repel each other).
To handle optimization tasks (like training a neural network), they introduce Randomized Quasi-Sliced Wasserstein (RQSW). Purely deterministic QMC can lead to biased gradients if the directions never change. RQSW injects just enough randomness—via "scrambling" or random rotations—to ensure the estimator remains unbiased while keeping the high-uniformity benefits of QMC.
Datasets
The authors evaluated their methods on several benchmarks:
- ShapeNet Core-55: Used for point-cloud comparison and interpolation tasks.
- ModelNet40: Used to evaluate the reconstruction quality of trained deep point-cloud autoencoders.
- Image Style Transfer: Applied to standard image pairs to transfer color palettes between source and target images.
Key Insights and Ideas
- Uniformity is King: The "spherical cap discrepancy" (a measure of how non-uniformly points are spread) is a strong predictor of approximation error. Methods like generalized spirals and Coulomb energy minimization produce much more uniform sets than standard random sampling.
- The Deterministic Trap: While deterministic QSW is excellent for evaluating a distance, it can fail during optimization. If the projection directions are fixed, a model might learn to "cheat" by only aligning data along those specific axes.
- Random Rotation is a Simple Fix: By taking a high-quality QMC point set and applying a single random rotation at each step, you get an unbiased estimator that still outperforms standard MC.
- 3D Specificity: While QMC is well-studied for hypercubes, this work highlights that the 3D sphere requires specific mappings (like the Lambert mapping) to maintain low-discrepancy properties.
Key Results
The quantitative improvements are substantial across the board:
- Lower Error: As shown in the error plots, QSW variants (especially CQSW and SQSW) achieve significantly lower absolute errors than standard SW for the same number of projections $L$.
- Better Optimization: In point-cloud interpolation, RQSW variants produced much smoother transitions and lower final Wasserstein distances compared to standard SW.
- Visual Fidelity: In style transfer, RQSW achieved a Wasserstein-2 distance of ~1.27, whereas standard SW was stuck at ~458.29, resulting in much more vibrant and accurate color transfers.
Limitations and Future Work
The primary limitation is the focus on 3D data. While some methods (like Gaussian mapping) scale to higher dimensions, others (like the Lambert equal-area mapping) are specific to the 2D surface of a 3D sphere. The authors note that the quality of QMC point sets in very high dimensions remains an open question.
Future work includes extending these QMC techniques to higher-dimensional spaces ($d > 3$) and applying them to other variants of the Sliced Wasserstein distance, such as the Max-Sliced Wasserstein distance.
Summary updated