Ambient Diffusion Posterior Sampling: Solving Inverse Problems with Diffusion Models Trained on Corrupted Data

Asad Aali, Giannis Daras, Brett Levac, Sidharth Kumar, Alex Dimakis, Jon Tamir

Deep generative models, particularly diffusion models, have become state-of-the-art tools for solving inverse problems like MRI reconstruction or image deblurring. However, these models typically require massive datasets of "clean," fully-observed ground truth images for training.

In many real-world applications—such as medical imaging (MRI), astronomy, or microscopy—acquiring clean data is either prohibitively expensive, physically impossible, or harmful to the subject (e.g., due to long scan times). This paper tackles the challenge of building powerful generative priors when we only have access to "ambient" data: measurements that are already linearly corrupted (subsampled, blurred, or masked).

To address this, the authors introduce Ambient Diffusion Posterior Sampling (A-DPS), a framework that allows diffusion models trained exclusively on corrupted data to solve a wide variety of inverse problems. Surprisingly, they find that models trained on highly corrupted data can actually outperform those trained on clean data when faced with severe undersampling or high noise at inference time.

Methods: Extending Ambient Diffusion

The authors build upon the existing "Ambient Diffusion" framework and extend it in two major ways to handle complex, real-world inverse problems:

  1. Ambient Diffusion for MRI: They adapt the framework to handle the complex-valued, multi-coil, and structured Fourier-domain corruption inherent in MRI. By adding additional synthetic corruption to already subsampled training data, the model learns to estimate the "ambient score"—essentially learning the underlying clean distribution without ever seeing a clean image.
  2. Ambient Diffusion Posterior Sampling (A-DPS): They propose a new reconstruction algorithm. Standard Diffusion Posterior Sampling (DPS) uses a model trained on clean data to guide the generative process toward a solution that matches new measurements. A-DPS modifies this update rule to work with models trained on corrupted data.

Crucially, A-DPS allows for cross-corruption generalization: a model trained on one type of corruption (e.g., random pixel inpainting) can be used at inference time to solve a completely different problem (e.g., image blurring or compressed sensing).

Overview of the Ambient Diffusion training framework.

Key Insights: Corruption as a Regularizer

A counter-intuitive "aha moment" in this research is that training on corrupted data can sometimes be better than training on clean data for high-difficulty tasks. The authors hypothesize that clean data might lead to overfitting or "memorization," whereas corrupted training forces the model to learn more robust, generalizable features.

This leads to a distinct "Cross-Over" Effect. In low-noise or low-acceleration regimes, clean-trained models still win. However, as the problem becomes harder (fewer measurements at inference), the performance of ambient models crosses over and eventually surpasses the clean-trained baselines. Furthermore, models trained with higher levels of corruption often reach high-quality solutions in fewer sampling steps, making them significantly faster during the reconstruction phase.

Key Results

The researchers evaluated their framework on several standard benchmarks, including FastMRI (brain scans) and natural image datasets (CelebA, FFHQ, and AFHQ).

  • MRI Superiority at High Acceleration: For MRI reconstruction at high acceleration factors (e.g., $R=8$), A-DPS achieved significantly better results than standard DPS trained on clean data. Visual results show that clean-trained models often introduce "hallucinations" or artifacts when pushed to high acceleration, while A-DPS remains more faithful to the underlying anatomy.
Visual comparison of MRI reconstructions using A-DPS versus standard DPS.
  • Natural Image Performance: On the AFHQ dataset, for compressed sensing with very few measurements (under 1000), models trained with high erasure probabilities ($p=0.6$ or $0.8$) consistently outperformed the clean ($p=0.0$) baseline in both MSE and LPIPS (a perceptual similarity metric).
  • High-Quality Priors: Even without clean training data, the models produce realistic unconditional samples that lack the aliasing artifacts common in traditional compressed sensing reconstructions.

Limitations and Future Work

While the experimental results are striking, there is currently no rigorous theoretical proof explaining why corrupted training data leads to better priors for different corruption types in high-noise regimes. Additionally, the study focused specifically on the DPS algorithm; it remains to be seen if these findings generalize to other posterior sampling methods like REPAINT or MCG.

Finally, the authors note that the auto-calibration signal (ACS) region in MRI is shared across samples, which might lead to an over-representation of certain spatial frequencies. Future work could involve more sophisticated loss weighting to mitigate this bias, further improving the fidelity of ambiently trained medical imaging models.

Summary updated

BibTeX
@inproceedings{aali2025ambient,
  author = {Asad Aali and Giannis Daras and Brett Levac and Sidharth Kumar and Alex Dimakis and Jon Tamir},
  title = {{Ambient Diffusion Posterior Sampling: Solving Inverse Problems with Diffusion Models Trained on Corrupted Data}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=qeXcMutEZY},
}
Figure