Abstract
Choosing a meaningful subset of features from high-dimensional observations in unsupervised settings can greatly enhance the accuracy of downstream analysis tasks, such as clustering or dimensionality reduction, and provide valuable insights into the sources of heterogeneity in a given dataset. In this paper, we propose a self-supervised graph-based approach for unsupervised feature selection. Our method's core involves computing robust pseudo-labels by applying simple processing steps to the graph Laplacian's eigenvectors. The subset of eigenvectors used for computing pseudo-labels is chosen based on a model stability criterion. We then measure the importance of each feature by training a surrogate model to predict the pseudo-labels from the observations. Our approach is shown to be robust to challenging scenarios, such as the presence of outliers and complex substructures. We demonstrate the effectiveness of our method through experiments on real-world datasets from multiple domains, with a particular emphasis on biological datasets.
Introduction
In domains like genomics and image processing, researchers frequently encounter high-dimensional datasets where the number of features far exceeds the number of samples. Many of these features are "nuisance variables"—noise or redundant data that can degrade the performance of unsupervised learning models. Existing Unsupervised Feature Selection (UFS) methods, such as Multi-Cluster Feature Selection (MCFS), typically rely on the "smoothness" of features relative to a data graph. However, these methods often fall into the "spectrum trap," where leading eigenvectors represent noise rather than primary clusters, and they struggle with outlier sensitivity and non-linear relationships.
Methods: The SSFS Pipeline
Spectral Self-supervised Feature Selection (SSFS) addresses these limitations through a robust, multi-stage self-supervised pipeline.
The process begins with Robust Pseudo-labeling. Instead of using raw, continuous eigenvectors, SSFS applies 1D $k$-medoids clustering to each eigenvector. This binarizes spectral information into discrete "pseudo-labels," making the process significantly more robust to outliers than standard $k$-means.
Following labeling, the method employs Stability-based Selection. Rather than selecting the "top" $k$ eigenvectors, SSFS evaluates which eigenvectors yield the most stable feature importance scores using a resampling technique. Only the most stable eigenvectors are retained. Finally, SSFS trains a flexible surrogate model, such as XGBoost, to predict these stable pseudo-labels from the original features. This allows the system to leverage non-linear classifiers to identify the features driving the data's underlying structure.
Results and Discussion
SSFS was evaluated across eight diverse real-world benchmarks, including image (COIL20, GISETTE), speech (ISOLET), and biological datasets (Prostate-GE, TOX-171). The method achieved a superior mean rank of 2.31 compared to seven state-of-the-art competitors. It showed particular strength in biological domains; for instance, on the Prostate-GE dataset, SSFS achieved approximately 76% clustering accuracy, significantly outperforming the 62% achieved by traditional spectral methods like MCFS.
Key insights from these results include:
- Spectrum Trap Mitigation: As shown in the Noisy MNIST example, informative signals often reside deeper in the graph spectrum. SSFS's stability criterion allows it to bypass noisy or outlier-driven leading eigenvectors.
- Classification vs. Regression: Converting feature selection into a classification task via binarized pseudo-labels focuses the model on features that effectively separate clusters.
- Non-linear Advantage: The use of Gradient-Boosted Decision Trees enables the discovery of complex, non-linear interactions that linear methods fail to capture.
Conclusion
SSFS provides a robust framework for unsupervised feature selection by combining spectral theory with self-supervised learning. While the computational complexity of graph construction remains a consideration for massive datasets, the method's ability to handle noise and non-linearity makes it a powerful tool for high-dimensional data analysis. Future work may extend this framework to group feature selection, identifying sets of features like gene pathways that collectively drive data heterogeneity.
Summary updated