[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3618260.3649767acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
research-article

A Dynamic Shortest Paths Toolbox: Low-Congestion Vertex Sparsifiers and Their Applications

Published: 11 June 2024 Publication History

Abstract

We present a general toolbox, based on new vertex sparsifiers, for designing data structures to maintain shortest paths in graphs undergoing edge insertions and/or deletions. In particular, we obtain the following results:
the first data structure to maintain mo(1)-approximate all-pairs shortest paths (APSP) in an m-edge graph undergoing edge insertions and deletions with worst-case update time mo(1) and query time Õ(1), and a data structure to maintain a tree T that has diameter no larger than a subpolynomial factor than the underlying graph G that is undergoing edge insertions and deletions where each update is handled in amortized subpolynomial time, and a simpler and more efficient data structure to maintain a (1+є)-approximate single-source shortest paths (SSSP) tree T in a graph undergoing edge deletions in amortized time mo(1) per update.
All our data structures are deterministic. For the last two data structures, we further have that while the trees T are not subgraphs of G, they do embed with small edge congestion into G. This is in stark contrast to previous approaches and is particularly useful for algorithms that use these data structures internally to route flow along shortest paths. To illustrate the power of our new toolbox, we show that our SSSP data structure can be used directly to give a deterministic implementation of the classic MWU algorithm for approximate undirected minimum-cost flow running in time m1+o(1). Previously, Bernstein-Gutenberg-Saranurak [FOCS’21] had built a randomized data structure achieving m1+o(1) time whp. By using our SSSP data structure in the recent almost-linear time algorithm for computing Gomory-Hu trees by Abboud-Li-Panigrahi-Saranurak [FOCS’23], we simplify their algorithm significantly and slightly improve their runtime. To obtain our toolbox, we give the first algorithm that, given a graph G undergoing edge insertions and deletions and a dynamic terminal set A, maintains a vertex sparsifier H that approximately preserves distances between terminals in A, consists of at most |A|mo(1) vertices and edges, and can be updated in worst-case time mo(1). Crucially, our vertex sparsifier construction allows us to maintain a low edge-congestion embedding of H into G. This low congestion embedding is needed when using our toolbox in data structures that are then in turn used to implement algorithms routing flows along shortest paths. A concurrent work Chen-Kyng-Liu-Meierhans-Probst Gutenberg [STOC’24] takes our toolbox as the starting point for developing new data structures that solve min-ratio cycle problems on fully dynamic graphs, which in turn leads to the first almost-linear time algorithms for a host of problems on incremental graphs including cycle detection, maintaining SCCs, s-t shortest paths, and minimum-cost flow.

References

[1]
Amir Abboud, Karl Bringmann, and Nick Fischer. 2023. Stronger 3-sum lower bounds for approximate distance oracles via additive combinatorics. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing. 391–404. https://doi.org/10.1145/3564246.3585240
[2]
Amir Abboud, Karl Bringmann, Seri Khoury, and Or Zamir. 2022. Hardness of approximation in p via short cycle removal: Cycle detection, distance oracles, and beyond. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing. 1487–1500. https://doi.org/10.1145/3519935.3520066
[3]
Amir Abboud, Robert Krauthgamer, Jason Li, Debmalya Panigrahi, Thatchaphol Saranurak, and Ohad Trabelsi. 2022. Breaking the cubic barrier for all-pairs max-flow: Gomory-hu tree in nearly quadratic time. In 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS). 884–895. https://doi.org/10.1109/FOCS54457.2022.00088
[4]
Amir Abboud, Jason Li, Debmalya Panigrahi, and Thatchaphol Saranurak. 2023. All-Pairs Max-Flow is no Harder than Single-Pair Max-Flow: Gomory-Hu Trees in Almost-Linear Time. In 2023 IEEE 64rd Annual Symposium on Foundations of Computer Science (FOCS). https://doi.org/10.1109/FOCS57990.2023.00137
[5]
Amir Abboud and Virginia Vassilevska Williams. 2014. Popular Conjectures Imply Strong Lower Bounds for Dynamic Problems. In Proceedings of the 2014 IEEE 55th Annual Symposium on Foundations of Computer Science (FOCS ’14). IEEE Computer Society, USA. 434–443. isbn:9781479965175 https://doi.org/10.1109/FOCS.2014.53
[6]
Alexandr Andoni, Clifford Stein, and Peilin Zhong. 2020. Parallel approximate undirected shortest paths via low hop emulators. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing. 322–335. https://doi.org/10.1145/3357713.3384321
[7]
Sanjeev Arora, Elad Hazan, and Satyen Kale. 2012. The multiplicative weights update method: a meta-algorithm and applications. Theory of computing, 8, 1 (2012), 121–164. https://doi.org/10.4086/toc.2012.v008a006
[8]
Aaron Bernstein, Maximilian Probst Gutenberg, and Thatchaphol Saranurak. 2022. Deterministic decremental sssp and approximate min-cost flow in almost-linear time. In 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS). 1000–1008. https://doi.org/10.1109/FOCS46700.2020.00108
[9]
Jan Brand, Yang P. Liu, and Aaron Sidford. 2023. Dynamic Maxflow via Dynamic Interior Point Methods. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing (STOC 2023). Association for Computing Machinery, New York, NY, USA. 1215–1228. https://doi.org/10.1145/3564246.3585135
[10]
Jan van den Brand and Adam Karczmarz. 2023. Deterministic Fully Dynamic SSSP and More. 2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS), https://doi.org/10.1109/FOCS57990.2023.00142
[11]
Shiri Chechik. 2018. Near-optimal approximate decremental all pairs shortest paths. In 2018 IEEE 59th Annual Symposium on Foundations of Computer Science (FOCS). 170–181. https://doi.org/10.1109/FOCS.2018.00025
[12]
Li Chen, Gramoz Goranci, Monika Henzinger, Richard Peng, and Thatchaphol Saranurak. 2020. Fast dynamic cuts, distances and effective resistances via vertex sparsifiers. In 2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS). 1135–1146.
[13]
Li Chen, Rasmus Kyng, Yang P. Liu, Simon Meierhans, and Maximilian Probst Gutenberg. 2023. Almost-Linear Time Algorithms for Incremental Graphs: Cycle Detection, SCCs, s-t Shortest Path, and Minimum-Cost Flow. arxiv:2311.18295.
[14]
Li Chen, Rasmus Kyng, Yang P Liu, Richard Peng, Maximilian Probst Gutenberg, and Sushant Sachdeva. 2022. Maximum flow and minimum-cost flow in almost-linear time. In 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS). 612–623. https://doi.org/10.1109/FOCS54457.2022.00064
[15]
Julia Chuzhoy. 2021. Decremental all-pairs shortest paths in deterministic near-linear time. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing. 626–639. https://doi.org/10.1145/3406325.3451025
[16]
Julia Chuzhoy and Ruimin Zhang. 2023. A New Deterministic Algorithm for Fully Dynamic All-Pairs Shortest Paths. arXiv preprint arXiv:2304.09321, https://doi.org/10.1145/3564246.3585196
[17]
David Durfee, Yu Gao, Gramoz Goranci, and Richard Peng. 2019. Fully dynamic spectral vertex sparsifiers and applications. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing. 914–925. https://doi.org/10.1145/3313276.3316379
[18]
Lisa K Fleischer. 2000. Approximating fractional multicommodity flow independent of the number of commodities. SIAM Journal on Discrete Mathematics, 13, 4 (2000), 505–520. https://doi.org/10.1137/S0895480199355754
[19]
Sebastian Forster and Gramoz Goranci. 2019. Dynamic low-stretch trees via dynamic low-diameter decompositions. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing. 377–388. https://doi.org/10.1145/3313276.3316381
[20]
Sebastian Forster, Gramoz Goranci, and Monika Henzinger. 2021. Dynamic maintenance of low-stretch probabilistic tree embeddings with applications. In Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA). 1226–1245. https://doi.org/10.1137/1.9781611976465.75
[21]
Sebastian Forster, Gramoz Goranci, Yasamin Nazari, and Antonis Skarlatos. 2023. Bootstrapping Dynamic Distance Oracles. In 31st Annual European Symposium on Algorithms, ESA 2023, September 4-6, 2023, Amsterdam, The Netherlands, Inge Li Gørtz, Martin Farach-Colton, Simon J. Puglisi, and Grzegorz Herman (Eds.) (LIPIcs, Vol. 274). Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 50:1–50:16. https://doi.org/10.4230/LIPIcs.ESA.2023.50
[22]
Sebastian Forster, Yasamin Nazari, and Maximilian Probst Gutenberg. 2023. Deterministic Incremental APSP with Polylogarithmic Update Time and Stretch. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing. 1173–1186. https://doi.org/10.1145/3564246.3585213
[23]
Yu Gao, Yang Liu, and Richard Peng. 2023. Fully dynamic electrical flows: Sparse maxflow faster than Goldberg–Rao. SIAM J. Comput., FOCS21–85. https://doi.org/10.1137/22M1476666
[24]
Gramoz Goranci, Monika Henzinger, and Pan Peng. 2017. The Power of Vertex Sparsifiers in Dynamic Graph Algorithms. In 25th Annual European Symposium on Algorithms (ESA 2017), Kirk Pruhs and Christian Sohler (Eds.) (Leibniz International Proceedings in Informatics (LIPIcs), Vol. 87). Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, Dagstuhl, Germany. 45:1–45:14. isbn:978-3-95977-049-1 issn:1868-8969 https://doi.org/10.4230/LIPIcs.ESA.2017.45
[25]
Gramoz Goranci, Monika Henzinger, and Pan Peng. 2018. Dynamic Effective Resistances and Approximate Schur Complement on Separable Graphs. In 26th Annual European Symposium on Algorithms (ESA 2018). https://doi.org/10.4230/LIPIcs.ESA.2018.40
[26]
Gramoz Goranci, Monika Henzinger, and Pan Peng. 2020. Improved guarantees for vertex sparsification in planar graphs. SIAM Journal on Discrete Mathematics, 34, 1 (2020), 130–162. https://doi.org/10.1137/17M1163153
[27]
Gramoz Goranci, Monika Henzinger, and Mikkel Thorup. 2018. Incremental exact min-cut in polylogarithmic amortized update time. ACM Transactions on Algorithms (TALG), 14, 2 (2018), 1–21. https://doi.org/10.1145/3174803
[28]
Gramoz Goranci, Harald Räcke, Thatchaphol Saranurak, and Zihan Tan. 2021. The expander hierarchy and its applications to dynamic graph algorithms. In Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA). 2212–2228. https://doi.org/10.5555/3458064.3458139
[29]
Monika Henzinger, Sebastian Krinninger, and Danupon Nanongkai. 2018. Decremental single-source shortest paths on undirected graphs in near-linear total update time. Journal of the ACM (JACM), 65, 6 (2018), 1–40. https://doi.org/10.1109/FOCS.2014.24
[30]
Jonathan A Kelner, Yin Tat Lee, Lorenzo Orecchia, and Aaron Sidford. 2014. An almost-linear-time algorithm for approximate max flow in undirected graphs, and its multicommodity generalizations. In Proceedings of the twenty-fifth annual ACM-SIAM symposium on Discrete algorithms. 217–226. https://doi.org/10.1137/1.9781611973402.1
[31]
Rasmus Kyng, Simon Meierhans, and Maximilian Probst Gutenberg. 2022. Incremental SSSP for Sparse Digraphs Beyond the Hopset Barrier. In Proceedings of the 2022 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). 3452–3481. https://doi.org/10.1137/1.9781611977073.137
[32]
Aleksander Madry. 2010. Fast approximation algorithms for cut-based problems in undirected graphs. In 2010 IEEE 51st Annual Symposium on Foundations of Computer Science. 245–254. https://doi.org/10.1109/FOCS.2010.30
[33]
Ankur Moitra. 2009. Approximation Algorithms for Multicommodity-Type Problems with Guarantees Independent of the Graph Size. In 2009 50th Annual IEEE Symposium on Foundations of Computer Science. 3–12. issn:0272-5428 https://doi.org/10.1109/FOCS.2009.28
[34]
Richard Peng. 2016. Approximate undirected maximum flows in o (m polylog (n)) time. In Proceedings of the twenty-seventh annual ACM-SIAM symposium on Discrete algorithms. 1862–1867. https://doi.org/10.1137/1.9781611974331.ch130
[35]
Maximilian Probst Gutenberg, Virginia Vassilevska Williams, and Nicole Wein. 2020. New algorithms and hardness for incremental single-source shortest paths in directed graphs. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing. 153–166. https://doi.org/10.1145/3357713.3384236
[36]
Liam Roditty and Uri Zwick. 2011. On Dynamic Shortest Paths Problems. Algorithmica, 61, 2 (2011), 389–401. isbn:1432-0541 https://doi.org/10.1007/s00453-010-9401-5
[37]
Jonah Sherman. 2013. Nearly maximum flows in nearly linear time. In 2013 IEEE 54th Annual Symposium on Foundations of Computer Science. 263–269. https://doi.org/10.1109/FOCS.2013.36
[38]
Daniel D Sleator and Robert Endre Tarjan. 1981. A data structure for dynamic trees. In Proceedings of the thirteenth annual ACM symposium on Theory of computing. 114–122. https://doi.org/10.1145/800076.802464
[39]
Daniel A Spielman and Shang-Hua Teng. 2004. Nearly-linear time algorithms for graph partitioning, graph sparsification, and solving linear systems. In Proceedings of the thirty-sixth annual ACM symposium on Theory of computing. 81–90. https://doi.org/10.1145/1007352.1007372
[40]
Mikkel Thorup and Uri Zwick. 2005. Approximate distance oracles. Journal of the ACM (JACM), 52, 1 (2005), 1–24. https://doi.org/10.1145/1044731.1044732
[41]
Jan van den Brand, Li Chen, Rasmus Kyng, Yang P Liu, Richard Peng, Maximilian Probst Gutenberg, Sushant Sachdeva, and Aaron Sidford. 2023. A Deterministic Almost-Linear Time Algorithm for Minimum-Cost Flow. In 2023 IEEE 64rd Annual Symposium on Foundations of Computer Science (FOCS). https://doi.org/10.1109/FOCS57990.2023.00037
[42]
Jan Van Den Brand, Yin Tat Lee, Yang P Liu, Thatchaphol Saranurak, Aaron Sidford, Zhao Song, and Di Wang. 2021. Minimum cost flows, mdps, and ℓ 1-regression in nearly linear time for dense instances. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing. 859–869. https://doi.org/10.1145/3406325.3451108

