Abstract
Clustering high-dimensional data presents a fundamental trade-off between the speed of heuristics and the mathematical guarantees of convex relaxations. While Semidefinite Programming (SDP) relaxations, such as the Peng-Wei (P-W) formulation, offer a "tight" solution to the NP-hard K-means problem, their $O(d^7)$ computational complexity renders them impractical for modern datasets. This paper introduces FORCE (First-ORder CErtifiably Optimal Clustering), an algorithm that reduces this complexity to as low as $O(d^4)$ while providing a dual certificate that mathematically guarantees global optimality. By leveraging first-order methods and the inherent structure of clustering problems, FORCE achieves orders-of-magnitude speedups over traditional interior-point solvers.
1. Introduction
Clustering—the process of grouping $d$ variables or data points into $K$ clusters—is a cornerstone of unsupervised learning. Despite its ubiquity, the classic K-means formulation is NP-hard, leading practitioners to rely on heuristics like Lloyd's algorithm, which can converge to local optima. To achieve global optimality, researchers have turned to Semidefinite Programming (SDP) relaxations. The Peng-Wei (P-W) SDP is particularly notable for its tightness; under specific conditions, the solution to the convex SDP is identical to the solution of the original discrete clustering problem.
However, the computational cost of standard SDP solvers is prohibitive. For a problem with $d$ dimensions, these solvers typically scale at $O(d^7)$, making them unusable for high-dimensional applications. This paper presents FORCE, a framework designed to make statistically powerful SDPs computationally practical by combining fast first-order optimization with a certifiable optimality check.
2. The FORCE Framework
FORCE addresses the limitations of traditional solvers through a two-pillar approach: a fast primal solver and a dual certification step.
2.1 The Primal Step: Fast Solving
Instead of employing heavy interior-point methods, FORCE utilizes a first-order method based on Renegar’s Smoothed Scheme. The algorithm transforms the SDP into an eigenvalue maximization problem. This transformation is critical because it reduces the "effective dimension" of the problem from $O(d^2)$ to $O(d)$. By avoiding the need to track all $d^2$ entries of the matrix as independent variables, FORCE drastically cuts the computational work required per iteration.
2.2 The Dual Step: Certifiable Optimality
A unique feature of FORCE is its ability to prove it has found the correct answer. During the optimization process, the algorithm periodically "rounds" its current continuous guess into a discrete clustering. It then attempts to construct a dual certificate—a mathematical proof that the current discrete clustering is the global optimum of the original SDP. If this certificate is successfully constructed, the algorithm terminates early, providing a guarantee of success. This leverages the "integer-like" structure of the expected solution to bypass the slow tail-end of standard optimization convergence.
2.3 Adaptive Cluster Selection
The framework also extends to scenarios where the number of clusters ($K$) is unknown. By incorporating a "trace penalty," FORCE can adaptively select the optimal $K$ during the optimization process, further increasing its utility in exploratory data analysis.
3. Experimental Evaluation
The authors evaluated FORCE against several benchmarks, including standard solvers like MOSEK and SDPNAL+, as well as the ADMM algorithm. Testing was conducted on synthetic datasets designed to simulate real-world complexities:
- G-Latent Models: Generative models where observed variables are driven by hidden latent factors.
- Scale-Free Networks: Dependency structures where latent variables follow a power-law degree distribution, common in social and biological systems.
4. Key Results
4.1 Computational Efficiency
FORCE demonstrates a significant reduction in theoretical and practical complexity. For a fixed $K$, the complexity is reduced from $\tilde{O}(d^7 \log \epsilon^{-1})$ to $\tilde{O}(d^6 K^{-2} \epsilon^{-1})$. In cases where $K$ is unknown, the complexity drops further to $\tilde{O}(d^4 \epsilon^{-1})$. In practical tests with $d=500$, FORCE reached exact solutions in tens of seconds, while traditional solvers like MOSEK either ran out of memory or required orders of magnitude more time.
4.2 Robustness and Tightness
Unlike ADMM, which often fails to converge in high-noise scenarios, FORCE remained stable and consistently reached the optimal solution. Furthermore, the authors provided a new, constructive proof that the P-W SDP is tight for G-Latent models, matching the best-known theoretical recovery rates. The experiments also highlighted a "sharp phase transition" in noise levels: below a specific threshold, the SDP is guaranteed to be tight, and FORCE is guaranteed to find that solution rapidly.
5. Conclusion
FORCE represents a significant step forward in making certifiably optimal clustering practical for high-dimensional data. By exploiting the structure of the clustering problem to build dual certificates, it allows for early termination and provides mathematical guarantees that heuristics cannot offer. While the current dual certificate construction is tailored toward G-Latent models, the underlying primal solver is general-purpose. Future work will focus on extending these certificates to a wider variety of data distributions and generative models, such as the Stochastic Block Model.
Summary updated