NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Quasi-Monte Carlo for 3D Sliced Wasserstein

Khai Nguyen, Nicola Bariletto, Nhat Ho · OpenReview

Abstract

Monte Carlo (MC) approximation has been used as the standard computation approach for the Sliced Wasserstein (SW) distance, which has an intractable expectation in its analytical form. However, the MC method is not optimal in terms of minimizing the absolute approximation error. To provide a better class of empirical SW, we propose quasi-sliced Wasserstein (QSW) approximations that rely on Quasi-Monte Carlo (QMC) methods. For a comprehensive investigation of QMC for SW, we focus on the 3D setting, specifically computing the SW between probability measures in three dimensions. In greater detail, we empirically verify various ways of constructing QMC points sets on the 3D unit-hypersphere, including Gaussian-based mapping, equal area mapping, generalized spiral points, and optimizing discrepancy energies. Furthermore, to obtain an unbiased estimation for stochastic optimization, we extend QSW into Randomized Quasi-Sliced Wasserstein (RQSW) by introducing randomness to the discussed low-discrepancy sequences. For theoretical properties, we prove the asymptotic convergence of QSW and the unbiasedness of RQSW. Finally, we conduct experiments on various 3D tasks, such as point-cloud comparison, point-cloud interpolation, image style transfer, and training deep point-cloud autoencoders, to demonstrate the favorable performance of the proposed QSW and RQSW variants.

Introduction

The Wasserstein distance is a gold standard for comparing shapes and distributions because it accounts for the underlying geometry. However, it is computationally expensive. To solve this, researchers often use the Sliced Wasserstein (SW) distance, which breaks a high-dimensional problem into many simple 1D problems by projecting data onto various directions (lines). To obtain an accurate SW distance, one must average the results over every possible direction on a unit sphere—an intractable integral. In practice, Monte Carlo (MC) integration is typically used, but random sampling can lead to high approximation errors and "noisy" results in applications like 3D point-cloud reconstruction.

This paper introduces Quasi-Sliced Wasserstein (QSW) and its randomized counterpart (RQSW). By replacing standard random MC sampling with structured "low-discrepancy" point sets on a sphere, the authors achieve significantly lower approximation errors and smoother gradients for 3D tasks.

Methodology

The authors propose using Quasi-Monte Carlo (QMC) methods specifically tailored for the 3D unit sphere ($S^2$). Instead of picking directions randomly, QMC uses deterministic sequences designed to cover the sphere as uniformly as possible. The paper explores five construction methods: Gaussian-based mapping, equal area mapping, generalized spiral points, energy optimization (CQSW), and discrepancy optimization (DQSW).

Because deterministic points can bias optimization in neural networks, the authors also introduce Randomized QSW (RQSW). By applying random rotations to these structured sets, they create an unbiased estimator that retains the high-coverage benefits of QMC while being safe for stochastic gradient descent.

Experimental Evaluation

The methods were evaluated on 3D vision benchmarks including ShapeNet Core-55 and ModelNet40.

Comparison of approximation errors for different SW variants across various 3D point cloud pairs.

Key Results

  • Lower Error: In 3D point-cloud comparisons, QSW variants (especially CQSW and DQSW) achieved significantly lower absolute approximation errors compared to standard MC, as illustrated in the figure above.
  • Better Training: When training deep point-cloud autoencoders, models trained with RQSW reached lower reconstruction losses than those trained with standard SW.
  • Qualitative Superiority: In image style transfer, QSW variants produced more accurate color transfers. In point-cloud interpolation, RQSW successfully morphed complex shapes where standard QSW failed due to the lack of randomness in gradients.

Key Insights and Discussion

  • Uniformity Over Randomness: The primary insight is that for 3D data, the structure of sampling directions is more critical than the quantity. A small number of "well-placed" directions (QMC) consistently outperforms a large number of "random" directions (MC).
  • The 3D "Sweet Spot": While QMC can be complex in very high dimensions, the 3D sphere is a regime where excellent geometric tools (like spiral points) make QSW both easy to implement and highly effective.
  • Efficiency Gains: Because QSW uses deterministic points, directions can be pre-computed and reused, making it slightly faster than standard SW, which typically resamples directions at every iteration.
  • Smoothness in Motion: In tasks like point-cloud interpolation, standard MC sampling creates "jitter" because the random directions change. RQSW provides a much smoother "flow" between shapes by maintaining structural consistency while introducing necessary randomness.

Conclusion

The study highlights that for 3D data, the structure of sampling directions matters more than the quantity. A small number of well-placed directions (QMC) outperforms a large number of random directions (MC). While focused on 3D, the principles of QSW and RQSW offer a promising path for improving Wasserstein-based computations in higher dimensions and other variants of the distance.

Summary updated

BibTeX
@inproceedings{nguyen2024quasi,
  author = {Khai Nguyen and Nicola Bariletto and Nhat Ho},
  title = {{Quasi-Monte Carlo for 3D Sliced Wasserstein}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=Wd47f7HEXg},
}
Figure