Abstract
Clustering high-dimensional data is a fundamental challenge in machine learning. Dimension reduction via the Johnson-Lindenstrauss (JL) Lemma is a standard approach, but traditional bounds depend on the number of data points $n$. This work demonstrates that for $k$-means and $k$-medians clustering, data-oblivious projections can reduce dimensions to $O(\log(k/\epsilon)/\epsilon^2)$, independent of $n$, while maintaining a $(1+\epsilon)$ approximation of the clustering cost. This result resolves several open problems and provides a near-optimal theoretical bound for dimension reduction in clustering tasks.
Introduction
The computational complexity of clustering algorithms often scales poorly with the dimensionality of the input data. To mitigate this, practitioners frequently employ dimension reduction techniques like the Johnson-Lindenstrauss (JL) Lemma. The JL Lemma guarantees that $O(\log n / \epsilon^2)$ dimensions are sufficient to preserve pairwise distances between $n$ points within a $(1+\epsilon)$ factor. However, in "big data" regimes where $n \gg k$, a dependency on $n$ is undesirable.
The central question addressed in this research is whether the target dimension can be made to depend solely on the number of clusters $k$. Prior attempts to achieve this either resulted in dimensions linear in $k$ or introduced significant distortion (e.g., a factor of 9). This paper bridges that gap, providing a $(1+\epsilon)$ guarantee with a dimension scaling logarithmically with $k$.
Methods
The authors focus on data-oblivious dimension reduction maps, such as random Gaussian projections. These linear maps $\pi: \mathbb{R}^m \to \mathbb{R}^d$ are chosen independently of the dataset $X$.
The theoretical framework relies on a "one-point robust extension" of the Kirszbraun Theorem. While standard JL projections preserve most distances, they inevitably distort a small fraction. The authors model these distortions using a "distortion graph" and prove that this graph remains sparse enough to allow the "lifting" of optimal cluster centers from the low-dimensional space back to the original space with minimal cost increase. This robust extension allows the proof to handle the outliers generated by the random projection process.
Key Results
The primary contribution is the proof that a random projection to $d = O(\log(k/\epsilon)/\epsilon^2)$ dimensions preserves the cost of any $k$-partition within a $(1+\epsilon)$ factor for both $k$-means ($p=2$) and $k$-medians ($p=1$).
As shown in the table above, this work significantly improves upon previous bounds. While folklore results required $O(\log n)$ dimensions, and previous $k$-dependent bounds either had linear scaling or high distortion, this work achieves the best of both worlds: logarithmic scaling in $k$ and minimal $(1+\epsilon)$ distortion.
Crucially, the result is independent of $n$, making it highly scalable for massive datasets. Furthermore, because it preserves the cost of all possible partitions, any clustering algorithm (even heuristics like Lloyd's) applied to the reduced data will yield a solution that is meaningful in the original high-dimensional space.
Conclusion and Future Work
This work establishes near-optimal bounds for dimension reduction in Euclidean clustering. By showing that $d \approx O(\log k / \epsilon^2)$ is sufficient, it provides a rigorous foundation for using JL transforms as a pre-processing step.
Future research may explore tightening the dependency on the power $p$ for general $\ell_p$ objectives, as the current bound includes a $p^4$ factor. Additionally, while the JL transform is optimized for Euclidean ($\ell_2$) space, extending these "data-oblivious" guarantees to other metrics like $\ell_1$ remains an open challenge requiring different mathematical tools.
Summary updated