TL;DR
This paper introduces Stochastic Gates (STG), a novel embedded feature selection method for non-linear models, particularly neural networks. STG uses a differentiable approximation of the $\ell_0$ norm via Bernoulli gates, enabling simultaneous learning of the model and feature selection through gradient descent. This approach offers improved performance and stability compared to existing methods, especially in high-dimensional settings.
What Problem Does This Paper Address?
Feature selection is crucial for reducing computational costs, improving model interpretability, and enhancing generalization. While well-established methods like LASSO exist for linear models, selecting relevant features for complex, non-linear functions (like those learned by neural networks) remains a significant challenge. Existing methods for non-linear models often require retraining the model for each feature subset or struggle with stability and computational expense. This paper aims to bridge this gap by proposing an embedded, end-to-end trainable feature selection method for non-linear models.
Methods
The core of the proposed method, Stochastic Gates (STG), involves introducing Bernoulli gates at the input layer of a neural network. Each gate is associated with a feature and probabilistically determines whether that feature is used by the network. To enable gradient-based optimization, the discrete Bernoulli distribution is replaced with a continuous relaxation. Specifically, the authors propose a Gaussian-based continuous relaxation, which they call a "stochastic gate" (STG), defined as $z_d = \max(0, \min(1, \mu_d + \epsilon_d))$, where $\epsilon_d$ is a Gaussian noise term and $\mu_d$ is a learned parameter controlling the gate's activation probability. This formulation allows for end-to-end training of both the neural network parameters and the feature selection parameters ($\mu_d$) via gradient descent. The method is justified through an information-theoretic perspective, linking feature selection to maximizing mutual information.
Datasets
The paper evaluates the proposed method on a variety of datasets:
- Synthetic Datasets:
- MADELON dataset (classification): A challenging dataset with 5 informative and 495 nuisance features.
- Friedman regression dataset (regression): A modified version with 5 informative and 495 nuisance features.
- Noisy Binary XOR Classification: A synthetic dataset designed to test feature selection in the presence of noisy features.
- "Two Moons" dataset: A synthetic dataset with nuisance features to evaluate classification accuracy.
- Correlated design matrix experiments: Synthetic data generated to specifically test performance with correlated features.
- Real-World Datasets:
- ASU feature selection database: Several datasets from this database are used for classification, including BASEHOCK, RELATHE, RCV1, PCMAC, ISOLET, GISETTE, COIL20, MNIST, and PBMC.
- METABRIC dataset: Used for survival analysis with Cox Proportional Hazard Models.
Key Insights and Ideas
- Bridging Linear and Non-linear Feature Selection: The paper successfully extends the concept of $\ell_1$ regularization (like LASSO) to non-linear models by introducing a probabilistic, differentiable $\ell_0$ norm approximation.
- Stability of Feature Selection: The Gaussian-based STG distribution is shown to be more stable than logistic-based relaxations (like Hard-Concrete) for feature selection, leading to more consistent feature subsets across different runs.
- "Second Chance" Effect: The injected noise in the STG formulation provides a "second chance" for features that might have been prematurely eliminated, allowing them to be re-evaluated during training. This is contrasted with deterministic non-convex methods where eliminated features can be permanently zeroed out.
- Information-Theoretic Justification: The authors provide a theoretical link between feature selection and maximizing mutual information, strengthening the probabilistic approach.
Key Results
- Improved Predictive Performance: STG consistently outperforms baseline methods (including LASSO, SVC, RF, XGBoost, and Hard-Concrete) in terms of classification accuracy and regression error across various synthetic and real-world datasets.
- Effective Feature Selection: The method successfully identifies informative features, often selecting a significantly smaller subset than other methods while maintaining or improving performance. For instance, in survival analysis on the METABRIC dataset, Cox-STG identifies only 2 features while achieving a high C-index.
- Robustness to High Dimensions: STG demonstrates strong performance in the $D > N$ regime, where the number of features significantly exceeds the number of samples.
- Stability: Experiments show that STG provides more stable feature selection results compared to the Hard-Concrete distribution, with lower variance in the number of selected features.
Limitations and Future Work
- Hyperparameter Tuning: While the method is end-to-end trainable, hyperparameter tuning (e.g., for $\lambda$ and $\sigma$) is still necessary, though the authors suggest that $\sigma=0.5$ often works well empirically.
- Computational Cost: While embedded, the training of neural networks can still be computationally intensive, especially for very large datasets.
- Future Work: The authors suggest exploring further applications of STG in other domains and potentially developing more advanced regularization techniques. The paper also mentions that real-world regression experiments were left to the supplementary material, implying potential for further analysis.
Summary updated