Context. Regression had confidence intervals for coefficients, each resting on a correct model, and almost nothing for the question a user asks: how far can the next response be from the prediction? A quantile of the training residuals undercovers, because a model's residuals on its own data are biased low; an interpolator has zero training residuals whatever its test error. Lei et al. turn conformal prediction (Vovk et al., 2005) into a regression toolkit; Romano et al. conformalize quantile regression (CQR) so that the band's width follows the noise. If the test point is scored by the same symmetric rule as the training points, its score is exchangeable with theirs, so its rank is uniform and a score quantile is a valid threshold whatever the model; the model affects only the width. With CQR's score the band takes its shape from a quantile model and its validity from the rank argument. The guarantee is marginal in both papers.
Setting. , , are i.i.d. (exchangeable suffices), , and is any regression algorithm symmetric in its input points. Full conformal: for each trial value , fit , set and , and keep unless the test residual ranks too high: Split conformal: fit once on a random half , take residuals on the other half , let be their -th smallest with , and output . CQR instead fits quantile regressions at , on (typically by pinball loss) and calibrates on : where is the -th smallest score, that is, the -th empirical quantile.
Coverage theorems. For every distribution and every symmetric (with ties handled as in Step 1), , and if the fitted residuals have a continuous joint distribution, Split conformal satisfies the same lower bound and, with continuous residuals, the upper bound ; CQR covers with probability at least for any quantile regression algorithm, and at most with almost surely distinct scores, both conditionally on the fitting half. The probabilities are over all draws, so the guarantee is marginal over ; the lower bound is Vovk's, the upper bound is new in Lei et al. Calibrating each CQR end with its own one-sided score, and , with inflated quantiles at levels and , where now denote the two tail miscoverages, guarantees each tail separately (Theorem 2): and , so with the band covers with probability at least .
Efficiency theorems. The conformal band is as short as the best band built around the fitted model, and as short as the best band outright when the fit is consistent. Assume is independent of with a density symmetric about 0 and nonincreasing on . The super oracle , the upper quantile of , is the shortest band with conditional coverage; the oracle uses the upper quantile of for a fresh draw. With , a noise density with derivative bounded by and at least near , . Under sampling stability, for a fixed with (and a density lower bound for near its upper quantile), the split width satisfies ; full conformal needs in addition perturb-one sensitivity, . Under consistency, , the split band differs from by a set of vanishing length, so it has asymptotic conditional coverage (coverage at every outside sets of vanishing probability).
In-sample bands and LOCO. Rank-one-out (ROO) split conformal fits on half and gives each point of the other half the interval , the -th smallest of the other residuals in that half, ; Theorem 5.1 puts its in-sample coverage within of with probability at least . For variable importance, refit without covariate and define the excess error . With for a conformal band ,
The test point's rank is uniform, so inverting the rank test covers. Fix the trial value at the truth, . The augmented fit treats all points symmetrically, so exchangeable data give exchangeable residuals, and with no ties the last one's rank is uniform on : Nothing about or enters; refitting with the candidate removes the naive method's bias by fitting the test point on the same footing as the others. Read as a test, keeps the that the p-value for does not reject (the paper writes , which is anti-conservative by : for it is 0 with probability 1/2). The cost is one refit per on a grid, and the set need not be an interval.
Without ties, coverage is at most . With distinct residuals the display above is an equality, and . The upper bound shows that the method does not reach coverage by inflating the band; it is calibrated, and the excess comes from the rank being discrete. Random tie-breaking removes the continuity assumption.
Split conformal and CQR are the same argument given the first half, and the inflated quantile accounts for the unseen test score. Conditional on the fitted functions are fixed, so the calibration scores and the test score are exchangeable. The inflation lemma takes the unknown test score out of the threshold: with , because inserting below the -th smallest of values makes it at most the -th smallest of , and conversely. The right side is a quantile of all exchangeable scores, so the test score falls below it with probability at least , and at most without ties; averaging over gives the marginal statements, and gives split conformal's . A single fit is what makes conformal practical around the lasso, a forest or a quantile network; the cost is that only half the data are used for fitting. Removing the split's randomness by intersecting bands at level is valid by Bonferroni but widens the band (Theorem 2.4, under stability with ): the fits are within of each other, so intersecting gains almost nothing, while by DKW each empirical quantile stays above the quantile by a fixed gap.
CQR's signed score turns coverage into one inequality, and the sign lets calibration shrink the band. Below the fitted interval is the distance to the lower end, above it the distance to the upper end, and inside it the larger of two nonpositive numbers, so and coverage depends only on the rank of one score. When the quantile model is too generous most calibration scores are negative, , and both ends move in; when it is too tight, widens it. The correction is one additive shift at every , so the band keeps the quantile model's shape. Per-tail calibration applies the inflation lemma twice and costs width (average length 1.40 to 1.58 for the network), since the symmetric version lets the miscoverage fall in whichever tail the model gets wrong.
The guarantee is marginal, and conditional coverage is out of reach without assumptions. Lei et al. cite the impossibility without proving it (Lei and Wasserman, 2014): a band with for almost every and every has infinite expected length at non-atom points of . The proof uses a local perturbation: spread given over a huge range on a small ball around . No training point is likely to land in the ball, so the two sample laws are close in total variation and the band, which must cover the huge range under the perturbed law, is huge under too. Steps 6 to 8 recover conditional coverage under assumptions on the estimator.
The regression error moves the oracle width only at second order. Independence of and writes the CDF of as the noise CDF averaged over shifts by the fit error: In a Taylor expansion the first-order terms and cancel because the noise density is symmetric, leaving , and the density lower bound turns this into the quantile bound. A biased fit costs width only through its mean squared error.
Under stability, the conformal width is the oracle width. A fit within of a fixed moves every residual by at most , so every quantile involved is within of a quantile of residuals about : the empirical calibration quantile is within of the empirical quantile of , which is within of its population value, and is within of that value. Full conformal refits for every , so it also needs perturb-one, which keeps the augmented residuals within of residuals about for all trial at once and pins the width between two nearby quantiles. Since need not be , stability alone makes the band as short as the fitted model allows.
A consistent fit gives the super oracle and conditional coverage in the limit. Consistency controls only the mean squared error, so split -space into a small bad set where the fit is off and the rest. By Markov the bad set has probability at most ; it is independent of the calibration half, so by Hoeffding only calibration points fall in it, and off it the residuals about and differ by at most . The empirical quantile is then sandwiched between quantiles of at levels , and a test point lands off with probability tending to one, so the band converges to . For the lasso, restricted eigenvalues give both with of order , enough for split conformal; full conformal's perturb-one needs support recovery.
In-sample coverage is exact by construction, and LOCO inherits simultaneous coverage. The paper proves Theorem 5.1 with McDiarmid, but sorting gives more (not in the paper): with distinct residuals the point of rank in its half is covered exactly when , since the -th smallest of the others is if and otherwise. So in-sample coverage equals with probability one; my simulation (OLS, heavy-tailed heteroskedastic noise, ) returned exactly in every run. Theorem 2.3 (the half-sample statement for split conformal) is deterministic for the same reason; since that coverage holds by construction, it cannot test the method, and the in-sample band serves only for display. For LOCO, if then for every at once, since each is an image of the same set: one event of probability covers all intervals.
In experiments the bands keep their coverage, and CQR gives the shortest. Conformal bands are valid under misspecification, and their length tracks the model. At 90% Lei et al.'s bands covered within 2 points in every setting, including heteroskedastic noise and nonlinear means; at , with least squares, full conformal covered 0.903 with length 8.1, against 0.867 and 24.2 for the parametric interval and 0.883 and 26.1 for the jackknife. Locally weighted bands (residuals divided by a fitted spread ) adapt only partly, because is fit to the fitting half's residuals, which are biased low and nearly zero for a network that almost interpolates; CQR's model is trained on the quantiles themselves, and anything done on , such as tuning the nominal levels, does not affect validity. On eleven benchmarks at average lengths were 2.24 and 2.16 for forest and network, 1.82 and 1.81 locally weighted, and 1.41 and 1.40 for CQR, all conformal methods at 89.9 to 90.3%; unconformalized quantile networks covered only 88.5% and quantile forests 92.6%, so calibration fixes both. CQR overcovered on the two Facebook datasets, which the paper attributes to ties among discrete scores, which void the upper bound. Coverage within slices of , what adaptivity is meant to improve, is not measured.
Consequences and limits. Conformal inference separates the two jobs of a prediction interval: validity comes from exchangeability alone and efficiency from the estimator, so a good model gives a near-oracle band, a bad one a valid but wide band, and interval length becomes a measure for comparing models. Split conformal and CQR became defaults because each costs one fit. The guarantee is marginal, which in fraud or credit monitoring suits portfolio statements but is too weak for decisions about a segment, since a band can hold 90% overall while covering a small high-risk segment far less; one constant CQR correction fixes a quantile model too narrow in one region and too wide in another only on average. Limits: exchangeability excludes covariate shift and drift (the covariate-shift paper in this section reweights the rank argument); full conformal is impractical for most estimators; the jackknife has no finite-sample guarantee without stability, later supplied at level by the jackknife+ (Barber et al., 2021); separately fitted quantile ends can cross; and LOCO's global inference is conditional on the first half's fit.
Terms
- full conformal set: refit with each trial , keep if its residual ranks within
- , the -th smallest held-out residual; one fit
- rank of the candidate's residual among the augmented residuals; is a p-value
- Coverage bounds
- (split: ); upper side needs no ties (with as printed, the lower side too)
- Marginal coverage
- averaged over ; conditional coverage at every forces infinite expected length at non-atoms
- CQR score
- : signed distance outside the fitted interval
- CQR band
- , the -th smallest score; may be negative
- Inflation lemma
- the -inflated quantile of scores iff the plain quantile of
- ,
- oracle (law of ) and super oracle (law of ) half-widths; stability reaches the first, consistency the second
- LOCO
- ; intervals valid simultaneously over
Quiz
- Split conformal's upper bound is rather than full conformal's . Where does the difference come from?Given the first half, only the calibration residuals and the test residual are exchangeable, so coverage is . Model quality affects the width, never these bounds.
- With an interpolating base fit (min-norm least squares, ), what does tie-safe full conformal (strict counting, or the quantile with a point at ) return?The augmented fit interpolates the candidate too, so every residual is 0 and no candidate is ever ranked above the rest. A model that fits everything carries no information about its error, and the conformal set reflects that.
- Why can no finite-length band have conditional coverage at almost every for every distribution?With small ball probability no sample point lands there, so the two sample laws are close in total variation and the band is nearly the same under both. Under the perturbed law it must cover a huge spread at , so it must be huge under too.
- Suppose the fitted quantiles are too narrow for large and too wide for small . What does CQR's calibration do?is a single quantile of pooled scores and is added at every . The marginal guarantee holds, but the local miscalibration remains: overcoverage at small , undercoverage at large .
Sources
- Jing Lei, Max G'Sell, Alessandro Rinaldo, Ryan J. Tibshirani, and Larry Wasserman. Distribution-Free Predictive Inference For Regression. Journal of the American Statistical Association, 2018.
- Yaniv Romano, Evan Patterson, and Emmanuel J. Candès. Conformalized Quantile Regression. NeurIPS, 2019.
- Vladimir Vovk, Alex Gammerman, and Glenn Shafer. Algorithmic Learning in a Random World. Springer, 2005.
- Jing Lei and Larry Wasserman. Distribution-free prediction bands for non-parametric regression. Journal of the Royal Statistical Society: Series B, 2014.
- Rina Foygel Barber, Emmanuel J. Candes, Aaditya Ramdas, and Ryan J. Tibshirani. Predictive inference with the jackknife+. Annals of Statistics, 2021.