Solving a Special Type of Optimal Transport Problem by a Modified Hungarian Algorithm
Yiling Xie, Yiling Luo, Xiaoming Huo

TL;DR
This paper introduces a modified Hungarian algorithm tailored for a specific optimal transport problem, significantly reducing computational complexity in Wasserstein distance calculations for independence tests and other assignment problems.
Contribution
A novel modified Hungarian algorithm is proposed, offering exact solutions to a special OT problem with improved efficiency and broader applicability beyond traditional assignment tasks.
Findings
The modified Hungarian algorithm reduces complexity from O(n^6) to O(n^5) for the Wasserstein distance problem.
Numerical experiments show the new algorithm outperforms Hungarian, Sinkhorn, and network simplex algorithms.
The approach extends to solve one-to-many and many-to-many assignment problems.
Abstract
Computing the empirical Wasserstein distance in the Wasserstein-distance-based independence test is an optimal transport (OT) problem with a special structure. This observation inspires us to study a special type of OT problem and propose a modified Hungarian algorithm to solve it exactly. For the OT problem involving two marginals with and atoms (), respectively, the computational complexity of the proposed algorithm is . Computing the empirical Wasserstein distance in the independence test requires solving this special type of OT problem, where . The associated computational complexity of the proposed algorithm is , while the order of applying the classic Hungarian algorithm is . In addition to the aforementioned special type of OT problem, it is shown that the modified Hungarian algorithm could be adopted to solve a wider range of OT…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMarkov Chains and Monte Carlo Methods · Complexity and Algorithms in Graphs · Point processes and geometric inequalities
MethodsTest
