arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.21781cs.DCcs.DS
收藏

APSP及其他问题的消息最优性与消息-时间权衡

Message Optimality and Message-Time Trade-offs for APSP and Beyond

Fabien Dufoulon, Shreyas Pai, Gopal Pandurangan, Sriram Pemmaraju, Peter Robinson

AI总结:

针对分布式图优化问题APSP,本文在CONGEST模型下提出了消息最优算法及首个消息-时间平滑权衡方案。

摘要:

轮次复杂度是分布式算法中被广泛研究的指标。相比之下,我们对分布式计算问题的消息复杂度及其与轮次复杂度的关系(如果存在的话)的了解仍然十分有限。举例来说,对于许多基本的分布式图优化问题,如(精确)直径计算、All-Pairs Shortest Paths (APSP)、Maximum Matching等,虽然已经存在(近似)轮次最优的算法,但消息最优的算法至今未知。更重要的是,现有的轮次最优算法并非消息最优的。这引出了两个重要问题:(1) 我们能否为这些问题设计消息最优的算法?(2) 在消息最优算法并非轮次最优的情况下,我们能否给出这些问题的消息-时间权衡?\n在这项工作中,我们聚焦于一个基本的图优化问题,即All Pairs Shortest Path (APSP),其消息复杂度尚未解决。我们在CONGEST模型中提出了两个主要结果:(1) 我们给出了一种消息最优(对数因子以内)的算法,使用$\tilde{O}(n^2)$条消息解决加权APSP。该算法耗时$\tilde{O}(n^2)$轮。(2) 对于任意$0 \leq \varepsilon \le 1$,我们展示了如何在$\tilde{O}(n^{2-\varepsilon })$轮和$\tilde{O}(n^{2+\varepsilon })$条消息内解决无加权APSP。在这一平滑权衡的一端,我们获得了一种使用$\tilde{O}(n^2)$条消息的(近似)消息最优算法(对应$\varepsilon = 0$),而在另一端,我们得到了一种使用$\tilde{O}(n)$轮的(近似)轮次最优算法(对应$\varepsilon = 1$)。这是首个已知的此类消息-时间权衡结果。

英文摘要:

Round complexity is an extensively studied metric of distributed algorithms. In contrast, our knowledge of the \emph{message complexity} of distributed computing problems and its relationship (if any) with round complexity is still quite limited. To illustrate, for many fundamental distributed graph optimization problems such as (exact) diameter computation, All-Pairs Shortest Paths (APSP), Maximum Matching etc., while (near) round-optimal algorithms are known, message-optimal algorithms are hitherto unknown. More importantly, the existing round-optimal algorithms are not message-optimal. This raises two important questions: (1) Can we design message-optimal algorithms for these problems? (2) Can we give message-time tradeoffs for these problems in case the message-optimal algorithms are not round-optimal? In this work, we focus on a fundamental graph optimization problem, \emph{All Pairs Shortest Path (APSP)}, whose message complexity is still unresolved. We present two main results in the CONGEST model: (1) We give a message-optimal (up to logarithmic factors) algorithm that solves weighted APSP, using $\tilde{O}(n^2)$ messages. This algorithm takes $\tilde{O}(n^2)$ rounds. (2) For any $0 \leq \varepsilon \le 1$, we show how to solve unweighted APSP in $\tilde{O}(n^{2-\varepsilon })$ rounds and $\tilde{O}(n^{2+\varepsilon })$ messages. At one end of this smooth trade-off, we obtain a (nearly) message-optimal algorithm using $\tilde{O}(n^2)$ messages (for $\varepsilon = 0$), whereas at the other end we get a (nearly) round-optimal algorithm using $\tilde{O}(n)$ rounds (for $\varepsilon = 1$). This is the first such message-time trade-off result known.

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

↑