How to Evaluate Uncertainty Estimates in Machine Learning for Regression?
Laurens Sluijterman, Eric Cator, Tom Heskes
TL;DR
This work shows that prevailing evaluation methods for regression uncertainty—density loglikelihood and PICP-based interval coverage—fail to guarantee reliable, per-point uncertainty quantification. It formalizes the uncertainty framework and demonstrates that improvements in loglikelihood or marginal coverage do not ensure accurate interval behavior for individual inputs. To remedy this, the authors propose simulation-based testing that estimates pointwise coverage via PICF and CICF, using metrics such as the Brier score and average interval width. Through synthetic experiments, out-of-distribution analyses, and a Boston Housing-inspired benchmark, they illustrate that per-point coverage is essential for trustworthy uncertainty estimates, albeit at higher computational cost. The paper thus motivates benchmark simulations to enable fair comparisons of uncertainty estimation methods in regression and guides practical evaluation toward reliable, input-specific calibration.
Abstract
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.
