Skip to main content
QUICK REVIEW

[Paper Review] AFS: An Attention-based mechanism for Supervised Feature Selection

Ning Gui, Danni Ge|arXiv (Cornell University)|Feb 28, 2019
Machine Learning and Data ClassificationComputer Science9 references3 citations
TL;DR

AFS is a novel neural network-based feature selection framework that uses an attention mechanism to learn discriminative feature weights through a binary classification formulation of feature-target correlation. It achieves state-of-the-art accuracy and stability on MNIST, noisy MNIST, and small-sample datasets by decoupling feature weighting from model training, enabling reuse of off-the-shelf models and reducing training overhead.

ABSTRACT

As an effective data preprocessing step, feature selection has shown its effectiveness to prepare high-dimensional data for many machine learning tasks. The proliferation of high di-mension and huge volume big data, however, has brought major challenges, e.g. computation complexity and stability on noisy data, upon existing feature-selection techniques. This paper introduces a novel neural network-based feature selection architecture, dubbed Attention-based Feature Selec-tion (AFS). AFS consists of two detachable modules: an at-tention module for feature weight generation and a learning module for the problem modeling. The attention module for-mulates correlation problem among features and supervision target into a binary classification problem, supported by a shallow attention net for each feature. Feature weights are generated based on the distribution of respective feature se-lection patterns adjusted by backpropagation during the train-ing process. The detachable structure allows existing off-the-shelf models to be directly reused, which allows for much less training time, demands for the training data and requirements for expertise. A hybrid initialization method is also intro-duced to boost the selection accuracy for datasets without enough samples for feature weight generation. Experimental results show that AFS achieves the best accuracy and stability in comparison to several state-of-art feature selection algo-rithms upon both MNIST, noisy MNIST and several datasets with small samples.

Motivation & Objective

  • To address the challenges of computational complexity and instability in high-dimensional, noisy data for traditional feature selection methods.
  • To develop a differentiable, end-to-end trainable feature selection mechanism that integrates seamlessly with existing machine learning models.
  • To improve selection accuracy on datasets with limited samples through a hybrid initialization strategy.
  • To decouple feature weighting from model training, enabling reuse of pre-trained models and reducing training time and data requirements.

Proposed method

  • AFS employs a two-module architecture: an attention module for generating feature weights and a learning module for problem-specific modeling.
  • The attention module frames feature selection as a binary classification task, where each feature's relevance to the target is modeled via a shallow attention network.
  • Feature weights are dynamically adjusted during backpropagation based on learned selection patterns across training batches.
  • A hybrid initialization method combines random and heuristic-based initialization to improve convergence and accuracy on low-sample datasets.
  • The modular design allows plug-and-play integration with any off-the-shelf machine learning model, decoupling feature selection from model training.
  • The framework is trained end-to-end using standard backpropagation, with the attention module learning to assign higher weights to more informative features.

Experimental results

Research questions

  • RQ1Can an attention-based mechanism effectively learn feature weights in a differentiable and end-to-end trainable manner for supervised feature selection?
  • RQ2How does AFS perform in comparison to state-of-the-art feature selection methods on high-dimensional and noisy datasets?
  • RQ3To what extent does the hybrid initialization strategy improve feature selection accuracy on small-sample datasets?
  • RQ4Can the decoupled architecture of AFS enable reuse of existing models and reduce training time and data requirements?

Key findings

  • AFS achieves the highest classification accuracy among all compared methods on the MNIST dataset, outperforming existing state-of-the-art feature selection algorithms.
  • On noisy MNIST, AFS maintains superior stability and robustness, demonstrating resilience to data corruption and high dimensionality.
  • For small-sample datasets, AFS shows significant improvement in selection accuracy due to its hybrid initialization strategy, which enhances convergence and feature weight learning.
  • The decoupled architecture of AFS enables direct reuse of pre-trained models, reducing training time and data demands while maintaining high performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.