Parallel Batch-Dynamic Algorithms for k-Core Decomposition and Related Graph Problems

Quanquan C. Liu, Jessica Shi, Shangdi Yu, Laxman Dhulipala, Julian Shun
6/7/2021
cs.DScs.DC

Official code: qqliu/batch-dynamic-kcore-decomposition (5 stars, C++, MIT, last commit 2024-11-30).

Abstract

Maintaining a $k$-core decomposition quickly in a dynamic graph has important applications in network analysis. The main challenge for designing efficient exact algorithms is that a single update to the graph can cause significant global changes.

Show full abstract

Our paper focuses on \emph{approximation} algorithms with small approximation factors that are much more efficient than what exact algorithms can obtain. We present the first parallel, batch-dynamic algorithm for approximate $k$-core decomposition that is efficient in both theory and practice. Our algorithm is based on our novel parallel level data structure, inspired by the sequential level data structures of Bhattacharya et al [STOC '15] and Henzinger et al [2020]. Given a graph with $n$ vertices and a batch of updates $\mathcal{B}$, our algorithm provably maintains a $(2 + \varepsilon)$-approximation of the coreness values of all vertices (for any constant $\varepsilon > 0$) in $O(|\mathcal{B}|\log^2 n)$ amortized work and $O(\log^2 n \log\log n)$ depth (parallel time) with high probability. As a by-product, our $k$-core decomposition algorithm also gives a batch-dynamic algorithm for maintaining an $O(α)$ out-degree orientation, where $α$ is the current arboricity of the graph. We demonstrate the usefulness of our low out-degree orientation algorithm by presenting a new framework to formally study batch-dynamic algorithms in bounded-arboricity graphs. Our framework obtains new provably-efficient parallel batch-dynamic algorithms for maximal matching, clique counting, and vertex coloring. We implemented and experimentally evaluated our $k$-core decomposition algorithm on a 30-core machine with two-way hyper-threading on $11$ graphs of varying densities and sizes. [...]

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains the experimental setup for https://arxiv.org/abs/2106.03824.

53C++, PythonMay 31, 20212 years agoMIT

Similar Papers

Cite this paper

@article{liu2021parallel,
  title  = {Parallel Batch-Dynamic Algorithms for k-Core Decomposition and Related Graph Problems},
  author = {Quanquan C. Liu and Jessica Shi and Shangdi Yu and Laxman Dhulipala and Julian Shun},
  year   = {2021},
  eprint = {2106.03824},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.03824}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.03824.svg)](https://codeofpaper.com/paper/2106.03824)

Discussion