Cited By

View all
  • (2024)Dynamic Deterministic Constant-Approximate Distance Oracles with $n^{\epsilon}$ Worst-Case Update Time2024 IEEE 65th Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS61266.2024.00121(2033-2044)Online publication date: 27-Oct-2024

Index Terms

  1. A Dynamic Shortest Paths Toolbox: Low-Congestion Vertex Sparsifiers and Their Applications

        Recommendations

        Comments

        Please enable JavaScript to view thecomments powered by Disqus.

        Information & Contributors

        Information

        Published In

        cover image ACM Conferences
        STOC 2024: Proceedings of the 56th Annual ACM Symposium on Theory of Computing
        June 2024
        2049 pages
        ISBN:9798400703836
        DOI:10.1145/3618260
        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: 11 June 2024

        Permissions

        Request permissions for this article.

        Check for updates

        Author Tags

        1. All-Pair Shortest-Paths
        2. Dynamic Graph Algorithms
        3. Shortest-Paths

        Qualifiers

        • Research-article

        Funding Sources

        • SNSF

        Conference

        STOC '24
        Sponsor:
        STOC '24: 56th Annual ACM Symposium on Theory of Computing
        June 24 - 28, 2024
        BC, Vancouver, Canada

        Acceptance Rates

        Overall Acceptance Rate 1,469 of 4,586 submissions, 32%

        Upcoming Conference

        STOC '25
        57th Annual ACM Symposium on Theory of Computing (STOC 2025)
        June 23 - 27, 2025
        Prague , Czech Republic

        Contributors

        Other Metrics

        Bibliometrics & Citations

        Bibliometrics

        Article Metrics

        • Downloads (Last 12 months)110
        • Downloads (Last 6 weeks)25
        Reflects downloads up to 11 Dec 2024

        Other Metrics

        Citations

        Cited By

        View all
        • (2024)Dynamic Deterministic Constant-Approximate Distance Oracles with $n^{\epsilon}$ Worst-Case Update Time2024 IEEE 65th Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS61266.2024.00121(2033-2044)Online publication date: 27-Oct-2024

        View Options

        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