Skip to main content
QUICK REVIEW

[Paper Review] Parallel and Streaming Algorithms for K-Core Decomposition

Hossein Esfandiari, Silvio Lattanzi|arXiv (Cornell University)|Aug 7, 2018
Complexity and Algorithms in GraphsComputer Science4 citations
TL;DR

This paper presents the first provably efficient parallel and streaming algorithms for approximate k-core decomposition using a novel adaptive sketching technique. The method achieves $\tilde{O}(n)$ space complexity and computes a $1-\epsilon$-approximate k-core decomposition in $O(\log n)$ rounds (MapReduce) or one pass (streaming), with empirical validation on real-world graphs showing significant space reduction and low approximation error.

ABSTRACT

The $k$-core decomposition is a fundamental primitive in many machine learning and data mining applications. We present the first distributed and the first streaming algorithms to compute and maintain an approximate $k$-core decomposition with provable guarantees. Our algorithms achieve rigorous bounds on space complexity while bounding the number of passes or number of rounds of computation. We do so by presenting a new powerful sketching technique for $k$-core decomposition, and then by showing it can be computed efficiently in both streaming and MapReduce models. Finally, we confirm the effectiveness of our sketching technique empirically on a number of publicly available graphs.

Motivation & Objective

  • To address the lack of scalable, distributed, and streaming algorithms for k-core decomposition with provable guarantees.
  • To design a space-efficient sketching technique that enables approximate k-core computation in parallel and streaming models.
  • To achieve a $1-\epsilon$-approximate k-core decomposition with rigorous bounds on space and rounds/passes.
  • To empirically validate the sketching technique's effectiveness in reducing space usage and maintaining accuracy on real-world graphs.

Proposed method

  • Introduce a novel adaptive edge-sampling strategy to construct a sketch that captures approximate k-core structure.
  • Design a sketch of size $\tilde{O}(n)$ that can be computed in $O\left(\log n\right)$ rounds in the MapReduce model.
  • Implement the sketch in a one-pass streaming setting using $\tilde{O}(n)$ space, supporting both insertion and deletion in the turnstile model.
  • Use iterative sampling with a multiplicative factor $M > 1$ to progressively refine the approximation of coreness numbers.
  • Apply the sketch to compute approximate coreness numbers for all nodes simultaneously, maintaining hierarchical clustering properties.
  • Extend the algorithm to the turnstile model for dynamic graphs with edge insertions and deletions.

Experimental results

Research questions

  • RQ1Can a distributed or streaming algorithm for k-core decomposition be designed with provable approximation guarantees?
  • RQ2What sketching technique enables efficient and accurate approximation of k-core decomposition in parallel and streaming settings?
  • RQ3How does the space complexity and approximation error scale with the number of sampling rounds and the multiplicative factor $M$?
  • RQ4Can the proposed sketching method achieve sublinear space usage while maintaining high accuracy on real-world graphs?

Key findings

  • The sketch size is significantly smaller than the input graph—on average, less than half the size of the input graph, with the maximum sampled graph being an order of magnitude smaller in some cases (e.g., Twitter).
  • With $T=5$ sampling rounds, the median approximation error is below 25%, and the 90th percentile error is below 50% for nodes with coreness number at least 5.
  • The total sketch size increases with $M$, but the maximum individual sample graph size decreases, suggesting a trade-off between space per machine and accuracy.
  • The approximation error is relatively insensitive to the choice of $M$, with consistent performance across $M \in \{1.2, 1.4, 1.6, 2\}$.
  • The MapReduce-based algorithm runs in $O(\log n)$ rounds with $\tilde{O}(n)$ load per machine, making it scalable for large graphs.
  • The one-pass streaming algorithm achieves $\tilde{O}(n)$ space complexity, enabling efficient processing of massive graphs in a single pass.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.