Probabilistic Conformal Prediction with Approximate Conditional Validity

Vincent Plassier, Alexander Fishkov, Mohsen Guizani, Maxim Panov, Eric Moulines

Machine learning models are increasingly deployed in high-stakes domains like medicine and autonomous driving, where knowing when a model is uncertain is just as important as the prediction itself. This paper introduces $CP^2$ (Probabilistic Conformal Prediction), a novel framework designed to make machine learning uncertainty estimates reliable at the individual prediction level, rather than just on average.

TL;DR

$CP^2$ is a new conformal prediction framework that achieves approximate conditional coverage by adapting prediction sets to the local behavior of an estimated data distribution. Unlike standard methods that offer only "average" guarantees across an entire dataset, $CP^2$ provides reliable, tailored uncertainty regions for specific inputs, even in complex settings involving multimodality or high-dimensional outputs.

The Challenge: Marginal vs. Conditional Coverage

Most machine learning models provide "point predictions." However, to quantify uncertainty, we need prediction sets—a range or set of values highly likely to contain the true outcome.

Conformal Prediction (CP) has emerged as the gold standard for this task because it offers a mathematical "marginal coverage" guarantee (e.g., "90% of my prediction sets will contain the true value"). Unfortunately, marginal coverage is merely an average. A model could be 100% accurate for "easy" inputs and 0% accurate for "hard" ones, yet still claim 90% average coverage overall.

Comparison of standard Conformal Prediction (CP) and CP² on heteroscedastic data. CP² adapts to local variance, whereas standard CP applies a fixed-width interval.

The "holy grail" of uncertainty quantification is conditional coverage: a 90% guarantee for every specific input $x$. While perfect conditional coverage is mathematically impossible without restrictive assumptions about the underlying data distribution, we need methods that get as close as possible. This is especially critical when data is heteroscedastic (noise levels change depending on the input, as seen in the figure above) or multimodal (there are multiple distinct possible outcomes).

The $CP^2$ Framework

To bridge the gap between marginal and conditional coverage, the authors propose the $CP^2$ framework. It combines a "black-box" conditional distribution estimator with a novel calibration step.

  1. Distribution Estimation: First, a model (such as a Mixture Density Network or a Generative Model) is trained to estimate the full conditional distribution $P_{Y|X}$.
  2. Flexible Prediction Sets: Instead of outputting fixed, contiguous intervals, $CP^2$ defines a family of sets that can take complex shapes, such as unions of disjoint regions. This is crucial for multimodal data where the true value might be in one of two distinct clusters, but never in between.
  3. Pointwise Adaptation: The core innovation is a calibration function that adjusts the "size" or "radius" of the prediction set based on the local uncertainty of the model.
  4. Two Flavors:
    • $CP^2$-HPD: Uses explicit density estimates to find the "Highest Predictive Density" regions.
  5. $CP^2$-PCP: Uses samples from a generative model, making it "likelihood-free" and applicable even when the density function cannot be explicitly written down.

Crucially, the authors provide theoretical backing: they prove that the gap between their method's performance and perfect conditional coverage is bounded by the Total Variation (TV) distance between the true data distribution and the model's estimate. As your base model improves, your conditional coverage approaches perfection.

Key Results and Insights

The researchers evaluated $CP^2$ across a wide range of scenarios, including synthetic multimodal distributions, real-world 1D regression tasks (like weather forecasting and protein structure prediction), and multi-dimensional target datasets.

  • Superior Conditional Coverage: In synthetic multimodal tests, standard CP methods fluctuated wildly—sometimes covering 100% of the data (over-conservative) and sometimes dropping to 80% (under-covering). In contrast, $CP^2$ maintained near-constant 90% coverage across the entire input space.
Conditional coverage across the input space for a multimodal dataset. CP²-HPD maintains near-constant 90% coverage, while standard CP fluctuates significantly.
  • Beyond Simple Intervals: Because $CP^2$ can produce disjoint sets rather than a single wide interval, it avoids covering "empty" middle ground in multimodal distributions. This leads to much smaller, more informative prediction regions.
  • Efficiency on Real Data: On real-world datasets, $CP^2$ produced significantly smaller prediction sets than Quantile Regression-based methods while strictly maintaining the required coverage.
  • Multi-Target Robustness: In multi-dimensional settings, standard methods often become too conservative or require complex corrections. $CP^2$ scales naturally to multiple outputs by leveraging the geometry of the estimated distribution, achieving the best balance of valid coverage and tight set sizes.

Limitations and Future Directions

While $CP^2$ represents a significant step forward, it does have limitations:

  • Dependence on the Base Model: $CP^2$ is only as good as the initial distribution estimator. If the underlying model (e.g., the Mixture Density Network) fails to capture the data's true structure, the approximate conditional validity will degrade.
  • Computational Overhead: The likelihood-free variant ($CP^2$-PCP) requires drawing multiple samples for every calibration and test point, making it more computationally expensive than simple regression techniques.

Future work will likely explore more complex adjustment functions to further refine the adaptation to local noise, pushing the boundaries of reliable, instance-specific uncertainty quantification in machine learning.

Summary updated

BibTeX
@inproceedings{plassier2025probabilistic,
  author = {Vincent Plassier and Alexander Fishkov and Mohsen Guizani and Maxim Panov and Eric Moulines},
  title = {{Probabilistic Conformal Prediction with Approximate Conditional Validity}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Nfd7z9d6Bb},
}
Figure