On the Computation of Kantorovich-Wasserstein Distances between 2D-Histograms by Uncapacitated Minimum Cost Flows

04/02/2018
by   Federico Bassetti, et al.
0

In this work, we present a method to compute the Kantorovich distance, that is, the Wasserstein distance of order one, between a pair of two-dimensional histograms. Recent works in Computer Vision and Machine Learning have shown the benefits of measuring Wasserstein distances of order one between histograms with N bins, by solving a classical transportation problem on (very large) complete bipartite graphs with N nodes and N^2 edges. The main contribution of our work is to approximate the original transportation problem by an uncapacitated min cost flow problem on a reduced flow network of size O(N). More precisely, when the distance among the bin centers is measured with the 1-norm or the ∞-norm, our approach provides an optimal solution. When the distance amongst bins is measured with the 2-norm: (i) we derive a quantitative estimate on the error between optimal and approximate solution; (ii) given the error, we construct a reduced flow network of size O(N). We numerically show the benefits of our approach by computing Wasserstein distances of order one on a set of grey scale images used as benchmarks in the literature. We show how our approach scales with the size of the images with 1-norm, 2-norm and ∞-norm ground distances.

READ FULL TEXT

page 22

page 23

research
05/18/2018

Computing Kantorovich-Wasserstein Distances on d-dimensional histograms using (d+1)-partite graphs

This paper presents a novel method to compute the exact Kantorovich-Wass...
research
03/09/2019

Orthogonal Estimation of Wasserstein Distances

Wasserstein distances are increasingly used in a wide variety of applica...
research
01/31/2022

On a linearization of quadratic Wasserstein distance

This paper studies the problem of computing a linear approximation of qu...
research
10/18/2018

A minimalist approach for speeding up the computation of geodesic distances on triangular meshes

The computation of geodesic distances is an important research topic in ...
research
10/18/2018

An Iterative Parallel Algorithm for Computing Geodesic Distances on Triangular Meshes

The computation of geodesic distances is an important research topic in ...
research
09/23/2020

A Linear Transportation L^p Distance for Pattern Recognition

The transportation L^p distance, denoted TL^p, has been proposed as a ge...
research
06/04/2020

A statistical Testing Procedure for Validating Class Labels

Motivated by an open problem of validating protein identities in label-f...

Please sign up or login with your details

Forgot password? Click here to reset