A-SFS: Semi-supervised Feature Selection based on Multi-task Self-supervision

Zhifeng Qiu, Wanxin Zeng, Dahua Liao, Ning GuiKnowledge-Based Systems 2022 · DOI

Abstract

Feature selection is a critical component for enhancing the interpretability and efficiency of machine learning models. This paper introduces A-SFS (Batch-Attention-based Self-supervision Feature Selection), a novel framework that leverages multi-task self-supervised learning to discover latent structures within tabular data. By employing a two-stage process—pre-training on unlabeled data followed by a batch-attention-based feature selection—A-SFS achieves state-of-the-art performance with significantly reduced labeled data requirements and enhanced robustness to noise.

Introduction

Identifying relevant features is essential for building efficient and interpretable models. However, traditional feature selection methods often treat features as independent entities, ignoring complex latent relationships such as hierarchies or correlations. Moreover, high-performing supervised methods are constrained by the high cost of acquiring labeled data and are often sensitive to noise. A-SFS addresses these challenges by integrating self-supervised pattern discovery with a robust attention mechanism, enabling effective feature selection even in label-scarce and noisy environments.

Methodology

The A-SFS framework operates in two primary stages: multi-task self-supervised pre-training and batch-attention-based feature selection.

The A-SFS framework overview, illustrating the transition from self-supervised pre-training on unlabeled data to supervised feature selection.

Multi-task Self-Supervised Learning

The first stage involves training a denoising autoencoder on unlabeled data ($X_s$). A key innovation here is "Identical Data Masking," where features are masked using values sampled from other instances in the dataset, creating a challenging corruption for the model to resolve. The model is tasked with solving two pretext tasks simultaneously:

  1. Location Estimation: Predicting the positions of the masked features.
  2. Feature Estimation: Reconstructing the original values of the masked features.
Detail of the data masking and reconstruction process used in the self-supervised pre-training stage.

This dual-task approach forces the encoder to learn rich representations of feature correlations and the underlying data distribution.

Batch-Attention Mechanism

Following pre-training, the model utilizes a batch-attention module to generate feature weights. Unlike standard attention mechanisms that operate on individual samples, this module computes weights by averaging across a minibatch. This "batch-smoothing" effect enhances robustness by preventing the model from over-adjusting to individual noisy data points, thereby identifying more globally relevant features.

Experiments and Results

The performance of A-SFS was evaluated against 14 benchmark methods across six diverse datasets, including image-derived tabular data (MNIST, USPS) and web/tabular data (Pendigits, URL datasets).

Key Findings

  • Superior Accuracy: A-SFS consistently outperformed benchmarks, showing absolute accuracy improvements of up to 23.54% on the Optdigits dataset.
  • Label Efficiency: The model demonstrated remarkable efficiency, achieving baseline performance using only 9.7% to 21.4% of the labeled data required by top-tier supervised models.
  • Noise Resilience: A-SFS maintained high performance under various noise conditions (Gaussian, Salt & Pepper, Speckle), where competitors like XGBoost experienced significant degradation. The self-supervised stage effectively serves as a pre-denoising step.

Discussion

The success of A-SFS underscores the importance of discovering latent structures in tabular data. By treating feature importance as a global property through batch-attention and leveraging the "where" and "what" of data masking, the model captures intricate relationships that traditional methods miss. This approach is particularly valuable in domains where labeled data is scarce but unlabeled data is plentiful.

Conclusion and Future Work

A-SFS provides a robust and efficient solution for semi-supervised feature selection. While highly effective, its reliance on unlabeled data suggests that its performance may be limited in data-poor scenarios. Future research will explore the integration of Graph Neural Networks (GNNs) to further enhance the discovery of non-linear relationships between features.

Summary updated

BibTeX
@article{qiu2022sfs,
  author = {Zhifeng Qiu and Wanxin Zeng and Dahua Liao and Ning Gui},
  title = {{A-SFS: Semi-supervised Feature Selection based on Multi-task Self-supervision}},
  journal = {Knowledge-Based Systems},
  year = {2022},
  doi = {10.1016/j.knosys.2022.109449},
}
Figure