Manuscript Offprint

arXiv:2609.00782

When Features Become Instances: Inverted Contrastive Learning for Unsupervised Feature Selection

Utsab Ghosh, Roshni Chakraborty

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Unsupervised feature selection (UFS) seeks a compact subset of informative features without access to class labels, making feature utility difficult to define. Existing UFS methods therefore rely on indirect structural criteria, such as similarity preservation, locality, sparsity, cluster geometry, or reconstruction quality. In this paper, we instead study UFS through representation consistency and propose Inverted Contrastive Learning for Unsupervised Feature Selection (ICLFS), a feature-wise contrastive framework that reformulates UFS as a representation learning problem over features rather than samples. ICLFS first inverts the data matrix so that each feature is represented by its sample-profile vector, then constructs multiple masked positive views together with a shuffled negative view, and learns projector-space representations that remain consistent across these structured perturbations under an InfoNCE-based objective. Motivated by recent findings that cosine-based and InfoNCE-based training affect embedding norms, we use projector-space embedding magnitude as the saliency signal for ranking features. To further improve separation among features, we incorporate a decorrelation regularizer that encourages distinct features to occupy more separated regions of the learned embedding space. The resulting norm-based ranking is subsequently refined through Laplacian-Gated Ranking Correction, which suppresses locally redundant candidates while preserving salient ones. Extensive experiments on 12 benchmark datasets show that ICLFS achieves the best clustering accuracy on 10 datasets against both classical and neural baselines under the standard clustering-based UFS evaluation protocol, while remaining competitive on the other two. These results show that feature-wise contrastive representation consistency provides a strong and effective alternative to neighborhood, cluster, and reconstruction-based UFS formulations.

Keywords: Unsupervised feature selection, Contrastive learning, Representation learning, Self-supervised learning, High-dimensional data

1 Introduction

High-dimensional datasets commonly include noisy, redundant, and only weakly informative features, which can impair clustering performance and complicate exploratory analysis [1, 2]. This issue is particularly prominent in domains such as biomedicine [3], text mining [4], and image retrieval [4], where the feature dimension can be very large relative to the number of available samples, and only a fraction of the measured variables may capture the true structure of the data. In supervised feature selection, labels guide the identification of predictive features and help eliminate irrelevant or redundant variables [1, 3]. In many real-world scenarios, however, labeled data are scarce, while unlabeled data are much more abundant [1], making direct supervised selection impractical. Unsupervised feature selection (UFS) addresses this setting by selecting a compact subset of informative features without relying on label information, thereby improving interpretability, reducing redundancy, and facilitating downstream learning [2].

As no label signal is available, UFS is commonly formulated through indirect structural criteria rather than task-level supervision. Existing methods typically assess feature usefulness through properties such as similarity preservation, locality, sparsity, or cluster geometry [4]. As a result, feature relevance must be inferred from the intrinsic organization of the data itself, making robust feature identification considerably more challenging in high-dimensional settings [2, 4–6]. Existing research works in this area can be broadly grouped according to the structural principles used in their proposed approaches. For example, filter-style methods such as Laplacian Score (LS) rank features according to their ability to preserve local neighborhood relations [7]. Spectral Feature Selection (SPEC) evaluates features within a spectral graph-theoretic framework derived from structural similarity [8], whereas Multi-Cluster Feature Selection (MCFS) emphasizes preservation of latent multi-cluster structure [9]. Subsequently, several research works focus on recovering more discriminative unlabeled structure. For instance, Nonnegative Discriminative Feature Selection (NDFS) jointly learns latent cluster assignments and sparse feature weights through nonnegative spectral analysis [10]. More recently, neural approaches such as Concrete Autoencoders (CAE) have framed feature selection through reconstruction objectives, selecting subsets of features that best reconstruct the original input [11] and LS-CAE [12]. Despite their empirical effectiveness, these approaches mainly focus on surrogate principles, such as, neighborhood preservation, latent cluster recovery, or reconstruction quality. In contrast we assess feature utility through the consistency of learned feature representations across masked feature views, i.e., systematically constructed views that partially mask the observed feature profile while preserving the identity of the underlying feature.

