Searcharxiv⌕ Search

arXiv · 2610.04668

Exact computation of the network modularity with branch-and-bound

Abstract

We consider the computation of the network modularity, a common measure of the structure of networks or graphs that quantifies the division of a network into modules or clusters. The computation of the network modularity is an NP-hard problem, thus making its exact computation often infeasible in practice. This has resulted in the development of several heuristics in the literature. In this work, we consider the exact computation of the network modularity with the help of a branch-and-bound algorithm. Our algorithm is guaranteed to find the optimal clustering that maximizes the network modularity, however it achieves this without a full exploration of the search space. This is accomplished by bounding partial solutions and discarding them if it can be foreseen that a partial solution will not yield an improvement over an existing solution. We assess our algorithm with respect to accuracy and runtime and compare it to a brute-force approach as well as two state-of-the-art benchmarks, simulated annealing and the Louvain method.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Emily Weng, Georg Hahn. 2026-10-03. Exact computation of the network modularity with branch-and-bound. https://arxiv.org/abs/2610.04668

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

A local eigenvector centrality

Eigenvector centrality is an established measure of global connectivity, from which the importance and influence of nodes can be inferred. We introduce local eigenvector centrality (LEC), a scale-adaptive extension that integrates local and global connectivity into a single centrality measure. LEC identifies a topologically relevant mesoscopic scale for community-level centrality assessment, informed by prominent eigengaps, and combines information from the associated eigenvectors, via the Euclidean norm, to yield a centrality that reflects community-driven node influence. Networks with known community structures are employed to demonstrate that LEC closely reproduces eigenvector centrality for each community in isolation. Discrepancies between these measures are shown to be attributable to the global connectivity of affected nodes. LEC therefore provides a principled integration of community-level and global notions of node importance. Comparisons with PageRank and Katz centrality demonstrate that damping-based approaches do not recover community-scale centrality as effectively as LEC.

cs.SI↗

Recommender system in X inadvertently profiles ideological positions of users

Several data protection laws restrict processing that reveals political opinions, irrespective of the controller's intent. Whether recommender systems do so as a by-product of optimizing relevance has not been measured. From 2.5 million ``Who to Follow'' recommendations shown to 682 volunteers in France, we reconstructed an approximation of the embedding used by X's recommender for 26,509 accounts, computing survey-calibrated ideology scores. One direction in this embedding orders users by Left-Right position (Pearson rho = 0.887), distinct from directions tracking age, gender or popularity. We show this scale exists and affects the recommendations computed from the embedding. Removing it diversified recommendations at a limited cost in accuracy. We document a consequential form of emergent political representation that current definitions of profiling do not clearly address.

cs.SI↗

Scalable detection of higher-order interactions in network data

Complex systems are routinely measured and represented through pairwise networks, even when the underlying interactions involve more than two units at once. Recovering this latent hypergraph structure from pairwise measurements is a fundamental inverse problem, but as the space of candidate hyperedges grows exponentially with system size, scalable hypergraph reconstruction at arbitrary interaction orders is out of reach for existing methods. Here we cast hypergraph reconstruction as a local signal-to-noise discrimination problem and use this locality to build a fast algorithm that reconstructs hypergraphs up to any interaction order. Across diverse synthetic and real-world systems our method achieves a high recovery accuracy of latent hypergraph structure while reconstructing hypergraphs up to orders of magnitude more quickly than current approaches. Our approach also yields an information-theoretic detectability boundary that sharply predicts which latent hyperedges are recoverable from pairwise measurements.

cs.SI↗