一种基于Push-Relabel的最优传输的加法近似
A Push-Relabel Based Additive Approximation for Optimal Transport
摘要:
最优传输是一种流行的距离度量,用于测量分布之间的相似性。计算最优运输的精确算法可能很慢,这促使近似数值求解器(例如Sinkhorn方法)的发展。我们引入了一个新的和非常简单的组合方法来找到一个$\varepsilon$近似的OT距离。我们的算法实现了一个接近最优的执行时间$O(n^2/\varepsilon^2)$计算OT距离,并为特殊情况下的分配问题,执行时间提高到$O(n^2/\varepsilon)$。我们的算法是基于最小费用流问题的推重新标记框架。不像其他组合方法(Lahn,Mulchandani和Raghvendra,NeurIPS 2019)没有快速并行实现,我们的算法具有$O(\log n/\varepsilon^2)$的并行执行时间。有趣的是,与Sinkhorn算法不同,我们的方法也很容易提供一个紧凑的运输计划以及OT问题的对偶公式的近似版本的解决方案,这两者在机器学习中都有许多应用。对于分配问题,我们提供了一个CPU的实现,以及利用GPU并行性的实现。实验表明,我们的算法比Sinkhorn算法更快,无论是在CPU和GPU的实现,特别是在计算匹配的高精度。
英文摘要:
Optimal Transport is a popular distance metric for measuring similarity between distributions. Exact algorithms for computing Optimal Transport can be slow, which has motivated the development of approximate numerical solvers (e.g. Sinkhorn method). We introduce a new and very simple combinatorial approach to find an $\varepsilon$-approximation of the OT distance. Our algorithm achieves a near-optimal execution time of $O(n^2/\varepsilon^2)$ for computing OT distance and, for the special case of the assignment problem, the execution time improves to $O(n^2/\varepsilon)$. Our algorithm is based on the push-relabel framework for min-cost flow problems. Unlike the other combinatorial approach (Lahn, Mulchandani and Raghvendra, NeurIPS 2019) which does not have a fast parallel implementation, our algorithm has a parallel execution time of $O(\log n/\varepsilon^2)$. Interestingly, unlike the Sinkhorn algorithm, our method also readily provides a compact transport plan as well as a solution to an approximate version of the dual formulation of the OT problem, both of which have numerous applications in Machine Learning. For the assignment problem, we provide both a CPU implementation as well as an implementation that exploits GPU parallelism. Experiments suggest that our algorithm is faster than the Sinkhorn algorithm, both in terms of CPU and GPU implementations, especially while computing matchings with a high accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。