UQGAN: A Unified Model for Uncertainty Quantification of Deep Classifiers trained via Conditional GANs
Philipp Oberdiek, Gernot A. Fink, Matthias Rottmann
Abstract
We present an approach to quantifying both aleatoric and epistemic uncertainty for deep neural networks in image classification, based on generative adversarial networks (GANs). While most works in the literature that use GANs to generate out-of-distribution (OoD) examples only focus on the evaluation of OoD detection, we present a GAN based approach to learn a classifier that produces proper uncertainties for OoD examples as well as for false positives (FPs). Instead of shielding the entire in-distribution data with GAN generated OoD examples which is state-of-the-art, we shield each class separately with out-of-class examples generated by a conditional GAN and complement this with a one-vs-all image classifier. In our experiments, in particular on CIFAR10, CIFAR100 and Tiny ImageNet, we improve over the OoD detection and FP detection performance of state-of-the-art GAN-training based classifiers. Furthermore, we also find that the generated GAN examples do not significantly affect the calibration error of our classifier and result in a significant gain in model accuracy. The code and pre-trained weights can be found here: https://github.com/RonMcKay/UQGAN Figure 1: Toy example of two slightly overlapping Gaussian distributions. From left to right: 1. OoD heatmap with orange indicating a high probability of being OoD and white of in-distribution; 2. Aleatoric uncertainty (entropy over Equation (3)) with orange indicating high and white low uncertainty. Triangles indicate GAN-generated out-of-class examples and crosses correspond to the in-distribution data, while their color is coding the class membership.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 622e5b36-b2c5-4bdf-aae9-61c3445aba61Cited by top-tier papers3
- Using AI Uncertainty Quantification to Improve Human Decision-MakingLaura Marusich, Jonathan Z. Bakdash, Yan Zhou, Murat KantarciogluICML 2024 · 16 citations
- CLEAR: Calibrated Learning for Epistemic and Aleatoric RiskIlia Azizi, Juraj Bodik, Jakob Heiss, Bin YuICLR 2026 · 9 citations
- Hierarchical Visual Categories Modeling: A Joint Representation Learning and Density Estimation Framework for Out-of-Distribution DetectionJinglun Li, Xinyu Zhou, Pinxue Guo, Yixuan Sun et al.ICCV 2023 · 5 citations
Builds on6
- Uncertainty Estimation Using a Single Deep Deterministic Neural NetworkJoost van Amersfoort, Lewis Smith, Yee Whye Teh, Yarin GalICML 2020 · 529 citations
- Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep LearningArsenii Ashukha, Alexander Lyzhov, Dmitry Molchanov, Dmitry P. VetrovICLR 2020 · 354 citations
- OVANet: One-vs-All Network for Universal Domain AdaptationKuniaki Saito, Kate SaenkoICCV 2021 · 192 citations
- Uncertainty-Aware Deep Classifiers Using Generative ModelsMurat Sensoy, Lance M. Kaplan, Federico Cerutti, Maryam SalekiAAAI 2020 · 88 citations
- PAC Confidence Sets for Deep Neural Networks via Calibrated PredictionSangdon Park, Osbert Bastani, Nikolai Matni, Insup LeeICLR 2020 · 77 citations
Related papers
- Credal Deep Ensembles for Uncertainty QuantificationKaizheng Wang, Fabio Cuzzolin, Shireen Kudukkil Manchingal, Keivan Shariatmadar et al.NeurIPS 2024 · 37 citations
- Credal Ensemble Distillation for Uncertainty QuantificationKaizheng Wang, Fabio Cuzzolin, David Moens, Hans HallezAAAI 2026
- Epistemic Uncertainty Quantification for Pretrained Neural NetworksHanjing Wang, Qiang JiCVPR 2024 · 5 citations
- Multidimensional Uncertainty-Aware Evidential Neural NetworksYibo Hu, Yuzhe Ou, Xujiang Zhao, Jin-Hee Cho et al.AAAI 2021 · 32 citations
- CUPID: A Plug-in Framework for Joint Aleatoric and Epistemic Uncertainty Estimation with a Single ModelXinran Xu, Xiuyi FanICLR 2026
