Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2591796.2591850acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
research-article

Distributed approximation algorithms for weighted shortest paths

Published: 31 May 2014 Publication History

Abstract

A distributed network is modeled by a graph having n nodes (processors) and diameter D. We study the time complexity of approximating weighted (undirected) shortest paths on distributed networks with a O (log n) bandwidth restriction on edges (the standard synchronous CONGEST model). The question whether approximation algorithms help speed up the shortest paths and distance computation (more precisely distance computation) was raised since at least 2004 by Elkin (SIGACT News 2004). The unweighted case of this problem is well-understood while its weighted counterpart is fundamental problem in the area of distributed approximation algorithms and remains widely open. We present new algorithms for computing both single-source shortest paths (SSSP) and all-pairs shortest paths (APSP) in the weighted case.
Our main result is an algorithm for SSSP. Previous results are the classic O(n)-time Bellman-Ford algorithm and an Õ(n1/2+1/2k + D)-time (8k⌈log(k + 1)⌉ --1)-approximation algorithm, for any integer k ≥ 1, which follows from the result of Lenzen and Patt-Shamir (STOC 2013). (Note that Lenzen and Patt-Shamir in fact solve a harder problem, and we use Õ(·) to hide the O(poly log n) term.) We present an Õ (n1/2D1/4 + D)-time (1 + o(1))-approximation algorithm for SSSP. This algorithm is sublinear-time as long as D is sublinear, thus yielding a sublinear-time algorithm with almost optimal solution. When D is small, our running time matches the lower bound of Ω(n1/2 + D) by Das Sarma et al. (SICOMP 2012), which holds even when D=Θ(log n), up to a poly log n factor.
As a by-product of our technique, we obtain a simple Õ (n)-time (1+ o(1))-approximation algorithm for APSP, improving the previous Õ(n)-time O(1)-approximation algorithm following from the results of Lenzen and Patt-Shamir. We also prove a matching lower bound. Our techniques also yield an Õ(n1/2) time algorithm on fully-connected networks, which guarantees an exact solution for SSSP and a (2+ o(1))-approximate solution for APSP. All our algorithms rely on two new simple tools: light-weight algorithm for bounded-hop SSSP and shortest-path diameter reduction via shortcuts. These tools might be of an independent interest and useful in designing other distributed algorithms.

Supplementary Material

MP4 File (p565-sidebyside.mp4)

References

