TL;DR
This paper definitively settles the theoretical limits of modularity maximization—the most popular method for finding communities in networks. The authors prove that finding even a rough multiplicative approximation is NP-hard, but they offer a silver lining: the first-ever algorithm with a provable additive approximation guarantee. Crucially, they also demonstrate that a "near-optimal" modularity score doesn't necessarily mean you've found a community structure similar to the true optimum.
What Problem Does This Paper Address?
In network science, "community structure" (CS) refers to groups of nodes that are more densely connected to each other than to the rest of the network. To find these groups, researchers typically maximize a quality metric called Newman’s Modularity ($Q$).
While maximizing modularity is a known NP-hard problem, the "approximability" of it remained a mystery. In other words: if we can't find the perfect maximum, can we at least get within 90% or 50% of it efficiently? Furthermore, there is a common assumption that if you find a partition with a modularity score very close to the maximum, that partition must be structurally similar to the optimal one. This paper investigates whether these assumptions hold up under mathematical scrutiny.
Methods
The authors approach the problem from three angles:
- Complexity Theory: They use "gap-producing reductions" from classic hard problems (PARTITION and Max-Cut). By mapping these problems onto network modularity, they prove that determining if a graph has a positive modularity score is itself NP-hard.
- Algorithm Design (SDPM): They propose a new algorithm, SDP to Maximize Modularity (SDPM). It works by:
- Formulating modularity as a vector programming problem.
- Relaxing it into a Semidefinite Program (SDP).
- Using a rounding technique (random hyperplanes) to turn the continuous SDP solution back into discrete clusters.
- Structural Analysis: They develop two mathematical transformations ($\alpha$ and $\tau, k$) to "engineer" graphs where they can precisely control modularity values. This allows them to prove that two partitions can have nearly identical modularity scores while being 100% different in their node assignments.
Datasets
The authors evaluated their SDPM algorithm against standard benchmarks and custom "hard" instances:
- Real-world Networks: Zachary’s Karate Club, Dolphin social network, Les Misérables co-appearance, US Politics books, American College Football, and an Electronic Circuit (s838).
- Hard Instances: The authors introduced a new way to generate challenging benchmarks by reducing Max-Cut instances into modularity clustering problems. These are specifically designed to trip up standard heuristics.
Key Insights and Ideas
- The Multiplicative Dead End: The paper proves that a multiplicative approximation (finding a solution $\ge \rho Q_{OPT}$ for any $\rho > 0$) is impossible unless P=NP. This is because modularity can be zero or negative; if the true optimum is a tiny positive number, finding any positive value at all is as hard as finding the optimum.
- Additive is the Way Forward: Since multiplicative bounds fail, the authors shift to additive bounds ($Q_{OPT} - \epsilon$). They prove their SDPM algorithm achieves a modularity of at least $Q_{OPT} - 0.468$.
- The "Near-Optimal" Trap: Perhaps the most surprising insight is that modularity is a "poor indicator" of structural significance. You could find a partition that is 99% as good as the optimum in terms of the $Q$ score, yet it might look nothing like the optimal community structure. This warns practitioners that a high $Q$ score alone isn't proof that they've found the "right" communities.
Key Results
- Theoretical Intractability: Proved that modularity clustering is inapproximable within any constant multiplicative factor for both weighted and unweighted graphs.
- Algorithm Performance: The SDPM algorithm provides a guaranteed additive approximation of $Q(C) \ge Q_{OPT} - 2(1 - \kappa)$ where $\kappa \approx 0.766$.
- Empirical Success: In head-to-head tests on "hard" instances, SDPM had a much higher success rate in finding positive modularity partitions compared to popular heuristics like the Louvain method or Eigenvector-based (EIG) methods. On small real-world datasets, it consistently matched the known optimal values.
Limitations and Future Work
The primary limitation is computational complexity. While SDPM provides theoretical guarantees, solving Semidefinite Programs is resource-intensive. The authors noted that the algorithm ran out of memory on a network with just 512 nodes.
Future work involves finding more efficient ways to implement these additive approximations for large-scale social networks. The authors also conjecture that even additive approximation might have its own "hardness" limits (e.g., it might be NP-hard to get closer than a certain constant $c$ to the optimum), which remains an open theoretical question.
Summary updated