Clustering Without an Eigengap

Matthew Zurek, Yudong Chen · OpenReview

Abstract

We study graph clustering in the Stochastic Block Model (SBM) in the presence of both large clusters and small, unrecoverable clusters. Previous approaches achieving exact recovery do not allow any small clusters of size $o(\sqrt{n})$, or require a size gap between the smallest recovered cluster and the largest non-recovered cluster. We provide an algorithm based on semidefinite programming (SDP) which removes these requirements and provably recovers large clusters regardless of the remaining cluster sizes. Mid-sized clusters pose unique challenges to the analysis, since their proximity to the recovery threshold makes them highly sensitive to small noise perturbations and precludes a closed-form candidate solution. We develop novel techniques, including a leave-one-out-style argument which controls the correlation between SDP solutions and noise vectors even when the removal of one row of noise can drastically change the SDP solution. We also develop improved eigenvalue perturbation bounds of potential independent interest. Using our gap-free clustering procedure, we obtain efficient algorithms for the problem of clustering with a faulty oracle with superior query complexities, notably achieving $o(n^2)$ sample complexity even in the presence of a large number of small clusters. Our gap-free clustering procedure also leads to improved algorithms for recursive clustering. Our results extend to certain heterogeneous probability settings that are challenging for alternative algorithms.

Introduction

Graph clustering—the task of grouping nodes in a network based on their connectivity patterns—is a fundamental problem in data science, typically modeled using the Stochastic Block Model (SBM). In a standard SBM, nodes belong to "planted" clusters with higher internal connection probabilities ($p$) than external ones ($q$). The objective is often "exact recovery," where the ground-truth clusters are identified perfectly.

However, traditional methods, particularly those based on convex optimization like Semidefinite Programming (SDP), face two significant theoretical hurdles. First, they often require all clusters to be "large" (typically $\Omega(\sqrt{n})$). Second, they frequently impose a "gap requirement": a substantial size difference must exist between the clusters intended for recovery and those considered "noise." In real-world networks, which often feature a few massive communities alongside a "long tail" of tiny ones, these requirements are rarely met. This paper presents a "gap-free" clustering approach that reliably extracts large clusters regardless of the distribution of smaller ones.

Methodology: Trace-Regularized SDP

The core of the proposed approach is a trace-regularized Semidefinite Program (SDP). The algorithm maximizes the fit to the observed graph edges while penalizing the trace (the sum of diagonal elements) of the solution matrix.

While the trace penalty is often omitted in clustering literature, this work demonstrates its critical role as a signal filter. By adjusting the regularization parameter $\lambda$, the SDP is forced to "invest" only in clusters where the connectivity signal is strong enough to overcome the penalty. This effectively allows the algorithm to focus on recoverable large clusters while ignoring the noise generated by numerous tiny, unrecoverable ones.

SDP recovery performance: (a) Ground truth $Y^*$, (b) recovery $\hat{Y}$ with sufficient regularization $\lambda$, and (c) failure with small $\lambda$. Note how sufficient regularization allows the recovery of large clusters while zeroing out small ones.

Theoretical Insights: Stability and Robustness

Proving the efficacy of this "gap-free" recovery required overcoming significant analytical challenges, particularly regarding "mid-sized" clusters. These clusters sit near the recovery threshold and are mathematically unstable; minor noise perturbations can drastically alter the SDP's output for them.

To address this, the authors developed several novel techniques:

  1. Modified Leave-One-Out (LOO) Argument: This controls the correlation between SDP solutions and noise vectors, ensuring stability even when removing a single row of noise might otherwise shift the solution.
  2. Improved Eigenvalue Perturbation Bounds: The authors provide tighter bounds than previous state-of-the-art results (e.g., Eldridge et al., 2018), which are of independent mathematical interest.
  3. Semirandom Robustness: Unlike spectral methods that can be fragile, the SDP approach is shown to be robust against "semirandom" adversarial changes, such as deleting edges between different clusters or adding edges within large ones.

Results and Applications

The primary theoretical result (Theorem 2) establishes that the SDP solution is block-diagonal, perfectly recovering all clusters above a specific signal-to-noise threshold while returning zeros for those below it—without requiring any size gap between them.

This gap-free guarantee has immediate practical implications for complex clustering scenarios:

  • Faulty Oracle Model: In settings where an algorithm can query node pairs but receives noisy answers, the proposed method achieves superior query complexity. Notably, it reaches $o(n^2)$ complexity even when many small clusters are present, outperforming previous benchmarks from Mazumdar and Saha (2017) and others.
  • Recursive Clustering: The ability to ignore small clusters allows for more effective recursive algorithms. One can identify and remove large clusters, then lower the detection threshold to find progressively smaller ones.
Comparison of query complexity and recovery thresholds for the faulty oracle model. The proposed methods (Thm. 8 and Thm. 6) show improved thresholds and competitive complexities compared to existing literature.

Conclusion and Future Directions

This work demonstrates that the "gap" requirement in previous clustering literature was a limitation of analysis rather than the algorithm itself. By leveraging trace regularization, SDPs can achieve robust, gap-free recovery in unbalanced networks.

Future research directions include developing methods for automatic parameter tuning of $\lambda$ without prior knowledge of cluster sizes and improving the computational efficiency of SDPs to handle massive, real-world graphs. The authors also suggest that "instance-dependent" algorithms, which adapt to specific graph structures, represent a promising frontier for further study.

Summary updated

Abstract

We study graph clustering in the Stochastic Block Model (SBM) in the presence of both large clusters and small, unrecoverable clusters. Previous approaches achieving exact recovery do not allow any small clusters of size $o(\sqrt{n})$, or require a size gap between the smallest recovered cluster and the largest non-recovered cluster. We provide an algorithm based on semidefinite programming (SDP) which removes these requirements and provably recovers large clusters regardless of the remaining cluster sizes. Mid-sized clusters pose unique challenges to the analysis, since their proximity to the recovery threshold makes them highly sensitive to small noise perturbations and precludes a closed-form candidate solution. We develop novel techniques, including a leave-one-out-style argument which controls the correlation between SDP solutions and noise vectors even when the removal of one row of noise can drastically change the SDP solution. We also develop improved eigenvalue perturbation bounds of potential independent interest. Using our gap-free clustering procedure, we obtain efficient algorithms for the problem of clustering with a faulty oracle with superior query complexities, notably achieving $o(n^2)$ sample complexity even in the presence of a large number of small clusters. Our gap-free clustering procedure also leads to improved algorithms for recursive clustering. Our results extend to certain heterogeneous probability settings that are challenging for alternative algorithms.
BibTeX
@inproceedings{zurek2024clustering,
  author = {Matthew Zurek and Yudong Chen},
  title = {{Clustering Without an Eigengap}},
  booktitle = {Conference on Learning Theory},
  year = {2024},
  url = {https://openreview.net/forum?id=gwzlp6nGgQ},
}
Figure