Supervised Feature Selection with Neuron Evolution in Sparse Neural Networks

Zahra Atashgahi, Xuhao Zhang, Neil Kichler, Shiwei Liu, Lu Yin, Mykola Pechenizkiy, Raymond N. J. Veldhuis, Decebal Constantin Mocanu

In the era of big data, high-dimensional datasets—where the number of features can dwarf the number of samples—often lead to the "curse of dimensionality." This phenomenon causes models to overfit and consume massive amounts of memory. While neural networks are excellent at capturing non-linear relationships, they are typically dense and computationally expensive, making them difficult to scale for feature selection in massive search spaces.

A new paper published in Transactions on Machine Learning Research (02/2023) introduces NeuroFS, a method that brings the efficiency of sparse neural networks and the logic of evolution to the problem of supervised feature selection. By dynamically pruning uninformative neurons and regrowing promising ones based on gradient information, it achieves state-of-the-art accuracy while being significantly more resource-efficient than traditional dense approaches.

The NeuroFS Framework

The core of the NeuroFS algorithm operates on a Multi-Layer Perceptron (MLP) that is sparse from the very first iteration. Unlike traditional methods that start dense and prune down, NeuroFS maintains sparsity throughout the training process using two primary mechanisms:

  1. Dynamic Sparse Training (DST): The hidden layers use DST, where connections are periodically pruned and regrown to optimize the network's internal topology without ever becoming dense.
  2. Dynamic Neuron Evolution: This novel contribution is applied to the input layer. It consists of a Neuron Removal phase, where input neurons are dropped based on their "strength" (the sum of absolute weights of outgoing connections), and a Neuron Regrowth phase. To avoid losing potentially useful features, the model explores inactive neurons by activating those with the highest gradient magnitude for their non-existing connections.
The NeuroFS training and feature selection pipeline, illustrating the evolution of the input and hidden layers through pruning and regrowth.

This evolution follows a two-phase schedule. During the "Removal Phase," the total number of active features gradually shrinks. In the subsequent "Update Phase," the number of features stays fixed, but the model continues to swap features in and out to refine the selection.

Experimental Setup and Datasets

The authors evaluated NeuroFS on 11 real-world benchmarks spanning various domains, including image recognition, speech, time series, and text. Notably, the method was tested on high-dimensional biological datasets where the "Small N, Large P" problem is most acute.

Summary of the 11 benchmark datasets used for evaluation, highlighting the extreme dimensionality of biological data.

For instance, the GLA-BRA-180 dataset contains over 49,000 features for only 180 samples. In such environments, traditional dense models become over-parameterized and computationally bloated.

Key Insights and Results

NeuroFS demonstrates that sparsity is a powerful tool for feature discovery rather than just a compression technique. Key findings from the study include:

  • Superior Ranking: NeuroFS achieved the highest average ranking score across all 11 datasets when compared to seven state-of-the-art methods, including LassoNet and STG.
  • Massive Efficiency Gains: On the high-dimensional GLA-BRA-180 dataset, NeuroFS used approximately 30x fewer parameters and 70x fewer FLOPs (Floating Point Operations) than a standard dense MLP, while achieving higher classification accuracy.
  • Gradients as a Compass: By using gradients to guide the evolution of the input layer—rather than random search—NeuroFS navigates high-dimensional spaces with significantly greater speed and precision.
  • Topology Robustness: The researchers found that while internal network structures might vary between runs, the input layer consistently converges to the same set of critical features.

Conclusion

NeuroFS provides a resource-efficient alternative for supervised feature selection that does not sacrifice accuracy. By starting sparse and staying sparse, it avoids the memory bottlenecks of dense-to-sparse methods. While real-world "wall-clock" speedups currently depend on the development of optimized sparse-matrix kernels for GPUs, the theoretical computational savings and performance on high-dimensional data mark a significant step forward in scalable machine learning.

Summary updated

BibTeX
@article{atashgahi2023supervised,
  author = {Zahra Atashgahi and Xuhao Zhang and Neil Kichler and Shiwei Liu and Lu Yin and Mykola Pechenizkiy and Raymond N. J. Veldhuis and Decebal Constantin Mocanu},
  title = {{Supervised Feature Selection with Neuron Evolution in Sparse Neural Networks}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2023},
  url = {https://openreview.net/forum?id=bTm5RBbi5A},
}
Figure