Towards Scalable and Practical Batch-Dynamic Connectivity
Quinten De Man, Laxman Dhulipala, Adam Karczmarz, Jakub Lacki, Julian Shun, Zhongqi Wang
Abstract
We study the problem of dynamically maintaining the connected components of an undirected graph subject to edge insertions and deletions. We give the first parallel algorithm for the problem that is work-efficient, supports batches of updates, runs in polylogarithmic depth, and uses only linear total space. The existing algorithms for the problem either use super-linear space, do not come with strong theoretical bounds, or are not parallel.
On the empirical side, we provide the first implementation of the cluster forest algorithm , the first linear-space and polylogarithmic update time algorithm for dynamic connectivity. Experimentally, we find that our algorithm uses up to 19.7× less space and is up to 6.2× faster than the level-set algorithm of Holm, de Lichten-berg, and Thorup, arguably the most widely-implemented dynamic connectivity algorithm with strong theoretical guarantees.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on6
- Terrace: A Hierarchical Graph Container for Skewed Dynamic GraphsPrashant Pandey, Brian Wheatman, Helen Xu, Aydin BuluçSIGMOD 2021 · 53 citations
- ConnectIt: A Framework for Static and Incremental Parallel Graph Connectivity AlgorithmsLaxman Dhulipala, Changwan Hong, Julian ShunVLDB 2021 · 41 citations
- Parallel Batch-Dynamic Graphs: Algorithms and Lower BoundsLaxman Dhulipala, David Durfee, Janardhan Kulkarni, Richard Peng et al.SODA 2020 · 28 citations
- Dynamic Structural Clustering on GraphsBoyu Ruan, Junhao Gan, Hao Wu, Anthony WirthSIGMOD 2021 · 24 citations
- Dynamic Spanning Trees for Connectivity Queries on Fully-dynamic Undirected GraphsQing Chen, Oded Lachish, Sven Helmer, Michael H. BöhlenVLDB 2022 · 19 citations
Related papers
- Dynamic Connectivity with Expected Polylogarithmic Worst-Case Update TimeSimon Meierhans, Maximilian Probst GutenbergSODA 2026
- Dynamic Graph Algorithms with Batch Updates in the Massively Parallel Computation ModelKrzysztof Nowicki, Krzysztof OnakSODA 2021 · 5 citations
- Fully Dynamic Exact Edge Connectivity in Sublinear TimeGramoz Goranci, Monika Henzinger, Danupon Nanongkai, Thatchaphol Saranurak et al.SODA 2023 · 3 citations
- Constant-time Connectivity Querying in Dynamic GraphsLantian Xu, Dong Wen, Lu Qin, Ronghua Li et al.SIGMOD 2025 · 2 citations
- Maintaining Expander Decompositions via Sparse CutsYiding Hua, Rasmus Kyng, Maximilian Probst Gutenberg, Zihang WuSODA 2023 · 5 citations
