Streaming Sliced Optimal Transport

Khai Nguyen
5/11/2025
cs.LGstat.COstat.ME

No official code found. Best implementation: khainb/StreamSW (1 star, last commit 2026-04-12).

Abstract

Sliced optimal transport (SOT), or sliced Wasserstein (SW) distance, is widely recognized for its statistical and computational scalability. In this work, we further enhance computational scalability by proposing the first method for estimating SW from sample streams, called \emph{streaming sliced Wasserstein} (Stream-SW). To define Stream-SW, we first introduce a streaming estimator of the one-dimensional Wasserstein distance (1DW). Since the 1DW has a closed-form expression, given by the absolute difference between the quantile functions of the compared distributions, we leverage quantile approximation techniques for sample streams to define a streaming 1DW estimator. By applying the streaming 1DW to all projections, we obtain Stream-SW. The key advantage of Stream-SW is its low memory complexity while providing theoretical guarantees on the approximation error. We demonstrate that Stream-SW achieves a more accurate approximation of SW than random subsampling, with lower memory consumption, when comparing Gaussian distributions and mixtures of Gaussians from streaming samples. Additionally, we conduct experiments on point cloud classification, point cloud gradient flows, and streaming change point detection to further highlight the favorable performance of the proposed Stream-SW

View on arXivView PDF

Code Implementations(1)

khainb/StreamSWCommunity100%

Official Python implementation for paper: Streaming Sliced Optimal Transport

10PythonApr 28, 20256 months ago

Similar Papers

Cite this paper

@article{nguyen2025streaming,
  title  = {Streaming Sliced Optimal Transport},
  author = {Khai Nguyen},
  year   = {2025},
  eprint = {2505.06835},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.06835v2}
}

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

Discussion