This motivates studying UFS through representation consistency rather than through a single predefined structural heuristic. In this paper, we approach UFS from a feature-wise contrastive learning perspective, where each feature is paired with multiple masked positive views and optimized through an InfoNCE-based objective in the learned representation space [13]. However, Wang et al. [14] and Zhang et al. [15] showed that cosine-based training affects embedding norms and that these norms in turn affect gradient magnitudes. More recently, Draganov et al. [16] showed that optimizing InfoNCE increases these embedding norms across self-supervised learning methods and argued that this may occur when the network treats frequently reinforced samples as more prototypical. Additionally, embedding magnitude has been observed to serve as a measure of model certainty [17, 18]. Therefore, in this paper, we propose projector-space embedding magnitude as a saliency signal for unsupervised feature selection. Based on this idea, we propose an Inverted Contrastive Learning for Unsupervised Feature Selection (ICLFS), a feature-wise contrastive framework that reformulates UFS as a representation learning problem over features rather than samples. ICLFS first inverts the data matrix so that each feature is represented by its sample-profile vector, then constructs multiple masked positive views and learns projector-space representations that remain consistent across them under an InfoNCE-based [13] objective. To further improve separation among features, we also include a decorrelation regularizer that encourages distinct features to occupy more separated regions of the learned embedding space. After optimization, features are ranked according to the norm of their projector-space embeddings, and this ranking is subsequently refined through Laplacian-Gated Ranking Correction that suppresses locally redundant candidates while preserving highly salient ones.

Our exhaustive empirical evaluation shows that ICLFS achieves the best clustering accuracy on 10 of the 12 benchmark datasets against both classical and neural baselines under the standard clustering-based UFS evaluation protocol [12]. Our empirical evaluations indicate that ICLFS outperforms existing methods in k-means clustering accuracy by 0.47% to 2.74% on ARCENE, 0.44% to 1.20% on BASEHOCK, 1.85% to 12.37% on COIL20, 0.44% to 19.91% on GISETTE, 8.40% to 14.24% on LUNG, 11.25% to 15.16% on NCI9, 0.94% to 1.64% on PCMAC, 23.19% to 27.89% on PROSTATE, 4.57% to 7.69% on TOX171, and 2.81% to 15.78% on WARPPIE10P. We observe that ICLFS achieves the largest gains on PROSTATE, with an improvement range of 23.19% to 27.89%, followed by GISETTE, WARPPIE10P, NCI9, and LUNG. On the two datasets where ICLFS does not achieve the top result, the margin relative to the baseline range is -4.51% to 12.09% on ALLAML and -0.41% to 1.23% on RELATHE, indicating that RELATHE remains highly competitive whereas LS-CAE is the stronger feature selector for ALLAML.

The main contributions of this paper are as follows:

We introduce Inverted Contrastive Learning with Feature Screening (ICLFS), a feature-wise unsupervised feature selection framework that reformulates UFS as a contrastive representation learning problem by treating features, rather than samples, as the learning instances.

• We develop a ranking mechanism based on projector-space embedding norms, together with a post hoc Laplacian-Gated Ranking Correction stage, to produce a global feature ranking that can be truncated to obtain feature subsets at different target cardinalities.

• We show that the proposed framework performs competitively against both classical and neural UFS baselines across a diverse benchmark suite, achieving the best clustering accuracy on 10 of 12 datasets under the standard clustering-based evaluation protocol. On the remaining two datasets, ICLFS achieves a tied second-best result on RELATHE and remains competitive on ALLAML, where the strongest performance is obtained by LS-CAE.

• We provide empirical evidence that feature-wise contrastive representation consistency offers an effective alternative to neighborhood-, cluster-, and reconstruction-based optimization proxies for unsupervised feature selection.

The remainder of this paper is organized as follows. Section 2 reviews the most relevant prior work in unsupervised feature selection and related representation-learning directions. Section 3 presents the proposed ICLFS framework, including its feature-wise formulation, model architecture, optimization objective, and redundancy-aware refinement stage. Section 4 describes the benchmark datasets, evaluation protocol, and implementation details. Section 5 reports the comparative, ablation, and analytical results. Finally, Section 6 concludes the paper and outlines directions for future work.

The implementation associated with this work is publicly available at: https://github.com/neilghos/ICLFS.

References (24)