Abstract: Large-scale clustering has found wide applications in many fields and received much attention in recent years. However, most existing large-scale clustering methods can only achieve mediocre performance, because they are sensitive to the unavoidable presence of noise in the large-scale data. To address this challenging problem, we thus propose a large-scale sparse clustering (LSSC) algorithm. In this paper, we choose a two-step optimization strategy for large-scale sparse clustering: 1) k-means clustering over the large-scale data to obtain the initial clustering results; 2) clustering refinement over the initial results by developing a spare coding algorithm. To guarantee the scalability of the second step for large-scale data, we also utilize nonlinear approximation and dimension reduction techniques to speed up the sparse coding algorithm. Experimental results on both synthetic and real-world datasets demonstrate the promising performance of our LSSC algorithm.
Introduction
Clustering is a fundamental task in data science, yet as datasets scale to millions of points, they inevitably become "noisy." In this context, noise refers to unstructured data points that do not belong to any clear group. Standard algorithms often face a "pick two" dilemma between scalability, accuracy, and robustness. For instance, k-means is computationally efficient but lacks robustness against outliers. Conversely, spectral clustering is accurate but computationally prohibitive for large datasets due to its $O(n^3)$ complexity. Sparse coding methods offer excellent noise robustness but are typically too slow for large-scale applications.
The proposed Large-Scale Sparse Clustering (LSSC) algorithm aims to break this trilemma by providing a framework that is robust to noise while maintaining linear time and space complexity.
The LSSC Framework
The LSSC algorithm operates through a two-step optimization strategy designed to balance efficiency with robustness.
1. Initial Clustering
The process begins with a standard k-means run to generate an initial "indicator matrix." This serves as a rough draft of the cluster assignments. While k-means is sensitive to noise, it provides a computationally cheap starting point for refinement.
2. Sparse Refinement
The core innovation of LSSC is treating the initial k-means result as a noisy signal and "rectifying" it using an $L_1$-optimization process (sparse coding). Instead of performing sparse coding on raw features, LSSC performs it on the cluster indicator matrix, effectively denoising the labels themselves.
To ensure scalability, the authors employ two key techniques:
- Nonlinear Approximation: Rather than constructing a full affinity graph, each data point is represented as a combination of a small set of "landmark" centers using Nadaraya-Watson kernel regression.
- Dimension Reduction: The optimization is restricted to the space spanned by the leading eigenvectors of the Laplacian matrix. Due to the landmark approach, these eigenvectors can be calculated in linear time.
The final optimization problem is solved using a modified version of the Fast Iterative Shrinkage-Thresholding Algorithm (FISTA).
Experimental Evaluation
The LSSC algorithm was evaluated against several baselines, including k-means, Nyström-based spectral clustering, and Landmark-based Spectral Clustering (LSC).
Synthetic Benchmarks
On a synthetic "two-moon" dataset with 30% added noise, LSSC demonstrated superior robustness. While competing methods like Nyström and LSC-K were visibly distracted by the noise, LSSC clearly identified the underlying cluster structures.
Real-World Datasets
- MNIST: On 70,000 handwritten digit images, LSSC achieved an accuracy of 65.88%, significantly outperforming k-means (55.20%) and other large-scale spectral methods.
- Covtype: On this forest cover type dataset with over 581,000 samples, the refinement step proved highly efficient, taking only approximately 16 seconds on a standard PC.
Key Insights and Conclusion
LSSC demonstrates that separating the clustering process into a "rough initialization" and a "refined optimization" allows for the integration of disparate mathematical tools—k-means for speed and sparse coding for precision. By utilizing landmark-based approximations, the algorithm achieves $O(n)$ linear complexity, making it suitable for massive datasets.
While the algorithm requires empirical tuning for parameters such as the number of landmarks and eigenvectors, its stability (measured by $\delta$-robustness) and efficiency make it a powerful tool for noisy, large-scale data environments. Future work may involve exploring different initialization algorithms to further enhance the framework's versatility.
Summary updated