Abstract
A low out-degree orientation directs each edge of an undirected graph with the goal of minimizing the maximum out-degree of a vertex. In the parallel batch-dynamic setting, one can insert or delete batches of edges, and the goal is to process the entire batch in parallel with work per edge similar to that of a single sequential update and with span (or depth) for the entire batch that is polylogarithmic. In this paper we present faster parallel batch-dynamic algorithms for maintaining a low out-degree orientation of an undirected graph. All results herein achieve polylogarithmic depth, with high probability (whp); the focus of this paper is on minimizing the work, which varies across results. Our first result is the first parallel batch-dynamic algorithm to maintain an asymptotically optimal orientation with asymptotically optimal expected work bounds, in an amortized sense, improving over the prior best work bounds of Liu et al. [SPAA '22] by a logarithmic factor. Our second result is a $O(c \log n)$ orientation algorithm with expected worst-case $O(\sqrt{\log n})$ work per edge update, where $c$ is a known upper-bound on the arboricity of the graph. This matches the best-known sequential worst-case $O(c \log n)$ orientation algorithm given by Berglin and Brodal [Algorithmica '18], albeit in expectation. Our final result is a $O(c + \log n)$-orientation algorithm with $O(\log^2 n)$ expected worst-case work per edge update. This algorithm significantly improves upon the recent result of Ghaffari and Koo [SPAA '25], which maintains a $O(c)$-orientation with $O(\log^9 n)$ worst-case work per edge whp.
Introduction
In graph theory, a "low out-degree orientation" involves assigning a direction to every edge in an undirected graph such that no single vertex has too many outgoing edges. The ideal maximum out-degree is tied to the graph's arboricity ($c$), which measures how sparse or dense the graph is. Maintaining this orientation is a fundamental building block for other dynamic graph algorithms, such as maximal matching and vertex coloring.
In a dynamic setting, edges are constantly being inserted or deleted. While traditional sequential algorithms handle these updates well, modern systems process updates in parallel batches. The goal in parallel batch-dynamic algorithms is to process a batch of updates with low span (parallel time) while keeping the work (total operations) as close to the sequential equivalent as possible. Prior to this work, parallel algorithms for this problem either performed significantly more work than sequential counterparts or suffered from massive worst-case work bounds. This paper introduces novel techniques to achieve work-efficiency while maintaining strict out-degree bounds.
Algorithmic Techniques
The authors tackle both amortized and worst-case scenarios by adapting classic sequential algorithms to the parallel batch setting through several key innovations:
Amortized Parallelization
Sequential approaches often flip outgoing edges of violating vertices one-by-one, creating long dependency chains that hinder parallelization. The authors bypass this by collecting all out-edges of all violating vertices and running a single round of a parallel static orientation algorithm on that localized subgraph. This breaks the dependency chain while mathematically achieving the same potential reduction.
Skyline Edge Flipping
To achieve strict worst-case bounds, the authors introduce the concept of a skyline. A skyline is a carefully selected subset of edges from the highest out-degree vertices. Instead of flipping arbitrary edges, which could inadvertently create new high-degree vertices, the algorithm flips entire skylines simultaneously. This guarantees a net reduction in the graph's overall "potential energy" without causing new spikes in out-degree.
Analytical Frameworks and Data Structures
To prove that flipping batches of edges doesn't cause potential to accumulate disastrously, the authors designed a "batch counter game." This analytical framework models the worst-case accumulation of vertex degrees as a game of shifting weights. Furthermore, the authors implemented custom deterministic parallel data structures, like a "bag" and a "roughly sorted list," that support constant-work-per-item batch operations to avoid unnecessary logarithmic overheads.
Key Results
The paper establishes three new algorithms with state-of-the-art theoretical bounds, summarized in the table below:
- Amortized Algorithm: Maintains an $O(c)$ orientation with amortized $O(\log n)$ expected work per edge update. This is the first parallel batch-dynamic algorithm to match the optimal work bounds of the best sequential algorithm.
- Worst-Case 1 (TwoStage): Maintains an $O(c \log n)$ orientation with expected worst-case $O(\sqrt{\log n})$ work per edge, matching the best-known sequential worst-case algorithm.
- Worst-Case 2 (Reinsertion): Maintains an $O(c + \log n)$ orientation with expected worst-case $O(\log^2 n)$ work per edge. This is a massive improvement over the recent state-of-the-art, which required $O(\log^9 n)$ work.
By plugging these new orientation algorithms into existing frameworks, the authors also yield faster parallel batch-dynamic algorithms for downstream applications like maximal matching and explicit graph coloring.
Limitations and Future Work
A current limitation is the fixed arboricity assumption: the algorithms assume a known upper bound on the maximum arboricity ($c$) over the entire sequence of updates. They do not yet adapt to graphs whose density changes drastically over time. Future directions include exploring adaptive arboricity in the parallel batch-dynamic setting and refining the "batch counter game" to incorporate graph density constraints for even tighter theoretical bounds.
Summary updated