Optimal Conformal Prediction under Epistemic Uncertainty
Summary
This paper introduces Bernoulli Prediction Sets (BPS), a novel conformal prediction method designed for classification tasks that explicitly addresses epistemic uncertainty. Unlike standard conformal prediction, which relies on first-order probabilistic predictors, BPS integrates second-order predictors such as credal sets or Bayesian models. BPS constructs the smallest possible prediction sets that guarantee conditional coverage of the true label, assuming valid second-order predictions. When given first-order predictions, BPS simplifies to the well-known Adaptive Prediction Sets (APS). For scenarios where the validity assumption of second-order predictions is compromised, BPS incorporates conformal risk control to ensure marginal coverage. Experiments on CIFAR-10 and CIFAR-100 datasets, utilizing deep ensembles, MC dropout, and evidential models, demonstrate that BPS consistently achieves better conditional coverage compared to APS, particularly in regions of low epistemic uncertainty, with comparable set sizes.
Key takeaway
For Machine Learning Engineers deploying models in safety-critical applications, you should consider implementing Bernoulli Prediction Sets (BPS) to robustly quantify and communicate predictive uncertainty. BPS provides optimal, smallest prediction sets with conditional coverage, especially when dealing with second-order predictors like deep ensembles or evidential models. This approach offers more reliable uncertainty estimates than traditional methods, improving trust and decision-making in high-stakes environments.
Key insights
Bernoulli Prediction Sets (BPS) optimally quantify uncertainty from second-order predictors, ensuring minimal prediction sets with conditional coverage.
Principles
- Epistemic Adaptivity: Smaller credal sets should yield smaller prediction sets.
- Optimality: Prediction sets should achieve conditional coverage with minimal size.
- Validity: Oracle first-order distribution must lie within the credal set.
Method
BPS solves a linear program to determine label inclusion probabilities, minimizing expected set size while satisfying conditional coverage for all distributions within a credal set. It uses conformal risk control for marginal guarantees with invalid credal sets.
In practice
- Integrate BPS with deep ensembles or MC dropout for robust uncertainty.
- Use BPS-nom for better conditional coverage in real-world scenarios.
- Apply conformal risk control to BPS for marginal coverage with invalid credal sets.
Topics
- Conformal Prediction
- Epistemic Uncertainty
- Credal Sets
- Bernoulli Prediction Sets
- Uncertainty Quantification
- Deep Ensembles
Code references
Best for: AI Scientist, Research Scientist, Machine Learning Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by stat.ML updates on arXiv.org.