[Paper Review] Accelerating Community Detection by Using K-core Subgraphs
This paper proposes a K-core-based framework to accelerate community detection by applying expensive algorithms only on the K-core subgraph, then using a fast heuristic to label remaining nodes. Experiments show up to 90% runtime reduction with preserved solution quality across multiple real-world graphs and evaluation metrics.
Community detection is expensive, and the cost generally depends at least linearly on the number of vertices in the graph. We propose working with a reduced graph that has many fewer nodes but nonetheless captures key community structure. The K-core of a graph is the largest subgraph within which each node has at least K connections. We propose a framework that accelerates community detection by applying an expensive algorithm (modularity optimization, the Louvain method, spectral clustering, etc.) to the K-core and then using an inexpensive heuristic (such as local modularity maximization) to infer community labels for the remaining nodes. Our experiments demonstrate that the proposed framework can reduce the running time by more than 80% while preserving the quality of the solutions. Recent theoretical investigations provide support for using the K-core as a reduced representation.
Motivation & Objective
- Address the high computational cost of community detection algorithms that scale linearly or worse with graph size.
- Reduce runtime without sacrificing solution quality by focusing computation on a smaller, structurally representative subgraph.
- Preserve community structure in reduced graphs by leveraging the K-core, which maintains dense internal connections.
- Develop a scalable framework compatible with existing community detection methods and performance-optimized implementations.
- Provide theoretical justification for using K-core as a reduced representation of community structure in networks.
Proposed method
- Identify the K-core of the input graph by recursively removing nodes with degree less than K until all remaining nodes have degree ≥ K.
- Apply an expensive community detection algorithm (e.g., modularity optimization, Louvain, spectral clustering) only on the K-core subgraph.
- Use a fast heuristic (e.g., local modularity maximization) to assign community labels to nodes outside the K-core based on their connections to the K-core.
- Optimize the full graph by refining community assignments using the K-core results and the fast labeling heuristic.
- Leverage theoretical results showing that modularity is preserved in the K-core under uniform degree and correlation assumptions.
- Select an optimal K value using theoretical insights about community structure preservation and robustness to node removal.
Experimental results
Research questions
- RQ1Can the K-core subgraph preserve the essential community structure of a network while significantly reducing its size?
- RQ2To what extent can community detection algorithms be accelerated by restricting computation to the K-core without degrading solution quality?
- RQ3How does the choice of K affect the trade-off between runtime reduction and preservation of community structure?
- RQ4What theoretical conditions ensure that community detection on the K-core yields the same result as on the full graph?
- RQ5Can a hybrid framework combining K-core computation with fast labeling heuristics achieve both high efficiency and high accuracy?
Key findings
- The proposed framework reduces runtime by over 80% on average, with some cases achieving up to 90% reduction, while maintaining or improving solution quality.
- On the ego-Facebook network, running modularity optimization on the K=40 core reduced runtime to under 20% of the baseline (876 seconds → ~170 seconds), with 20% of nodes and 50% of edges remaining.
- Modularity values for K-core solutions were always at least as high as those from full-graph detection, demonstrating quality preservation.
- Theoretical analysis proves that if the ground-truth community structure maximizes modularity on the full graph, it also maximizes modularity on the K-core under uniform degree and correlation assumptions.
- The framework preserves performance across multiple metrics: modularity, normalized cut, and NMI, across diverse real-world networks.
- The K-core approach is compatible with existing optimizations such as multi-threading and node attribute integration, enabling further scalability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.