[1]
J. Abram and I. Rhodes. Some shortest path algorithms with decentralized information and communication requirements. Automatic Control, IEEE Transactions on, 27(3):570--582, 1982.
[2]
Y. Afek and M. Ricklin. Sparser: A paradigm for running distributed algorithms. J. Algorithms, 14(2):316--328, 1993.
[3]
J. K. Antonio, G. M. Huang, and W. K. Tsai. A fast distributed shortest path algorithm for a class of hierarchically clustered data networks. IEEE Trans. Computers, 41(6):710--724, 1992.
[4]
J. Augustine, G. Pandurangan, P. Robinson, and E. Upfal. Towards robust and efficient computation in dynamic peer-to-peer networks. In SODA, pages 551--569, 2012.
[5]
S. Baswana and S. Sen. A simple and linear time randomized algorithm for computing sparse spanners in weighted graphs. Random Struct. Algorithms, 30(4):532--563, 2007. Also in ICALP'03.
[6]
R. Bellman. On a routing problem. Quarterly of Applied Mathematics, 16:87--90, 1958.
[7]
A. Berns, J. Hegeman, and S. V. Pemmaraju. Super-fast distributed algorithms for metric facility location. In ICALP (2), pages 428--439, 2012.
[8]
A. Bernstein. Maintaining shortest paths under deletions in weighted directed graphs: {extended abstract}. In STOC, pages 725--734, 2013.
[9]
E. Cohen. Polylog-time and near-linear work approximation scheme for undirected shortest paths. J. ACM, 47(1):132--166, 2000. Announced at STOC 1994.
[10]
A. Das Sarma, M. Dinitz, and G. Pandurangan. Efficient computation of distance sketches in distributed networks. In SPAA, pages 318--326, 2012.
[11]
A. Das Sarma, S. Holzer, L. Kor, A. Korman, D. Nanongkai, G. Pandurangan, D. Peleg, and R. Wattenhofer. Distributed verification and hardness of distributed approximation. SIAM J. Comput., 41(5):1235--1265, 2012. Announced at STOC 2011.
[12]
A. Das Sarma, D. Nanongkai, G. Pandurangan, and P. Tetali. Distributed random walks. J. ACM, 60(1):2, 2013. Also in PODC'09 and PODC'10.
[13]
C. Demetrescu, I. Finocchi, and G. Italiano. Handbook on Data Structures and Applications, chapter 36: Dynamic Graphs. Dinesh Mehta and Sartaj Sahni (eds.), CRC Press Series, in Computer and Information Science, 2005.
[14]
D. Dolev, C. Lenzen, and S. Peled. "tri, tri again": Finding triangles and small subgraphs in a distributed setting - (extended abstract). In DISC, pages 195--209, 2012.
[15]
M. Elkin. Distributed approximation: a survey. SIGACT News, 35(4):40--57, 2004.
[16]
M. Elkin. Computing almost shortest paths. ACM Transactions on Algorithms, 1(2):283--323, 2005. Also in PODC'01.
[17]
M. Elkin. An unconditional lower bound on the time-approximation trade-off for the distributed minimum spanning tree problem. SIAM J. Comput., 36(2):433--456, 2006. Also in STOC'04.
[18]
M. Elkin, H. Klauck, D. Nanongkai, and G. Pandurangan. Quantum distributed network computing: Lower bounds and techniques. CoRR, abs/1207.5211, 2012.
[19]
M. Elkin and J. Zhang. Efficient algorithms for constructing (1+epsilon, beta)-spanners in the distributed and streaming models. Distributed Computing, 18(5):375--385, 2006. Also in PODC'04.
[20]
J. Fakcharoenphol, S. Rao, and K. Talwar. A tight bound on approximating arbitrary metrics by tree metrics. J. Comput. Syst. Sci., 69(3):485--497, 2004. Also in STOC'03.
[21]
L. R. Ford. Network Flow Theory. Report P-923, The Rand Corporation, 1956.
[22]
S. Frischknecht, S. Holzer, and R. Wattenhofer. Networks cannot compute their diameter in sublinear time. In SODA, pages 1150--1162, 2012.
[23]
J. A. Garay, S. Kutten, and D. Peleg. A sublinear time distributed algorithm for minimum-weight spanning trees. SIAM J. Comput., 27(1):302--316, 1998. Also in FOCS'93.
[24]
M. Ghaffari and F. Kuhn. Distributed minimum cut approximation. In DISC, pages 1--15, 2013.
[25]
S. Haldar. An 'all pairs shortest paths' distributed algorithm using 2n2 messages. J. Algorithms, 24(1):20--36, 1997.
[26]
S. Holzer. Distance Computation, Information Dissemination, and Wireless Capacity in Networks, Diss. ETH No. 21444. Phd thesis, ETH Zurich, Zurich, Switzerland, 2013.
[27]
S. Holzer and R. Wattenhofer. Optimal distributed all pairs shortest paths and applications. In PODC, pages 355--364, 2012.
[28]
M. Khan, F. Kuhn, D. Malkhi, G. Pandurangan, and K. Talwar. Efficient distributed approximation algorithms via probabilistic tree embeddings. Distributed Computing, 25(3):189--205, 2012. Also in PODC'08.
[29]
M. Khan and G. Pandurangan. A fast distributed approximation algorithm for minimum spanning trees. Distributed Computing, 20(6):391--402, 2008. Also in DISC'06.
[30]
P. N. Klein and S. Sairam. A parallel randomized approximation scheme for shortest paths. In STOC, pages 750--758, 1992.
[31]
L. Kor, A. Korman, and D. Peleg. Tight bounds for distributed minimum-weight spanning tree verification. Theory Comput. Syst., 53(2):318--340, 2013.
[32]
S. Kutten and D. Peleg. Fast distributed construction of small k-dominating sets and applications. J. Algorithms, 28(1):40--66, 1998.
[33]
F. T. Leighton, B. M. Maggs, and S. Rao. Packet Routing and Job-Shop Scheduling in O(Congestion + Dilation) Steps. Combinatorica, 14(2):167--186, 1994. Also in FOCS'88.
[34]
C. Lenzen. Optimal deterministic routing and sorting on the congested clique. In PODC, pages 42--50, 2013.
[35]
C. Lenzen and B. Patt-Shamir. Fast routing table construction using small messages: extended abstract. In STOC, pages 381--390, 2013.
[36]
C. Lenzen and R. Wattenhofer. Tight bounds for parallel randomized load balancing: extended abstract. In Proceedings of the 43rd annual ACM symposium on Theory of computing, STOC '11, pages 11--20, New York, NY, USA, 2011. ACM.
[37]
Z. Lotker, B. Patt-Shamir, E. Pavlov, and D. Peleg. Minimum-Weight Spanning Tree Construction in O(log log n) Communication Rounds. SIAM J. Comput., 35(1):120--131, July 2005. Also in SPAA'03.
[38]
Z. Lotker, B. Patt-Shamir, and D. Peleg. Distributed mst for constant diameter graphs. Distributed Computing, 18(6):453--460, 2006.
[39]
Z. Lotker, B. Patt-Shamir, and A. Rosén. Distributed approximate matching. SIAM J. Comput., 39(2):445--460, 2009.
[40]
N. A. Lynch. Distributed Algorithms. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 1996.
[41]
B. Patt-Shamir and M. Teplitsky. The round complexity of distributed sorting: extended abstract. In Proceedings of the 30th annual ACM SIGACT-SIGOPS symposium on Principles of distributed computing, PODC '11, pages 249--256, New York, NY, USA, 2011. ACM.
[42]
D. Peleg. Distributed computing: a locality-sensitive approach. Society for Industrial and Applied Mathematics, Philadelphia, PA, USA, 2000.
[43]
D. Peleg, L. Roditty, and E. Tal. Distributed algorithms for network diameter and girth. In ICALP (2), pages 660--672, 2012.
[44]
D. Peleg and V. Rubinovich. A near-tight lower bound on the time complexity of distributed minimum-weight spanning tree construction. SIAM J. Comput., 30(5):1427--1442, 2000. Also in FOCS'99.
[45]
S. Pettie. Distributed algorithms for ultrasparse spanners and linear size skeletons. Distributed Computing, 22(3):147--166, 2010. Also in PODC'08.
[46]
D. Pritchard and R. Thurimella. Fast computation of small cuts via cycle space sampling. ACM Transactions on Algorithms, 7(4):46, 2011. Also in ICALP'08.
[47]
P. Raghavan and C. D. Thompson. Provably good routing in graphs: Regular arrays. In STOC, pages 79--87, 1985.
[48]
N. Santoro. Design and Analysis of Distributed Algorithms (Wiley Series on Parallel and Distributed Computing). Wiley-Interscience, 2006.
[49]
M. Thorup and U. Zwick. Approximate distance oracles. J. ACM, 52(1):1--24, 2005. Also in STOC'11.
[50]
R. Thurimella. Sub-linear distributed algorithms for sparse certificates and biconnected components. J. Algorithms, 23(1):160--179, 1997. Also in PODC'95.

