Selective prediction-set models with coverage guarantees

Jean Feng, Arjun Sondhi, Jessica Perry, Noah SimonarXiv 2019

Introduction

In high-stakes domains such as clinical medicine, the deployment of machine learning (ML) models presents a difficult trade-off. Currently, practitioners often face a binary choice: either a human clinician must manually oversee every prediction, creating an unsustainable workload, or the model operates autonomously, which carries significant risk. Standard ML models are notoriously overconfident, frequently providing precise but incorrect predictions even when faced with out-of-distribution (OOD) data they have never encountered before.

This research introduces a framework for selective prediction, providing a middle ground where models can "abstain" from making a prediction when they are uncertain. By outputting a range of likely outcomes (a prediction set) for confident cases and flagging complex or unfamiliar cases for human review, these models ensure a reliable "coverage rate"—the probability that the true outcome falls within the predicted set.

The pSPS Framework: Simultaneous Training

The authors propose the Penalized Selective Prediction-Set (pSPS) framework, which moves away from traditional post-hoc filtering. Instead of using a separate outlier detector, pSPS trains the prediction function $h(x)$ and the decision (abstention) function $\psi(x)$ simultaneously. This allows the model to accept cases in low-density regions if they are inherently easy to predict, while rejecting high-density cases that are ambiguous.

Neural network architectures for simultaneous learning of prediction and decision functions.

The pSPS training objective consists of three distinct components:

  1. Adaptively Truncated Loss: The model is penalized for incorrect predictions on "accepted" cases, while choosing to "abstain" incurs a fixed cost ($\delta$).
  2. Information Borrowing Penalty: This encourages the model to learn underlying patterns from the entire dataset, including cases it chooses to abstain on, preventing the model from ignoring difficult regions of the data space.
  3. Uniform Acceptance Penalty: Acting as an OOD detector, this penalizes the model for accepting inputs in regions where it has no training data. Notably, it uses the Lebesgue measure (volume of the space) rather than data density to ensure the model is penalized for "guessing" in empty spaces.

The cSPS Inference Procedure

To ensure statistical reliability, the authors developed cSPS (Cross-Validation for SPS), a model-agnostic inference procedure. Single models can be unstable and provide wide confidence intervals for their coverage guarantees. By utilizing K-fold cross-validation, cSPS creates an ensemble that provides more stable coverage rates.

Overview of the cSPS cross-validation and ensemble procedure for generating prediction intervals and coverage estimators.

Mathematically, this ensemble approach reduces the variance of the coverage estimator by a factor of $1/K$. This leads to much tighter confidence intervals, providing clinicians with the high statistical certainty required for medical decision-making.

Experimental Evaluation

The framework was evaluated across three diverse data settings:

  • Synthetic Simulations: Verified that the model correctly thresholds based on both uncertainty (entropy) and data density.
  • MNIST Digit Classification: In a modified test where the model encountered unseen digits (9), Fashion MNIST images, and random noise, the pSPS model achieved significantly lower acceptance rates for OOD data compared to standard entropy thresholding.
  • MIMIC-III Clinical Database: Using data from over 40,000 ICU patients, the model predicted in-hospital mortality and length of stay. For "out-of-sample" groups (e.g., younger patients not well-represented in training), pSPS learned to abstain more frequently, resulting in lower overall test loss.

Key Results and Insights

The experiments demonstrated that ensembling via cSPS produced confidence intervals for the coverage rate that were consistently half the width of those from individual models. Furthermore, the simultaneous training approach proved superior to separate outlier detectors, as it could distinguish between "unfamiliar but easy" and "familiar but ambiguous" cases.

While the current theoretical guarantees for conditional coverage are asymptotic, future work aims to develop stronger guarantees for smaller, finite datasets. Additionally, while the abstention cost $\delta$ is currently user-defined, developing automated strategies to optimize this parameter for specific clinical workflows remains an active area of research.

Summary updated

BibTeX
@misc{feng2019selective,
  author = {Jean Feng and Arjun Sondhi and Jessica Perry and Noah Simon},
  title = {{Selective prediction-set models with coverage guarantees}},
  year = {2019},
  eprint = {1906.05473},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.05473},
}
Figure