[Paper Review] A robust and sparse K-means clustering algorithm
This paper proposes RSKC, a robust and sparse K-means clustering algorithm that integrates trimmed K-means for outlier resistance and L1 regularization to enforce feature sparsity. It effectively identifies cluster structures in high-dimensional data by selecting only relevant features, outperforming standard K-means and sparse K-means on synthetic data with strong clustering signals in only two features.
In many situations where the interest lies in identifying clusters one might expect that not all available variables carry information about these groups. Furthermore, data quality (e.g. outliers or missing entries) might present a serious and sometimes hard-to-assess problem for large and complex datasets. In this paper we show that a small proportion of atypical observations might have serious adverse effects on the solutions found by the sparse clustering algorithm of Witten and Tibshirani (2010). We propose a robustification of their sparse K-means algorithm based on the trimmed K-means algorithm of Cuesta-Albertos et al. (1997) Our proposal is also able to handle datasets with missing values. We illustrate the use of our method on microarray data for cancer patients where we are able to identify strong biological clusters with a much reduced number of genes. Our simulation studies show that, when there are outliers in the data, our robust sparse K-means algorithm performs better than other competing methods both in terms of the selection of features and also the identified clusters. This robust sparse K-means algorithm is implemented in the R package RSKC which is publicly available from the CRAN repository.
Motivation & Objective
- To address the limitations of standard K-means in high-dimensional data with irrelevant or noisy features.
- To improve clustering robustness by reducing sensitivity to outliers through trimming.
- To enhance interpretability by selecting only the most relevant features via L1 regularization.
- To develop a unified framework that simultaneously ensures robustness and sparsity in clustering.
- To provide a practical, publicly available R package (RSKC) for real-world application in high-dimensional data analysis.
Proposed method
- The algorithm uses a trimmed K-means approach by excluding a pre-specified proportion of observations with the largest within-cluster sum of squares.
- It applies L1 regularization to the cluster centroids to induce sparsity, selecting only a subset of features that contribute meaningfully to cluster separation.
- The optimization problem is solved via an iterative alternating algorithm that alternates between cluster assignment and centroid update with sparsity constraints.
- The trimming step reduces the influence of outliers, improving stability in the presence of contamination.
- The method balances robustness and sparsity by jointly minimizing the within-cluster sum of squares and the L1 norm of the centroids.
- The algorithm is implemented in the R package RSKC, available on CRAN, enabling reproducible and scalable analysis.
Experimental results
Research questions
- RQ1Can a K-means variant be made robust to outliers while simultaneously enforcing feature sparsity in high-dimensional data?
- RQ2How does the integration of trimming and L1 regularization affect clustering accuracy compared to standard K-means and sparse K-means?
- RQ3To what extent does the algorithm recover the true cluster structure when only a few features carry the clustering signal?
- RQ4Does the method maintain high performance when the number of features is much larger than the number of observations?
- RQ5How well does the algorithm identify and exclude irrelevant or noisy features during clustering?
Key findings
- On synthetic data with 300 observations and 1000 features, RSKC successfully recovered the true cluster structure, while standard K-means failed to detect the clustering signal.
- Sparse K-means correctly identified the two clustering features and assigned positive weights only to them, demonstrating effective feature selection.
- The proposed algorithm achieved a high-quality partition that closely matched the true cluster labels, as shown in the scatter plot comparison.
- The optimal weights selected by RSKC were positive only for the two clustering features, confirming that the method successfully isolated relevant features.
- The integration of trimming and sparsity led to improved robustness and interpretability without sacrificing clustering accuracy.
- The R package RSKC is publicly available on CRAN, enabling wide accessibility and reproducibility of results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.