GPify: Leveraging the Combined Strength of Normalizing Flow and Softmax For an Out-of-Distribution aware Confidence Score
Abstract In order for any learning-based model to be considered reliable, it needs a well-behaved uncertainty or confidence estimate. Most modern neural networks do produce a confidence estimate in the form of their softmax output probability. However, the softmax probability is invalid for out-of-distribution data. Gaussian processes are known to produce a well-behaved confidence estimate that is aware of out-of-distribution samples. Inspired by Gaussian processes, we propose GPify, which combines the softmax probability with a Normalizing Flow in order to add out-of-distribution awareness to the confidence estimate from a neural network. The resulting confidence from GPify is an uncertainty measure that is interpretable and intuitive, while also being probabilistically sound. We evaluate GPify in a selective classification framework, and conclude that it achieves comparable performance to state-of-the-art methods. In addition, we show that GPify has capabilities for detecting adversarial examples, which is a direct improvement over softmax confidence.
Authors
- Simon Kristoffersson Lind
- Rudolph Triebel (ORCID: https://orcid.org/0000-0002-7975-036X)
- Volker Krüger
Institutions
- Karlsruhe Institute of Technology (DE)
- Lund University (SE)
- Deutsches Zentrum für Luft- und Raumfahrt e. V. (DLR) (DE)
Publication Details
- Journal
- International Journal of Computer Vision
- Published
- 2026-03-09
- DOI
- https://doi.org/10.1007/s11263-026-02794-3
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Lunds Universitet
- Linköpings Universitet
- Knut och Alice Wallenbergs Stiftelse
- National Supercomputer Centre, Linköpings Universitet