English

Fast computation of distance-generalized cores using sampling

Data Structures and Algorithms 2023-01-31 v2

Abstract

Core decomposition is a classic technique for discovering densely connected regions in a graph with large range of applications. Formally, a kk-core is a maximal subgraph where each vertex has at least kk neighbors. A natural extension of a kk-core is a (k,h)(k, h)-core, where each node must have at least kk nodes that can be reached with a path of length hh. The downside in using (k,h)(k, h)-core decomposition is the significant increase in the computational complexity: whereas the standard core decomposition can be done in O(m)O(m) time, the generalization can require O(n2m)O(n^2m) time, where nn and mm are the number of nodes and edges in the given graph. In this paper we propose a randomized algorithm that produces an ϵ\epsilon-approximation of (k,h)(k, h) core decomposition with a probability of 1δ1 - \delta in O(ϵ2hm(log2nlogδ))O(\epsilon^{-2} hm (\log^2 n - \log \delta)) time. The approximation is based on sampling the neighborhoods of nodes, and we use Chernoff bound to prove the approximation guarantee. We also study distance-generalized dense subgraphs, show that the problem is NP-hard, provide an algorithm for discovering such graphs with approximate core decompositions, and provide theoretical guarantees for the quality of the discovered subgraphs. We demonstrate empirically that approximating the decomposition complements the exact computation: computing the approximation is significantly faster than computing the exact solution for the networks where computing the exact solution is slow

Keywords

Cite

@article{arxiv.2112.06154,
  title  = {Fast computation of distance-generalized cores using sampling},
  author = {Nikolaj Tatti},
  journal= {arXiv preprint arXiv:2112.06154},
  year   = {2023}
}

Comments

Extended version

R2 v1 2026-06-24T08:13:44.989Z