NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Well-calibrated prediction intervals for regression problems

Nicolas Dewolf, Bernard De Baets, Willem WaegemanarXiv 2021 · OpenReview

TL;DR

This paper provides a comprehensive comparison of four classes of methods for generating prediction intervals in regression tasks, highlighting the critical importance of calibration. The authors demonstrate that while many methods struggle with consistent coverage, conformal prediction offers a robust post-hoc calibration strategy that significantly improves reliability across diverse models and datasets.

What Problem Does This Paper Address?

In many real-world applications, simply predicting a single value (a point estimate) isn't enough. We need to know how confident a model is in its prediction. For regression problems, this is often expressed through prediction intervals, which provide a range where the true value is expected to lie with a certain probability. However, a major challenge is ensuring these intervals are "calibrated" – meaning they actually achieve the stated coverage level (e.g., a 90% prediction interval should contain the true value 90% of the time) without being excessively wide, which would make them uninformative. Existing methods often fail to meet this calibration requirement consistently across different datasets and model types. This paper aims to bridge this gap by systematically evaluating and comparing various approaches, with a particular focus on how to achieve reliable calibration.

Methods

The authors categorize existing prediction interval methods into four main classes:

  1. Bayesian Methods: These methods model the uncertainty in model parameters and use this to derive predictive distributions. Examples include Gaussian Processes (GP) and Bayesian Neural Networks.
  2. Ensemble Methods: These combine predictions from multiple models to improve robustness and estimate uncertainty. Random Forests are a prime example.
  3. Direct Interval Estimation Methods: These methods are specifically trained to output prediction intervals, often using specialized loss functions like quantile loss.
  4. Conformal Prediction: This framework acts as a general calibration procedure. It can be applied after other methods to ensure valid prediction intervals, even if the underlying method is uncalibrated. The paper focuses on Inductive Conformal Prediction (ICP).

The study then experimentally evaluates these methods on various benchmark datasets, comparing their performance based on coverage (how often the true value falls within the interval) and average interval width (how wide the intervals are).

Datasets

The paper uses a variety of publicly available datasets from the UCI repository. These include:

  • concrete
  • naval
  • turbine
  • puma32H
  • residential
  • crime2
  • fb1
  • blog
  • traffic
  • star

The authors note that the fb1 and blog datasets are highly skewed and were log-transformed for some analyses. The crime dataset was also preprocessed.

Key Insights and Ideas

  • Calibration is Crucial: The most significant takeaway is that achieving reliable prediction intervals hinges on proper calibration. Many methods, even sophisticated ones, fail to consistently meet their stated coverage levels without explicit calibration.
  • Conformal Prediction as a Universal Fix: Conformal prediction emerges as a powerful, non-parametric tool that can reliably calibrate the output of any prediction interval method, transforming potentially unreliable intervals into statistically valid ones.
  • Model Assumptions Matter: The performance of methods heavily depends on whether their underlying assumptions (e.g., normality for some Bayesian and ensemble methods) align with the data distribution. Violations lead to poor calibration.
  • Predictive Power and Interval Quality are Linked: Models that have better predictive accuracy (higher R²) tend to produce better prediction intervals, though this relationship can be complex, especially with highly skewed data.
  • Trade-offs Exist: While conformal prediction guarantees validity, it can sometimes lead to wider intervals compared to uncalibrated methods that might achieve similar coverage by being overly conservative.

Key Results

  • Conformalized models consistently achieve better coverage: Across all tested models, applying conformal prediction as a post-hoc calibration step significantly improved the coverage degree, bringing it closer to the nominal 0.9 level.
  • Bayesian methods (GP, SVGP, MVE, DE) show more stability: These models, especially when incorporating probabilistic priors, tend to be more stable with respect to changes in data size and exhibit better performance, though they can struggle with non-Gaussian data.
  • Direct interval estimation methods (like quantile regression) can have issues with tail prediction: These methods sometimes underperform in the tails of the distribution, impacting their validity at extreme significance levels.
  • Large widths can be informative: For highly skewed data (like fb1 and blog), some models produced extremely wide intervals. While initially appearing nonsensical, the authors suggest this can be interpreted as a model's honest representation of high uncertainty due to outliers.
  • Training-calibration split impacts results: Violating the assumption of independent training and calibration sets (e.g., by using the full dataset for both) leads to uncalibrated intervals, demonstrating the importance of this split for conformal prediction.

Limitations and Future Work

  • Computational Cost: Exact Gaussian Processes were too computationally expensive for larger datasets (fb1, blog), highlighting the need for approximate methods.
  • Data Assumptions: The study primarily focused on i.i.d. (or exchangeable) data. Time series data, with its inherent autocorrelation, was not explicitly considered, and methods that rely on i.i.d. assumptions may not perform well.
  • Conditional Validity: The paper focuses on marginal validity (overall coverage). Future work could explore conditional validity, ensuring coverage holds for specific subsets of the data.
  • Bayesian Neural Networks: A more detailed overview of Bayesian Neural Networks was omitted due to the vast number of choices for priors and approximations.
  • Calibration Methods: While conformal prediction was explored, other calibration techniques for regression were not extensively covered.
  • Newer Calibration Approaches: The authors mention recent advances in calibration, including methods that generalize beta-calibration to regression and approaches that calibrate cumulative distribution functions. These could be areas for future research.
  • Predictive Distributions: The concept of predictive distributions, which estimate a full distribution rather than just intervals, was also noted as a direction for further exploration, potentially combined with conformal prediction.

Summary updated

BibTeX
@misc{dewolf2021well,
  author = {Nicolas Dewolf and Bernard De Baets and Willem Waegeman},
  title = {{Well-calibrated prediction intervals for regression problems}},
  year = {2021},
  eprint = {2107.00363},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.00363},
}
Figure