TL;DR
The Sliced Wasserstein Distance (SWD) offers a fast alternative to optimal transport by projecting high-dimensional distributions onto 1D lines, but random linear projections suffer from low projection efficiency in high dimensions. The authors introduce the Augmented Sliced Wasserstein Distance (ASWD), which maps data into a higher-dimensional space via an injective neural network before slicing. This enables flexible, data-adaptive nonlinear projections while mathematically guaranteeing that the resulting distance remains a valid metric.
What Problem Does This Paper Address?
The classic Wasserstein distance provides an effective way to compare probability distributions, but its exact calculation is computationally prohibitive ($O(N^3)$), making it difficult to use in large-scale machine learning pipelines.
The Sliced Wasserstein Distance (SWD) solves this bottleneck by projecting distributions onto random 1D lines, where optimal transport reduces to a fast sorting operation ($O(N \log N)$). However, in high dimensions, linear slicing is notoriously inefficient: most random directions produce near-zero distances that fail to capture complex geometric structures. Existing non-linear remedies, like Generalized SWD (GSWD), rely on hand-crafted defining functions (such as polynomials or circular functions) that are difficult to design, lack adaptability, or lose theoretical guarantees when replaced with standard neural networks.
Methods
The authors resolve this dilemma by defining the Spatial Radon Transform and proposing the ASWD framework:
- Mapping to an Augmented Space: Instead of slicing data directly in $\mathbb{R}^d$, samples are mapped to $\mathbb{R}^{d_\theta}$ via a mapping $g(x)$. Linear slicing on the resulting hypersurface in augmented space corresponds to flexible, nonlinear slicing in the original data space.
-
Injective Neural Network Design: The authors prove that the spatial Radon transform and ASWD are valid distance metrics if and only if $g(\cdot)$ is injective. To bypass the restrictive and expensive constraints of invertible networks, they use an elegant shortcut: concatenating the raw input $x$ with the output of an arbitrary neural network $\phi_\omega(x)$: $$g_\omega(x) = [x, \phi_\omega(x)]$$ This construction guarantees injectivity regardless of the chosen architecture for $\phi_\omega$.
-
Optimizing Hypersurfaces: Rather than picking fixed defining functions, the parameters $\omega$ are trained via gradient ascent to maximize the projected distance between distributions, regularized by an $L_2$ penalty to prevent projection norms from exploding: $$\max_\omega \text{ASWD}_k(\mu, \nu; g_\omega) - \lambda \mathbb{E}\big[\|g_\omega(x)\|_2 + \|g_\omega(y)\|_2\big]$$
Original Space (X-Y) Augmented Hypersurface (Z) 1D Slices
[Data Points] ---> g(x) = [x, phi(x)] ---> Sorted 1D OT
(Injective Embedding) (Closed-form)
Datasets
The authors evaluate ASWD across several standard benchmarks:
- Synthetic 2D Distributions: Sliced Wasserstein flow experiments converting a standard Gaussian source into 8 target distributions (including 8-Gaussian, Knot, Moon, and Swiss Roll).
- Generative Image Modeling: GANs trained on CIFAR-10 ($64 \times 64$) and CelebA ($64 \times 64$).
- Additional Tasks (Appendices): Sliced Wasserstein Autoencoders (SWAE) on MNIST, color transferring, and Wasserstein barycenters.
No new datasets were introduced.
Key Insights and Ideas
- Linear Slices of Nonlinear Embeddings: Projecting linearly after an embedding is geometrically equivalent to slicing with complex hypersurfaces in the original domain, without the mathematical headaches of computing generalized Radon transforms explicitly.
- Injectivity is the Silver Bullet: As long as $g$ is an injection, information is preserved, and the spatial Radon transform remains bijective. This ensures the triangle inequality and identity of indiscernibles hold.
- Data-Adaptive Slicing: Instead of guessing whether a polynomial or circular kernel fits the data manifold, the hypersurface is directly learned end-to-end to separate the two specific distributions being compared.
Key Results
- Sliced Wasserstein Flows: On 7 out of 8 synthetic target geometries (e.g., Knot, Swiss Roll), ASWD converged substantially faster and achieved significantly lower 2-Wasserstein errors than SWD, DSWD, and polynomial/circular GSWD variants.
- Generative Modeling (GANs):
- CIFAR-10: With 1,000 projections, ASWD achieved a Fréchet Inception Distance (FID) of $65.5 \pm 3.9$, outperforming DSWD ($74.3 \pm 4.3$), SWD ($126.0 \pm 2.9$), and GSWD ($134.5 \pm 2.7$). Remarkably, with only 10 projections, ASWD achieved an FID of $73.2 \pm 3.1$, beating all other baselines even when they used 1,000 projections.
- CelebA: ASWD reached $90.5 \pm 3.0$ FID ($L=1000$), outperforming DSWD ($97.4 \pm 2.1$) and SWD ($104.4 \pm 2.8$).
- Computational Cost: Training iteration times for ASWD ($\sim 0.55\text{s} - 1.32\text{s}$ per 512-sample batch) were comparable to DSWD and significantly faster than polynomial GSWD ($2.10\text{s} - 2.14\text{s}$).
Limitations and Future Work
- Hyperparameter Sensitivity: The method introduces a regularization weight $\lambda$ to constrain the augmented norm; finding the right balance between non-linearity and scale control requires tuning.
- Architectural Exploration: Experiments relied primarily on a simple single-layer MLP concatenated to the input. Investigating dedicated invertible network architectures (e.g., i-ResNets) within the ASWD framework remains open for future research.
- Adversarial Slicing Overhead: Because $g_\omega$ is optimized via an inner loop, it incurs higher per-iteration computational cost than standard vanilla SWD with fixed random projections.
Summary updated