Cited By

View all
  • (2024)A Near-Optimal Low-Energy Deterministic Distributed SSSP with Ramifications on Congestion and APSPProceedings of the 43rd ACM Symposium on Principles of Distributed Computing10.1145/3662158.3662812(401-411)Online publication date: 17-Jun-2024
  • (2024)Fast Broadcast in Highly Connected NetworksProceedings of the 36th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3626183.3659959(331-343)Online publication date: 17-Jun-2024
  • (2024)An O(1)-rounds Deterministic Distributed Approximation Algorithm for the Traveling Salesman Problem in Congested Clique2024 20th International Conference on Distributed Computing in Smart Systems and the Internet of Things (DCOSS-IoT)10.1109/DCOSS-IoT61029.2024.00034(179-186)Online publication date: 29-Apr-2024
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
STOC '14: Proceedings of the forty-sixth annual ACM symposium on Theory of computing
May 2014
984 pages
ISBN:9781450327107
DOI:10.1145/2591796
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 31 May 2014

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. CONGEST model
  2. all-pairs shortest paths
  3. distributed computing
  4. graph algorithms
  5. lower bounds
  6. single-source shortest paths
  7. time complexity

Qualifiers

  • Research-article

Funding Sources

Conference

STOC '14
Sponsor:
STOC '14: Symposium on Theory of Computing
May 31 - June 3, 2014
New York, New York

