Distributed Exact Weighted All-Pairs Shortest Paths in Õ(n^{5/4}) Rounds

Chien-Chung Huang, Danupon Nanongkai, Thatchaphol Saranurak
{"title":"Distributed Exact Weighted All-Pairs Shortest Paths in Õ(n^{5/4}) Rounds","authors":"Chien-Chung Huang, Danupon Nanongkai, Thatchaphol Saranurak","doi":"10.1109/FOCS.2017.24","DOIUrl":null,"url":null,"abstract":"We study computing all-pairs shortest paths (APSP) on distributed networks (the CONGEST model). The goal is for every node in the (weighted) network to know the distance from every other node using communication. The problem admits (1+o(1))-approximation Õ(n)-time algorithms [2], [3], which are matched with \\tilde Ω(n)-time lower bounds [4], [5],\\footnote{\\tilde \\Theta, Õ and \\tilde Ω hide polylogarithmic factors. Note that the lower bounds also hold even in the unweighted case and in the weighted case with polynomial approximation ratios.}. No Ω(n) lower bound or o(m) upper bound were known for exact computation.In this paper, we present an Õ(n^{5/4})-time randomized (Las Vegas) algorithm for exact weighted APSP; this provides the first improvement over the naive O(m)-time algorithm when the network is not so sparse. Our result also holds for the case where edge weights are asymmetric} (a.k.a. the directed case where communication is bidirectional). Our techniques also yield an Õ(n^{3/4}k^{1/2}+n)-time algorithm for the k-source shortest paths} problem where we want every node to know distances from k sources; this improves Elkins recent bound [6] when k=\\tilde Ω(n^{1/4}).We achieve the above results by developing distributed algorithms on top of the classic scaling technique, which we believe is used for the first time for distributed shortest paths computation. One new algorithm which might be of an independent interest is for the reversed r-sink shortest paths} problem, where we want every of r sinks to know its distances from all other nodes, given that every node already knows its distance to every sink. We show an Õ(n√{r})-time algorithm for this problem. Another new algorithm is called short range extension, where we show that in Õ(n√{h}) time the knowledge about distances can be extended for additional h hops. For this, we use weight rounding to introduce small additive} errors which can be later fixed.","PeriodicalId":311592,"journal":{"name":"2017 IEEE 58th Annual Symposium on Foundations of Computer Science (FOCS)","volume":"80 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-08-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"42","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 IEEE 58th Annual Symposium on Foundations of Computer Science (FOCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/FOCS.2017.24","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 42

Abstract

We study computing all-pairs shortest paths (APSP) on distributed networks (the CONGEST model). The goal is for every node in the (weighted) network to know the distance from every other node using communication. The problem admits (1+o(1))-approximation Õ(n)-time algorithms [2], [3], which are matched with \tilde Ω(n)-time lower bounds [4], [5],\footnote{\tilde \Theta, Õ and \tilde Ω hide polylogarithmic factors. Note that the lower bounds also hold even in the unweighted case and in the weighted case with polynomial approximation ratios.}. No Ω(n) lower bound or o(m) upper bound were known for exact computation.In this paper, we present an Õ(n^{5/4})-time randomized (Las Vegas) algorithm for exact weighted APSP; this provides the first improvement over the naive O(m)-time algorithm when the network is not so sparse. Our result also holds for the case where edge weights are asymmetric} (a.k.a. the directed case where communication is bidirectional). Our techniques also yield an Õ(n^{3/4}k^{1/2}+n)-time algorithm for the k-source shortest paths} problem where we want every node to know distances from k sources; this improves Elkins recent bound [6] when k=\tilde Ω(n^{1/4}).We achieve the above results by developing distributed algorithms on top of the classic scaling technique, which we believe is used for the first time for distributed shortest paths computation. One new algorithm which might be of an independent interest is for the reversed r-sink shortest paths} problem, where we want every of r sinks to know its distances from all other nodes, given that every node already knows its distance to every sink. We show an Õ(n√{r})-time algorithm for this problem. Another new algorithm is called short range extension, where we show that in Õ(n√{h}) time the knowledge about distances can be extended for additional h hops. For this, we use weight rounding to introduce small additive} errors which can be later fixed.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Õ(n^{5/4})轮中的分布精确加权全对最短路径
我们研究了分布式网络(CONGEST模型)上的全对最短路径(APSP)的计算。目标是让(加权)网络中的每个节点通过通信知道与其他每个节点的距离。问题允许(1+o(1))-逼近Õ(n)时间算法[2],[3],它们匹配\tilde Ω(n)时间下界[4],[5],\footnote{\tilde \Theta, Õ\tilde Ω隐藏多对数因子。注意,下界即使在未加权的情况下也成立,在多项式近似比的加权情况下也成立。}。(n)下界和(m)上界是可以精确计算的。本文提出了一种Õ(n^5{/4})时间随机化(Las Vegas)精确加权APSP算法;当网络不是那么稀疏时,这提供了相对于朴素O(m)时间算法的第一个改进。我们的结果也适用于边权重不对称的情况(即通信是双向的有向情况)。我们的技术还为k源最短路径问题提供了Õ{(n^}3/4k{^1/2+n)}时间算法,其中我们希望每个节点知道与k个源的距离;当k= \tilde Ω(n^1/4{)时,这改进了Elkins最近的界[6]。我们}通过在经典缩放技术的基础上开发分布式算法来实现上述结果,我们认为这是第一次用于分布式最短路径计算。一个新的算法可能是一个独立的兴趣是反向r-sink最短路径}问题,我们希望每个r sink都知道它到所有其他节点的距离,假设每个节点已经知道它到每个sink的距离。我们给出了解决这个问题的Õ(n√r)时间{算法}。另一种新算法称为短距离扩展,其中我们证明了在Õ(n√h)时间内,{关于}距离的知识可以扩展到额外的h跳。为此,我们使用权值四舍五入来引入小的附加}误差,这些误差可以稍后修复。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
On Learning Mixtures of Well-Separated Gaussians Obfuscating Compute-and-Compare Programs under LWE Minor-Free Graphs Have Light Spanners Lockable Obfuscation How to Achieve Non-Malleability in One or Two Rounds
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1