Out-of-Distribution Detection With Reconstruction Error and Typicality-Based Penalty

Genki Osada, Tsubasa Takahashi, Budrul Ahsan, Takashi Nishide; Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2023, pp. 5551-5563

Abstract


The task of out-of-distribution (OOD) detection is vital to realize safe and reliable operation for real-world applications. After the failure of likelihood-based detection in high dimensions had been revealed, approaches based on the typical set have been attracting attention; however, they still have not achieved satisfactory performance. Beginning by presenting the failure case of the typicality-based approach, we propose a new reconstruction error-based approach that employs normalizing flow (NF). We further introduce a typicality-based penalty, and by incorporating it into the reconstruction error in NF, we propose a new OOD detection method, penalized reconstruction error (PRE). Because the PRE detects test inputs that lie off the in-distribution manifold, it also effectively detects adversarial examples. We show the effectiveness of our method through the evaluation using natural image datasets, CIFAR-10, TinyImageNet, and ILSVRC2012.

Related Material


[pdf] [supp] [arXiv]
[bibtex]
@InProceedings{Osada_2023_WACV, author = {Osada, Genki and Takahashi, Tsubasa and Ahsan, Budrul and Nishide, Takashi}, title = {Out-of-Distribution Detection With Reconstruction Error and Typicality-Based Penalty}, booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)}, month = {January}, year = {2023}, pages = {5551-5563} }