Constrained Sliced Wasserstein Embedding

Navid NaderiAlizadeh, Darian Salehi, Xinran Liu, Soheil Kolouri
6/2/2025
cs.LGcs.AImath.OC

Official code: Stranja572/constrainedswe (0 stars, last commit 2026-01-29).

Abstract

Sliced Wasserstein (SW) distances offer an efficient method for comparing high-dimensional probability measures by projecting them onto multiple 1-dimensional probability distributions. However, identifying informative slicing directions has proven challenging, often necessitating a large number of slices to achieve desirable performance and thereby increasing computational complexity. We introduce a constrained learning approach to optimize the slicing directions for SW distances. Specifically, we constrain the 1D transport plans to approximate the optimal plan in the original space, ensuring meaningful slicing directions. By leveraging continuous relaxations of these transport plans, we enable a gradient-based primal-dual approach to train the slicer parameters, alongside the remaining model parameters. We demonstrate how this constrained slicing approach can be applied to pool high-dimensional embeddings into fixed-length permutation-invariant representations. Numerical results on foundation models trained on images, point clouds, and protein sequences showcase the efficacy of the proposed constrained learning approach in learning more informative slicing directions. Our implementation code can be found at https://github.com/Stranja572/constrainedswe.

View on arXivView PDF

Code Implementations(1)

00PythonMay 15, 20258 months ago

Similar Papers

Cite this paper

@article{naderializadeh2025constrained,
  title  = {Constrained Sliced Wasserstein Embedding},
  author = {Navid NaderiAlizadeh and Darian Salehi and Xinran Liu and Soheil Kolouri},
  year   = {2025},
  eprint = {2506.02203},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.02203v1}
}

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

Discussion