Bridging the Conditional Coverage Gap in Conformal Prediction

485 concepts285 papers2 proposals

Conformal prediction has become the gold standard for uncertainty quantification in modern machine learning. It provides a rare and powerful guarantee: distribution-free, finite-sample predictive intervals. If you request a 95% prediction interval, a standard conformal framework guarantees that the true value will fall within that interval at least 95% of the time.

This guarantee, however, is marginal—it holds as an average across the entire data distribution. In high-stakes applications like medicine, finance, or algorithmic fairness, this average-case guarantee harbors a dangerous illusion known as the conditional coverage gap.

The Illusion of Average Safety

To understand the conditional coverage gap, imagine a medical model predicting patient recovery times. If the model achieves 95% marginal coverage across a dataset, it sounds perfectly reliable. However, if the dataset is dominated by a single demographic group, the model might achieve 99% coverage for that majority group while dropping to 60% coverage for a minority group. On average, the global metric still looks pristine.

As highlighted by Yanfei Zhou et al. in Conformal Classification with Equalized Coverage for Adaptively Selected Groups, relying solely on aggregate calibration metrics can mask severe localized under-coverage. This creates a reliability gap where the system becomes systematically untrustworthy for specific demographics or difficult regions of the input space. The goal of conditional conformal prediction is to ensure that a 95% guarantee means 95% coverage for every type of input, not just on average.

Why Global Thresholds Fail Locally

The root cause of the conditional coverage gap lies in how standard split conformal prediction calculates its prediction intervals.

Typically, the algorithm takes a held-out calibration dataset and computes a "conformity score" for each sample—a metric representing how unusual or erroneous a model's prediction is. It then computes a single global quantile threshold, $\hat{q}$, from these scores. Any future prediction interval is constructed by applying this fixed threshold $\hat{q}$ across the board.

Standard Conformal Prediction (Global Threshold):
[ Calibration Data ] ---> [ Compute Global Quantile q̂ ] ---> Applied to all inputs uniformly
                                                                |---> Easy inputs: Over-covered (bloated sets)
                                                                |---> Hard inputs: Under-covered (unsafe sets)

This mechanism implicitly assumes that the model's error distribution is uniform across the entire feature space. In reality, some regions of the feature space are inherently more volatile or difficult than others. For a difficult subgroup, the true errors will routinely exceed the global threshold $\hat{q}$, leading to systematic under-coverage. Conversely, for easy subgroups, $\hat{q}$ will be unnecessarily large, resulting in overly conservative, bloated intervals that lack practical utility.

As noted by John Duchi in Sample-Conditional Coverage in Split-Conformal Prediction, perfect distribution-free conditional coverage for every individual point is mathematically impossible. This constraint has driven researchers to develop two primary strategies to approximate conditional validity: explicit subgroup calibration and local score rectification.

Strategy 1: Subgroup Calibration and Multivalid Coverage

When the relevant subgroups or sensitive attributes are known in advance, the most direct solution is to compute group-specific thresholds rather than a single global one.

However, real-world data often features complex, overlapping, or adaptively chosen groups. To address this, Christopher Jung et al. developed a framework in Batch Multivalid Conformal Prediction that enforces multivalid coverage. Instead of satisfying a single average, their algorithms iteratively adjust thresholds to ensure that prediction intervals maintain their target reliability simultaneously across a large, intersecting family of user-defined categories.

Crucially, this approach can even condition on the prediction threshold itself, preventing the model from exhibiting localized over-confidence. Extending this concept to dynamic environments, Osbert Bastani et al. demonstrate in Practical Adversarial Multivalid Conformal Prediction that models can maintain these group-level guarantees online and under adversarial shifts, eliminating the need for a static, held-out calibration set.

Strategy 2: Rectifying Scores via Local Estimation

When subgroups are not explicitly predefined, or when data difficulty varies continuously across the feature space, researchers turn to score rectification. The core intuition here is to use a secondary model to estimate the local error distribution and "unwarp" the conformity scores before the conformal step occurs.

Rectified Conformal Prediction (Local Scaling):
[ Input X ] ---> [ Secondary Model ] ---> Estimates Local Variance/Quantiles
                                                |
[ Conformity Score ] ---------------------------> [ Rectified Score ] ---> [ Global Quantile q̂ ]
                                                                                |
                                                                       Conditionally Valid Interval

A clear example of this is proposed by Vincent Plassier et al. in Rectifying Conformity Scores for Better Conditional Coverage. Their framework uses conditional quantile estimation to transform standard conformity scores. By learning a mapping that homogenizes the error distribution across the feature space, the rectified scores exhibit a uniform spread. Consequently, a single global threshold applied to these rectified scores translates back into tight, conditionally valid intervals in the original space.

Another elegant mechanism targets the optimization process directly. In Improving Conditional Coverage via Orthogonal Quantile Regression, Shai Feldman introduces a regularization term that penalizes the correlation between interval length and error frequency. By forcing the interval size to be statistically independent of whether a miscoverage event occurs, the model is structurally prevented from dumping all its errors onto high-variance subgroups.

For deep learning architectures where retraining is expensive, the authors of Locally Valid and Discriminative Prediction Intervals for Deep Learning Models achieve a similar effect post-hoc. By adjusting intervals based on the local neighborhood of an input in the feature space, they ensure that the uncertainty estimates adapt dynamically to local data density and difficulty.

A Promise to the Individual

The transition from marginal to conditional coverage represents a vital paradigm shift in trustworthy machine learning. By moving away from one-size-fits-all global thresholds and adopting group-conditional calibration or score rectification, these methods ensure that statistical guarantees are a promise kept to every individual user and subgroup, rather than just an abstract population average.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 300 papers
  2. Version 1 · 2026-10-04 · 411 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_conditional_coverage_gap_e57f589d,
  title = {conditional coverage gap},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/conditional-coverage-gap/rdr_e57f589d7f554d3399db4dfab8de5328},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 2, frozen text):

@misc{lacuna_conditional_coverage_gap_e57f589d_v2,
  title = {conditional coverage gap},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/conditional-coverage-gap/rdr_e57f589d7f554d3399db4dfab8de5328/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake