Posterior Uncertainty Quantification in Neural Networks using Data Augmentation
Luhuan Wu, Sinead Williamson
TL;DR
Posterior Uncertainty Quantification in Neural Networks using Data Augmentation reframes predictive uncertainty as uncertainty about future data via martingale posteriors and shows that deep ensembles implement a mis-specified posterior. It introduces MixupMP, a Mixup-based martingale posterior that integrates augmented data as a base measure, producing samples from $\mathbb{P}^{(\text{MMP})}_\infty$ and enabling ensemble-like posterior draws. Across image classification benchmarks, MixupMP achieves superior predictive performance and better uncertainty calibration, particularly under distribution shift, compared to Bayesian and non-Bayesian baselines. The work provides a scalable, data-driven approach to uncertainty quantification in high-dimensional structured data by leveraging principled martingale-posteriors and domain-aware data augmentation.
Abstract
In this paper, we approach the problem of uncertainty quantification in deep learning through a predictive framework, which captures uncertainty in model parameters by specifying our assumptions about the predictive distribution of unseen future data. Under this view, we show that deep ensembling (Lakshminarayanan et al., 2017) is a fundamentally mis-specified model class, since it assumes that future data are supported on existing observations only -- a situation rarely encountered in practice. To address this limitation, we propose MixupMP, a method that constructs a more realistic predictive distribution using popular data augmentation techniques. MixupMP operates as a drop-in replacement for deep ensembles, where each ensemble member is trained on a random simulation from this predictive distribution. Grounded in the recently-proposed framework of Martingale posteriors (Fong et al., 2023), MixupMP returns samples from an implicitly defined Bayesian posterior. Our empirical analysis showcases that MixupMP achieves superior predictive performance and uncertainty quantification on various image classification datasets, when compared with existing Bayesian and non-Bayesian approaches.
