Efficient Computation of Probabilistic Core Decomposition at Web-Scale

Fatemeh Esfahani, Venkatesh Srinivasan, Alex Thomo, Kui Wu

Introduction

In graph theory, the $k$-core decomposition is a fundamental technique for identifying dense subgraphs, with applications ranging from community detection in social networks to functional analysis in biological systems. A $k$-core is defined as the maximal subgraph where every vertex has at least $k$ neighbors. However, real-world data often contains uncertainty, where edges represent probabilities rather than certainties (e.g., the likelihood of a viral transmission or a protein-protein interaction).

This paper addresses the challenge of computing the $(k, \eta)$-core in these uncertain graphs: the maximal subgraph where each vertex has at least $k$ neighbors with a probability of at least $\eta$. While conceptually powerful, computing $(k, \eta)$-cores at the scale of the modern web has historically been computationally prohibitive.

The Challenge of Uncertain Graphs

In a probabilistic graph, determining if a vertex belongs to a $(k, \eta)$-core requires calculating the probability that its degree exceeds $k$. Previous state-of-the-art methods relied on Dynamic Programming (DP) with a complexity of $O(d_v^2)$, where $d_v$ is the degree of vertex $v$. For web-scale graphs where nodes can have millions of edges, this quadratic complexity becomes a massive bottleneck. Furthermore, standard DP approaches are prone to numerical instability when aggregating millions of tiny probabilities.

A probabilistic graph where edge weights represent the probability of an edge existing between two nodes.

Lyapunov CLT Approximation

The authors' primary innovation is the application of Lyapunov’s Central Limit Theorem (CLT) to approximate vertex degrees. By treating the existence of each edge as an independent Bernoulli trial, the authors prove that for high-degree vertices, the sum of these trials converges to a normal distribution.

This approximation allows the "$\eta$-degree" (the maximum $k$ satisfying the probability threshold) to be estimated in near-constant time. Crucially, the authors demonstrate that the CLT approximation is not only faster but also more numerically stable than DP for high-degree nodes, where the error of the CLT actually shrinks as the number of edges increases.

Algorithmic Innovations: PA and SA

To handle different hardware constraints, the paper introduces two primary algorithms:

  1. The Peeling Algorithm (PA): Designed for graphs that fit in memory, PA recursively removes vertices with the smallest $\eta$-degrees. It utilizes "lazy updates" to avoid redundant calculations and specialized array structures to maintain vertex ordering efficiently.
  2. The Sequential Algorithm (SA): For web-scale graphs exceeding RAM, SA provides a semi-external, vertex-centric approach. It employs Locality-based Tightening (LBT) and Probabilistic Bound Tightening (PBT) to refine core numbers while keeping the bulk of the graph on disk, requiring only $O(n)$ memory.
Internal data structures used by the Peeling Algorithm to track vertex degrees and removal status.

Experimental Results

The proposed methods were evaluated on eight datasets, including the twitter-2010 graph with 41.6 million nodes and 1.2 billion edges. Key findings include:

  • Speed: The Peeling Algorithm achieved a 32x speedup over previous methods on the biomine dataset. It successfully processed the 1.2-billion-edge Twitter graph in just 2.2 hours on a commodity machine—a task previous methods could not complete within 24 hours.
  • Accuracy: The CLT approximation proved highly accurate, with an average relative error of less than 1% for high-degree nodes and a maximum absolute error of only 1 in core number calculations.
  • Scalability: The Sequential Algorithm demonstrated extreme memory efficiency, using 30–40 times less RAM than the PA algorithm, making web-scale analysis possible on standard hardware.

Conclusion

By combining the theoretical strengths of the Lyapunov CLT with efficient memory-resident and semi-external algorithms, this work enables probabilistic core decomposition at an unprecedented scale. Future research may extend these techniques to dynamic graphs or directed core models, further expanding the utility of $(k, \eta)$-core analysis in real-time, uncertain environments.

Summary updated

BibTeX
@inproceedings{esfahani2019efficient,
  author = {Fatemeh Esfahani and Venkatesh Srinivasan and Alex Thomo and Kui Wu},
  title = {{Efficient Computation of Probabilistic Core Decomposition at Web-Scale}},
  booktitle = {EDBT},
  year = {2019},
  doi = {10.5441/002/edbt.2019.29},
}
Figure