Parallel Batch-Dynamic Maximal Matching with Constant Work per Update
Guy E. Blelloch, Andrew C. Brady
TL;DR
This work solves parallel batch-dynamic maximal matching against an oblivious adversary by introducing a work-efficient, lazy leveled framework that handles deletions and settlements via a random greedy maximal matching. The algorithm achieves $O(1)$ expected amortized work per edge update on regular graphs and $O(r^3)$ per edge on rank-$r$ hypergraphs, with depth $O(\log^3 m)$ whp, and extends to work-efficient static maximal matching on hypergraphs with $O(m')$ expected work and $O(\log^2 m)$ depth whp. A static hypergraph maximal matching subroutine and a reduction from set cover to hyperedge maximal matching yield state-of-the-art $r$-approximate parallel set cover results for batch updates. Collectively, these results advance the efficiency and applicability of parallel batch-dynamic matching and related combinatorial problems in hypergraphs.
Abstract
We present a work optimal algorithm for parallel fully batch-dynamic maximal matching against an oblivious adversary. It processes batches of updates (either insertions or deletions of edges) in constant expected amortized work per edge update, and in $O(\log^3 m)$ depth per batch whp, where $m$ is the maximum number of edges in the graph over time. This greatly improves on the recent result by Ghaffari and Trygub (2024) that requires $O(\log^9 m)$ amortized work per update and $O(\log^4 m )$ depth per batch, both whp. The algorithm can also be used for parallel batch-dynamic hyperedge maximal matching. For hypergraphs with rank $r$ (maximum cardinality of any edge) the algorithm supports batches of updates with $O(r^3)$ expected amortized work per edge update, and $O(\log^3 m)$ depth per batch whp. Ghaffari and Trygub's parallel batch-dynamic algorithm on hypergraphs requires $O(r^8 \log^9 m)$ amortized work per edge update whp. We leverage ideas from the prior algorithms but introduce substantial new ideas. Furthermore, our algorithm is relatively simple, perhaps even simpler than Assadi and Solomon's (2021) sequential dynamic hyperedge algorithm. We also present the first work-efficient algorithm for parallel static maximal matching on hypergraphs. For a hypergraph with total cardinality $m'$ (i.e., sum over the cardinality of each edge), the algorithm runs in $O(m')$ work in expectation and $O(\log^2 m)$ depth whp. The algorithm also has some properties that allow us to use it as a subroutine in the dynamic algorithm to select random edges in the graph to add to the matching. With a standard reduction from set cover to hyperedge maximal matching, we give state of the art $r$-approximate static and batch-dynamic parallel set cover algorithms, where $r$ is the maximum frequency of any element, and batch-dynamic updates consist of adding or removing batches of elements.
