Fast Approximation of the Sliced-Wasserstein Distance Using Concentration of Random Projections

Kimia Nadjahi, Alain Durmus, Pierre E. Jacob, Roland Badeau, Umut Şimşekli
6/29/2021
56 citations
stat.MLcs.LG

Official code: kimiandj/fast_sw (5 stars, Python, last commit 2023-01-20).

Abstract

The Sliced-Wasserstein distance (SW) is being increasingly used in machine learning applications as an alternative to the Wasserstein distance and offers significant computational and statistical benefits. Since it is defined as an expectation over random projections, SW is commonly approximated by Monte Carlo.

Show full abstract

We adopt a new perspective to approximate SW by making use of the concentration of measure phenomenon: under mild assumptions, one-dimensional projections of a high-dimensional random vector are approximately Gaussian. Based on this observation, we develop a simple deterministic approximation for SW. Our method does not require sampling a number of random projections, and is therefore both accurate and easy to use compared to the usual Monte Carlo approximation. We derive nonasymptotical guarantees for our approach, and show that the approximation error goes to zero as the dimension increases, under a weak dependence condition on the data distribution. We validate our theoretical findings on synthetic datasets, and illustrate the proposed approximation on a generative modeling problem.

View on arXivView PDF

Code Implementations(1)

kimiandj/fast_swOfficial100%
50Python, ShellOct 26, 20213 years ago

Similar Papers

Cite this paper

@article{nadjahi2021fast,
  title  = {Fast Approximation of the Sliced-Wasserstein Distance Using Concentration of Random Projections},
  author = {Kimia Nadjahi and Alain Durmus and Pierre E. Jacob and Roland Badeau and Umut Şimşekli},
  year   = {2021},
  eprint = {2106.15427},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.15427}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.15427.svg)](https://codeofpaper.com/paper/2106.15427)

Discussion