Skip to main content
QUICK REVIEW

[Paper Review] Feature Selection using Stochastic Gates

Yutaro Yamada, Ofir Lindenbaum|arXiv (Cornell University)|Oct 9, 2018
Statistical Methods and InferenceMathematics70 references12 citations
TL;DR

This paper proposes a novel embedded feature selection method for nonlinear models using stochastic gates (STG), a continuous relaxation of the Bernoulli distribution to approximate ℓ₀ regularization. By integrating STG into the input layer of neural networks, the method enables end-to-end differentiable training that jointly learns nonlinear functions and selects relevant features, outperforming LASSO, HC, and DNC in predictive accuracy and feature selection consistency across synthetic and real-world datasets.

ABSTRACT

Feature selection problems have been extensively studied for linear estimation, for instance, Lasso, but less emphasis has been placed on feature selection for non-linear functions. In this study, we propose a method for feature selection in high-dimensional non-linear function estimation problems. The new procedure is based on minimizing the $\ell_0$ norm of the vector of indicator variables that represent if a feature is selected or not. Our approach relies on the continuous relaxation of Bernoulli distributions, which allows our model to learn the parameters of the approximate Bernoulli distributions via gradient descent. This general framework simultaneously minimizes a loss function while selecting relevant features. Furthermore, we provide an information-theoretic justification of incorporating Bernoulli distribution into our approach and demonstrate the potential of the approach on synthetic and real-life applications.

Motivation & Objective

  • To address the lack of effective embedded feature selection methods for nonlinear models, particularly in high-dimensional settings common in biomedical data.
  • To overcome the limitations of ℓ₁ regularization (e.g., LASSO) in nonlinear contexts, where it fails to induce sparsity in input layers and suffers from parameter shrinkage.
  • To develop a differentiable, end-to-end framework that simultaneously learns a nonlinear function and selects a minimal, relevant subset of features.
  • To provide a probabilistic, information-theoretically justified approach to feature selection using a smooth approximation of the Bernoulli distribution.
  • To demonstrate robust performance under feature correlation and in low-sample regimes, where traditional methods often fail.

Proposed method

  • The method introduces stochastic gates (STG) as a continuous relaxation of the Bernoulli distribution, using a hard-sigmoid transformation of a mean-shifted Gaussian variable to produce differentiable binary gates.
  • Each input feature is multiplied by a stochastic gate, where the gate's activation probability is controlled by a trainable parameter μ_d, enabling gradient-based optimization of feature inclusion.
  • The ℓ₀ norm is approximated via the expected number of active gates, with the objective function incorporating a regularization term λ that controls sparsity.
  • The framework is fully differentiable, allowing backpropagation through the stochastic gates via the reparameterization trick, enabling joint optimization of model weights and gate parameters.
  • The method is applied to regression, classification, and survival analysis tasks, with the gate parameters learned end-to-end using stochastic gradient descent.
  • The STG approximation is shown to be more consistent and accurate than logistic-based relaxations in feature selection, particularly under correlation and low-sample conditions.

Experimental results

Research questions

  • RQ1Can a differentiable, probabilistic relaxation of the ℓ₀ norm enable effective feature selection in nonlinear models such as deep neural networks?
  • RQ2How does the proposed STG-based method compare to LASSO and other embedded methods in terms of predictive accuracy and feature selection sparsity?
  • RQ3Does the STG framework maintain robustness and consistency in the presence of correlated features, a common challenge in high-dimensional data?
  • RQ4Can the method provide a clear indication of the true number of relevant features, as evidenced by a stable peak in performance at the correct feature count?
  • RQ5Is the probabilistic framework of STG supported by an information-theoretic justification for feature selection?

Key findings

  • In linear regression with correlated features, STG recovers the true support with fewer samples than LASSO, HC, and DNC, demonstrating superior consistency under correlation.
  • On the MADELON dataset with 15 weakly relevant and 5 strongly relevant features, STG achieves a precision of 1.0 over a wide range of regularization parameters λ, indicating consistent selection of only informative features.
  • STG achieves a test accuracy of 92.4%, outperforming LASSO (90.1%) and matching HC (91.7%) while selecting fewer features, showing strong predictive performance with sparsity.
  • Peak classification accuracy for STG occurs when exactly 5 features are selected, clearly indicating the true number of relevant features—unlike LASSO and Random Forest, which lack such a clear signal.
  • In survival analysis tasks, STG maintains high performance and sparsity, demonstrating generalizability beyond standard classification and regression.
  • The STG method consistently outperforms HC, LASSO, and DNC across multiple synthetic and real-world datasets, particularly in low-sample and high-correlation regimes.

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.