[Paper Review] Conformal Prediction With Conditional Guarantees
The paper develops distribution-free prediction sets with finite-sample conditional guarantees, interpolating between marginal and conditional coverage by using a flexible function class to calibrate conformity scores. It provides finite-sample exact coverage for finite-dimensional shift classes and quantifies gaps for infinite-dimensional classes.
We consider the problem of constructing distribution-free prediction sets with finite-sample conditional guarantees. Prior work has shown that it is impossible to provide exact conditional coverage universally in finite samples. Thus, most popular methods only guarantee marginal coverage over the covariates or are restricted to a limited set of conditional targets, e.g. coverage over a finite set of pre-specified subgroups. This paper bridges this gap by defining a spectrum of problems that interpolate between marginal and conditional validity. We motivate these problems by reformulating conditional coverage as coverage over a class of covariate shifts. When the target class of shifts is finite-dimensional, we show how to simultaneously obtain exact finite-sample coverage over all possible shifts. For example, given a collection of subgroups, our prediction sets guarantee coverage over each group. For more flexible, infinite-dimensional classes where exact coverage is impossible, we provide a procedure for quantifying the coverage errors of our algorithm. Moreover, by tuning interpretable hyperparameters, we allow the practitioner to control the size of these errors across shifts of interest. Our methods can be incorporated into existing split conformal inference pipelines, and thus can be used to quantify the uncertainty of modern black-box algorithms without distributional assumptions.
Motivation & Objective
- Address the lack of exact finite-sample conditional coverage in distribution-free prediction sets.
- Introduce a spectrum of guarantees that interpolate between marginal and conditional validity via a function class F.
- Provide exact finite-sample coverage over finite-dimensional covariate-shift classes and quantify gaps for infinite-dimensional classes.
- Preserve distribution-free, model-agnostic properties and integrate with split conformal inference pipelines.
- Enable group-conditional coverage and covariate-shift guarantees without strong distributional assumptions.
Proposed method
- Reformulate conditional coverage as coverage over a class of covariate shifts using a function class F.
- Replace a single score threshold with a function g in F, estimating conditional quantiles of Y|X via augmented quantile regression.
- Define hat{C}(X_{n+1}) as { y : S(X_{n+1}, y) <= hat{g}_{S(X_{n+1}, y)}(X_{n+1}) } and calibrate using pinball loss with an augmented dataset.
- Prove finite-sample coverage: P_f(Y in hat{C}(X)) >= 1 - alpha for finite-dimensional F; provide two-sided bounds when S|X is continuous.
- Extend to infinite-dimensional F by adding a regularization term R(g) and derive analogous coverage guarantees with an interpolation error term.
- Show how to achieve group-conditional coverage and covariate-shift guarantees without requiring overlapping group distributions.
Experimental results
Research questions
- RQ1Can we achieve exact finite-sample conditional coverage over a finite collection of covariate groups with conformal prediction?
- RQ2How can we interpolate between marginal and conditional coverage using a chosen function class F and still retain distribution-free guarantees?
- RQ3What are the finite-sample guarantees under covariate shift for finite-dimensional and infinite-dimensional function classes?
- RQ4How does the proposed randomized vs. unrandomized calibration affect coverage and conservativeness in practice?
- RQ5Can the method be efficiently implemented as a wrapper around existing black-box models in split conformal pipelines?
Key findings
- The method yields exact finite-sample coverage over each group in a finite collection of groups when using a finite-dimensional F.
- The unrandomized version provides conservative coverage, while a randomized version achieves exact coverage for finite collections of groups.
- Under covariate shift, the method guarantees 1 - alpha coverage for all non-negative f in a finite-dimensional F.
- If S|X is continuous, the method admits a two-sided bound on the coverage error that scales with the dimension of F.
- For infinite-dimensional F, regularization is required and the framework provides a lower bound and an interpolation error term for coverage.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.