Unveil Sources of Uncertainty: Feature Contribution to Conformal Prediction Intervals
Marouane Il Idrissi, Agathe Fernandes Machado, Ewen Gallic, Arthur Charpentier
TL;DR
This work tackles the challenge of attributing predictive uncertainty in ML to input features. It couples conformal prediction with cooperative game theory to create CP-based value functions that capture interval width and bounds, and then distributes these uncertainty contributions using Shapley and proportional Shapley allocations. A Monte Carlo approximation with unbiased, consistent, and asymptotically normal guarantees enables scalable computation, including an importance-sampling variant for efficiency. Experiments on synthetic benchmarks and real-world datasets reveal that CP-based uncertainty attributions can diverge from moment-based rankings, offering a richer and more reliable interpretive tool for high-stakes decisions where predictive uncertainty matters.
Abstract
Cooperative game theory methods, notably Shapley values, have significantly enhanced machine learning (ML) interpretability. However, existing explainable AI (XAI) frameworks mainly attribute average model predictions, overlooking predictive uncertainty. This work addresses that gap by proposing a novel, model-agnostic uncertainty attribution (UA) method grounded in conformal prediction (CP). By defining cooperative games where CP interval properties-such as width and bounds-serve as value functions, we systematically attribute predictive uncertainty to input features. Extending beyond the traditional Shapley values, we use the richer class of Harsanyi allocations, and in particular the proportional Shapley values, which distribute attribution proportionally to feature importance. We propose a Monte Carlo approximation method with robust statistical guarantees to address computational feasibility, significantly improving runtime efficiency. Our comprehensive experiments on synthetic benchmarks and real-world datasets demonstrate the practical utility and interpretative depth of our approach. By combining cooperative game theory and conformal prediction, we offer a rigorous, flexible toolkit for understanding and communicating predictive uncertainty in high-stakes ML applications.
