変化伝播による並列バッチダイナミック木
Parallel Batch-dynamic Trees via Change Propagation
Parallel Batch-dynamic Trees via Change Propagation
@misc{acar2020parallel,
title = {Parallel Batch-dynamic Trees via Change Propagation},
author = {Umut A. Acar and Daniel Anderson and Guy E. Blelloch and Laxman Dhulipala and Sam Westrick},
year = {2020},
eprint = {2002.05129},
archivePrefix = {arXiv},
primaryClass = {cs.DS},
url = {https://arxiv.org/abs/2002.05129}
}
Acar, U. A., Anderson, D., Blelloch, G. E., Dhulipala, L., & Westrick, S. (2020). Parallel Batch-dynamic Trees via Change Propagation [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2002.05129
ACAR UA, ANDERSON D, BLELLOCH GE, et al. Parallel Batch-dynamic Trees via Change Propagation[EB/OL]. (2020-02-12)[2026-11-29]. https://arxiv.org/abs/2002.05129.
要旨
動的木の問題は、エッジの挿入と削除に対して木叢を維持しつつ、連結性、パスの重さ、部分木の重さなどのクエリを支援することである。動的木は多数のグラフアルゴリズムの基本的な構成要素である。従来は単一更新設定で研究されてきたが、急速に進化する動的データセットの出現により、バッチ更新をサポートする動的アルゴリズムは現在ますます重要になっている。大規模なバッチ更新に対して単一プロセッサで処理することは現実的でないため、証明された低いスパンを実現する並列バッチ動的アルゴリズムの設計は多くのアプリケーションにとって重要である。本稿では、パスクエリと部分木クエリ、また多種多様な非局所クエリをサポートする、動的木に対する最初の作業効率的な並列バッチ動的アルゴリズムを設計する。これを実現するために、静的なラウンド同期アルゴリズムをアルゴリズム的に動的化するためのフレームワークを提案し、これにより作業とスパンの良好な境界を持つ並列バッチ動的アルゴリズムを得る。我々のフレームワークでは、アルゴリズム設計者は適宜定義された静的なアルゴリズムにこの手法を適用できる。その後、我々のフレームワーク内のアルゴリズムに対する理論的保証を得るために、基底アルゴリズムの 2 つの実行間の計算距離の概念を定義する。我々の動的木アルゴリズムは、Miller と Reif の並列木収縮アルゴリズムに我々の動的化フレームワークを適用し、バッチ更新下でのこのアルゴリズムの計算距離の新しい解析を行うことで得られる。我々は、期待値で k 回の更新を O(k log(1+n/k)) の作業で実行できることを示し、これは Tseng 他による既存のアルゴリズムと一致するが、大幅に多くのクエリとアプリケーションをサポートする。
The dynamic trees problem is to maintain a forest subject to edge insertions and deletions while facilitating queries such as connectivity, path weights, and subtree weights. Dynamic trees are a fundamental building block of a large number of graph algorithms. Although traditionally studied in the single-update setting, dynamic algorithms capable of supporting batches of updates are increasingly relevant today due to the emergence of rapidly evolving dynamic datasets. Since processing updates on a single processor is often unrealistic for large batches of updates, designing parallel batch-dynamic algorithms that achieve provably low span is important for many applications. In this work, we design the first work-efficient parallel batch-dynamic algorithm for dynamic trees that is capable of supporting both path queries and subtree queries, as well as a variety of non-local queries. To achieve this, we propose a framework for algorithmically dynamizing static round-synchronous algorithms that allows us to obtain parallel batch-dynamic algorithms with good bounds on their work and span. In our framework, the algorithm designer can apply the technique to any suitably defined static algorithm. We then obtain theoretical guarantees for algorithms in our framework by defining the notion of a computation distance between two executions of the underlying algorithm. Our dynamic trees algorithm is obtained by applying our dynamization framework to the parallel tree contraction algorithm of Miller and Reif, and then performing a novel analysis of the computation distance of this algorithm under batch updates. We show that k updates can be performed in O(k log(1+n/k)) work in expectation, which matches an existing algorithm of Tseng et al. while providing support for a substantially larger number of queries and applications.