← Latest papers
💻 computer science

An Expectation-Maximization Algorithm for Training Clean Diffusion Models from Corrupted Observations

This paper introduces EMDiffusion, an expectation-maximization framework that enables the training of high-quality diffusion models directly from corrupted observations by iteratively reconstructing clean images and refining model weights, thereby achieving state-of-the-art performance in various computational imaging tasks without requiring clean training data.

Original authors: Weimin Bai, Yifei Wang, Wenzheng Chen, He Sun

Published 2026-06-29
📖 4 min read☕ Coffee break read

Original authors: Weimin Bai, Yifei Wang, Wenzheng Chen, He Sun

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Problem: The "Chicken and Egg" Dilemma

Imagine you are trying to teach a robot how to draw perfect, high-quality portraits.

  • The Catch: To teach the robot, you need a huge library of perfect, clean portraits.
  • The Reality: In many real-world situations (like medical scans or old photos), you don't have perfect pictures. You only have corrupted ones: blurry, noisy, or with big chunks missing (like a puzzle with missing pieces).

This creates a frustrating loop:

  1. To fix the bad pictures, you need a smart robot (a "Diffusion Model") that knows what a clean picture looks like.
  2. But to teach the robot to be smart, you need clean pictures to start with.

If you don't have clean pictures, you can't train the robot. If you don't have the robot, you can't fix the pictures. It's a classic chicken-and-egg problem.

The Solution: EMDiffusion (The "Guess and Refine" Loop)

The authors propose a clever new method called EMDiffusion to break this loop. They use a strategy called Expectation-Maximization (EM), which is essentially a "Guess and Refine" cycle.

Think of it like a detective trying to solve a crime using only blurry security footage.

Step 1: The "E-Step" (The Guess)

  • The Setup: The detective starts with a tiny, vague idea of what a person looks like (trained on just a few clean photos, maybe 50).
  • The Action: The detective looks at the blurry security footage and tries to imagine what the person probably looked like. Because the initial idea is weak, the detective might guess wrong at first.
  • The Trick: To stop the detective from just guessing the same few faces they know, they add a "reality check." They force the guess to match the blurry evidence (the corrupted data) more closely.
  • Result: They produce a "reconstructed" image. It's not perfect yet, but it's cleaner than the original blurry photo.

Step 2: The "M-Step" (The Refine)

  • The Action: Now, the detective takes those "reconstructed" images (which are better than the blurry ones) and uses them to re-train their mental model of what a person looks like.
  • The Update: The robot learns from these new, slightly cleaner guesses. It updates its internal "rulebook" to be more accurate.
  • Result: The robot is now smarter than it was before.

The Cycle

The process repeats:

  1. Guess: Use the smarter robot to clean the blurry photos again.
  2. Refine: Use the new, even cleaner photos to make the robot even smarter.

With every loop, the robot gets better at guessing, and the guesses get better at training the robot. Eventually, the robot learns to see the "true" image hidden inside the noise, even though it never saw a single perfect photo during the main training phase.

Why This is Special

Usually, if you try to train an AI on bad data, it learns bad habits (like thinking all cars look like blurry blobs).

  • The Secret Sauce: The authors found that starting with a tiny amount of clean data (like 50 images) acts as a "seed." It prevents the robot from going off the rails.
  • Adaptive Balancing: The method automatically adjusts how much it trusts the "guess" versus how much it trusts the "blurry evidence." In the beginning, it trusts the evidence more to avoid hallucinations. As the robot gets smarter, it trusts its own knowledge more.

The Results

The team tested this on three types of "corrupted" data:

  1. Inpainting: Filling in missing parts of an image (like a puzzle).
  2. Denoising: Removing static or grain from a photo.
  3. Deblurring: Fixing a photo that was taken while the camera was shaking.

In all cases, their method worked significantly better than previous attempts that tried to learn from bad data. They managed to create a robot that could generate high-quality, clean images, effectively solving the chicken-and-egg problem without needing a massive library of perfect photos to start with.

In a Nutshell

EMDiffusion is a self-improving system. It starts with a small hint of what "good" looks like, uses that hint to clean up "bad" data, and then uses the cleaned-up data to learn how to be even better at cleaning. It's like a student who starts with a rough sketch, uses it to practice drawing, and gradually becomes a master artist, all without ever having a perfect textbook to copy from.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →