Abstract: Maintaining $k$-core decomposition in massive, dynamic graphs is essential for identifying influential nodes and community structures. However, existing distributed maintenance algorithms often struggle with a parallelism bottleneck, failing to process updates concurrently for vertices with the same core number. This paper introduces a distributed approach built on the h-index property of core numbers. By utilizing asynchronous updates and optimized initialization bounds, the proposed method achieves significant performance gains, outperforming state-of-the-art distributed maintenance by two orders of magnitude.
1. Introduction
The $k$-core of a graph $G$ is defined as the maximal subgraph where every vertex has a degree of at least $k$ within that subgraph. The core number of a vertex $v$, denoted as $C_G(v)$, is the largest $k$ such that $v$ belongs to a $k$-core. In dynamic environments where edges are frequently added or removed, recomputing core numbers from scratch is inefficient. Distributed maintenance algorithms aim to update only the affected portions of the graph. However, current methods like DBCA are limited by sequential dependencies, particularly when multiple vertices share the same core number.
2. Distributed H-Index Framework
The core of our approach is the observation that the core number of a vertex is the h-index of the core numbers of its neighbors. We define the h-index of a set of values as the largest integer $h$ such that at least $h$ values in the set are greater than or equal to $h$.
The framework employs an Async-H-Index Algorithm. Unlike synchronous models that require global barriers, the asynchronous approach allows vertices to update their h-index values as soon as new information from neighbors becomes available. This mitigates the "straggler" problem common in distributed clusters and allows for the simultaneous update of vertices with identical core numbers.
3. Initialization and Convergence
To minimize the number of update rounds, we propose two initialization strategies to establish theoretical upper bounds for core numbers:
- Global Algorithm: Computes a theoretical upper bound for core numbers after batch insertions, ensuring recomputation is limited to potentially affected vertices.
- Pipeline Algorithm: Uses a pipelined Breadth-First Search (BFS) to establish tighter initial bounds, which is particularly effective for structurally connected edge batches.
As shown in the table above, the h-index values quickly converge to their final core numbers within a few rounds. By starting with smart initial bounds, the system reduces the communication overhead required for convergence.
4. Experimental Results
The algorithms were implemented on the Gemini high-performance distributed graph processing framework and tested against 12 large-scale real-world datasets, including Friendster (FRI) and Orkut (OK).
- Performance: The proposed method is over 100x faster than the state-of-the-art DBCA algorithm for both insertions and deletions.
- Efficiency: Compared to full core decomposition (recomputing the entire graph), the maintenance approach is 2x faster for insertions and 8x faster for deletions.
- Scalability: The system demonstrates near-linear scalability; as the number of processors increases, execution time decreases consistently across diverse graph topologies.
5. Conclusion
By leveraging the h-index property in an asynchronous distributed setting, we have addressed the parallelism bottleneck in $k$-core maintenance. This approach provides a robust solution for high-velocity data streams in massive networks. Future work will explore extending these techniques to hypergraphs and further optimizing initial bound calculations to reduce traversal overhead.
Summary updated