MINERVA: Mutual Information Neural Estimation for Supervised Feature Selection

Taurai Muvunza, Egor Kraev, Pere Planell-Morell, Alexander Y. ShestopaloffarXiv 2025 · DOI

Abstract

Feature selection is a critical component of machine learning, essential for improving model interpretability and reducing computational overhead. However, traditional filter-based selection methods often rely on pairwise metrics that fail to account for complex, high-order interactions between variables. This paper introduces MINERVA (Mutual Information Neural Estimation Regularized Vetting Algorithm), a novel framework that utilizes neural networks to estimate the mutual information (MI) between feature subsets and targets. By leveraging the Donsker-Varadhan dual representation and a decoupled two-stage training process, MINERVA successfully identifies multi-variable dependencies that traditional methods overlook. Our results on synthetic benchmarks and a large-scale financial fraud dataset demonstrate that MINERVA achieves superior predictive performance and exact feature selection in the presence of non-linear interactions.

Introduction

In high-dimensional machine learning tasks, identifying the most relevant subset of features is paramount. Most existing feature selection tools, particularly "filters," evaluate features in isolation or through pairwise correlations. While computationally efficient, these methods are fundamentally limited: they cannot detect features that are only informative when considered as an ensemble. For example, in fraud detection, a specific "Device ID" or "User ID" may appear benign individually, but their combination might represent a high-risk pattern. Traditional filters often discard such variables because their individual correlation with the target is negligible.

To address this, we present MINERVA, an algorithm designed to "see" these multi-variable dependencies by parameterizing the mutual information landscape using deep neural networks. This approach allows for the evaluation of joint information across feature sets, capturing "XOR-style" relationships that are invisible to standard statistical tests.

Methodology

MINERVA is built upon three primary technical pillars designed to provide robust and sparse feature selection:

1. Neural Mutual Information Estimation

At its core, MINERVA utilizes Mutual Information Neural Estimation (MINE). Calculating mutual information for high-dimensional, continuous variables is traditionally difficult because it requires knowing the underlying probability distributions. MINERVA bypasses this by using the Donsker-Varadhan dual representation, which transforms the MI calculation into an optimization problem. A deep neural network is trained to maximize a lower bound on the MI, effectively learning the relationship between the features and the target.

2. Two-Stage Training Process

A significant contribution of this work is the decoupling of representation learning and feature selection. The authors observed that attempting to learn the data landscape and prune features simultaneously leads to instability and poor generalization.

  • Stage 1: The network learns the complex mutual information landscape between the full set of features and the target.
  • Stage 2: The model introduces sparsity-inducing regularizers to "prune" unimportant features while keeping the learned relationships from Stage 1 intact.

3. Regularized Loss Function

To ensure the selection of a parsimonious feature set, MINERVA employs a custom loss function. It utilizes $L_1$ regularization to drive the weights of irrelevant features to zero, effectively performing selection, while $L_2$ regularization prevents the weights of the informative features from exploding, ensuring numerical stability.

Theoretical Foundation

The paper provides a formal mathematical proof (Lemma 1) demonstrating the inherent limitations of pairwise metrics. It proves that any selection method relying solely on individual feature-target dependencies is guaranteed to fail on specific dependency structures, such as equality-checks or parity problems, where information is only revealed through the joint distribution of multiple variables.

Experimental Evaluation

MINERVA was tested against several benchmarks, including Boruta, Random Forest, and HSIC Lasso, across both synthetic and real-world datasets.

Synthetic Benchmarks

  • Experiment A (Needle in a Haystack): The target $Y$ was determined by whether two specific discrete variables were equal, hidden among noise. MINERVA and FOCI were the only methods to achieve "Exact Selection," identifying only the relevant features while benchmarks failed to distinguish signal from noise.
  • Experiment B (Non-linear Interactions): $Y$ was a non-linear function (sine/cosine) of continuous variables, triggered by the equality of two other variables. In this complex scenario, a gradient boosting model trained on MINERVA’s selected features achieved an out-of-sample $R^2$ of 84.69%, significantly outperforming the next best benchmark, HSIC Lasso (70.04%).

Real-World Fraud Detection

The algorithm was applied to a massive financial dataset containing 3 million samples and 214 features. The data was highly imbalanced (0.1% fraud rate). MINERVA successfully reduced the feature count from 214 to 160. Despite the reduction, it maintained an out-of-sample recall of 0.573, matching the performance of the full feature set while providing a more interpretable and efficient model.

Conclusion and Future Work

MINERVA represents a significant step forward in capturing high-order feature interactions for supervised learning. By moving beyond pairwise metrics to a neural-estimated ensemble approach, it identifies critical variables that traditional filters ignore.

Currently, the method's primary limitation is its sensitivity to the regularization coefficient, which requires empirical tuning to find the optimal balance between sparsity and predictive power. Future research will explore the application of MINERVA to other domains characterized by complex interactions, such as gene-gene interactions in bioinformatics, as well as applications in computer vision and speech processing.

Summary updated

BibTeX
@misc{muvunza2025minerva,
  author = {Taurai Muvunza and Egor Kraev and Pere Planell-Morell and Alexander Y. Shestopaloff},
  title = {{MINERVA: Mutual Information Neural Estimation for Supervised Feature Selection}},
  year = {2025},
  eprint = {2510.02610},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.02610},
}
Figure