Skip to content

Implementation of "Sparsity-Constrained Optimal Transport", ICLR 2023.

Notifications You must be signed in to change notification settings

liutianlin0121/sparsity-constrained-optimal-transport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Sparsity-constrained Optimal Transport

Open In Colab

This repository contains a Google Colab notebook demonstrating sparsity-constrained optimal transport, as proposed in our publication:

Liu, T., Puigcerver, J., & Blondel, M. (2023). Sparsity-constrained optimal transport. Proceedings of the Eleventh International Conference on Learning Representations (ICLR).

We focus on 1D problems here: transporting between 1D distributions. The official implementation in the vmoe repository includes additional demos showcasing applications in 2D, color transfer, and vision mixture-of-experts models.

While the official vmoe repository is based on JAX, this repository also demonstrates the usage of sparsity-constrained OT in PyTorch (thanks to the backend system in POT).

Optimal transport between two 1D Gaussians.

Getting Started

To try out the demo notebook, click the "Open in Colab" button above or access it here.

Citation

Please find more details in our paper, accepted for a spotlight presentation at ICLR 2023; if you find our work useful in your research, please consider citing:

@inproceedings{
  liu2023sparsity,
  title={Sparsity-constrained optimal transport},
  author={Tianlin Liu, Joan Puigcerver, Mathieu Blondel},
  booktitle={Proceedings of the Eleventh International Conference on Learning Representations (ICLR)},
  year={2023},
  url={https://openreview.net/forum?id=yHY9NbQJ5BP}
}

About

Implementation of "Sparsity-Constrained Optimal Transport", ICLR 2023.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published