Abstract
Diffusion models (DMs) have established a new state-of-the-art in solving inverse problems, yet their performance remains heavily dependent on the availability of high-quality, in-distribution training data. In domains like medical imaging, such data is often scarce or unavailable. This paper introduces Deep Diffusion Image Prior (DDIP) and its 3D-optimized extension, D3IP, which enable diffusion models to adapt to out-of-distribution (OOD) data during the reconstruction process. By establishing a formal link between model adaptation and the Deep Image Prior (DIP) framework, the authors achieve high-fidelity 3D reconstructions (CT/MRI) using models trained only on synthetic phantoms. Notably, D3IP reduces memory complexity from $O(N)$ to $O(1)$ relative to the number of slices, running orders of magnitude faster than previous slice-wise adaptation methods.
Introduction: The Out-of-Distribution Challenge
While diffusion models excel at reconstructing clean images from degraded measurements (e.g., sparse-view CT or undersampled MRI), they typically require training sets that perfectly match the test distribution. When a mismatch occurs—such as a model trained on synthetic geometric shapes being applied to human anatomy—the model faces an out-of-distribution (OOD) problem.
Existing solutions like Steerable Conditional Diffusion (SCD) attempt to bridge this gap by updating model parameters during reconstruction. However, SCD is computationally prohibitive for 3D volumes because it treats every 2D slice as an independent problem, ignoring spatial correlations and requiring massive memory overhead.
Methodology: From DDIP to D3IP
Deep Diffusion Image Prior (DDIP)
The authors provide a theoretical foundation for adaptation by proving a link between SCD and the Deep Image Prior (DIP). They demonstrate that adapting a diffusion model during the reverse sampling process is essentially a multi-scale version of DIP performed along the probability-flow ODE path. This insight allows for more stable and interpretable adaptation, and crucially, reveals that increasing the number of adaptation iterations ($K$) significantly enhances performance.
3D Deep Diffusion Image Prior (D3IP)
To address the inefficiencies of slice-wise reconstruction, the paper proposes D3IP. Unlike previous methods that adapt each slice independently, D3IP performs joint adaptation across the entire 3D volume.
By using Monte Carlo sampling to select a subset of slices at each timestep to update a single set of shared parameters, D3IP achieves $O(1)$ memory complexity. The framework further incorporates 3D Model-Based Iterative Reconstruction (MBIR) to enforce spatial coherence and utilizes meta-learning (the Reptile algorithm) to initialize model parameters effectively before fine-tuning on specific measurements.
Experimental Results
The efficacy of D3IP was tested by training models on simple synthetic Ellipses phantoms and evaluating them on clinical datasets, including the AAPM (CT) and BRATS 2018 (MRI) datasets.
Performance and Efficiency
In 3D MRI tasks, D3IP outperformed the SCD baseline by over 4 dB in PSNR. The joint adaptation approach not only improved accuracy but also eliminated the artifacts common in independent slice-by-slice reconstructions.
| Method | 3D SV-CT (PSNR↑) | 3D MRI (PSNR↑) | Compute | Memory |
|---|---|---|---|---|
| SCD | 32.91 | 26.00 | $O(KNT)$ | $O(N)$ |
| D3IP (base) | 31.73 | 30.59 | $O(KT)$ | $O(1)$ |
| D3IP (mbir) | 33.69 | 33.89 | $O(KT)$ | $O(1)$ |
Computational gains were equally significant: for a $256^3$ volume, D3IP completed reconstruction in approximately 40 minutes on a single GPU, compared to over 6 hours for SCD. Furthermore, parameter storage requirements dropped from ~2.9 GB to just 14.5 MB.
Conclusion and Future Work
DDIP and D3IP represent a significant step toward making diffusion models practical for real-world medical imaging where data is limited. By leveraging the multi-scale prior inherent in the diffusion process, the authors enable robust OOD adaptation with high efficiency.
A remaining challenge is catastrophic forgetting, as the model discards its general prior to fit a specific measurement. Future research will focus on making this learned OOD knowledge more permanent and exploring offline adaptation techniques to further streamline the reconstruction pipeline.
Summary updated