Convexified Modularity Maximization for Degree-corrected Stochastic Block Models

Yudong Chen, Xiaodong Li, Jiaming Xu

TL;DR

This paper introduces Convexified Modularity Maximization (CMM), a computationally efficient algorithm for finding communities in networks where node degrees vary significantly (e.g., networks with "hubs"). By relaxing a traditionally NP-hard optimization problem into a convex one and applying a novel weighted refinement step, the authors provide strong theoretical guarantees and state-of-the-art performance on real-world social networks.

What Problem Does This Paper Address?

Community detection—grouping nodes that are more densely connected to each other than to the rest of the network—is a cornerstone of network science. The standard mathematical framework for this is the Stochastic Block Model (SBM). However, SBM has a major flaw: it assumes every node in a community has roughly the same number of connections.

Real-world networks are rarely that tidy. They often feature "hubs" (nodes with massive numbers of connections) and "loners" (nodes with very few). To account for this, researchers use the Degree-Corrected SBM (DCSBM). While DCSBM is more realistic, finding the best community partition under this model is a combinatorial nightmare (NP-hard). Existing "spectral" methods are fast but often struggle with sparse graphs or extreme degree variations. This paper seeks a method that is both mathematically rigorous (provably accurate) and computationally feasible.

Methods

The authors propose a two-stage approach called CMM:

  1. Convex Relaxation: They start with "modularity maximization," a popular but hard-to-solve criteria for community quality. They transform the discrete, combinatorial constraints into a Semidefinite Program (SDP). This "convexifies" the problem, allowing it to be solved efficiently using the ADMM (Alternating Direction Method of Multipliers) algorithm.
  2. Weighted Refinement: The output of the SDP is a "fuzzy" matrix, not a clean list of communities. To extract the final clusters, the authors developed a doubly-weighted $\ell_1$-norm $k$-median procedure.
  3. What’s new: Unlike standard clustering (like k-means), this refinement weights nodes based on their degrees. High-degree nodes are treated as more "informative" features, while the final clustering objective is also weighted to ensure that the errors are balanced across the degree spectrum.

Datasets

The authors evaluated CMM against state-of-the-art spectral methods (SCORE and OCCAM) using:

  • Synthetic Networks: Graphs generated via DCSBM where node degrees follow a Pareto distribution (simulating heavy-tailed real-world degrees).
  • US Political Blog Network: A classic benchmark of 1,222 blogs from the 2004 election, labeled as liberal or conservative. This network is known for high degree variation (max degree 351, mean 27).
  • Facebook "Hundred Schools" Dataset: Specifically the friendship networks of Simmons College and Caltech. These include metadata like graduation year and dorm residency, which serve as ground-truth community labels.

Key Insights and Ideas

  • The "Average" Density Gap: Traditional proofs for community detection often require every node to have enough connections to be correctly placed. This paper introduces a "degree-corrected density gap condition." It shows that as long as the average connectivity of a cluster is high enough, the algorithm can succeed even if some individual nodes are very sparsely connected.
  • Robustness to Sparsity: The theoretical guarantees hold even in the "sparse regime," where the average number of connections per node doesn't grow with the size of the network.
  • The Power of Weighting: The "aha moment" in their refinement step is realizing that in a degree-corrected model, a connection from a hub is statistically different from a connection from a low-degree node. By incorporating these weights into the $k$-median step, they prevent hubs from "washing out" the signal of smaller nodes.

Key Results

  • Superior Accuracy on Social Data: On the Simmons College Facebook network, CMM achieved a misclassification rate of 12.04%, significantly outperforming SCORE (23.57%) and OCCAM (22.43%).
  • Caltech Network: CMM misclassified 21.02% of nodes, while the competitors hovered around 31-32%.
  • Political Blogs: CMM achieved an error rate of 62 nodes out of 1,222, which is competitive with the best-known results in the literature (SCORE at 58).
  • Theoretical Tightness: In the special case where all degrees are equal (standard SBM), CMM’s performance matches the best-known theoretical limits for any polynomial-time algorithm.

Limitations and Future Work

  • Overlapping Communities: The current model assumes each node belongs to exactly one community. In reality, a person might belong to a "work" community and a "hobby" community simultaneously. The authors suggest extending CMM to the Overlapping Continuous Community Assignment Model (OCCAM) as a next step.
  • Computational Scaling: While SDPs are polynomial-time, they can still be heavy for networks with millions of nodes. Further optimization of the ADMM solver or approximation methods for the SDP could improve scalability.
  • Optimal Rates: The authors note that a general theory for the absolute optimal misclassification rates under DCSBM is still an open area of research.

Summary updated

BibTeX
@misc{chen2015convexified,
  author = {Yudong Chen and Xiaodong Li and Jiaming Xu},
  title = {{Convexified Modularity Maximization for Degree-corrected Stochastic Block Models}},
  year = {2015},
  eprint = {1512.08425},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1512.08425},
}
Figure