Parallel Local Algorithms for Core, Truss, and Nucleus Decompositions

Ahmet Erdem Sariyüce, C. Seshadhri, Ali Pinar

Introduction

Identifying dense, highly connected subgraphs is a cornerstone of network analysis, with applications ranging from community detection in social networks to identifying functional modules in biological systems. Traditionally, these structures—specifically $k$-cores, $k$-trusses, and higher-order nucleus decompositions—are discovered through a sequential "peeling" process. While effective, this approach is a major bottleneck for massive modern graphs. This paper presents a transformative framework that replaces global peeling with local, iterative algorithms based on h-index computations, enabling unprecedented scalability and parallel performance.

What Problem Does This Paper Address?

The standard metrics for dense subgraph discovery are hierarchical:

  • $k$-core: A maximal subgraph where every vertex has at least degree $k$.
  • $k$-truss: A maximal subgraph where every edge is part of at least $(k-2)$ triangles.
  • Nucleus Decomposition: A generalization using higher-order cliques (e.g., $(r, s)$-nuclei).
Visualizing k-core and k-truss decompositions and their hierarchical tree structures.

The traditional "peeling" algorithm repeatedly removes the vertex or edge with the minimum degree or triangle count. This approach suffers from three critical flaws:

  1. Global Dependency: It requires constant knowledge of the global minimum.
  2. Sequential Nature: Each step depends on the previous one, preventing effective parallelization.
  3. Lack of Approximability: The most interesting dense regions are only revealed at the very end of the process.

Methods: A Local Framework

The authors propose bypassing the peeling process by generalizing the h-index computation. Instead of a global search, every element (vertex, edge, or clique) maintains a local "guess" of its decomposition number. In each iteration, an element updates its guess by calculating the h-index of its neighbors' guesses. For example, a vertex updates its core number to $k$ if it has at least $k$ neighbors whose current guesses are also $\ge k$.

Key technical contributions include:

  • Mathematical Proof of Convergence: The authors prove that this local iteration exactly matches the results of global peeling for cores, trusses, and nuclei.
  • Asynchronous Updates (AND): By allowing elements to use the most recent neighbor data immediately (rather than waiting for a global sync), convergence speed is significantly increased.
  • Notification Mechanism: An optimization where elements go "idle" when stable and are only "woken up" if a neighbor's value changes, reducing redundant computation.

Key Results

The proposed algorithms were evaluated on 11 diverse real-world networks, including massive social graphs like friendster and web graphs like wiki-200611.

Convergence rates (left) and scalability performance (right) across various datasets.

Rapid Convergence and Scalability

The local algorithms demonstrate remarkable efficiency. As shown in the convergence plots, the Kendall Tau correlation (measuring similarity to the exact decomposition) reaches near-perfection within 10 to 15 iterations across all datasets.

Furthermore, the asynchronous algorithm (AND) scales exceptionally well. On a 24-thread machine, it achieved speedups of up to 8.7x for k-core and 6.3x for k-truss compared to optimized sequential baselines. This is a significant leap over traditional peeling methods, which struggle to utilize multiple cores effectively.

The Power of Approximation

One of the most significant advantages of the iterative approach is the ability to stop early. The densest regions of the graph tend to stabilize first. The authors found that when the percentage of "active" (updating) elements drops below 40%, the results are already approximately 90% accurate. For users who can tolerate 80% accuracy, the algorithm can run up to 15x faster than a full computation.

Lightning-Fast Local Queries

Because the algorithm is inherently local, it can be used for "query-driven" estimation. To find the truss number of a specific edge in the soc-twitter-higgs network, the local algorithm took just 0.017 seconds, whereas the global peeling process required 73 seconds.

Conclusion and Future Work

By shifting from global peeling to local h-index iterations, this research provides a scalable path forward for analyzing massive graphs. While the local approach involves more total operations than sequential peeling (it is not "work-efficient" in a single-threaded sense), its massive parallelizability and support for approximation make it far superior for modern hardware and large-scale datasets. Future work aims to implement this framework in distributed environments like Hadoop or Pregel, where its "shared-nothing" local nature can be fully exploited.

Summary updated

BibTeX
@misc{sariyuce2017parallel,
  author = {Ahmet Erdem Sariyüce and C. Seshadhri and Ali Pinar},
  title = {{Parallel Local Algorithms for Core, Truss, and Nucleus Decompositions}},
  year = {2017},
  eprint = {1704.00386},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1704.00386},
}
Figure