Finding an optimal assignment between two sets of objects is a fundamental problem arising in many applications, including the matching of `bag-of-words' representations in natural language processing and computer vision. Solving the assignment problem typically requires cubic time and its pairwise computation is expensive on large datasets. In this paper, we develop an algorithm which can find an optimal assignment in linear time when the cost function between objects is represented by a tree distance. We employ the method to approximate the edit distance between two graphs by matching their vertices in linear time. To this end, we propose two tree distances, the first of which reflects discrete and structural differences between vertices, and the second of which can be used to compare continuous labels. We verify the effectiveness and efficiency of our methods using synthetic and real-world datasets.
FRAM: Frobenius-Regularized Assignment Matching with Mixed-Precision Computing
School of Mathematical Sciences, Laboratory of Mathematics and Complex Systems, MOE, Beijing Normal University(数学科学学院、数学与复杂系统实验室、教育部、北京师范大学);Faculty of Arts and Sciences, Beijing Normal University(文理学院、北京师范大学);Research Centers for Mathematics, Advanced Institute of Natural Science, Beijing Normal University(数学研究中心、自然科学高级研究院、北京师范大学);Guangdong Provincial Key Laboratory of Interdisciplinary Research and Application for Data Science, BNU-HKBU United International College(广东省级交叉研究与数据科学应用重点实验室、北京师范大学-香港大学联合国际学院)
Gromov-Wasserstein and optimal transport: from assignment problems to probabilistic numeric
University of Milano-Bicocca, Department of Computer Science Systems and Communication(米兰-比科卡大学计算机科学与通信系);University of Milano-Bicocca, Department of Economics Management and Statistics(米兰-比科卡大学经济学管理与统计系)