Introduction
Finding the optimal $k$-means clustering is a fundamental problem in machine learning, yet it remains NP-hard in the worst case. Despite this theoretical barrier, simple heuristics like Lloyd’s algorithm often perform remarkably well on real-world data. This paper addresses this "theory-practice gap" by proposing a new stability framework that captures the robustness of real-world clusters.
Additive Perturbation Stability
Previous theoretical models relied on multiplicative stability, where the optimal solution is assumed to be invariant to scaling distances. However, the authors argue that measurement errors in Euclidean space are typically additive (e.g., a fixed sensor error). They introduce $\epsilon$-additive perturbation stability ($\epsilon$-APS), where an instance is considered stable if the optimal clustering remains unchanged even if every point is moved by a small distance $\delta$.
This framework is more robust than multiplicative models. In multiplicative stability, a single distant outlier can drastically increase the stability requirement for the entire dataset. In contrast, additive stability depends primarily on the distance between cluster centers, making it more resilient to adversarial noise.
The Graph-Based Algorithm
To solve stable instances, the authors propose a simple yet effective graph-based algorithm (Algorithm 5.1). The process involves:
- Thresholding: Constructing a graph where edges connect points within a distance threshold $r$.
- Component Analysis: Identifying the $k$ largest connected components.
- Mean Estimation: Using the centroids of these components as initial cluster means.
- Final Assignment: Assigning all points to the nearest estimated mean.
To handle outliers, a preprocessing step removes "low-degree" vertices, preventing noise from incorrectly merging distinct clusters. For the specific case of $k=2$, they also provide a perceptron-based algorithm that finds the optimal split in $n^{poly(1/\epsilon)}d$ time.
Structural Insights: Angular Separation
A key theoretical contribution is the proof that stable instances satisfy an Angular Separation property. This property dictates that points in a stable cluster must lie within specific "cones" directed toward their respective cluster centers.
As shown in the figure, the separation $\rho$ between cluster centers and the concentration of points in the "nice area" provide a structural explanation for why these instances are computationally tractable. The algorithm recovers the exact optimal clustering for $(\rho, \Delta, \epsilon)$-separated instances in $O(n^2kd)$ time.
Empirical Results
The authors validated their approach on standard UCI datasets, including Wine, Iris, and Banknote Authentication. Their graph-based initialization consistently outperformed the industry-standard $k$-means++ algorithm. For instance, on the unnormalized Wine dataset, their method achieved a lower $k$-means cost ($2.376 \times 10^6$) compared to the average of 1,000 $k$-means++ trials ($2.426 \times 10^6$). Furthermore, the algorithm recovered ground truth labels with approximately 97% accuracy, demonstrating that the $k$-means objective aligns well with real-world categories in stable data.
Conclusion
By shifting the focus from multiplicative to additive stability, this work provides a more realistic theoretical foundation for understanding $k$-means clustering. The proposed graph-based algorithm offers a robust, efficient alternative to standard heuristics, bridging the gap between theoretical intractability and practical success. Future work may extend this additive stability analysis to other clustering objectives, such as $k$-median or $k$-center.
Summary updated