Exploiting Diffusion Prior for Out-of-Distribution Detection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhu, Armando, Liu, Jiabei, Li, Keqin, Dai, Shuying, Hong, Bo, Zhao, Peng, Wei, Changsong
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910571685740544
author Zhu, Armando
Liu, Jiabei
Li, Keqin
Dai, Shuying
Hong, Bo
Zhao, Peng
Wei, Changsong
author_facet Zhu, Armando
Liu, Jiabei
Li, Keqin
Dai, Shuying
Hong, Bo
Zhao, Peng
Wei, Changsong
contents Out-of-distribution (OOD) detection is crucial for deploying robust machine learning models, especially in areas where security is critical. However, traditional OOD detection methods often fail to capture complex data distributions from large scale date. In this paper, we present a novel approach for OOD detection that leverages the generative ability of diffusion models and the powerful feature extraction capabilities of CLIP. By using these features as conditional inputs to a diffusion model, we can reconstruct the images after encoding them with CLIP. The difference between the original and reconstructed images is used as a signal for OOD identification. The practicality and scalability of our method is increased by the fact that it does not require class-specific labeled ID data, as is the case with many other methods. Extensive experiments on several benchmark datasets demonstrates the robustness and effectiveness of our method, which have significantly improved the detection accuracy.
format Preprint
id arxiv_https___arxiv_org_abs_2406_11105
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Exploiting Diffusion Prior for Out-of-Distribution Detection
Zhu, Armando
Liu, Jiabei
Li, Keqin
Dai, Shuying
Hong, Bo
Zhao, Peng
Wei, Changsong
Computer Vision and Pattern Recognition
Artificial Intelligence
Out-of-distribution (OOD) detection is crucial for deploying robust machine learning models, especially in areas where security is critical. However, traditional OOD detection methods often fail to capture complex data distributions from large scale date. In this paper, we present a novel approach for OOD detection that leverages the generative ability of diffusion models and the powerful feature extraction capabilities of CLIP. By using these features as conditional inputs to a diffusion model, we can reconstruct the images after encoding them with CLIP. The difference between the original and reconstructed images is used as a signal for OOD identification. The practicality and scalability of our method is increased by the fact that it does not require class-specific labeled ID data, as is the case with many other methods. Extensive experiments on several benchmark datasets demonstrates the robustness and effectiveness of our method, which have significantly improved the detection accuracy.
title Exploiting Diffusion Prior for Out-of-Distribution Detection
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2406.11105