Abstract
In high-stakes machine learning applications, understanding the drivers of a prediction is as critical as the prediction itself. However, quantifying the uncertainty of feature importance scores remains a significant challenge. Traditional methods like Leave-One-Covariate-Out (LOCO) are computationally prohibitive, while data-splitting techniques suffer from reduced statistical power. This paper introduces LOCO-MP, a fast, model-agnostic framework that leverages "minipatch ensembles" to generate robust confidence intervals for feature importance. By training on random subsets of both observations and features, LOCO-MP enables efficient uncertainty quantification for both features and predictions simultaneously, achieving significant speedups and superior feature selection accuracy without the need for model refitting.
Introduction
As machine learning models are increasingly deployed in sensitive domains such as healthcare and criminal justice, the demand for interpretability has grown. It is no longer sufficient to provide a point estimate of a feature's importance; practitioners require confidence intervals to distinguish true signals from noise. Despite this need, existing approaches to statistical inference for feature importance are often bottlenecked by a fundamental trade-off between computational efficiency and statistical reliability.
The Computational-Statistical Trade-off
Existing methodologies for feature importance inference generally fall into two problematic categories:
- Computational Intensity: The standard Leave-One-Covariate-Out (LOCO) approach requires retraining a model for every feature under investigation. In high-dimensional settings with thousands of features, this becomes computationally infeasible.
- Statistical Weakness: To maintain distribution-free guarantees, researchers often resort to data splitting—training on one portion of the data and testing on another. While this avoids restrictive assumptions, it drastically reduces the statistical power of the model, as the learner only observes a fraction of the available data.
LOCO-MP aims to resolve this tension by providing a framework that is model-agnostic, distribution-free, and computationally efficient.
The LOCO-MP Framework
The core innovation of this work is the use of Minipatch Ensembles. Instead of a single global model, the framework constructs an ensemble of base learners, each trained on a "minipatch"—a random subset of $n$ observations and $m$ features.
Efficient Feature Occlusion
To calculate the importance of a specific feature $j$, LOCO-MP utilizes the existing ensemble structure. Rather than retraining, the algorithm simply averages the predictions of all minipatches that excluded feature $j$ during training. This "feature occlusion" occurs at the ensemble level, allowing for the testing of any number of features with zero additional model training. Once the ensemble is built, the heavy lifting for inference is essentially complete.
Addressing Vanishing Variance
A common pitfall in inference is "vanishing variance," where the confidence interval for a noise feature collapses to zero, leading to false positives. The authors introduce a theoretical "variance barrier"—a buffer that ensures intervals remain valid and conservative even when a feature provides no predictive value.
Simultaneous Conformal Inference
The framework extends beyond feature importance to include Jackknife+ Minipatch (J+MP). This allows users to generate predictive confidence intervals (conformal inference) alongside feature importance intervals. This dual-purpose utility provides a comprehensive view of model uncertainty at no extra computational cost.
Experimental Results
The authors validated LOCO-MP across synthetic simulations and diverse real-world datasets, including Wine Quality, African Heart Disease, and high-dimensional RNA-seq data.
Speed and Efficiency
In a benchmark involving Random Forest regression ($N=500, M=200$), LOCO-MP demonstrated a massive reduction in runtime:
- LOCO-MP: ~24 seconds
- LOCO-Split: ~739 seconds
- Generalized Covariance Measure (GCM): >1,500 seconds
Feature Selection Accuracy
Using the F1 score to measure the balance of precision and recall, LOCO-MP consistently outperformed established methods like VIMP, CPI, and Floodgate. In complex non-linear and correlated settings, LOCO-MP was frequently the only method to achieve an F1 score above 0.90. On the Wine Quality dataset, the method identified "alcohol," "sulphates," and "volatile acidity" as the primary drivers, producing tighter and more stable intervals than split-sample alternatives.
Discussion and Insights
Beyond speed, LOCO-MP offers several qualitative advantages. The minipatch approach acts as a form of implicit regularization, stabilizing the model and making importance scores more robust. Furthermore, the method handles correlated features more effectively than traditional occlusion; by forcing base learners to see small feature subsets, LOCO-MP tends to identify the collective importance of correlated groups.
While the framework is model-agnostic in its inference phase, it does require the initial model to be trained as a minipatch ensemble. Additionally, in extreme high-dimensional regimes where $M \gg N$, the predictive signal of individual features can become diluted, representing an area for future optimization.
Conclusion
LOCO-MP represents a significant step forward in making interpretable machine learning practical for large-scale and high-stakes applications. By leveraging the structure of minipatch ensembles, it provides a mathematically grounded, computationally efficient path to understanding not just what a model predicts, but how much we should trust its internal logic.
Summary updated