변화 전파를 통한 병렬 배치 동적 트리
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.
초록
동적 트리는 간선 삽입 및 삭제를 지원하면서 연결성, 경로 가중치, 부분 트리 가중치와 같은 쿼리를 효율적으로 처리하는 숲을 유지하는 문제입니다. 동적 트리는 수많은 그래프 알고리즘의 핵심 구성 요소입니다. 전통적으로 단일 업데이트 설정에서 연구되었으나, 빠르게 진화하는 동적 데이터셋의 등장으로 대량 업데이트를 지원할 수 있는 동적 알고리즘의 중요성이 점차 증가하고 있습니다. 단일 프로세서에서 대량 업데이트를 처리하는 것은 종종 비현실적이므로, 증명적으로 낮은 스패인을 달성하는 병렬 대량 동적 알고리즘 설계는 많은 응용 프로그램에 중요합니다. 본 논문에서는 동적 트리에 대해 경로 쿼리와 부분 트리 쿼리, 그리고 다양한 비 로컬 쿼리를 모두 지원할 수 있는 첫 번째 작업 효율적인 병렬 대량 동적 알고리즘을 설계합니다. 이를 위해 정적 라운드 동기화 알고리즘을 알고리즘적으로 동적화하는 프레임워크를 제안하며, 이를 통해 작업과 스패인에 대한 좋은 상한선을 갖는 병렬 대량 동적 알고리즘을 얻습니다. 본 프레임워크에서는 알고리즘 설계자가 적절히 정의된 정적 알고리즘에 해당 기술을 적용할 수 있습니다. 우리는 두 실행 사이의 계산 거리를 정의함으로써 본 프레임워크 내 알고리즘에 대한 이론적 보장을 얻습니다. 본 동적 트리 알고리즘은 Miller 와 Reif 의 병렬 트리 수축 알고리즘에 본 동적화 프레임워크를 적용한 후, 대량 업데이트 하에서의 해당 알고리즘의 계산 거리를 새로운 분석을 통해 수행하여 얻었습니다. 우리는 k 업데이트를 기대적으로 O(k log(1+n/k)) 작업으로 수행할 수 있음을 보여주며, 이는 Tseng et al. 의 기존 알고리즘과 일치하지만 훨씬 더 많은 쿼리와 응용 프로그램을 지원합니다.
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.