Two fundamental limits for uncertainty quantification in predictive inference

Felipe Areces, Chen Cheng, John C. Duchi, Kuditipudi RohithCOLT 2024

Abstract: We study the statistical hardness of estimating two basic representations of uncertainty in predictive inference: prediction sets and calibration error. First, we show that conformal prediction sets cannot approach a desired weighted conformal coverage level—with respect to a family of binary witness functions with VC dimension $d$—at a minimax rate faster than $O(d^{1/2}n^{-1/2})$. We also show that the algorithm in Gibbs et al. (2023) achieves this rate and that extending our class of conformal sets beyond thresholds of non-conformity scores to include arbitrary convex sets of non-conformity scores only improves the minimax rate by a constant factor. Then, under a similar VC dimension constraint on the witness function class, we show it is not possible to estimate the weighted weak calibration error at a minimax rate faster than $O(d^{1/4}n^{-1/2})$. We show that the algorithm in Kumar et al. (2019) achieves this rate in the particular case of estimating the squared weak calibration error of a predictor that outputs $d$ distinct values.

Introduction

In modern machine learning, point predictions are often insufficient. For high-stakes decision-making, models must provide reliable measures of uncertainty. Two dominant frameworks have emerged to address this: Conformal Prediction, which generates prediction sets that contain the true outcome with high probability, and Calibration, which ensures that a model’s predicted probabilities align with observed frequencies.

While these frameworks offer strong "marginal" guarantees (averaging over all possible inputs), users in practice require "conditional" or "group-wise" guarantees. For example, a medical diagnostic tool should be as reliable for one demographic subgroup as it is for another. Achieving these fine-grained guarantees is statistically more challenging. This paper, presented at COLT 2024, establishes the fundamental minimax lower bounds for these tasks, defining the absolute limits of what any algorithm can achieve.

The Problem: The Cost of Conditional Reliability

The core difficulty in uncertainty quantification (UQ) lies in the trade-off between the granularity of the guarantee and the sample size available. To formalize this, the authors use a class of "witness functions" with a specific VC dimension ($d$). These functions represent the subgroups or conditions for which we want the uncertainty guarantees to hold.

The central question addressed is: How does the estimation error scale as a function of the complexity of these subgroups ($d$) and the number of samples ($n$)?

Methodology

The researchers employed minimax theory to determine the lower bounds of estimation error. By constructing "difficult" probability distributions that are nearly indistinguishable to any estimator, they proved that any algorithm must incur a minimum level of error.

Key technical tools included:

  • Assouad’s Method and Le Cam’s Two-Point Method: These are standard statistical frameworks used to show that if an algorithm were too accurate, it would solve an impossible hypothesis testing problem.
  • Theorem 12 (Novel Lower Bound Technique): The authors developed a new technique to handle confidence intervals with multiple degrees of freedom (e.g., intervals defined by both a start and end point), where traditional methods often fail to provide tight bounds.
  • Upper Bound Verification: To ensure these lower bounds were "tight," the authors analyzed existing state-of-the-art algorithms—specifically the weighted conformal method (Gibbs et al., 2023) and debiased calibration estimators (Kumar et al., 2019)—to show their performance matches these theoretical limits.

Key Results

1. Conformal Prediction Limits

The paper proves that the minimax rate for weighted conformal coverage error is: $$\Theta\left(\sqrt{\frac{d}{n}}\right)$$ This result implies that the error in ensuring a prediction set covers the true value for a specific subgroup scales with the square root of the subgroup complexity. Interestingly, the authors found that allowing for more complex prediction sets (e.g., arbitrary convex sets of scores rather than simple thresholds) only improves the error by a constant factor, without changing the fundamental rate.

2. Calibration Limits

For estimating weighted weak calibration error, the minimax rate is: $$\Theta\left(\frac{d^{1/4}}{\sqrt{n}}\right)$$ This suggests that calibration is statistically "easier" to estimate than conformal coverage in high-dimensional settings, as the error scales more slowly with the complexity of the witness class ($d^{1/4}$ vs $d^{1/2}$).

Discussion and Implications

The findings confirm that current leading algorithms for weighted conformal prediction and debiased calibration are already minimax optimal. There is no "better" algorithm waiting to be discovered that can bypass these rates; to achieve higher precision in UQ, one must either increase the sample size ($n$) or decrease the complexity of the desired guarantees ($d$).

Limitations and Future Work

While these bounds provide a definitive answer for classes with a fixed VC dimension, several avenues remain open:

  • Modern Function Classes: The VC dimension framework may be too restrictive for some highly complex, non-binary witness classes used in deep learning.
  • Smooth Calibration: The authors provide a lower bound for Lipschitz (smooth) calibration classes, but it remains an open question whether this rate is perfectly tight.
  • Alternative Metrics: Future research could extend these limits to randomized binning or interval calibration, which are becoming popular in the UQ community.

Summary updated

BibTeX
@inproceedings{areces2024two,
  author = {Felipe Areces and Chen Cheng and John C. Duchi and Kuditipudi Rohith},
  title = {{Two fundamental limits for uncertainty quantification in predictive inference}},
  booktitle = {Conference on Learning Theory},
  year = {2024},
  url = {https://openreview.net/forum?id=I3jcP3S3mt},
}
Figure