arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.12253math.OCcs.LGstat.ML
收藏

利用稀疏 Newton 迭代加速 Sinkhorn 算法

Accelerating Sinkhorn Algorithm with Sparse Newton Iterations

Stanford University(斯坦福大学);Amazon(亚马逊)

Xun Tang, Michael Shavlovsky, Holakou Rahmanian, Elisa Tardini, Kiran Koshy Thekumparampil, Tesi Xiao, Lexing Ying

AI总结:

本文提出 Sinkhorn-Newton-Sparse(SNS),通过提前停止矩阵缩放并引入稀疏 Hessian 的 Newton 型第二阶段,在保持每轮 $O(n^2)$ 复杂度的同时显著加快最优传输求解。

摘要:

计算统计分布之间的最优传输距离是机器学习中的一项基础任务。近期一项引人注目的进展是熵正则化与 Sinkhorn 算法,它仅利用矩阵缩放,并保证以近线性运行时间获得近似解。尽管 Sinkhorn 算法取得了成功,但由于收敛可能需要大量迭代,其运行时间仍可能较慢。为实现可能的超指数收敛,我们提出 Sinkhorn-Newton-Sparse(SNS),作为 Sinkhorn 算法的扩展:在矩阵缩放步骤中引入提前停止,并加入一个以 Newton 型子程序为特征的第二阶段。采用 Sinkhorn 算法用于最大化凹 Lyapunov 势函数的变分视角,我们给出的洞见是:该势函数的 Hessian 矩阵近似稀疏。对 Hessian 进行稀疏化使每次迭代具有快速的 $O(n^2)$ 复杂度,与 Sinkhorn 算法相同。在总迭代次数方面,我们观察到 SNS 算法在大量实际情形中收敛速度快几个数量级,包括经验分布之间的最优传输,以及计算离散化密度的 Wasserstein $W_1$、$W_2$ 距离。Hessian 矩阵近似稀疏性的严格界也证实了其实证性能。

英文摘要:

Computing the optimal transport distance between statistical distributions is a fundamental task in machine learning. One remarkable recent advancement is entropic regularization and the Sinkhorn algorithm, which utilizes only matrix scaling and guarantees an approximated solution with near-linear runtime. Despite the success of the Sinkhorn algorithm, its runtime may still be slow due to the potentially large number of iterations needed for convergence. To achieve possibly super-exponential convergence, we present Sinkhorn-Newton-Sparse (SNS), an extension to the Sinkhorn algorithm, by introducing early stopping for the matrix scaling steps and a second stage featuring a Newton-type subroutine. Adopting the variational viewpoint that the Sinkhorn algorithm maximizes a concave Lyapunov potential, we offer the insight that the Hessian matrix of the potential function is approximately sparse. Sparsification of the Hessian results in a fast $O(n^2)$ per-iteration complexity, the same as the Sinkhorn algorithm. In terms of total iteration count, we observe that the SNS algorithm converges orders of magnitude faster across a wide range of practical cases, including optimal transportation between empirical distributions and calculating the Wasserstein $W_1, W_2$ distance of discretized densities. The empirical performance is corroborated by a rigorous bound on the approximate sparsity of the Hessian matrix.

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

↑