Time and Memory Efficient Parallel Algorithm for Structural Graph Summaries and two Extensions to Incremental Summarization and k-Bisimulation for Long k-Chaining

Till Blume, Jannik Rau, David Richerby, Ansgar Scherp
11/24/2021
cs.DScs.DB

Official code: t-blume/fluid-spark (2 stars, Java, GPL-3.0, last commit 2024-08-01).

Abstract

We developed a flexible parallel algorithm for graph summarization based on vertex-centric programming and parameterized message passing. The base algorithm supports infinitely many structural graph summary models defined in a formal language.

Show full abstract

An extension of the parallel base algorithm allows incremental graph summarization. In this paper, we prove that the incremental algorithm is correct and show that updates are performed in time $\mathcal{O}(Δ\cdot d^k)$, where $Δ$ is the number of additions, deletions, and modifications to the input graph, $d$ the maximum degree, and $k$ is the maximum distance in the subgraphs considered. Although the iterative algorithm supports values of $k>1$, it requires nested data structures for the message passing that are memory-inefficient. Thus, we extended the base summarization algorithm by a hash-based messaging mechanism to support a scalable iterative computation of graph summarizations based on $k$-bisimulation for arbitrary $k$. We empirically evaluate the performance of our algorithms using benchmark and real-world datasets. The incremental algorithm almost always outperforms the batch computation. We observe in our experiments that the incremental algorithm is faster even in cases when $50\%$ of the graph database changes from one version to the next. The incremental computation requires a three-layered hash index, which has a low memory overhead of only $8\%$ ($\pm 1\%$). Finally, the incremental summarization algorithm outperforms the batch algorithm even with fewer cores. The iterative parallel $k$-bisimulation algorithm computes summaries on graphs with over $10$M edges within seconds. We show that the algorithm processes graphs of $100+\,$M edges within a few minutes while having a moderate memory consumption of $<150$ GB. For the largest BSBM1B dataset with 1 billion edges, it computes $k=10$ bisimulation in under an hour.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
22Java, ScalaMay 5, 20192 years agoGPL-3.0
apache-sparkdistributedgraphgraphxorientdb+2 more

Similar Papers

Cite this paper

@article{blume2021time,
  title  = {Time and Memory Efficient Parallel Algorithm for Structural Graph Summaries and two Extensions to Incremental Summarization and k-Bisimulation for Long k-Chaining},
  author = {Till Blume and Jannik Rau and David Richerby and Ansgar Scherp},
  year   = {2021},
  eprint = {2111.12493},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.12493}
}

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/2111.12493.svg)](https://codeofpaper.com/paper/2111.12493)

Discussion