Partition Space Maps for Community Detection: Visualizing Algorithmic Behaviour and Guiding Search
arXiv: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~ 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~ to produce a two-dimensional projection: the Partition Space Map~(PSM). Within the plane, only a discrete set of integer values of~ is attainable, and upper and lower bounds on~ are derived directly from the deviation matrix. These tools are demonstrated through complete enumeration of~ 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.