Novel Algorithms for Efficient Mining of Connected Induced Subgraphs of a Given Cardinality

Shanshan Wang, Chenglong Xiao
12/14/2021
4 citations
cs.DScs.DM

Official code: miningsubgraphs/algorithms (3 stars, Java, last commit 2024-08-27). 1 more implementation below.

Abstract

Mining subgraphs with interesting structural properties from networks (or graphs) is a computationally challenging task. In this paper, we propose two algorithms for enumerating all connected induced subgraphs of a given cardinality from networks (or connected undirected graphs in networks).

Show full abstract

The first algorithm is a variant of a previous well-known algorithm. The algorithm enumerates all connected induced subgraphs of cardinality $k$ in a bottom-up manner. The data structures that lead to unit time element checking and linear space are presented. Different from previous algorithms that either work in a bottom-up manner or a reverse search manner, an algorithm that enumerates all connected induced subgraphs of cardinality $k$ in a top-down manner is proposed. The correctness and complexity of the top-down algorithm are theoretically analyzed and proven. In the experiments, we evaluate the efficiency of the algorithms using a set of real-world networks from various fields. Experimental results show that the variant bottom-up algorithm outperforms the state-of-the-art algorithms for enumerating connected induced subgraphs of small cardinality, and the top-down algorithm can achieve an order of magnitude speedup over the state-of-the-art algorithms for enumerating connected induced subgraphs of large cardinality.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
miningsubgraphs/algorithmsOfficial3Java–2024-08-27
miningsubgraphs/subgraphenumerationOfficial2Java–2024-12-16
30JavaSep 28, 20222 years ago
20JavaNov 30, 20211 years ago

Similar Papers

Cite this paper

@article{wang2021novel,
  title  = {Novel Algorithms for Efficient Mining of Connected Induced Subgraphs of a Given Cardinality},
  author = {Shanshan Wang and Chenglong Xiao},
  year   = {2021},
  eprint = {2112.07197},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.07197}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.07197.svg)](https://codeofpaper.com/paper/2112.07197)

Discussion