ProtoGate: Prototype-based Neural Networks with Global-to-local Feature Selection for Tabular Biomedical Data

Xiangjian Jiang, Andrei Margeloiu, Nikola Simidjievski, Mateja Jamnik

Introduction

ProtoGate is a novel neural network architecture designed specifically for "High-Dimensional, Low-Sample-Size" (HDLSS) tabular data, a common scenario in biomedicine. It combines a dual-stage feature selector that balances global and local importance with a non-parametric, prototype-based predictor. This unique design prevents overfitting and provides human-readable, case-based explanations.

The Challenge of HDLSS Data

In biomedical research, datasets often feature thousands of variables (like gene expressions) but only a handful of patient records—the classic HDLSS problem. Standard machine learning models easily overfit these small, wide datasets.

While "local" feature selection—choosing different important features for each specific patient—is a popular solution, it faces two major hurdles:

  1. Neglecting Global Trends: Methods often focus so heavily on individual samples that they miss features important across the entire population.
  2. The Co-adaptation Problem: When a trainable feature selector and a trainable predictor are optimized together, the predictor often "learns" to make correct guesses based on noisy, irrelevant features chosen by the selector. This leads to high accuracy during training but poor real-world reliability and "low-fidelity" feature selection.

The ProtoGate Architecture

To overcome these challenges, ProtoGate introduces a "disjoint in-model selection" architecture consisting of two main components:

ProtoGate Architecture
  • Global-to-local Feature Selection: The model uses a gating network to generate a "mask" for each sample. It first identifies globally important features using a "soft" $\ell_1$ regularization, which encourages overall sparsity. It then refines this mask for each specific instance using $\ell_0$ regularization to pick the most relevant local features.
  • Non-parametric Prototype-based Prediction: Instead of a standard neural network "head" with trainable weights, ProtoGate uses a differentiable $k$-Nearest Neighbors (KNN) mechanism. It makes predictions by comparing a masked input sample to "prototypes" (masked samples from the training set).
  • Hybrid Sorting: To make the KNN operation differentiable (allowing the model to learn via backpropagation), the authors use NeuralSort during training. For speed, they swap this out for standard QuickSort during inference, nearly doubling the speed without losing accuracy.

By stripping the predictor of trainable parameters, ProtoGate forces the feature selector to be "honest." The selector must find a representation where similar patients naturally group together, avoiding the co-adaptation problem entirely.

Key Results and Performance

The authors evaluated ProtoGate across a diverse range of benchmarks, including 7 real-world HDLSS biomedical datasets, 4 non-HDLSS datasets, and 3 synthetic datasets designed to test feature selection fidelity.

Performance Comparison
  • Superior Accuracy and Sparsity: ProtoGate achieved the best average rank across all seven biomedical datasets, consistently outperforming 16 state-of-the-art benchmarks (including TabNet, XGBoost, and Lasso). Remarkably, it achieved this accuracy while selecting significantly fewer features than its competitors.
  • Robust Fidelity: On synthetic data, ProtoGate was the only local selection method that consistently avoided "low-fidelity" selection, proving it actually picks the features driving the underlying logic of the data.
  • Efficiency: Despite its sophisticated architecture, ProtoGate is highly parameter-efficient and maintains short inference times, making it highly practical for real-world clinical use.
  • Explainability by Example: ProtoGate goes beyond simple classification by providing prototypical explanations. It can justify a prediction by pointing to the most similar previous cases based on the selected genetic markers.

Limitations and Future Directions

While prototype-based models are robust, the authors note they can sometimes be less "expressive" than deep, fully-connected networks on very large and complex datasets. Future research directions include developing more expressive non-parametric prediction mechanisms, exploring the "global-to-local" selection paradigm in other high-stakes fields like finance, and integrating domain-specific knowledge to further refine feature selection.

Summary updated

BibTeX
@inproceedings{jiang2024protogate,
  author = {Xiangjian Jiang and Andrei Margeloiu and Nikola Simidjievski and Mateja Jamnik},
  title = {{ProtoGate: Prototype-based Neural Networks with Global-to-local Feature Selection for Tabular Biomedical Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=07fSWltF6M},
}
Figure