Skip to main navigation Skip to search Skip to main content

Solving a Special Type of Optimal Transport Problem by a Modified Hungarian Algorithm

Yiling Xie, Yiling Luo, Xiaoming Huo

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

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 m and n atoms (mn), respectively, the computational complexity of the proposed algorithm is O (m2n). Computing the empirical Wasserstein distance in the independence test requires solving this special type of OT problem, where m = n2. The associated computational complexity of the proposed algorithm is O (n5), while the order of applying the classic Hungarian algorithm is O (n6). 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 problems. Broader applications of the proposed algorithm are discussed—solving the one-to-many assignment problem and the many-to-many assignment problem. We conduct numerical experiments to validate our theoretical results. The experiment results demonstrate that the proposed modified Hungarian algorithm compares favorably with the Hungarian algorithm, the well-known Sinkhorn algorithm, and the network simplex algorithm.
Original languageEnglish
Number of pages27
JournalTransactions on Machine Learning Research
Volume02/2023
Publication statusPublished - Mar 2023
Externally publishedYes

Funding

The authors would like to thank the Action Editor and anonymous reviewers for their detailed and construc-tive comments, which enhanced the quality and presentation of the manuscript. This project is partially supported by the Transdisciplinary Research Institute for Advancing Data Science (TRIAD), https://research.gatech.edu/data/triad, which is a part of the TRIPODS program at NSF and locates at Georgia Tech, enabled by the NSF grant CCF-1740776. The authors are also partially sponsored by NSF grants 2015363.

Fingerprint

Dive into the research topics of 'Solving a Special Type of Optimal Transport Problem by a Modified Hungarian Algorithm'. Together they form a unique fingerprint.

Cite this