Back to Search Start Over

Leveraging diffusion models for unsupervised out-of-distribution detection on image manifold

Authors :
Zhenzhen Liu
Jin Peng Zhou
Kilian Q. Weinberger
Source :
Frontiers in Artificial Intelligence, Vol 7 (2024)
Publication Year :
2024
Publisher :
Frontiers Media S.A., 2024.

Abstract

Out-of-distribution (OOD) detection is crucial for enhancing the reliability of machine learning models when confronted with data that differ from their training distribution. In the image domain, we hypothesize that images inhabit manifolds defined by latent properties such as color, position, and shape. Leveraging this intuition, we propose a novel approach to OOD detection using a diffusion model to discern images that deviate from the in-domain distribution. Our method involves training a diffusion model using in-domain images. At inference time, we lift an image from its original manifold using a masking process, and then apply a diffusion model to map it towards the in-domain manifold. We measure the distance between the original and mapped images, and identify those with a large distance as OOD. Our experiments encompass comprehensive evaluation across various datasets characterized by differences in color, semantics, and resolution. Our method demonstrates strong and consistent performance in detecting OOD images across the tested datasets, highlighting its effectiveness in handling images with diverse characteristics. Additionally, ablation studies confirm the significant contribution of each component in our framework to the overall performance.

Details

Language :
English
ISSN :
26248212
Volume :
7
Database :
Directory of Open Access Journals
Journal :
Frontiers in Artificial Intelligence
Publication Type :
Academic Journal
Accession number :
edsdoj.4150a3e6a4ce48bfaaf3aacdca13053e
Document Type :
article
Full Text :
https://doi.org/10.3389/frai.2024.1255566