arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.08786cs.DScs.DC
收藏

低跨度下确定性且工作高效的并行批处理动态树

Deterministic and Work-Efficient Parallel Batch-Dynamic Trees in Low Span

Daniel Anderson, Guy E. Blelloch

AI总结:

本研究提出首个确定性工作高效的并行批处理动态树算法,实现了低跨度下的批量边更新处理,同时其技术还可优化现有随机化算法的跨度性能。

摘要:

动态树是动态图算法中被广泛研究的基础构建模块,其研究可追溯至Sleator和Tarjan的开创性工作[STOC'81, (1981), pp. 114-122]。该问题的目标是在支持在线边插入和删除的同时维护一棵树,并回答关于树的查询,例如路径上的最大权重等。在并行批处理动态场景下,研究目标是以低($\text{polylog}\n$)跨度高效处理批量边更新。目前已知两种工作高效的算法,分别是Tseng等人提出的批并行Euler Tour Trees(欧拉游历树)[ALENEX'19, (2019), pp. 92-106],以及Acar等人提出的并行Rake-Compress (RC) Trees(耙压缩树)[ESA'20, (2020), pp. 2:1-2:23]。但这两种算法都是随机化的,且仅在期望意义下具备工作高效性。因此,若干使用这些数据结构的下游研究结果(并且据我们所知,所有已知的工作高效并行批处理动态图算法)也都是随机化的。\n在本研究中,我们提出了该问题的首个确定性工作高效解决方案。我们的算法维护一个动态并行树收缩结构,能够确定性地处理$k$条边的批量更新,最坏情况下工作复杂度为$O(k \log(1 + n/k))$,跨度为$O(\log n \log^{(c)} k)$,其中$c$为任意常数。这使得我们能够实现并行批处理动态RC-Trees,其更新和查询操作在最坏情况下具备$O(k \log(1 + n/k))$的工作复杂度,且具有确定性。我们用于获得上述跨度界的技术,也可应用于该算法的当前最优随机化变体,将其跨度从$O(\log n \log^* n)$提升至$O(\log n)$。

英文摘要:

Dynamic trees are a well-studied and fundamental building block of dynamic graph algorithms dating back to the seminal work of Sleator and Tarjan [STOC'81, (1981), pp. 114-122]. The problem is to maintain a tree subject to online edge insertions and deletions while answering queries about the tree, such as the heaviest weight on a path, etc. In the parallel batch-dynamic setting, the goal is to process batches of edge updates work efficiently in low ($\text{polylog}\ n$) span. Two work-efficient algorithms are known, batch-parallel Euler Tour Trees by Tseng et al. [ALENEX'19, (2019), pp. 92-106] and parallel Rake-Compress (RC) Trees by Acar et al. [ESA'20, (2020), pp. 2:1-2:23]. Both however are randomized and work efficient in expectation. Several downstream results that use these data structures (and indeed to the best of our knowledge, all known work-efficient parallel batch-dynamic graph algorithms) are therefore also randomized. In this work, we give the first deterministic work-efficient solution to the problem. Our algorithm maintains a dynamic parallel tree contraction subject to batches of $k$ edge updates deterministically in worst-case $O(k \log(1 + n/k))$ work and $O(\log n \log^{(c)} k)$ span for any constant $c$. This allows us to implement parallel batch-dynamic RC-Trees with worst-case $O(k \log(1 + n/k))$ work updates and queries deterministically. Our techniques that we use to obtain the given span bound can also be applied to the state-of-the-art randomized variant of the algorithm to improve its span from $O(\log n \log^* n)$ to $O(\log n)$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