Acceptance Rates

STOC '14 Paper Acceptance Rate 91 of 319 submissions, 29%;
Overall Acceptance Rate 1,469 of 4,586 submissions, 32%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)54
  • Downloads (Last 6 weeks)2
Reflects downloads up to 04 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2024)A Near-Optimal Low-Energy Deterministic Distributed SSSP with Ramifications on Congestion and APSPProceedings of the 43rd ACM Symposium on Principles of Distributed Computing10.1145/3662158.3662812(401-411)Online publication date: 17-Jun-2024
  • (2024)Fast Broadcast in Highly Connected NetworksProceedings of the 36th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3626183.3659959(331-343)Online publication date: 17-Jun-2024
  • (2024)An O(1)-rounds Deterministic Distributed Approximation Algorithm for the Traveling Salesman Problem in Congested Clique2024 20th International Conference on Distributed Computing in Smart Systems and the Internet of Things (DCOSS-IoT)10.1109/DCOSS-IoT61029.2024.00034(179-186)Online publication date: 29-Apr-2024
  • (2024)Computing Replacement Paths in the CONGEST ModelStructural Information and Communication Complexity10.1007/978-3-031-60603-8_23(420-437)Online publication date: 23-May-2024
  • (2023)Finding a Small Vertex Cut on Distributed NetworksProceedings of the 55th Annual ACM Symposium on Theory of Computing10.1145/3564246.3585201(1791-1801)Online publication date: 2-Jun-2023
  • (2022)A Subquadratic-Time Distributed Algorithm for Exact Maximum MatchingIEICE Transactions on Information and Systems10.1587/transinf.2021EDP7083E105.D:3(634-645)Online publication date: 1-Mar-2022
  • (2022)Undirected (1+𝜀)-shortest paths via minor-aggregates: near-optimal deterministic parallel and distributed algorithmsProceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing10.1145/3519935.3520074(478-487)Online publication date: 9-Jun-2022
  • (2022)Quantum Complexity of Weighted Diameter and Radius in CONGEST NetworksProceedings of the 2022 ACM Symposium on Principles of Distributed Computing10.1145/3519270.3538441(120-130)Online publication date: 20-Jul-2022
  • (2022)The Laplacian Paradigm in the Broadcast Congested CliqueProceedings of the 2022 ACM Symposium on Principles of Distributed Computing10.1145/3519270.3538436(335-344)Online publication date: 20-Jul-2022
  • (2022)Distributed and Privacy Preserving Graph Data Collection in Internet of Thing SystemsIEEE Internet of Things Journal10.1109/JIOT.2021.31121869:12(9301-9309)Online publication date: 15-Jun-2022
  • Show More Cited By

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media