Learning Diffusion Model from Noisy Measurement using Principled Expectation-Maximization Method

Weimin Bai, Weiheng Tang, Enze Ye, Siyi Chen, Wenzheng Chen, He Sun

TL;DR

This paper introduces a mathematically rigorous Expectation-Maximization (EM) framework to train high-quality diffusion models directly from corrupted or noisy data. By replacing heuristic sampling methods with a "Plug-and-Play Monte Carlo" (PMC) approach, the authors demonstrate that you can recover clean image priors even when high-quality training data is unavailable, outperforming existing "learning-from-noise" techniques in denoising, inpainting, and deblurring.

What Problem Does This Paper Address?

Diffusion models (DMs) are the current gold standard for generative modeling, but they have a "clean data" problem: they typically require massive datasets of pristine, high-resolution images to learn effectively. In fields like fluorescent microscopy or medical imaging, obtaining clean data is often impossible due to sensor noise, motion blur, or the risk of damaging samples with long exposures (phototoxicity).

While recent research has attempted to train DMs directly from corrupted measurements, these methods often fall into two traps:

  1. Heuristic Approximations: Methods like EMDiffusion use Diffusion Posterior Sampling (DPS), which lacks theoretical convergence guarantees and can produce low-quality reconstructions.
  2. Task Specificity: Methods like Ambient Diffusion work well for inpainting (missing pixels) but struggle with additive noise or blur.

The authors sought a "principled" way to iteratively reconstruct clean images and refine the model simultaneously, regardless of the corruption type.

Methods

The authors propose a framework based on the Expectation-Maximization (EM) algorithm, which alternates between two steps:

  • The E-Step (Estimation): Given the current (imperfect) diffusion model and a noisy measurement, the algorithm estimates what the clean image looks like. The key innovation here is the use of Plug-and-Play Monte Carlo (PMC). Unlike previous methods that use rough approximations to sample the posterior distribution, PMC is grounded in Langevin Monte Carlo theory. It provides non-asymptotic stationarity guarantees, meaning it is mathematically "proven" to move toward the true posterior distribution of the clean image.
  • The M-Step (Maximization): The algorithm takes the reconstructed images from the E-step and uses them to retrain and refine the diffusion model using standard Denoising Score Matching (DSM).

This loop continues for several iterations. As the reconstructions get better, the model gets smarter; as the model gets smarter, the reconstructions get even better. To jumpstart the process, they initialize the model using just 50 clean images.

Datasets

The researchers evaluated their method on two standard benchmarks:

  • CIFAR-10 (32x32): Used for testing denoising (adding Gaussian noise) and random inpainting (masking 60% of pixels).
  • CelebA (64x64): Used for testing Gaussian deblurring (applying a 9x9 blur kernel).

They compared their results against several baselines, including Ambient Diffusion, SURE-Score, and EMDiffusion.

Key Insights and Ideas

  • Bridging the Gap with PMC: The "aha moment" is realizing that the E-step in previous EM-based diffusion training was the weak link. By treating the diffusion model as an implicit prior within a PnP-Langevin framework, they ensure the reconstructions are statistically sound, not just visually plausible.
  • Robustness to Corruption: Unlike Ambient Diffusion, which is specialized for masking, this principled EM approach is "corruption-agnostic." It handles noise, blur, and missing pixels using the same mathematical backbone.
  • Iterative Refinement: The paper shows that even if the initial reconstructions are blurry or artifact-heavy, the EM process acts as a self-correcting mechanism. By the final iteration, the model produces samples that are nearly indistinguishable from those trained on purely clean data.

Key Results

The proposed method consistently outperformed existing state-of-the-art "noisy-to-clean" frameworks:

  • Denoising (CIFAR-10): Achieved a PSNR of 24.77, significantly higher than EMDiffusion (23.16) and SURE-Score (22.42).
  • Deblurring (CelebA): Reached a PSNR of 26.58, outperforming EMDiffusion (23.74) by a wide margin.
  • Generative Quality: The Fréchet Inception Distance (FID)—a measure of how "real" generated images look—was lower (better) for this method across almost all tasks, indicating the learned prior is much closer to the true data distribution.
  • Visual Fidelity: Qualitative results show that the proposed method eliminates the "sharp artifacts" often seen in images generated by EMDiffusion.

Limitations and Future Work

  • Computational Overhead: Because the method requires multiple EM iterations, and each E-step involves a sampling process, training is significantly slower than standard diffusion training on clean data.
  • Forward Model Knowledge: The method assumes the "forward model" (the mathematical description of how the image was corrupted, e.g., the specific blur kernel or noise level) is known.
  • Future Directions: The authors plan to extend this to more challenging, "blind" scenarios where the corruption process is unknown or extremely sparse, which is common in real-world scientific applications.

Summary updated

BibTeX
@inproceedings{bai2025learning,
  author = {Weimin Bai and Weiheng Tang and Enze Ye and Siyi Chen and Wenzheng Chen and He Sun},
  title = {{Learning Diffusion Model from Noisy Measurement using Principled Expectation-Maximization Method}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2025},
  doi = {10.1109/icassp49660.2025.10889371},
}

Loading related content...

Figure