KLIP: localized distribution shift detection via KL-divergence with diffusion priors in Inverse Problems

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Kheirandish, Alireza, Hong, Jihoon, Fridovich-Keil, Sara
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917548309610496
author Kheirandish, Alireza
Hong, Jihoon
Fridovich-Keil, Sara
author_facet Kheirandish, Alireza
Hong, Jihoon
Fridovich-Keil, Sara
contents Diffusion models have shown promising performance as data-driven priors for computational imaging, as well as some capacity to detect out-of-distribution (OOD) images. However, existing approaches to OOD detection often require some knowledge of the shifted distribution, fail to detect subtle or localized distribution shifts, and operate on full images, rather than the indirect measurements available in inverse problems. We propose an OOD detection metric based on the Kullback-Leibler divergence between the diffusion prior and the posterior distribution, that (i) does not require any calibration data or knowledge of the shifted distribution, and (ii) can detect whole images as OOD as well as localize OOD patches within an image. Experimentally, we show that this metric can detect subtle yet semantically meaningful distribution shifts, such as the shift from healthy liver CT scans to those with tumors, and generalizes across different types of diffusion models, datasets, and inverse problems. Our code can be found at https://github.com/voilalab/KLIP.
format Preprint
id arxiv_https___arxiv_org_abs_2605_31596
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle KLIP: localized distribution shift detection via KL-divergence with diffusion priors in Inverse Problems
Kheirandish, Alireza
Hong, Jihoon
Fridovich-Keil, Sara
Computer Vision and Pattern Recognition
Machine Learning
Diffusion models have shown promising performance as data-driven priors for computational imaging, as well as some capacity to detect out-of-distribution (OOD) images. However, existing approaches to OOD detection often require some knowledge of the shifted distribution, fail to detect subtle or localized distribution shifts, and operate on full images, rather than the indirect measurements available in inverse problems. We propose an OOD detection metric based on the Kullback-Leibler divergence between the diffusion prior and the posterior distribution, that (i) does not require any calibration data or knowledge of the shifted distribution, and (ii) can detect whole images as OOD as well as localize OOD patches within an image. Experimentally, we show that this metric can detect subtle yet semantically meaningful distribution shifts, such as the shift from healthy liver CT scans to those with tumors, and generalizes across different types of diffusion models, datasets, and inverse problems. Our code can be found at https://github.com/voilalab/KLIP.
title KLIP: localized distribution shift detection via KL-divergence with diffusion priors in Inverse Problems
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2605.31596