GSURE-Based Diffusion Model Training with Corrupted Data

Bahjat Kawar, Noam Elata, Tomer Michaeli, Michael Elad

Abstract

Diffusion models have set new benchmarks in generative AI, yet their reliance on massive, high-quality datasets remains a significant bottleneck in specialized fields. In domains like medical imaging or remote sensing, obtaining "ground truth" clean data is often impossible or prohibitively expensive. We present GSURE-Diffusion, a novel framework that allows for training high-quality generative diffusion models using only corrupted, noisy, and incomplete data. By leveraging the Generalized Stein’s Unbiased Risk Estimator (GSURE), we prove that a model can learn an underlying data distribution without ever seeing a pristine signal, achieving performance nearly identical to models trained on clean datasets.

The Challenge of Clean Data

Standard training for diffusion models (e.g., Stable Diffusion) requires pristine images to calculate the error between predicted and actual signals. However, in critical applications like MRI or CT scans, we typically only have access to "corrupted" measurements—images with missing pixels, sensor noise, or undersampled frequencies. While previous research has addressed simple additive noise, this work tackles general linear degradations, such as blurring or missing patches, combined with noise.

Methodology: Learning from the Broken

The core innovation of GSURE-Diffusion is a training objective that bypasses the need for clean targets through several key steps:

  1. SVD Decoupling: Singular Value Decomposition is used to decompose complex corruptions (like blurring) into simpler masking operations in a transformed coordinate system.
  2. Synthetic Noise Injection: Specific levels of synthetic noise are added to corrupted measurements to ensure the data statistically matches the intermediate noisy steps required by standard diffusion training.
  3. The GSURE Loss: Instead of calculating error against a clean image, the authors use GSURE—a mathematical tool that estimates the Mean Squared Error (MSE) of a denoiser using only the corrupted input.

Crucially, the authors provide a mathematical proof showing that minimizing this GSURE-based loss on corrupted data is equivalent to minimizing the standard loss on clean data under specific conditions.

Datasets and Experimental Setup

The method was evaluated on two primary benchmarks:

  • CelebA: Celebrity faces downsampled to 32x32 grayscale. Corruptions were simulated by erasing random 4x4 patches (probability $p$) and adding Gaussian noise ($\sigma_0$).
  • fastMRI: Knee MRI scans representing real-world "accelerated" scans, which are faster but produce incomplete data.
Figure 3: Examples of training data degradation levels ranging from no degradation to severe corruption ($p=0.6$).

Key Results and Insights

GSURE-Diffusion demonstrates that a model can learn the underlying "score function" (the gradient of the data distribution) even when the training samples are severely degraded.

  • Visual Quality: On the CelebA dataset, the GSURE-Diffusion model achieved an FID score of 8.82, remarkably close to the "Oracle" model (trained on clean data) at 6.84. In contrast, standard training on corrupted data failed completely, resulting in an FID of 123.08.
  • Zero-Shot Generalization: A model trained on 4x undersampled data can effectively reconstruct images with 8x or 12x undersampling, acting as a foundational model for that specific data type regardless of the corruption level.
  • Medical Utility: In MRI tasks, the model achieved Peak Signal-to-Noise Ratios (PSNR) within ~1dB of the Oracle. It also successfully performed uncertainty quantification, identifying regions where the reconstruction might be less reliable—a critical feature for clinical trust.
Figure 6: Reconstructed face images generated by the GSURE-Diffusion model trained on corrupted data.

Limitations and Future Work

While powerful, the current framework assumes the "physics" of the corruption (the degradation matrix $H$) and the noise level ($\sigma_0$) are known. "Blind" training on unknown corruptions remains an open challenge. Additionally, if the corruption consistently hides the same region of every image, the model will struggle to learn the distribution of that specific area. Future research may focus on making architectures "mask-aware" to explicitly handle missing coordinates more effectively.

Summary updated

BibTeX
@article{kawar2024gsure,
  author = {Bahjat Kawar and Noam Elata and Tomer Michaeli and Michael Elad},
  title = {{GSURE-Based Diffusion Model Training with Corrupted Data}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2024},
  url = {https://openreview.net/forum?id=s2HYZ0Gs0v},
}
Figure