Abstract
Graph clustering is a fundamental task in data science, yet traditional worst-case analysis presents significant computational hurdles. While heuristics are widely used, theoretical guarantees often rely on slow semidefinite programming (SDP) routines. This paper presents the first near-linear time algorithm for graph clustering within semi-random models. By integrating a novel probabilistic oracle with fast vertex-removal techniques into the Matrix Multiplicative Weights (MMW) framework, the proposed algorithm achieves a constant-factor approximation for the Balanced Cut problem in $O(|V|^{1+o(1)} + |E|^{1+o(1)})$ time, bridging the gap between theoretical robustness and large-scale practical efficiency.
Introduction
Graph clustering—the process of partitioning a network into communities characterized by dense internal connectivity and sparse external edges—is essential for understanding complex systems. However, the theoretical landscape for this problem is challenging. Finding an optimal Balanced Cut is NP-hard, and under the Unique Games Conjecture, even constant-factor approximations are considered impossible in the worst case.
To circumvent these limitations, researchers have turned to "beyond-worst-case" analysis, specifically focusing on the semi-random graph model. This model provides a more realistic middle ground between overly simplistic random graphs and intractable worst-case scenarios. Despite the theoretical appeal of semi-random models, previous robust algorithms typically required solving massive SDPs, resulting in runtimes of $\Omega(n^3)$ or higher. This work addresses the critical question: Can we maintain robust guarantees for graph clustering while achieving near-linear runtime?
The Semi-Random Model
In the semi-random model, the graph is initially generated as a random bipartite graph. Subsequently, an adversary is permitted to make "monotone" changes: they may add any number of edges within a community or remove edges across the cut. This adversarial component makes the model significantly more robust than pure stochastic block models, as the algorithm cannot rely solely on simple statistical properties that an adversary might disrupt. The challenge lies in identifying the underlying cluster despite these adversarial modifications.
Methodology
The core of the proposed approach is the Matrix Multiplicative Weights (MMW) framework, a meta-algorithm used to solve SDPs approximately. The efficiency of MMW depends heavily on the performance of its "Oracle"—the component that provides feedback to iteratively improve the solution. This paper introduces several technical innovations to optimize this process:
1. Fast Heavy Vertex Removal
Traditional methods identify "heavy" or densely packed vertices using global optimization, which is computationally expensive. The authors introduce a subsampling technique that identifies these vertices in $O(\tilde{n})$ time. This step is crucial for isolating clusters that might otherwise obscure the global structure from the algorithm.
2. Geometric Expansion and Robustness
The algorithm exploits a structural property known as "geometric expansion." In random-like cuts, most edges in a feasible embedding cannot be excessively short. The authors demonstrate that this property remains robust even under monotone adversarial perturbations, providing a stable signal for the clustering algorithm to follow.
3. Probabilistic Small-Width Oracle
To avoid the cost of full SDP solvers, the authors designed a new probabilistic oracle. This oracle either identifies a high-quality cut or produces a "feedback matrix" of small width. By ensuring the oracle operates efficiently, the MMW framework can converge to a solution in near-linear time without sacrificing the $O(1)$-approximation factor.
Key Results
The primary contribution of this work is an algorithm that achieves an $O(1)$-approximation for the Balanced Cut problem in the semi-random model with a runtime of $O(|V|^{1+o(1)} + |E|^{1+o(1)})$. This represents a significant leap in scalability, making theoretically grounded clustering viable for graphs with millions of nodes.
Furthermore, the authors extend these techniques to Hierarchical Clustering. They provide the first near-linear time $O(1)$-approximation for Dasgupta’s objective function within the semi-random Hierarchical Stochastic Block Model (HSM). This result improves upon previous polynomial-time state-of-the-art methods and demonstrates the versatility of the fast oracle approach.
Discussion and Future Work
While the algorithm achieves near-linear time, it currently requires the random cut to be slightly denser than what is required by slower, SDP-based predecessors. Closing this density gap remains an open theoretical challenge. Additionally, future research may explore whether these techniques can be applied to the more general "Permutationally Invariant" (PIE) model.
From a practical standpoint, while the theoretical complexity is near-linear, the constants associated with the MMW framework and the $o(1)$ terms in the exponent can be significant. Empirical studies are needed to evaluate how this algorithm compares to standard spectral heuristics on real-world benchmarks and to determine the extent of tuning required for production environments.
Summary updated