On Euclidean $k$-Means Clustering with $α$-Center Proximity

Amit Deshpande, Anand Louis, Apoorv Vikram SingharXiv 2018

TL;DR

This paper tackles the computational hardness of $k$-means clustering by focusing on solutions that satisfy $\alpha$-center proximity—a realistic property where data points are significantly closer to their own cluster center than to any other. The authors present an algorithm that runs in linear time relative to the dataset size and dimension to find the exact optimal clustering under this condition, while simultaneously proving that approximating the solution remains NP-hard in the worst case.

What Problem Does This Paper Address?

$k$-means clustering is a fundamental tool in data science, but finding the globally optimal solution is NP-hard, even in simple two-dimensional spaces. To bridge the gap between theoretical hardness and real-world efficacy, researchers often assume "stability"—the idea that the optimal clusters shouldn't change drastically if the data is slightly perturbed. However, verifying if a dataset satisfies these stability conditions is itself an NP-hard problem.

This paper shifts the focus to a natural consequence of stability called $\alpha$-center proximity. A clustering satisfies this property if every point is closer to its own cluster center than to any other center by a multiplicative factor $\alpha > 1$. Instead of assuming that the global $k$-means optimum inherently satisfies this property, the authors ask a more practical question: Can we efficiently find the best possible $k$-means clustering among all valid clusterings that satisfy $\alpha$-center proximity?

Methods

The authors approach the problem through a mix of geometric analysis and randomized sampling:

  • Geometric Characterization: They prove that for any $\alpha > 1$, any two clusters satisfying $\alpha$-center proximity must lie within two completely disjoint balls. Crucially, these balls do not need to be centered at the cluster means, allowing the clusters to be arbitrarily large.
  • Sampling-Based Algorithm: Leveraging this geometric insight, they design an algorithm that uses uniform random sampling to estimate the cluster centers. By enumerating partitions of a small sample, they can accurately reconstruct the full clustering.
  • Extensions to Outliers and Unbalanced Clusters: The authors extend their definition of center proximity to handle $z$ outliers (where inliers must maintain a multiplicative gap in distance compared to outliers) and provide an exact algorithm for this setting. They also provide an algorithm for unbalanced clusters whose runtime depends on $\gamma$, the ratio of the maximum to minimum distance between cluster means.
Figure 1: Geometric implication of α-center proximity property.

Datasets

Not discussed in the paper. This is a purely theoretical paper focused on algorithmic proofs and computational complexity; no empirical evaluations on datasets were conducted.

Key Insights and Ideas

  • The "Separating Balls" Geometry: A key breakthrough is showing that $\alpha$-center proximity forces clusters into disjoint spherical regions, even for $\alpha$ values very close to 1. As shown in Figure 1, this provides a clean geometric structure that can be exploited algorithmically.
  • Verification vs. Optimization: Unlike prior work that requires the global optimum to be stable (which is unverifiable), this approach allows users to input a desired $\alpha$ and find the optimal solution within that structural constraint.
  • Inherent Hardness Remains: Even when restricting the search space to well-separated, balanced clusters, the problem doesn't magically become easy. The authors prove that approximating the optimal $\alpha$-center proximal clustering within a factor of $(1+\varepsilon_0)$ remains NP-hard.

Key Results

  • Linear Time Complexity: For balanced clusters (where each cluster's size is at least $\omega n/k$), the algorithm finds the exact optimal $\alpha$-center-proximal clustering in time $O(2^{\text{poly}(k/\omega(\alpha-1))} nd)$. This is highly efficient for large datasets because it scales linearly with the number of points ($n$) and dimensions ($d$).
  • Outlier Robustness: A similar exact algorithm for clustering with $z$ outliers runs in $O(2^{\text{poly}(k/\omega(\alpha-1))} nd)$ time.
  • Hardness of Approximation: The paper proves that for any $\alpha' > 1$, minimizing the $k$-means objective under $\alpha$-center proximity is NP-hard to approximate within a multiplicative factor of $(1+\varepsilon_0)$ for some $\varepsilon_0 > 0$.

Limitations and Future Work

  • Exponential Dependence on Key Parameters: While the algorithm is linear in $n$ and $d$, its running time scales exponentially with the number of clusters $k$ and the proximity parameter $1/(\alpha-1)$. As $\alpha$ approaches 1 (indicating less separation between clusters), the algorithm becomes computationally impractical.
  • Lack of Empirical Testing: The paper does not evaluate the algorithm on real-world datasets to see how it performs in practice compared to popular heuristics like Lloyd's algorithm ($k$-means++).
  • Future Directions: A natural next step would be exploring whether the exponential dependence on $k$ can be mitigated, or developing practical heuristics inspired by these geometric insights.

Summary updated

BibTeX
@misc{deshpande2018euclidean,
  author = {Amit Deshpande and Anand Louis and Apoorv Vikram Singh},
  title = {{On Euclidean $k$-Means Clustering with $α$-Center Proximity}},
  year = {2018},
  eprint = {1804.10827},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1804.10827},
}
Figure