Conditioning 3D Diffusion Models with 2D Images: Towards Standardized OCT Volumes through En Face-Informed Super-Resolution

Coen de Vente, Mohammad Mohaiminul Islam, Philippe Valmaggia, Carel Hoyng, Adnan Tufail, Clara I. Sánchez

TL;DR

Optical coherence tomography (OCT) volumes often suffer from high through-plane anisotropy (large slice spacing), leading to inconsistent clinical biomarker quantification. This paper introduces an 8× slice super-resolution approach using a 3D diffusion model conditioned on paired, readily available 2D scanning laser ophthalmoscopy (SLO) en face images. By anchoring through-plane slice generation to real anatomical guidance, the model improves structural coherence and perceptual quality while minimizing generative hallucinations.

What Problem Does This Paper Address?

Volumetric retinal OCT scans are routinely acquired as a stack of 2D cross-sections (B-scans). Because scan protocols and hardware vary across clinical sites, slice spacing can be wide and inconsistent. The authors demonstrate that an 8× increase in slice spacing leads to a 23.2% drop in estimated retinal fluid volume in a single scan.

While super-resolution can reduce this anisotropy, existing volumetric methods rely solely on the sparse 3D scan itself. When generative models guess what lies between widely separated slices without extra information, they risk hallucinating non-existent features or smoothing away critical pathologies.

Methods

The authors propose $\text{DDIM}_\text{ef}$, a 3D Denoising Diffusion Implicit Model (DDIM) that generates dense 3D volumes from sparse slices by leveraging simultaneous 2D en face data:

  • 2D-to-3D Conditioning: OCT devices capture paired 2D scanning laser ophthalmoscopy (SLO) fundus images to guide beam positioning. The authors register the 2D SLO to the OCT volume, replicate it along the vertical depth dimension to match the 3D tensor shape, and concatenate it alongside the linearly interpolated low-resolution OCT and noisy volume patch.
  • Denoising Architecture: A 4-level 3D U-Net (implemented via MONAI) trained with $v$-prediction parameterization and mean squared error (MSE) loss, with self-attention at the bottleneck.
  • Classifier-Free Guidance (CFG): During training, en face conditioning is randomly dropped ($p_\text{uncond}$) to jointly train conditional and unconditional models, allowing a tunable guidance scale ($w$) at inference.
  • Volume Inpainting with RePaint: To stitch high-resolution volumes from patches without boundary artifacts, the inference pipeline uses overlapping patches guided by RePaint inpainting, keeping originally acquired slices fixed.
  • Intensity Normalization: A post-processing step normalizes the mean and standard deviation of generated slices against the known acquired slices to avoid slice-to-slice brightness jumps.
       [Low-Res OCT (Upsampled)] ──┐
       [Registered 2D SLO Image] ──┼─► [Concatenate] ─► [3D Denoising U-Net] ─► [High-Res OCT Volume]
             [Noisy Patch xt]   ──┘            ▲
                                               │
                                       (RePaint Overlap + DDIM)

Datasets

  • MACUSTAR Study: A multicenter clinical study focused on age-related macular degeneration (AMD) across 20 European sites.
  • Data Selection: 302 patients scanned on Heidelberg Spectralis devices with $\ge 237$ B-scans and matched near-infrared confocal SLO images.
  • Splits: 181 patients (721 volumes) for training, 60 patients (236 volumes) for validation, and 61 patients (61 volumes, study eyes from the first visit) reserved for testing.
  • Task: 8× slice upsampling (super-resolving 30 input B-scans into 240 B-scans).

Key Insights and Ideas

  • Multimodal grounding beats unconstrained generation: Standard 3D interpolation blurs boundaries, while unconditioned diffusion models can guess plausible but biologically incorrect structures. The registered 2D SLO image acts as a structural blueprint for the gaps between B-scans.
  • Classical metrics favor blurry images: Classical reconstruction metrics (PSNR, SSIM, MSE) reward smooth, blurry baselines like tricubic interpolation. Perceptual metrics across orthogonal planes (LPIPS in coronal and sagittal directions) reveal how much better diffusion models reconstruct continuous retinal anatomy.
  • The CFG trade-off: While increasing Classifier-Free Guidance ($w=2$) did not noticeably improve global quantitative metrics, visual inspection showed it was crucial for recovering fine, subtle structures like drusen and blood vessels visible in the SLO reference. However, setting guidance too high ($w > 2$) risks artificially inflating or exaggerating lesion sizes.

Key Results

  • Perceptual Superiority: On through-plane perceptual metrics, the diffusion models dramatically outperformed tricubic interpolation:
  • $\text{LPIPS}_\text{cor}$ (Coronal): $\mathbf{0.158}$ (unconditioned DDIM) and $\mathbf{0.162}$ ($\text{DDIM}_\text{ef}$) vs. $0.548$ (Tricubic).
  • $\text{LPIPS}_\text{sag}$ (Sagittal): $\mathbf{0.144}$ vs. $0.540$ (Tricubic).
  • $\text{LPIPS}_\text{2.5D}$ (Average): $\mathbf{0.147}$–$\mathbf{0.150}$ vs. $0.403$ (Tricubic).
  • $\text{LPIPS}_\text{efproj}$ (En Face Projection): $\mathbf{0.060}$–$\mathbf{0.064}$ vs. $0.231$ (Tricubic).
  • Classical Metrics: Classical metrics remained largely tied between tricubic interpolation and diffusion ($\text{PSNR} \approx 22.45\text{ dB}$, $\text{SSIM} \approx 0.447\text{–}0.451$).
  • Qualitative Recovery: $\text{DDIM}_\text{ef}$ correctly restored anatomical features—such as drusen bumps, superficial blood vessels, and geographic atrophy hypertransmission—that were completely lost by tricubic interpolation and unconditional diffusion.
  • Sampling Runtime: Sampling a full 240-slice volume took $\approx 23$ minutes without CFG and $\approx 46$ minutes with CFG on an NVIDIA A100 GPU across 58 patches.

Limitations and Future Work

  • Artifacts: Diffusion generation occasionally produced bright clusters in patch corners or bright hyper-intensities in the vitreous body (particularly when adjacent low-res slices were misaligned).
  • Registration Dependency: Imperfect automated registration between OCT volumes and SLO images limits performance; improved alignment pipelines should boost fidelity.
  • Architectural Efficiency: Replicating the 2D SLO into a 3D volume is computationally redundant and wastes memory. Future work should investigate cross-attention mechanisms or separate 2D/3D feature encoders.
  • Downstream Clinical Validation: The paper focuses on perceptual image similarity; extensive biomarker segmentation (e.g., drusen or fluid volume quantification) is required to definitively prove clinical downstream utility.
  • Broader Horizons: The authors suggest applying this concept to other modalities—such as using high-resolution 2D planar X-rays to super-resolve anisotropic 3D CT or MRI scans.

Summary updated

BibTeX
@inproceedings{vente2024conditioning,
  author = {Coen de Vente and Mohammad Mohaiminul Islam and Philippe Valmaggia and Carel Hoyng and Adnan Tufail and Clara I. Sánchez},
  title = {{Conditioning 3D Diffusion Models with 2D Images: Towards Standardized OCT Volumes through En Face-Informed Super-Resolution}},
  booktitle = {GenAI4Health @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=iFmaXQkVz2},
}

Loading related content...

Figure