无容量限制最小费用流下二维直方图间Kantorovich-Wasserstein距离的计算
On the Computation of Kantorovich-Wasserstein Distances between 2D-Histograms by Uncapacitated Minimum Cost Flows
摘要:
在这项工作中,我们提出了一种方法来计算一对二维直方图之间的Kantorovich-Wasserstein距离。最近在计算机视觉和机器学习方面的工作表明,通过解决具有$n$节点和$n^2$边的非常大的完全二分图上的经典运输问题,测量具有$n$箱的直方图之间的一阶Wasserstein距离的好处。我们的工作的主要贡献是近似的原始运输问题的无容量限制的最小成本流问题的规模为$O(n)$,利用几何结构的费用函数减少流网络。更准确地说,当箱中心之间的距离测量与1-范数或$\infty$-范数,我们的方法提供了一个最优解。当箱间距离用2-范数度量时:(i)给出了最优解与近似解之间误差的定量估计;(ii)在给定误差的情况下,构造了一个规模为$O(n)$的约化流网络.我们数值上显示我们的方法的好处,通过计算Wasserstein距离的顺序一个在一组作为基准的灰度图像在文献中。我们展示了我们的方法如何与1-范数,2-范数和$\infty$-范数地面距离的图像的大小进行缩放,并将其与文献中大量使用的其他两种方法进行比较。
英文摘要:
In this work, we present a method to compute the Kantorovich-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)$ that exploits the geometric structure of the cost function. More precisely, when the distance among the bin centers is measured with the 1-norm or the $\infty$-norm, our approach provides an optimal solution. When the distance among 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 benchmark in the literature. We show how our approach scales with the size of the images with 1-norm, 2-norm and $\infty$-norm ground distances, and we compare it with other two methods which are largely used in the literature.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。