Network Inversion for Uncertainty-Aware Out-of-Distribution Detection
Not on the map. Why?
Abstract (arXiv)
Out-of-distribution (OOD) detection and uncertainty estimation (UE) are critical components for building safe machine learning systems, especially in real-world scenarios where unexpected inputs are inevitable. However the two problems have, until recently, separately been addressed. In this work, we propose a novel framework that combines network inversion with classifier training to simultaneously address both OOD detection and uncertainty estimation. For a standard n-class classification task, we extend the classifier to an (n+1)-class model by introducing a "garbage" class, initially populated with random gaussian noise to represent outlier inputs. After each training epoch, we use network inversion to reconstruct input images corresponding to all output classes that initially appear as noisy and incoherent and are therefore excluded to the garbage class for retraining the classifier. This cycle of training, inversion, and exclusion continues iteratively till the inverted samples begin to resemble the in-distribution data more closely, with a significant drop in the uncertainty, suggesting that the classifier has learned to carve out meaningful decision boundaries while sanitising the class manifolds by pushing OOD content into the garbage class. During inference, this training scheme enables the model to effectively detect and reject OOD samples by classifying them into the garbage class. Furthermore, the confidence scores associated with each prediction can be used to estimate uncertainty for both in-distribution and OOD inputs. Our approach is scalable, interpretable, and does not require access to external OOD datasets or post-hoc calibration techniques while providing a unified solution to the dual challenges of OOD detection and uncertainty estimation.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 22 of its 35 references that are in the map. First posted on arXiv 29 May 2025.
Builds on
22 of 35 references.
References · 22
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2013Intriguing properties of neural networkscited by 5,155
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2018Robustness May Be at Odds with Accuracycited by 880
- 2018Evidential Deep Learning to Quantify Classification Uncertaintycited by 732
- 2014Understanding Deep Image Representations by Inverting Themcited by 403
- 2015Understanding Neural Networks Through Deep Visualizationcited by 334
- 2016Synthesizing the preferred inputs for neurons in neural networks via deep generator networkscited by 181
- 2020Posterior Network: Uncertainty Estimation without OOD Samples via Density-Based Pseudo-Countscited by 164
10 more
- 2021DEUP: Direct Epistemic Uncertainty Predictioncited by 104
- 2017Exploring the Landscape of Spatial Robustnesscited by 81
- 2022Post-hoc Uncertainty Learning using a Dirichlet Meta-Modelcited by 31
- 2023Uncertainty-Aware Optimal Transport for Semantically Coherent Out-of-Distribution Detectioncited by 19
- 2022Autoinverse: Uncertainty Aware Inversion of Neural Networkscited by 16
- 2022Landscape Learning for Neural Network Inversioncited by 15
- 2024Network Inversion of Binarised Neural Netscited by 11
- 2024Network Inversion of Convolutional Neural Netscited by 8
- 2024Uncertainty-Aware Out-of-Distribution Detection with Gaussian Processescited by 6
- 2025Network Inversion for Generating Confidently Classified Counterfeitscited by 2
Built on by
Citing papers per year: 2025: 1.
1 paper.