Abstract
Training deep neural networks on high-dimensional biomedical datasets with small sample sizes often leads to severe overfitting. We present the Weight Predictor Network with Feature Selection (WPFS), an architecture designed to mitigate this "fat layer" bottleneck. By utilizing auxiliary networks to generate first-layer weights and perform global feature selection based on feature embeddings, WPFS significantly reduces the number of learnable parameters. Our evaluations across nine real-world biomedical datasets demonstrate that WPFS consistently outperforms state-of-the-art methods, including TabNet and Gradient Boosted Trees, while maintaining high interpretability.
Introduction
Biomedical research frequently encounters datasets characterized by a "high-dimensional, low-sample" (HDLS) structure. For instance, genomic studies may involve tens of thousands of features (genes) but only a few hundred patient samples. Standard Multi-Layer Perceptrons (MLPs) struggle in this regime due to the massive number of parameters in the first hidden layer. A typical genomic dataset with 20,000 features and 100 neurons in the first layer results in 2 million parameters—far exceeding the number of available training samples. This imbalance causes the model to memorize noise rather than learning generalizable biological signals.
Methods
The proposed WPFS architecture addresses the overfitting problem by fundamentally changing how the first layer's weight matrix $W^{[1]}$ is constructed. Instead of learning $W^{[1]}$ directly, WPFS employs two small auxiliary networks that predict weights column-by-column.
Feature Embeddings
Each feature is represented by a low-dimensional vector. While various methods can generate these embeddings, the authors found that Non-negative Matrix Factorization (NMF) is particularly effective for continuous biomedical data, as it captures latent structures across features better than simple histograms.
Weight Predictor and Sparsity Networks
- Weight Predictor Network (WPN): Takes a feature's embedding and outputs the weights connecting that feature to the subsequent hidden layer.
- Sparsity Network (SPN): Acts as a global feature selector by outputting a score $s_j \in (0, 1)$ for each feature. A score near zero effectively removes the feature from the model.
- Differentiable Sparsity Loss: A penalty term is added to the loss function to encourage the SPN to select a sparse subset of features, enhancing both interpretability and robustness against noise.
By sharing parameters across all features through these auxiliary networks, WPFS reduces the total number of learnable parameters by approximately 90% compared to a standard MLP.
Experiments
The model was evaluated on nine real-world tabular biomedical datasets, primarily focused on genomics and clinical toxicity. These datasets typically contain between 3,312 and 19,993 features but only 100 to 200 samples. Baselines included specialized tabular models like TabNet, tree ensembles (LightGBM, Random Forest), and standard MLPs.
Results
WPFS achieved the best average rank (2.66) across all datasets, outperforming all ten baseline methods. Notably, it surpassed well-tuned tree-based models like LightGBM (rank 3.44) and Random Forest (rank 4.55), as well as TabNet (rank 10).
As shown in the loss curves, standard MLPs suffer from rapid divergence, where validation loss explodes even as training loss approaches zero. In contrast, WPFS maintains a downward trend in validation loss for a significantly longer period, reaching much lower minima and demonstrating superior generalization capabilities.
Discussion and Conclusion
The success of WPFS confirms the "fat layer" hypothesis: the disproportionate number of parameters in the first layer is a primary driver of overfitting in HDLS tabular data. The integration of NMF-based embeddings and a differentiable sparsity network provides a robust framework for feature selection and weight generation.
While WPFS shows great promise, challenges remain regarding validation sensitivity in extremely small samples and the need for data-dependent tuning of the sparsity coefficient. Future work will focus on distinguishing true biological drivers from spurious correlations inherent in small-sample biomedical data.
Summary updated