[Paper Review] Accurate Uncertainties for Deep Learning Using Calibrated Regression
The paper introduces a post-hoc recalibration method for regression that yields calibrated uncertainty estimates for any regression model, including Bayesian neural networks, and demonstrates improved calibration in time-series forecasting and model-based reinforcement learning.
Methods for reasoning under uncertainty are a key building block of accurate and reliable machine learning systems. Bayesian methods provide a general framework to quantify uncertainty. However, because of model misspecification and the use of approximate inference, Bayesian uncertainty estimates are often inaccurate -- for example, a 90% credible interval may not contain the true outcome 90% of the time. Here, we propose a simple procedure for calibrating any regression algorithm; when applied to Bayesian and probabilistic models, it is guaranteed to produce calibrated uncertainty estimates given enough data. Our procedure is inspired by Platt scaling and extends previous work on classification. We evaluate this approach on Bayesian linear regression, feedforward, and recurrent neural networks, and find that it consistently outputs well-calibrated credible intervals while improving performance on time series forecasting and model-based reinforcement learning tasks.
Motivation & Objective
- Motivate the need for reliable uncertainty quantification in regression for AI systems.
- Propose a general, post-hoc recalibration procedure to convert uncalibrated forecasts into calibrated ones.
- Demonstrate the method on Bayesian linear regression, feedforward and recurrent Bayesian nets, and apply to forecasting and reinforcement learning tasks.
- Provide diagnostics and guidance on calibration and sharpness to evaluate forecasts.
Proposed method
- Adapt Platt-style recalibration from classification to regression by training an auxiliary recalibration model R:[0,1]→[0,1].
- Construct a recalibration dataset using the base forecaster H and empirical probabilities ˆP(p)=|{t:Ft(yt)≤p}|/T.
- Train R (e.g., isotonic regression) to map H’s outputs to calibrated probabilities.
- Apply recalibration to Bayesian and probabilistic forecasts Ft to obtain calibrated CDFs F̃t = R∘Ft.
- Discuss feature-based recalibration where non-probabilistic forecasters can be recalibrated via appropriate increasing functions F.
- Introduce diagnostics for calibration (calibration plots) and sharpness (variance of Ft).
- Provide practical guidance for applying recalibration to Bayesian models, including leveraging heteroscedastic signals and simple features.
Experimental results
Research questions
- RQ1Can a simple post-hoc recalibration be applied to any regression model to yield calibrated uncertainty estimates?
- RQ2How does recalibration affect calibration quality and forecast sharpness across Bayesian and non-Bayesian regression models?
- RQ3Do calibrated forecasts improve performance in time-series forecasting and model-based reinforcement learning tasks?
- RQ4What diagnostic tools best reveal calibration quality and forecast sharpness?
Key findings
- The proposed recalibration method consistently yields well-calibrated credible intervals for various regression models when provided with sufficient i.i.d. data.
- Recalibrated forecasts show improved calibration without sacrificing point forecast accuracy, sometimes outperforming more complex calibration baselines.
- Calibration improves practical tasks such as time-series forecasting and model-based reinforcement learning, evidenced by better alignment with empirical frequencies and planning performance.
- Isotonic regression serves as a robust, non-parametric recalibrator that respects monotonicity of the calibration function.
- Calibrated regression provides interpretable uncertainty estimates grounded in empirical frequencies, bridging frequentist calibration with Bayesian forecasting.
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.