Distributed D-core Decomposition over Large Directed Graphs

Xuankun Liao, Qing Liu, Jiaxin Jiang, Xin Huang, Jianliang Xu, Byron Choi

TL;DR

This paper introduces the first distributed algorithms for D-core decomposition on massive directed graphs. By replacing traditional, sequential peeling methods with localized H-index and novel 2D "skyline coreness" computations, the proposed approach decomposes billion-edge graphs in hours—tasks on which distributed peeling baselines time out after days.

What Problem Does This Paper Address?

In graph analysis, cohesive subgraph discovery isolates dense regions of interest (e.g., communities, fraud rings, or influential web structures). While the classic $k$-core model operates on undirected graphs, real-world networks (Twitter follower graphs, financial transactions, citation networks) are directed.

The directed equivalent is the D-core (or $(k, l)$-core): the maximal subgraph where every vertex has an in-degree of at least $k$ and an out-degree of at least $l$. D-core decomposition identifies all valid D-cores across all possible $(k, l)$ combinations.

Until now, algorithms relied on sequential, centralized "peeling" (iteratively finding and removing minimum-degree vertices). This centralized design presents two major roadblocks:

  1. Massive graphs exceed single-machine memory.
  2. Peeling algorithms require global state and cannot be efficiently parallelized across distributed clusters without prohibitive network communication overhead.

Methods

The authors propose distributed algorithms framed in both vertex-centric (e.g., Pregel) and block-centric (e.g., GRAPE) processing paradigms.

  1. Anchored Coreness Algorithm:
  2. Defines anchored coreness $(k, l_{max}(v, k))$ by fixing in-degree constraint $k$ and finding the maximum valid out-degree $l$.
  3. Computes an in-H-index to find the upper bound $k_{max}(v)$ (the maximum in-degree core a vertex can belong to), then computes an out-H-index on induced subgraphs to derive upper bounds on $l$, and finally refines these bounds concurrently through neighbor message passing.
  4. Skyline Coreness Algorithm:
  5. Recognizes that anchored coreness contains redundant information because D-cores exhibit partial nesting (e.g., belonging to a $(2, 2)$-core implies membership in $(0, 2)$ and $(1, 2)$).
  6. Defines Skyline Coreness ($SC(v)$) as the minimal Pareto frontier of non-dominated $(k, l)$ coreness pairs for vertex $v$.
  7. Develops the D-index, a two-dimensional generalization of the classical H-index that unifies in- and out-neighbor coreness vectors.
  8. Employs three optimizations to prevent combinatorial blow-up:
  9. Pruning candidate $(k, l)$ search bounds via 1D H-indexes.
  10. Merging neighbor evaluations to compute the D-index once per iteration rather than checking exponential neighbor combinations.
  11. Providing a tight initialization ($D^{(0)}(v) = (k_{max}(v), l_{max}(v))$) derived from 1D H-indexes rather than raw degrees.

Datasets

The authors evaluated performance across 11 real-world directed networks ranging from thousands to over a billion edges:

  • Social & Communication: Wiki-vote, Email-EuAll, Slashdot, Pokec, LiveJournal.
  • E-Commerce & Citation: Amazon (product co-purchasing), Citation.
  • Collaboration & Web Graphs: Hollywood (228.9M edges), UK-2002 (298.1M edges), UK-2005 (936.3M edges), and IT-2004 (1.1B edges, 41.2M vertices).

No new benchmarks were introduced; all graphs were sourced from standard public graph repositories (SNAP and LAW).

Key Insights and Ideas

  • From Peeling to Local Consensus: Standard peeling is sequential because removing one vertex affects graph-wide degrees. By reformulating D-core membership in terms of H-index fixpoints, vertices can locally negotiate their core bounds strictly with their 1-hop neighbors.
  • The Power of Pareto (Skyline): Maintaining every valid $(k, l)$ pair for a vertex creates substantial communication and storage waste. Restricting state to the skyline frontier drastically cuts message sizes and iteration counts while retaining the ability to reconstruct all D-cores.
  • Tight Initial Bounds Matter: Initializing iterative graph algorithms with raw vertex degrees leads to slow convergence. Initializing with decoupled 1D in/out H-index bounds skips rounds of redundant updates.

Key Results

  • Massive Speedups vs. Distributed Peeling: On smaller datasets, the skyline algorithms ran up to 3 orders of magnitude faster than a distributed coordinator-based peeling algorithm.
  • Scalability to Billion-Scale Graphs: On large graphs ($>50\text{M}$ edges, including LiveJournal, Hollywood, UK-2002, UK-2005, and IT-2004), the peeling baseline failed to complete within a 5-day timeout. In contrast, the skyline algorithm finished in under 1 hour for most graphs, and required less than 10 hours on the 1.1-billion-edge IT-2004 graph.
  • Fast Convergence: For most datasets, the skyline coreness algorithms converged in under 100 rounds, with over 90% of vertices converging within 10 rounds (and $>95\%$ within 5 rounds on Amazon under block-centric execution).
  • Framework Trade-offs: Block-centric implementations reduced overall communication volume compared to vertex-centric setups, though vertex-centric variants occasionally achieved better wall-clock times due to avoiding straggler blocks.

Limitations and Future Work

  • Single-Node Local D-index Complexity: Even with pruning heuristics, computing the multidimensional D-index on vertices with extreme degrees remains computationally heavy. Accelerating localized 2D frontier calculations is an open area.
  • Straggler Vulnerability in Block-Centric Mode: Skewed partition convergence means some workers wait idle while slow blocks finish internal fixpoints.
  • Static Graphs Only: The current algorithms compute decomposition from scratch; future work includes extending D-index updates to dynamic/streaming graphs undergoing continuous edge additions and deletions.

Summary updated

BibTeX
@article{liao2022distributed,
  author = {Xuankun Liao and Qing Liu and Jiaxin Jiang and Xin Huang and Jianliang Xu and Byron Choi},
  title = {{Distributed D-core Decomposition over Large Directed Graphs}},
  journal = {Proc. VLDB Endow.},
  year = {2022},
  url = {https://openreview.net/forum?id=J21pGGWluWo},
}
Figure