Detecting Out-of-Distribution Objects through Class-Conditioned Inpainting

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Nguyen, Quang-Huy, Zhou, Jin Peng, Liu, Zhenzhen, Bui, Khanh-Huyen, Weinberger, Kilian Q., Chao, Wei-Lun, Le, Dung D.
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917089841774592
author Nguyen, Quang-Huy
Zhou, Jin Peng
Liu, Zhenzhen
Bui, Khanh-Huyen
Weinberger, Kilian Q.
Chao, Wei-Lun
Le, Dung D.
author_facet Nguyen, Quang-Huy
Zhou, Jin Peng
Liu, Zhenzhen
Bui, Khanh-Huyen
Weinberger, Kilian Q.
Chao, Wei-Lun
Le, Dung D.
contents Recent object detectors have achieved impressive accuracy in identifying objects seen during training. However, real-world deployment often introduces novel and unexpected objects, referred to as out-of-distribution (OOD) objects, posing significant challenges to model trustworthiness. Modern object detectors are typically overconfident, making it unreliable to use their predictions alone for OOD detection. To address this, we propose leveraging an auxiliary model as a complementary solution. Specifically, we utilize an off-the-shelf text-to-image generative model, such as Stable Diffusion, which is trained with objective functions distinct from those of discriminative object detectors. We hypothesize that this fundamental difference enables the detection of OOD objects by measuring inconsistencies between the models. Concretely, for a given detected object bounding box and its predicted in-distribution class label, we perform class-conditioned inpainting on the image with the object removed. If the object is OOD, the inpainted image is likely to deviate significantly from the original, making the reconstruction error a robust indicator of OOD status. Extensive experiments demonstrate that our approach consistently surpasses existing zero-shot and non-zero-shot OOD detection methods, establishing a robust framework for enhancing object detection systems in dynamic environments.
format Preprint
id arxiv_https___arxiv_org_abs_2402_03292
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Detecting Out-of-Distribution Objects through Class-Conditioned Inpainting
Nguyen, Quang-Huy
Zhou, Jin Peng
Liu, Zhenzhen
Bui, Khanh-Huyen
Weinberger, Kilian Q.
Chao, Wei-Lun
Le, Dung D.
Machine Learning
Computer Vision and Pattern Recognition
Recent object detectors have achieved impressive accuracy in identifying objects seen during training. However, real-world deployment often introduces novel and unexpected objects, referred to as out-of-distribution (OOD) objects, posing significant challenges to model trustworthiness. Modern object detectors are typically overconfident, making it unreliable to use their predictions alone for OOD detection. To address this, we propose leveraging an auxiliary model as a complementary solution. Specifically, we utilize an off-the-shelf text-to-image generative model, such as Stable Diffusion, which is trained with objective functions distinct from those of discriminative object detectors. We hypothesize that this fundamental difference enables the detection of OOD objects by measuring inconsistencies between the models. Concretely, for a given detected object bounding box and its predicted in-distribution class label, we perform class-conditioned inpainting on the image with the object removed. If the object is OOD, the inpainted image is likely to deviate significantly from the original, making the reconstruction error a robust indicator of OOD status. Extensive experiments demonstrate that our approach consistently surpasses existing zero-shot and non-zero-shot OOD detection methods, establishing a robust framework for enhancing object detection systems in dynamic environments.
title Detecting Out-of-Distribution Objects through Class-Conditioned Inpainting
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2402.03292