Uncertainty Quantification for Deep Regression using Contextualised Normalizing Flows
Adriel Sosa Marco, John Daniel Kirwan, Alexia Toumpa, Simos Gerasimou
TL;DR
MCNF introduces a post hoc uncertainty quantification framework for deep regression that pairs Monte Carlo Dropout priors with contextually conditioned normalizing flows to produce the full predictive distribution and calibrated prediction intervals. By summarizing the MCD posterior into a context vector and learning a flow over prediction errors, MCNF captures complex, including multimodal and heteroskedastic, uncertainty without retraining the base model. Across diverse benchmarks and a GNN setup, MCNF achieves competitive marginal coverage with smaller interval widths and lower MAE than state-of-the-art UQ methods, demonstrating practical value for safe decision-making. The approach also provides a configurable pathway for integrating with non-standard architectures and supports density evaluation, making it broadly applicable to regression tasks in high-stakes domains.
Abstract
Quantifying uncertainty in deep regression models is important both for understanding the confidence of the model and for safe decision-making in high-risk domains. Existing approaches that yield prediction intervals overlook distributional information, neglecting the effect of multimodal or asymmetric distributions on decision-making. Similarly, full or approximated Bayesian methods, while yielding the predictive posterior density, demand major modifications to the model architecture and retraining. We introduce MCNF, a novel post hoc uncertainty quantification method that produces both prediction intervals and the full conditioned predictive distribution. MCNF operates on top of the underlying trained predictive model; thus, no predictive model retraining is needed. We provide experimental evidence that the MCNF-based uncertainty estimate is well calibrated, is competitive with state-of-the-art uncertainty quantification methods, and provides richer information for downstream decision-making tasks.
