Skip to content

This contribution features an accelerated computation of the Wasserstein transportation distance and the Sinkhorn divergence by employing nonequispaced fast Fourier transforms (NFFT). The method overcomes numerical stability issues of the straightforward convolution of the standard, fast Fourier transform (FFT). Also, the algorithm is faster tha…

License

Notifications You must be signed in to change notification settings

rajmadan96/NFFT-Sinkhorn-Wasserstein_distance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFFT-Sinkhorn (Approximation of Wasserstein distance)

This contribution features an accelerated computation of the Wasserstein transportation distance and the Sinkhorn divergence by employing nonequispaced fast Fourier transforms (NFFT). The method overcomes numerical stability issues of the straightforward convolution of the standard, fast Fourier transform (FFT). Also, the algorithm is faster than the traditional Sinkhorn algorithm. Further, the proposed method avoids expensive allocations of the characterizing matrices. With this numerical acceleration, the transportation distance is accessible to probability measures out of reach so far. Numerical experiments using synthetic data and real data affirm the computational advantage and supremacy.

Prerequisites

The "NFFT3.jl" package has be installed. For more details, please refer to https://www-user.tu-chemnitz.de and https://github.com/NFFT/NFFT3.jl.

NOTE: The "NFFT3.jl" package should be in the same parent directory.

Reference

When you are using this code, please cite the paper.

[1] Rajmadan Lakshmanan, Alois Pichler, and Daniel Potts. (2022). Nonequispaced Fast Fourier Transform Boost for the Sinkhorn Algorithm.

This paper also comprehensively explains the NFFT-Sinkhorn (Approximation of Wasserstein distance) algorithm.

Directory structure

File/Folder Purpose
src Sinkhorn algorithm from Section 3.3, and NFFT-accelerated from Section 4.1 of [1]
Graphs and images Graphs and images of the numerical experiments.
Experiments Experiment scripts--synthetic data and real data.

About

This contribution features an accelerated computation of the Wasserstein transportation distance and the Sinkhorn divergence by employing nonequispaced fast Fourier transforms (NFFT). The method overcomes numerical stability issues of the straightforward convolution of the standard, fast Fourier transform (FFT). Also, the algorithm is faster tha…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages