Probabilistic Trust Intervals for Out of Distribution Detection

Gagandeep Singh, Ishan Mishra, Deepak Mishra
2/2/2021
cs.LGcs.AI

Official code: czgdp1807/pTrustIntervalsOOD (2 stars, Python, MIT, last commit 2021-07-24).

Abstract

The ability of a deep learning network to distinguish between in-distribution (ID) and out-of-distribution (OOD) inputs is crucial for ensuring the reliability and trustworthiness of AI systems. Existing OOD detection methods often involve complex architectural innovations, such as ensemble models, which, while enhancing detection accuracy, significantly increase model complexity and training time.

Show full abstract

Other methods utilize surrogate samples to simulate OOD inputs, but these may not generalize well across different types of OOD data. In this paper, we propose a straightforward yet novel technique to enhance OOD detection in pre-trained networks without altering its original parameters. Our approach defines probabilistic trust intervals for each network weight, determined using in-distribution data. During inference, additional weight values are sampled, and the resulting disagreements among outputs are utilized for OOD detection. We propose a metric to quantify this disagreement and validate its effectiveness with empirical evidence. Our method significantly outperforms various baseline methods across multiple OOD datasets without requiring actual or surrogate OOD samples. We evaluate our approach on MNIST, Fashion-MNIST, CIFAR-10, CIFAR-100 and CIFAR-10-C (a corruption-augmented version of CIFAR-10), across various neural network architectures (e.g., VGG-16, ResNet-20, DenseNet-100). On the MNIST-FashionMNIST setup, our method achieves a False Positive Rate (FPR) of 12.46\% at 95\% True Positive Rate (TPR), compared to 27.09\% achieved by the best baseline. On adversarial and corrupted datasets such as CIFAR-10-C, our proposed method easily differentiate between clean and noisy inputs. These results demonstrate the robustness of our approach in identifying corrupted and adversarial inputs, all without requiring OOD samples during training.

View on arXivView PDF

Code Implementations(1)

MIT

Probabilistic Trust Intervals For Detecting Out of Distribution Images

20PythonJul 23, 20215 years agoMIT
aritificial-intelligencedeep-learningdeep-neural-networksimage-classificationout-of-distribution-detection

Similar Papers

Cite this paper

@article{singh2021probabilistic,
  title  = {Probabilistic Trust Intervals for Out of Distribution Detection},
  author = {Gagandeep Singh and Ishan Mishra and Deepak Mishra},
  year   = {2021},
  eprint = {2102.01336},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.01336}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.01336.svg)](https://codeofpaper.com/paper/2102.01336)

Discussion