Abstract
Selective regression—the ability of a model to abstain from making a prediction when uncertainty is high—is vital for deploying machine learning in high-stakes domains. This paper introduces a robust, model-agnostic framework that leverages non-parametric bootstrap uncertainty estimation and SHAP-based explanations. Evaluated across 69 datasets, the proposed methods, DOUBTVAR and DOUBTINT, significantly outperform existing baselines in error reduction and coverage reliability while providing transparent reasons for rejection.
Introduction
In fields like healthcare and finance, the cost of a wrong prediction often outweighs the benefit of an automated one. While "selective classification" is well-established, "selective regression" has lacked a general-purpose, model-agnostic approach. Existing methods often depend on specific architectures or fail to provide interpretable reasons for abstention. This research addresses these gaps by introducing a framework built on the doubt Python package, enabling any regressor (e.g., XGBoost, Random Forests) to perform explainable selective regression.
Methodology: Bootstrap Uncertainty Estimation
The core innovation is the use of non-parametric bootstrap sampling to estimate prediction risk. The framework fits multiple versions of a base model on different subsets of the training data, generating a distribution of possible predictions for any new input.
Two primary strategies are employed:
- DOUBTVAR: Uses the variance of the prediction distribution as a confidence score.
- DOUBTINT: Uses the width of the prediction interval (the distance between specific quantiles) as the score.
As illustrated in the framework overview, the system calculates an uncertainty score and compares it against a calibrated threshold ($\tau$). If the uncertainty is too high, the model rejects the instance. This approach is particularly robust against overfitting because the "rejection rule" is derived from the bootstrap distribution rather than the training data itself.
Explainable Selective Regression via Auditing
To ensure accountability, the framework includes an "audit model"—a secondary binary classifier that learns to predict whether the main regressor will accept or reject a sample. By applying SHAP (Shapley Additive Explanations) to this audit model, the system identifies which features drove the decision to abstain. For example, in a house price prediction task, the model might reject a sample because the "Living Area" feature falls into an unexplored, high-variance range, providing a clear justification for the system's caution.
Experimental Results
The framework was evaluated on 69 tabular regression datasets from the PMLB and OpenML repositories, ranging from 100 to 100,000 instances.
Performance and Reliability
The bootstrap-based methods demonstrated clear superiority over state-of-the-art baselines like PLUGIN, SCROSS, and MAPIE:
- Error Reduction: At a 50% coverage rate,
DOUBTVARandDOUBTINTreduced the Mean Squared Error (MSE) by approximately 45%, whereas the next best baseline,PLUGIN, only achieved a ~10.8% reduction. - Constraint Satisfaction: The proposed methods were much more reliable at honoring the "target coverage." While
PLUGINfailed to meet coverage requirements in ~41% of experiments, the bootstrap methods satisfied them in roughly 90% of cases. - Statistical Significance: Nemenyi post-hoc tests confirmed that the bootstrap strategies are statistically superior to existing non-deep-learning baselines.
Conclusion
This paper presents a significant advancement in selective regression, offering a model-agnostic solution that balances performance with transparency. By using bootstrap uncertainty as a proxy for risk and SHAP for explainability, the framework provides a pathway for more trustworthy machine learning in critical applications. Future work will explore scaling these techniques to massive datasets and complex deep learning models.
Summary updated