HybridFlow: Quantification of Aleatoric and Epistemic Uncertainty with a Single Hybrid Model
Peter Van Katwyk, Karianne J. Bergen
TL;DR
HybridFlow introduces a modular two-stage framework that unifies aleatoric and epistemic uncertainty modeling by using a conditional normalizing flow to learn $p(y|x)$ and a separate probabilistic predictor that consumes the flow’s latent representation to quantify model uncertainty. This decoupled design preserves predictive accuracy while delivering calibrated, sharp uncertainty estimates across diverse regression tasks, including depth estimation, standard UCI benchmarks, and a scientific ice sheet emulator. By enabling seamless integration with existing predictors and avoiding joint loss calibration challenges, HybridFlow offers a practical, flexible approach to robust uncertainty quantification with broad applicability in scientific and engineering domains.
Abstract
Uncertainty quantification is critical for ensuring robustness in high-stakes machine learning applications. We introduce HybridFlow, a modular hybrid architecture that unifies the modeling of aleatoric and epistemic uncertainty by combining a Conditional Masked Autoregressive normalizing flow for estimating aleatoric uncertainty with a flexible probabilistic predictor for epistemic uncertainty. The framework supports integration with any probabilistic model class, allowing users to easily adapt HybridFlow to existing architectures without sacrificing predictive performance. HybridFlow improves upon previous uncertainty quantification frameworks across a range of regression tasks, such as depth estimation, a collection of regression benchmarks, and a scientific case study of ice sheet emulation. We also provide empirical results of the quantified uncertainty, showing that the uncertainty quantified by HybridFlow is calibrated and better aligns with model error than existing methods for quantifying aleatoric and epistemic uncertainty. HybridFlow addresses a key challenge in Bayesian deep learning, unifying aleatoric and epistemic uncertainty modeling in a single robust framework.
