Árvores Batch-dinâmicas Paralelas via Propagação de Alterações
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.
Resumo
O problema das árvores dinâmicas consiste em manter uma floresta sujeita a inserções e exclusões de arestas, facilitando consultas como conectividade, pesos de caminhos e pesos de subárvores. As árvores dinâmicas são um bloco de construção fundamental para um grande número de algoritmos de grafos. Embora tradicionalmente estudadas no cenário de atualização única, algoritmos dinâmicos capazes de suportar lotes de atualizações tornam-se cada vez mais relevantes hoje em dia devido ao surgimento de conjuntos de dados dinâmicos que evoluem rapidamente. Como processar atualizações em um único processador é frequentemente irrealista para lotes grandes de atualizações, projetar algoritmos batch-dinâmicos paralelos que alcançam um span provavelmente baixo é importante para muitas aplicações. Neste trabalho, projetamos o primeiro algoritmo batch-dinâmico paralelo eficiente em trabalho para árvores dinâmicas que é capaz de suportar tanto consultas de caminho quanto de subárvore, bem como uma variedade de consultas não locais. Para alcançar isso, propomos um framework para algoritmicamente dinamizar algoritmos estáticos assíncronos em rodadas que nos permite obter algoritmos batch-dinâmicos paralelos com boas fronteiras para seu trabalho e span. Em nosso framework, o projetista de algoritmos pode aplicar a técnica a qualquer algoritmo estático adequadamente definido. Em seguida, obtemos garantias teóricas para algoritmos em nosso framework definindo a noção de distância de computação entre duas execuções do algoritmo subjacente. Nosso algoritmo de árvores dinâmicas é obtido aplicando nosso framework de dinamização ao algoritmo de contração de árvore paralelo de Miller e Reif, e então realizando uma análise inovadora da distância de computação deste algoritmo sob atualizações em lote. Mostramos que k atualizações podem ser executadas em O(k log(1+n/k)) trabalho em média, o que corresponde a um algoritmo existente de Tseng et al., enquanto fornecendo suporte a um número substancialmente maior de consultas e aplicações.
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.