[Paper Review] Conformal Prediction using Conditional Histograms
This paper proposes Conformal Histogram Regression (CHR), a method that uses black-box machine learning models to estimate conditional densities via histograms and constructs prediction intervals with finite-sample marginal coverage and asymptotically valid conditional coverage. The approach adaptively selects the shortest interval by inverting conformity scores derived from histogram-based density estimates, achieving optimal interval length under model consistency and outperforming state-of-the-art methods like conformalized quantile regression and distributional conformal prediction on both simulated and real-world data.
This paper develops a conformal method to compute prediction intervals for non-parametric regression that can automatically adapt to skewed data. Leveraging black-box machine learning algorithms to estimate the conditional distribution of the outcome using histograms, it translates their output into the shortest prediction intervals with approximate conditional coverage. The resulting prediction intervals provably have marginal coverage in finite samples, while asymptotically achieving conditional coverage and optimal length if the black-box model is consistent. Numerical experiments with simulated and real data demonstrate improved performance compared to state-of-the-art alternatives, including conformalized quantile regression and other distributional conformal prediction approaches.
Motivation & Objective
- To develop a conformal prediction method that produces short, valid prediction intervals for non-parametric regression with skewed data.
- To ensure finite-sample marginal coverage and asymptotic conditional coverage under model consistency.
- To improve upon existing conformal methods by adapting interval length to the conditional distribution's shape using histogram-based density estimation.
- To provide a practical, black-box-compatible framework that maintains theoretical guarantees while enhancing interval sharpness.
Proposed method
- The method estimates the conditional density of Y given X using a black-box model trained on training data, represented as a histogram.
- It computes conformity scores for calibration points based on the estimated conditional density, measuring how typical each observation is under the model.
- Prediction intervals are constructed by inverting the conformity score function to find the shortest interval that includes the test point with approximate conditional coverage.
- The method selects the interval length by determining the smallest range around the predicted value that captures a sufficient proportion of the calibration scores.
- It uses a data-driven threshold τ̂ to adjust for model estimation error, ensuring valid marginal coverage.
- The approach is theoretically grounded: it guarantees finite-sample marginal coverage and asymptotically achieves conditional coverage and optimal interval length if the black-box model is consistent.
Experimental results
Research questions
- RQ1Can a conformal prediction method be designed to produce shorter prediction intervals while maintaining finite-sample marginal coverage and asymptotic conditional coverage for skewed, non-i.i.d. data?
- RQ2How can histogram-based density estimation be integrated into conformal prediction to adaptively capture the shape of the conditional distribution?
- RQ3Does the proposed method outperform existing conformalized quantile regression and distributional conformal prediction approaches in terms of interval width and conditional coverage?
- RQ4Under what conditions does the method achieve asymptotic optimality in interval length?
- RQ5How robust is the method to model misspecification or estimation error in the black-box density estimator?
Key findings
- CHR achieves exact 90% marginal coverage across all datasets, as guaranteed by theory, with minimal deviation (e.g., 0.90(0.01) in Table S1).
- On real-world datasets like meps19 and meps20, CHR produced narrower prediction intervals (19.1 and 20.5) compared to CQR (28.1 and 30.1) and DCP (520.3 and 531.3), demonstrating superior interval sharpness.
- CHR achieved higher conditional coverage than CQR and DCP-CQR on several datasets, including fb1 and fb2, though it slightly undercover in two Facebook data sets.
- In simulations and real data, CHR outperformed state-of-the-art alternatives in terms of interval width while maintaining or improving conditional coverage.
- The method demonstrated robustness across different base models, including deep neural networks and random forests, with consistent performance improvements in interval length.
- CHR’s performance was stable under varying data distributions, including skewed and heavy-tailed conditional densities, confirming its adaptability to complex data shapes.
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.