Unsupervised Detection of Distribution Shift in Inverse Problems using Diffusion Models

Shirin Shoushtari, Edward P. Chandler, Yuanhao Wang, M. Salman Asif, Ulugbek S. Kamilov
5/16/2025
cs.CV
diffusion-flow

No confident code implementation found for this paper.

Abstract

Diffusion models are widely used as priors in imaging inverse problems. However, their performance often degrades under distribution shifts between the training and test-time images.

Show full abstract

Existing methods for identifying and quantifying distribution shifts typically require access to clean test images, which are almost never available while solving inverse problems (at test time). We propose a fully unsupervised metric for estimating distribution shifts using only indirect (corrupted) measurements and score functions from diffusion models trained on different datasets. We theoretically show that this metric estimates the KL divergence between the training and test image distributions. Empirically, we show that our score-based metric, using only corrupted measurements, closely approximates the KL divergence computed from clean images. Motivated by this result, we show that aligning the out-of-distribution score with the in-distribution score -- using only corrupted measurements -- reduces the KL divergence and leads to improved reconstruction quality across multiple inverse problems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shoushtari2025unsupervised,
  title  = {Unsupervised Detection of Distribution Shift in Inverse Problems using Diffusion Models},
  author = {Shirin Shoushtari and Edward P. Chandler and Yuanhao Wang and M. Salman Asif and Ulugbek S. Kamilov},
  year   = {2025},
  eprint = {2505.11482},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.11482v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.11482.svg)](https://codeofpaper.com/paper/2505.11482)

Discussion