Conformal Prediction - Index

Routing Summary

Distribution-free, finite-sample uncertainty quantification for black-box predictors. Anchored by Angelopoulos & Bates (2021), “A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantification”, with Romano, Patterson & Candès (2019) on conformalized quantile regression, Tibshirani, Barber, Candès & Ramdas (2019) on covariate shift, and Lei & Candès (2020) on counterfactuals and individual treatment effects.

Concept Map

ConceptNoteTypeDepends OnKey Result
Conformal frameworkConformal Prediction - OverviewoverviewPermutation tests; Quantile RegressionAny model + any score + exchangeable calibration data ⟹ ; sets are inverted permutation tests
Split conformal and guaranteeSplit Conformal Prediction and the Coverage GuaranteemethodOverview-th score; coverage in ; realised coverage
Score designConformity Scores and Adaptive Prediction SetsconceptSplit conformalScore fixes usefulness, not validity; APS cumulative-mass score; ; conformalized Bayes
CQRConformalized Quantile RegressionmethodSplit conformal; Scores; Quantile Regression; avg length 1.40 vs 1.81 (local) vs 2.16+ (split) at 90%
Coverage notionsMarginal vs Conditional CoverageconceptSplit conformal; ScoresDistribution-free conditional coverage ⟹ infinite length; FSC/SSC metrics; group-balanced and class-conditional calibration
Weighted conformalConformal Prediction Under Covariate ShiftmethodSplit conformal; Coverage notionsWeights restore coverage; weighted exchangeability; airfoil 82.2% → 90.8%
Causal bridgeConformal Inference for Counterfactuals and ITEsapplicationWeighted conformal; CQR; Potential Outcomes; Propensity scoreCounterfactual = covariate shift with ; exact in RCTs; doubly robust in observational studies

Notes

  • Conformal Prediction - Overview — CONTAINS: marginal-coverage definition, distribution-free definition, four-step recipe, Theorem 1, split/full/cross-conformal comparison table, full conformal definition and Theorem 5, permutation-test interpretation, conformal risk control (Theorem 2), outlier detection, distribution-drift bound (Theorem 4) with rolling/decay weights, relevance to marketing measurement, softmax-score code.
  • Split Conformal Prediction and the Coverage Guarantee — CONTAINS: split conformal algorithm, formulation, quantile lemma with proof sketch, coverage theorem (lower and upper bounds) and A&B three-line proof, assumptions checklist, Beta law of training-conditional coverage, calibration-size table (), beta-binomial coverage check with mean/variance formulas, 9-point worked example, score-caching code.
  • Conformity Scores and Adaptive Prediction Sets — CONTAINS: softmax-threshold score, APS score and set, scaled-residual score with list of uncertainty scalars, locally adaptive conformal and its training-residual bias, conformalized Bayes (posterior predictive density score, Hoff optimality), score-selection table, adaptivity evaluation, APS code, worked softmax contrast.
  • Conformalized Quantile Regression — CONTAINS: conditional quantile and oracle interval, pinball loss, Algorithm 1 (split CQR), signed-score interpretation, Theorem 1 with proof, asymmetric Theorem 2, practical tuning advice (nominal quantile tuning, shared network, quantile crossing, ties), Table 1 results across 11 datasets, sklearn code, sales-forecast sketch.
  • Marginal vs Conditional Coverage — CONTAINS: four coverage notions table, conditional coverage definition, impossibility theorem (Vovk; Lei & Wasserman), FSC and SSC metrics, group-balanced and class-conditional algorithms (Propositions 1–2), kernel-localised relaxation, asymptotic conditional coverage via CQR (Lei & Candès Eq. 3.6), stratified-coverage code, retail/wholesale worked numbers.
  • Conformal Prediction Under Covariate Shift — CONTAINS: covariate shift model, weighted probabilities , Corollary 1, weighted split algorithm, weighted exchangeability (Definition 1, Lemmas 2–3, Theorem 2), classifier-odds weight estimation, effective sample size, airfoil experiment table, discussion extensions (graphical shift, missing covariates, local coverage), hand-worked weighted quantile, NumPy code.
  • Conformal Inference for Counterfactuals and ITEs — CONTAINS: ITE vs CATE motivation, coverage targets (ATE/ATT/ATC/general), counterfactual-as-covariate-shift derivation, weight table, weighted split-CQR (Algorithm 1), Proposition 1 (finite-sample and weight-error bounds), exactness for randomized experiments, double-robustness Theorem 1 (A1/A2), naive and nested ITE procedures (Algorithms 2–3, Theorem 2), simulation and NLSM findings vs Causal Forest / X-learner / BART, geo-experiment code sketch.

Sources

  • Angelopoulos Bates 2021 - Gentle Introduction to Conformal Prediction — Angelopoulos, A. N. & Bates, S. (2021, v6 Dec. 2022), “A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantification,” arXiv:2107.07511.
  • Romano Patterson Candes 2019 - Conformalized Quantile Regression — Romano, Y., Patterson, E. & Candès, E. J. (2019), “Conformalized Quantile Regression,” NeurIPS 2019, arXiv:1905.03222.
  • Tibshirani et al 2019 - Conformal Prediction Under Covariate Shift — Tibshirani, R. J., Barber, R. F., Candès, E. J. & Ramdas, A. (2019), “Conformal Prediction Under Covariate Shift,” NeurIPS 2019, arXiv:1904.06019.
  • Lei Candes 2020 - Conformal Inference of Counterfactuals and ITEs — Lei, L. & Candès, E. J. (2021), “Conformal Inference of Counterfactuals and Individual Treatment Effects,” Journal of the Royal Statistical Society: Series B, arXiv:2006.06138.