[Paper Review] How to Evaluate Uncertainty Estimates in Machine Learning for Regression?
This paper critiques standard methods for evaluating uncertainty in regression models—loglikelihood and prediction interval coverage probability (PICP)—showing they fail to assess pointwise coverage and can favor suboptimal methods. It proposes a simulation-based testing framework that evaluates coverage per data point across repeated experiments, demonstrating through theory and simulations that this approach better identifies reliable prediction and confidence intervals.
As neural networks become more popular, the need for accompanying uncertainty estimates increases. There are currently two main approaches to test the quality of these estimates. Most methods output a density. They can be compared by evaluating their loglikelihood on a test set. Other methods output a prediction interval directly. These methods are often tested by examining the fraction of test points that fall inside the corresponding prediction intervals. Intuitively both approaches seem logical. However, we demonstrate through both theoretical arguments and simulations that both ways of evaluating the quality of uncertainty estimates have serious flaws. Firstly, both approaches cannot disentangle the separate components that jointly create the predictive uncertainty, making it difficult to evaluate the quality of the estimates of these components. Secondly, a better loglikelihood does not guarantee better prediction intervals, which is what the methods are often used for in practice. Moreover, the current approach to test prediction intervals directly has additional flaws. We show why it is fundamentally flawed to test a prediction or confidence interval on a single test set. At best, marginal coverage is measured, implicitly averaging out overconfident and underconfident predictions. A much more desirable property is pointwise coverage, requiring the correct coverage for each prediction. We demonstrate through practical examples that these effects can result in favoring a method, based on the predictive uncertainty, that has undesirable behaviour of the confidence or prediction intervals. Finally, we propose a simulation-based testing approach that addresses these problems while still allowing easy comparison between different methods.
Motivation & Objective
- To identify fundamental flaws in current evaluation methods for predictive uncertainty in regression.
- To demonstrate that high loglikelihood does not ensure better prediction intervals, and that PICP measures only marginal coverage, not pointwise coverage.
- To show that relying on single-test-set evaluation can mislead in selecting uncertainty estimation methods.
- To propose a simulation-based framework that enables accurate, pointwise evaluation of prediction and confidence intervals.
- To advocate for standardized benchmark simulations to fairly compare uncertainty estimation methods across different models.
Proposed method
- Propose a simulation-based testing framework where synthetic data is repeatedly generated from a known data-generating process.
- Train models on each synthetic dataset and compute prediction intervals (PIs) and confidence intervals (CIs) for each test point.
- Evaluate pointwise coverage by calculating the fraction of times each individual data point is covered across multiple simulations.
- Use the Brier score of the coverage fraction (PICF/CICF) and average interval width as quantitative metrics to assess calibration and sharpness.
- Compare the performance of methods like dropout and bootstrap using both traditional PICP and the proposed simulation-based PICF/CICF metrics.
- Base simulations on real-world datasets (e.g., Boston Housing) to ensure relevance and reproducibility.
Experimental results
Research questions
- RQ1Why is the standard PICP metric insufficient for evaluating the quality of prediction intervals?
- RQ2How does the loglikelihood evaluation fail to reflect the true performance of prediction intervals in practice?
- RQ3What is the difference between marginal coverage (as measured by PICP) and pointwise coverage, and why is the latter more desirable?
- RQ4Can a method achieve a good PICP score while having poor coverage for individual data points?
- RQ5How can simulation-based testing improve the evaluation of uncertainty estimates in regression models?
Key findings
- The PICP metric evaluates only marginal coverage across a test set, not pointwise coverage, and thus fails to detect systematic under- or overconfidence at individual data points.
- A method with a higher loglikelihood score does not necessarily produce better prediction intervals, as loglikelihood combines model and data uncertainty without disentangling them.
- In simulations, the bootstrap method had a PICP of ~0.8 (close to nominal 80%), but exhibited inconsistent pointwise coverage, with intervals too wide or too narrow for many individual points.
- The simulation-based approach revealed that both dropout and bootstrap methods had poor pointwise coverage: dropout had a CICF Brier score of 0.15 and average width of 3.04, while bootstrap had 0.147 and 4.92, indicating poor calibration.
- The proposed simulation-based method, using PICF and CICF, detected that even with acceptable PICP, prediction and confidence intervals could be poorly calibrated at the individual point level.
- The study confirms that relying on single-test-set evaluation leads to misleading conclusions about uncertainty quality, and that repeated simulations are essential for valid assessment.
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.