Skip to content

Partition Space Maps for Community Detection: Visualizing Algorithmic Behaviour and Guiding Search

Fabio Morea

cs.SIarXiv:2609.36977

Abstract

Community-detection methods search over possible partitions of a network, but the structure of this partition space is rarely examined directly. This paper introduces two complementary tools that make~P analytically and visually accessible. First, a canonical labelling scheme based on the Restricted Growth Sequence~(RGS) is adopted, assigning each partition a unique, permutation-invariant identifier and eliminating the need for pairwise similarity measures such as the Normalized Mutual Information. Second, granularity~Γ is defined and combined with modularity~Q to produce a two-dimensional projection: the Partition Space Map~(PSM). Within the (Γ,Q) plane, only a discrete set of integer values of~Γ is attainable, and upper and lower bounds on~Q are derived directly from the deviation matrix. These tools are demonstrated through complete enumeration of~P for small benchmark graphs, revealing the fine structure of modularity degeneracy and the combinatorial constraints that shape the feasible region. The framework provides an exact, assumption-free reference for evaluating heuristic community detection algorithms and lays the groundwork for geometry-aware exploration of partition space in larger networks.

Create a lesson