ComNetX framework speeds up community detection 41.9x with local updates
Local Leiden keeps quality within 0.006 while running 41.9x faster on large graphs
In a new arXiv paper (2608.16906), researchers from the Russian Academy of Sciences present ComNetX, a hierarchical adaptation framework that brings local, solver-agnostic updates to dynamic community detection. Traditional approaches either recompute the full graph snapshot, which wastes resources on unchanged regions, or rely on solver-specific dynamic procedures that don't transfer across different objectives or feature representations. ComNetX solves this by maintaining a multi-level community state, expanding the updated region, closing it over affected communities, and contracting these communities into compact local instances. This preserves the context needed by high-quality solvers while restricting computation to the changed portion of the graph.
The framework wraps modularity heuristics, graph-clustering models with node features, and native dynamic solvers as interchangeable backends. In a multi-backend evaluation spanning six real networks plus stochastic block model stress tests, ComNetX demonstrated that quality does not need to be sacrificed for speed. On the largest real graph, the Local Leiden backend maintained final modularity within 0.006 of full-snapshot recomputation while achieving a 41.9±0.2x speedup. The results also identify precise regimes where local adaptation breaks down, indicating when a full refresh is the better choice.
ComNetX's key innovation is its affected-community closure and contraction strategy, which retains solver semantics while limiting computation to the changed area. Because it is backend-agnostic, organizations can plug in existing community detection algorithms without rewriting custom dynamic update rules. This makes ComNetX a practical drop-in solution for production systems that analyze evolving social networks, biological interaction graphs, or financial transaction streams where continuous updates matter.
- ComNetX is solver-agnostic, wrapping modularity heuristics, feature-based graph-clustering models, and native dynamic solvers as local backends.
- Achieves 41.9±0.2x speedup on the largest real graph with Local Leiden, keeping modularity within 0.006 of full recomputation.
- Identifies failure regimes where locality breaks down, signaling when full-snapshot refresh is preferable.
Why It Matters
Enables near-real-time community detection on large evolving networks, replacing costly full recomputation with a fast, quality-preserving local approach.