arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.08970cs.LG
收藏

Gromov-Wasserstein距离的快速梯度计算

Fast Gradient Computation for Gromov-Wasserstein Distance

Department of Mathematical Sciences, Tsinghua University(清华大学数学科学系);Department of Computer Science and Engineering, HKUST(香港科技大学计算机科学与工程系)

Wei Zhang, Zihao Wang, Jie Fan, Hao Wu, Yong Zhang

AI总结:

针对Entropic Gromov-Wasserstein方法计算梯度存在三次复杂度瓶颈的问题,提出基于动态规划的精确梯度加速方法,将复杂度降至二次,实现近乎最优的二次时间熵解,且易扩展至变体,经实验验证高效有效。

摘要:

Gromov-Wasserstein距离是最优传输的一个重要扩展。与经典的Wasserstein距离不同,它求解的是一个二次分配问题,在分布传输的过程中最小化成对距离失真,因此可应用于不同空间中的分布。这些特性使得Gromov-Wasserstein被广泛应用于计算机图形学和机器学习等诸多领域。然而,Gromov-Wasserstein距离和传输计划的计算成本很高。知名的Entropic Gromov-Wasserstein(熵正则化Gromov-Wasserstein)方法具有三次复杂度,因为在计算Gromov-Wasserstein损失的梯度时需要重复执行矩阵乘法运算,这成为该方法的关键瓶颈。目前,现有的加速计算方法聚焦于采样和近似,会导致精度较低或传输计划不完整。在本研究中,我们提出了一种利用动态规划技术加速精确梯度计算的新方法,将复杂度从三次降至二次。由此打破了原有的计算瓶颈,可在总二次时间内得到新的熵正则化解,这几乎是最优复杂度。此外,该方法可轻松扩展至部分变体。大量实验验证了我们方法的效率和有效性。

英文摘要:

The Gromov-Wasserstein distance is a notable extension of optimal transport. In contrast to the classic Wasserstein distance, it solves a quadratic assignment problem that minimizes the pair-wise distance distortion under the transportation of distributions and thus could apply to distributions in different spaces. These properties make Gromov-Wasserstein widely applicable to many fields, such as computer graphics and machine learning. However, the computation of the Gromov-Wasserstein distance and transport plan is expensive. The well-known Entropic Gromov-Wasserstein approach has a cubic complexity since the matrix multiplication operations need to be repeated in computing the gradient of Gromov-Wasserstein loss. This becomes a key bottleneck of the method. Currently, existing methods accelerate the computation focus on sampling and approximation, which leads to low accuracy or incomplete transport plan. In this work, we propose a novel method to accelerate accurate gradient computation by dynamic programming techniques, reducing the complexity from cubic to quadratic. In this way, the original computational bottleneck is broken and the new entropic solution can be obtained with total quadratic time, which is almost optimal complexity. Furthermore, it can be extended to some variants easily. Extensive experiments validate the efficiency and effectiveness of our method.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