SISTAT-MECHLGApr 15, 2025

Robust Markov stability for community detection at a scale learned based on the structure

arXiv:2504.11621v11 citationsh-index: 17Has CodeProc. ACM Hum. Comput. Interact.
Originality Incremental advance
AI Analysis

This work addresses the need for hyperparameter-free community detection in graph analysis, offering an incremental improvement by automating scale selection without user input.

The paper tackles the problem of selecting a single robust partition at a suitable scale in multi-scale community detection, proposing a method that combines Markov stability with a pre-trained machine learning model for automatic scale selection, resulting in PyGenStabilityOne (PO), which outperforms 25 out of 29 algorithms by statistically meaningful margins.

Community detection, the unsupervised task of clustering nodes of a graph, finds applications across various fields. The common approaches for community detection involve optimizing an objective function to partition the nodes into communities at a single scale of granularity. However, the single-scale approaches often fall short of producing partitions that are robust and at a suitable scale. The existing algorithm, PyGenStability, returns multiple robust partitions for a network by optimizing the multi-scale Markov stability function. However, in cases where the suitable scale is not known or assumed by the user, there is no principled method to select a single robust partition at a suitable scale from the multiple partitions that PyGenStability produces. Our proposed method combines the Markov stability framework with a pre-trained machine learning model for scale selection to obtain one robust partition at a scale that is learned based on the graph structure. This automatic scale selection involves using a gradient boosting model pre-trained on hand-crafted and embedding-based network features from a labeled dataset of 10k benchmark networks. This model was trained to predicts the scale value that maximizes the similarity of the output partition to the planted partition of the benchmark network. Combining our scale selection algorithm with the PyGenStability algorithm results in PyGenStabilityOne (PO): a hyperparameter-free multi-scale community detection algorithm that returns one robust partition at a suitable scale without the need for any assumptions, input, or tweaking from the user. We compare the performance of PO against 29 algorithms and show that it outperforms 25 other algorithms by statistically meaningful margins. Our results facilitate choosing between community detection algorithms, among which PO stands out as the accurate, robust, and hyperparameter-free method.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes