English

Scaling Up Distance-generalized Core Decomposition

Data Structures and Algorithms 2021-10-25 v2

Abstract

Core decomposition is a fundamental operator in network analysis. In this paper, we study the problem of computing distance-generalized core decomposition on a network. A distance-generalized core, also termed (k,h)(k, h)-core, is a maximal subgraph in which every vertex has at least kk other vertices at distance no larger than hh. The state-of-the-art algorithm for solving this problem is based on a peeling technique which iteratively removes the vertex (denoted by vv) from the graph that has the smallest hh-degree. The hh-degree of a vertex vv denotes the number of other vertices that are reachable from vv within hh hops. Such a peeling algorithm, however, needs to frequently recompute the hh-degrees of vv's neighbors after deleting vv, which is typically very costly for a large hh. To overcome this limitation, we propose an efficient peeling algorithm based on a novel hh-degree updating technique. Instead of recomputing the hh-degrees, our algorithm can dynamically maintain the hh-degrees for all vertices via exploring a very small subgraph, after peeling a vertex. We show that such an hh-degree updating procedure can be efficiently implemented by an elegant bitmap technique. In addition, we also propose a sampling-based algorithm and a parallelization technique to further improve the efficiency. Finally, we conduct extensive experiments on 12 real-world graphs to evaluate our algorithms. The results show that, when h3h\ge 3, our exact and sampling-based algorithms can achieve up to 10×10\times and 100×100\times speedup over the state-of-the-art algorithm, respectively.

Keywords

Cite

@article{arxiv.2006.03372,
  title  = {Scaling Up Distance-generalized Core Decomposition},
  author = {Qiangqiang Dai and Rong-Hua Li and Lu Qin and Guoren Wang and Weihua Yang and Zhiwei Zhang and Ye Yuan},
  journal= {arXiv preprint arXiv:2006.03372},
  year   = {2021}
}
R2 v1 2026-06-23T16:05:08.986Z