Abstract
Clustering is a fundamental task in unsupervised learning, yet finding optimal solutions for $k$-median and $k$-means is NP-hard. While various approximation algorithms exist, they often face a trade-off between computational efficiency and approximation guarantees. This paper revitalizes a classic but complex recursive greedy algorithm originally proposed by Mettu and Plaxton (2003). By simplifying the core "value" function and integrating modern spatial data structures, the authors present the first linear-time polylogarithmic approximation for $k$-means in Euclidean space and near-linear time results for sparse graphs.
Introduction
In the realm of unsupervised learning, $k$-median and $k$-means clustering are essential tools for partitioning data into meaningful groups. Despite their simple formulations, these problems are notoriously difficult to solve optimally. Traditionally, researchers have relied on three primary algorithmic families:
- Primal-Dual and Linear Programming: These offer high accuracy (e.g., $2+\epsilon$ approximation) but suffer from slow execution times that do not scale well with massive datasets.
- Local Search: These provide robust approximations but are computationally expensive per iteration.
- Greedy Algorithms: Approaches like $k$-means++ are fast and simple but often lack strong constant-factor guarantees or exhibit super-constant approximation ratios (e.g., $\Theta(\log k)$).
This research focuses on the Mettu-Plaxton algorithm, which was historically the only greedy approach known to provide a constant-factor approximation. However, its complexity prevented widespread adoption. This paper simplifies the algorithm's logic and leverages modern techniques to make it viable for large-scale Euclidean and graph-based data.
The Simplified Recursive Greedy Algorithm
The primary barrier to using the original Mettu-Plaxton algorithm was its intricate "value" function for balls of points, which was computationally intensive to evaluate. The authors propose a Simplified Recursive Greedy Algorithm that replaces this complex calculation with a much more efficient proxy.
The Key Innovation
The authors demonstrate that the value of a ball $B(x, r)$ can be effectively approximated by the term $r^z \cdot |B(x, r)|$, where:
- $r$ is the radius of the ball.
- $z$ is the power associated with the clustering objective (1 for $k$-median, 2 for $k$-means).
- $|B(x, r)|$ represents the number of points contained within the ball.
This simplification allows the algorithm to maintain its constant-factor approximation while significantly reducing the computational overhead.
Implementation and Efficiency
To achieve near-linear runtimes, the authors integrate several modern algorithmic techniques:
- Approximate Counting: Sketching techniques are employed to estimate the number of points in a union of sets, avoiding the need for exact counting.
- Spatial Data Structures: In Euclidean space, the algorithm utilizes multiple random quadtrees or Locality-Sensitive Hashing (LSH) to identify "approximate balls" rapidly.
- Probabilistic Decomposition: For sparse graphs, the authors use probabilistic decomposition to partition the graph and estimate point densities efficiently.
- Forbidding Mechanism: The algorithm maintains a set of "available" balls and "forbids" those that are too close to newly selected centers, ensuring a diverse and effective set of cluster centroids.
Theoretical Results
As a theoretical contribution, this work provides rigorous proofs for algorithmic complexity and approximation guarantees across different metric spaces:
- Euclidean $k$-means: The authors achieve the first linear-time ($O(nd \cdot \text{polylog } k)$) approximation algorithm for $k$-means in $\mathbb{R}^d$.
- Sparse Graphs: For graphs where the number of edges $m$ is close to the number of vertices $n$, the algorithm achieves a poly$(c)$-approximation in $O(m^{1+1/c} \log \Delta)$ time.
- Aspect Ratio Management: The authors provide a method to reduce the "aspect ratio" (the ratio between the largest and smallest distances) to a polynomial in $n$ in near-linear time, preventing the $\log \Delta$ term from negatively impacting complexity.
Key Insights
One of the most significant findings is the robustness of the value function. The recursive greedy logic does not require an exact cost-benefit analysis; as long as point density can be approximately counted and scaled by the radius, the constant-factor approximation holds.
Furthermore, the algorithm is decoupled from $k$. Unlike many methods where complexity scales with the number of clusters, this approach produces an incremental ordering of points. Any prefix of size $k$ in this sequence serves as a high-quality solution for that specific $k$, making it highly flexible for exploratory data analysis.
Conclusion and Future Work
This paper successfully bridges the gap between complex theoretical greedy algorithms and practical efficiency. By simplifying the Mettu-Plaxton framework, the authors have provided a more intuitive and implementable algorithm for high-dimensional clustering.
Future research may focus on improving the specific approximation constants, which, while constant, may be larger than those found in slower methods. Additionally, empirical validation on real-world datasets would help determine how these theoretical improvements translate to practical performance compared to standard heuristics like $k$-means++.
Summary updated