Sliced Wasserstein Estimation with Control Variates

Khai Nguyen, Nhat Ho
4/30/2023
stat.MLcs.CVcs.GR

No official code found. Best implementation: khainb/CV-SW (4 stars, MIT, last commit 2024-02-18).

Abstract

The sliced Wasserstein (SW) distances between two probability measures are defined as the expectation of the Wasserstein distance between two one-dimensional projections of the two measures. The randomness comes from a projecting direction that is used to project the two input measures to one dimension. Due to the intractability of the expectation, Monte Carlo integration is performed to estimate the value of the SW distance. Despite having various variants, there has been no prior work that improves the Monte Carlo estimation scheme for the SW distance in terms of controlling its variance. To bridge the literature on variance reduction and the literature on the SW distance, we propose computationally efficient control variates to reduce the variance of the empirical estimation of the SW distance. The key idea is to first find Gaussian approximations of projected one-dimensional measures, then we utilize the closed-form of the Wasserstein-2 distance between two Gaussian distributions to design the control variates. In particular, we propose using a lower bound and an upper bound of the Wasserstein-2 distance between two fitted Gaussians as two computationally efficient control variates. We empirically show that the proposed control variate estimators can help to reduce the variance considerably when comparing measures over images and point-clouds. Finally, we demonstrate the favorable performance of the proposed control variate estimators in gradient flows to interpolate between two point-clouds and in deep generative modeling on standard image datasets, such as CIFAR10 and CelebA.

View on arXivView PDF

Code Implementations(1)

khainb/CV-SWCommunity100%
MIT

Official PyTorch implementation for paper: Sliced Wasserstein Estimation with Control Variates

41PythonFeb 18, 20242 years agoMIT

Similar Papers

Cite this paper

@article{nguyen2023sliced,
  title  = {Sliced Wasserstein Estimation with Control Variates},
  author = {Khai Nguyen and Nhat Ho},
  year   = {2023},
  eprint = {2305.00402},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.00402v2},
  journal = {ICLR 2023 2023}
}

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/2305.00402.svg)](https://codeofpaper.com/paper/2305.00402)

Discussion