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

Deterministic algorithms for decremental shortest paths via layered core decomposition

Published: 21 March 2021 Publication History

Abstract

In the decremental single-source shortest paths (SSSP) problem, the input is an undirected graph G = (V, E) with n vertices and m edges undergoing edge deletions, together with a fixed source vertex sV. The goal is to maintain a data structure that supports shortest-path queries: given a vertex vV, quickly return an (approximate) shortest path from s to v. The decremental all-pairs shortest paths (APSP) problem is defined similarly, but now the shortest-path queries are allowed between any pair of vertices of V.
Both problems have been studied extensively since the 80's, and algorithms with near-optimal total update time and query time have been discovered for them. Unfortunately, all these algorithms are randomized and, more importantly, they need to assume an oblivious adversary - a drawback that prevents them from being used as subroutines in several known algorithms for classical static problems. In this paper, we provide new deterministic algorithms for both problems, which, by definition, can handle an adaptive adversary.
Our first result is a deterministic algorithm for the decremental SSSP problem on weighted graphs with O(n2+o(1)) total update time, that supports (1 + ϵ)-approximate shortest-path queries, with query time O(|P| · no(1)), where P is the returned path. This is the first (1 + ϵ)-approximation adaptive-update algorithm supporting shortest-path queries in time below O(n), that breaks the O(mn) total update time bound of the classical algorithm of Even and Shiloah from 1981. Previously, Bernstein and Chechik [STOC'16, ICALP'17] provided a Õ(n2)-time deterministic algorithm that supports approximate distance queries, but unfortunately the algorithm cannot return the approximate shortest paths. Chuzhoy and Khanna [STOC'19] showed an O(n2+o(1))-time randomized algorithm for SSSP that supports approximate shortest-path queries in the adaptive adversary regime, but their algorithm only works in the restricted setting where only vertex deletions, and not edge deletions are allowed, and it requires Ω(n) time to respond to shortest-path queries.
Our second result is a deterministic algorithm for the decremental APSP problem on unweighted graphs that achieves total update time O(n2.5+δ), for any constant δ > 0, supports approximate distance queries in O(log log n) time, and supports approximate shortest-path queries in time O(|E(P)| · no(1)), where P is the returned path; the algorithm achieves an O(1)-multiplicative and no(1)-additive approximation on the path length. All previous algorithms for APSP either assume an oblivious adversary or have an Ω(n3) total update time when m = Ω(n2), even if an o(n)-multiplicative approximation is allowed.
To obtain both our results, we improve and generalize the layered core decomposition data structure introduced by Chuzhoy and Khanna to be nearly optimal in terms of various parameters, and introduce a new generic approach of rooting Even-Shiloach trees at expander sub-graphs of the given graph. We believe both these technical tools to be interesting in their own right and anticipate them to be useful for designing future dynamic algorithms that work against an adaptive adversary.

References

[1]
[ACT14] Ittai Abraham, Shiri Chechik, and Kunal Talwar. Fully dynamic all-pairs shortest paths: Breaking the O (n) barrier. In LIPIcs-Leibniz International Proceedings in Informatics, volume 28. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2014. 3
[2]
[AMV20] Kyriakos Axiotis, Aleksander Madry, and Adrian Vladu. Circulation control for faster minimum cost flow in unit-capacity graphs. arXiv preprint arXiv:2003.04863, 2020. 3
[3]
[BC16] Aaron Bernstein and Shiri Chechik. Deterministic decremental single source shortest paths: beyond the O(mn) bound. In Proceedings of the forty-eighth annual ACM symposium on Theory of Computing, pages 389--397. ACM, 2016. 2, 5
[4]
[BC17] Aaron Bernstein and Shiri Chechik. Deterministic partially dynamic single source shortest paths for sparse graphs. In Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 453--469. SIAM, 2017. 2
[5]
[Ber16] Aaron Bernstein. Maintaining shortest paths under deletions in weighted directed graphs. SIAM Journal on Computing, 45(2):548--574, 2016. 2, 3
[6]
[Ber17] Aaron Bernstein. Deterministic partially dynamic single source shortest paths in weighted graphs. In LIPIcs-Leibniz International Proceedings in Informatics, volume 80. Schloss Dagstuhl-Leibniz-Center for Computer Science, 2017. 2, 3, 10, 11
[7]
[BGS20] Aaron Bernstein, Maximilian Probst Gutenberg, and Thatchaphol Saranurak. Deterministic decremental reachability, scc, and shortest paths via directed expanders and congestion balancing. 2020. To appear at FOCS'20. 4, 5, 9
[8]
[BHI15] Sayan Bhattacharya, Monika Henzinger, and Giuseppe F. Italiano. Deterministic fully dynamic data structures for vertex cover and matching. In Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, San Diego, CA, USA, January 4--6, 2015, pages 785--804, 2015. 2
[9]
[BHN16] Sayan Bhattacharya, Monika Henzinger, and Danupon Nanongkai. New deterministic approximation algorithms for fully dynamic matching. In Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2016, Cambridge, MA, USA, June 18--21, 2016, pages 398--411, 2016. 2
[10]
[BHS07] Surender Baswana, Ramesh Hariharan, and Sandeep Sen. Improved decremental algorithms for maintaining transitive closure and all-pairs shortest paths. J. Algorithms, 62(2):74--92, 2007. 3
[11]
[BK19] Sayan Bhattacharya and Janardhan Kulkarni. Deterministically maintaining a (2 + ϵ)-approximate minimum vertex cover in o(1/ϵ2) amortized update time. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2019, San Diego, California, USA, January 6--9, 2019, pages 1872--1885, 2019. 2
[12]
[BR11] Aaron Bernstein and Liam Roditty. Improved dynamic algorithms for maintaining approximate shortest paths under deletions. In Proceedings of the Twenty-Second Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2011, San Francisco, California, USA, January 23--25, 2011, pages 1355--1365, 2011. 2, 3, 4, 10
[13]
[BvdBG+20] Aaron Bernstein, Jan van den Brand, Maximilian Probst Gutenberg, Danupon Nanongkai, Thatchaphol Saranurak, Aaron Sidford, and He Sun. Fully-dynamic graph sparsifiers against an adaptive adversary. CoRR, abs/2004.08432, 2020. 2, 3, 4
[14]
[CGL+19] Julia Chuzhoy, Yu Gao, Jason Li, Danupon Nanongkai, Richard Peng, and Thatchaphol Saranurak. A deterministic algorithm for balanced cut with applications to dynamic connectivity, flows, and beyond. CoRR, abs/1910.08025, 2019. 2, 9
[15]
[Che18] Shiri Chechik. Near-optimal approximate decremental all pairs shortest paths. In Proc. of the IEEE 59th Annual Symposium on Foundations of Computer Science, 2018. 3, 4, 10
[16]
[CK19] Julia Chuzhoy and Sanjeev Khanna. A new algorithm for decremental single-source shortest paths with applications to vertex-capacitated flow and cut problems. In STOC 2019, to appear, 2019. 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
[17]
[CQ17] Chandra Chekuri and Kent Quanrud. Approximating the held-karp bound for metric TSP in nearly-linear time. In 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October 15--17, 2017, pages 789--800, 2017. 2
[18]
[DHZ00] Dorit Dor, Shay Halperin, and Uri Zwick. All-pairs almost shortest paths. SIAM J. Comput., 29(5):1740--1759, 2000. 3
[19]
[Din06] Yefim Dinitz. Dinitz' algorithm: The original version and Even's version. In Theoretical computer science, pages 218--240. Springer, 2006. 5
[20]
[ES81] Shimon Even and Yossi Shiloach. An on-line edge-deletion problem. Journal of the ACM (JACM), 28(1):1--4, 1981. 2, 3, 5
[21]
[FHN14a] Sebastian Forster, Monika Henzinger, and Danupon Nanongkai. Decremental single-source shortest paths on undirected graphs in near-linear total update time. In 55th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2014, Philadelphia, PA, USA, October 18--21, 2014, pages 146--155, 2014. 2, 3, 4, 10
[22]
[FHN14b] Sebastian Forster, Monika Henzinger, and Danupon Nanongkai. A subquadratic-time algorithm for decremental single-source shortest paths. In Proceedings of the Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2014, Portland, Oregon, USA, January 5--7, 2014, pages 1053--1072, 2014. 2
[23]
[FHN16] Sebastian Forster, Monika Henzinger, and Danupon Nanongkai. Dynamic approximate all-pairs shortest paths: Breaking the O(mn) barrier and derandomization. SIAM Journal on Computing, 45(3):947--1006, 2016. Announced at FOCS'13. 2, 3, 4, 10, 13
[24]
[FHNS15] Sebastian Forster, Monika Henzinger, Danupon Nanongkai, and Thatchaphol Saranurak. Unifying and strengthening hardness for dynamic problems via the online matrix-vector multiplication conjecture. In Proceedings of the Forty-Seventh Annual ACM on Symposium on Theory of Computing, STOC 2015, Portland, OR, USA, June 14--17, 2015, pages 21--30, 2015. 2, 3
[25]
[GWN20] Maximilian Probst Gutenberg and Christian Wulff-Nilsen. Deterministic algorithms for decremental approximate shortest paths: Faster and simpler. In Proceedings of the Fourteenth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 2522--2541. SIAM, 2020. 2, 4, 10, 13
[26]
[HdLT01] Jacob Holm, Kristian de Lichtenberg, and Mikkel Thorup. Poly-logarithmic deterministic fully-dynamic algorithms for connectivity, minimum spanning tree, 2-edge, and biconnectivity. J. ACM, 48(4):723--760, July 2001. 4, 5
[27]
[HK95] Monika Rauch Henzinger and Valerie King. Fully dynamic biconnectivity and transitive closure. In Foundations of Computer Science, 1995. Proceedings., 36th Annual Symposium on, pages 664--672. IEEE, 1995. 5
[28]
[LS14] Yin Tat Lee and Aaron Sidford. Path finding methods for linear programming: Solving linear programs in õ(vrank) iterations and faster algorithms for maximum flow. In 55th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2014, Philadelphia, PA, USA, October 18--21, 2014, pages 424--433, 2014. 3
[29]
[Mad10] Aleksander Madry. Faster approximation schemes for fractional multicommodity flow problems via dynamic graph algorithms. In Proceedings of the 42nd ACM Symposium on Theory of Computing, STOC 2010, Cambridge, Massachusetts, USA, 5--8 June 2010, pages 121--130, 2010. 2
[30]
[NS17] Danupon Nanongkai and Thatchaphol Saranurak. Dynamic spanning forest with worst-case update time: adaptive, las vegas, and O(n1/2 − ϵ)-time. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2017, Montreal, QC, Canada, June 19--23, 2017, pages 1122--1129, 2017. 2, 5
[31]
[NSW17] Danupon Nanongkai, Thatchaphol Saranurak, and Christian Wulff-Nilsen. Dynamic minimum spanning forest with subpolynomial worst-case update time. In 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October 15--17, 2017, pages 950--961, 2017. 2, 5
[32]
[RZ11] Liam Roditty and Uri Zwick. On dynamic shortest paths problems. Algorithmica, 61(2):389--401, 2011. 3
[33]
[RZ12] Liam Roditty and Uri Zwick. Dynamic approximate all-pairs shortest paths in undirected graphs. SIAM Journal on Computing, 41(3):670--683, 2012. 3
[34]
[San05] Piotr Sankowski. Subquadratic algorithm for dynamic shortest distances. In International Computing and Combinatorics Conference, pages 461--470. Springer, 2005. 2
[35]
[ST83] Daniel Dominic Sleator and Robert Endre Tarjan. A data structure for dynamic trees. J. Comput. Syst. Sci., 26(3):362--391, 1983. 2
[36]
[SW19] Thatchaphol Saranurak and Di Wang. Expander decomposition and pruning: Faster, stronger, and simpler. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2019, San Diego, California, USA, January 6--9, 2019, pages 2616--2635, 2019. 5, 9
[37]
[TZ01] M. Thorup and U. Zwick. Approximate distance oracles. Annual ACM Symposium on Theory of Computing, 2001. 3
[38]
[vdBNS19] Jan van den Brand, Danupon Nanongkai, and Thatchaphol Saranurak. Dynamic matrix inverse: Improved algorithms and matching conditional lower bounds. In 60th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2019, Baltimore, Maryland, USA, November 9--12, 2019, pages 456--480, 2019. 2
[39]
[Waj20] David Wajc. Rounding dynamic matchings against an adaptive adversary. In Proccedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2020, Chicago, IL, USA, June 22--26, 2020, pages 194--207, 2020. 2
[40]
[WN17] Christian Wulff-Nilsen. Fully-dynamic minimum spanning forest with improved worst-case update time. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, pages 1130--1143. ACM, 2017. Full version at arXiv:1611.02864. 2
[41]
[Zwi98] Uri Zwick. All pairs shortest paths in weighted directed graphs-exact and almost exact algorithms. In Proceedings 39th Annual Symposium on Foundations of Computer Science (Cat. No. 98CB36280), pages 310--319. IEEE, 1998. 2

Cited By

View all
  • (2021)New techniques and fine-grained hardness for dynamic near-additive spannersProceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3458064.3458174(1836-1855)Online publication date: 10-Jan-2021
  1. Deterministic algorithms for decremental shortest paths via layered core decomposition

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      SODA '21: Proceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms
      January 2021
      3063 pages
      ISBN:9781611976465
      • Program Chair:
      • Dániel Marx

      Sponsors

      Publisher

      Society for Industrial and Applied Mathematics

      United States

      Publication History

      Published: 21 March 2021

      Check for updates

      Qualifiers

      • Research-article

      Conference

      SODA '21
      Sponsor:
      SODA '21: ACM-SIAM Symposium on Discrete Algorithms
      January 10 - 13, 2021
      Virginia, Virtual Event

      Acceptance Rates

      Overall Acceptance Rate 411 of 1,322 submissions, 31%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)1
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 26 Jan 2025

      Other Metrics

      Citations

      Cited By

      View all
      • (2021)New techniques and fine-grained hardness for dynamic near-additive spannersProceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3458064.3458174(1836-1855)Online publication date: 10-Jan-2021

      View Options

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Figures

      Tables

      Media

      Share

      Share

      Share this Publication link

      Share on social media