Parallel Index-Based Structural Graph Clustering and Its Approximation

Tom Tseng, Laxman Dhulipala, Julian Shun
12/21/2020
cs.DBcs.DCcs.DS

Official code: ParAlg/gbbs (228 stars, C++, MIT, last commit 2026-10-11).

Abstract

SCAN (Structural Clustering Algorithm for Networks) is a well-studied, widely used graph clustering algorithm. For large graphs, however, sequential SCAN variants are prohibitively slow, and parallel SCAN variants do not effectively share work among queries with different SCAN parameter settings.

Show full abstract

Since users of SCAN often explore many parameter settings to find good clusterings, it is worthwhile to precompute an index that speeds up queries. This paper presents a practical and provably efficient parallel index-based SCAN algorithm based on GS*-Index, a recent sequential algorithm. Our parallel algorithm improves upon the asymptotic work of the sequential algorithm by using integer sorting. It is also highly parallel, achieving logarithmic span (parallel time) for both index construction and clustering queries. Furthermore, we apply locality-sensitive hashing (LSH) to design a novel approximate SCAN algorithm and prove guarantees for its clustering behavior. We present an experimental evaluation of our algorithms on large real-world graphs. On a 48-core machine with two-way hyper-threading, our parallel index construction achieves 50--151$\times$ speedup over the construction of GS*-Index. In fact, even on a single thread, our index construction algorithm is faster than GS*-Index. Our parallel index query implementation achieves 5--32$\times$ speedup over GS*-Index queries across a range of SCAN parameter values, and our implementation is always faster than ppSCAN, a state-of-the-art parallel SCAN algorithm. Moreover, our experiments show that applying LSH results in faster index construction while maintaining good clustering quality.

View on arXivView PDF

Code Implementations(1)

ParAlg/gbbsOfficial100%
MIT

GBBS: Graph Based Benchmark Suite

22867C++, StarlarkMay 16, 20181 months agoMIT

Similar Papers

Cite this paper

@article{tseng2020parallel,
  title  = {Parallel Index-Based Structural Graph Clustering and Its Approximation},
  author = {Tom Tseng and Laxman Dhulipala and Julian Shun},
  year   = {2020},
  eprint = {2012.11188},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.11188}
}

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

Discussion