Shape Atlas
English
Back to paper index

3D generation research index

Brain MRI Diffusion Inpainting

Denoising Diffusion Models for 3D Healthy Brain Tissue Inpainting

Alicia Durrer, Julia Wolleb, Florentin Bieder, Paul Friedrich, Lester Melie-Garcia, Mario Ocampo-Pineda et al. ·

One-minute overview

This study compares conditional diffusion models for filling masked regions of a 3D brain MR volume. Its strongest reported variant combines planar convolutions with through-slice convolutions, allowing adjacent slices to inform the same completion.

Research problem and inputs and outputs

  • Author report

    The authors compare inpainting models for three-dimensional MR volumes using two-dimensional, pseudo-three-dimensional and fully three-dimensional processing. Their evaluation asks how closely the filled voxels reproduce an available reference.

    Preserve consistency across slices
  • Editorial reading

    A binary mask tells the network where the reference content is hidden. The study reconstructs an image volume under this condition and evaluates synthetic-mask experiments.

    The task is conditional image synthesis
Inputs
A T1-weighted MR volume with a specified missing region and its mask. Training pairs a masked volume with the corresponding unmasked healthy-tissue target.
Outputs
An inpainted volumetric MR image. The study measures reconstruction agreement and an automated segmentation proxy on its held-out research data.

Original paper figure

Figure 2 · arXiv:2403.14499v1

Diffusion inpainting overview showing the unmasked reference, mask, masked input, noise prediction, and reverse sampling of the filled image.

Credit · Alicia Durrer et al.

The authors’ Figure 2 shows the training and sampling paths. The denoiser receives a noisy image, a masked image and the mask, learns to predict corruption, and iteratively fills the missing volume.

Method step by step

  1. Author report

    At each step the noise predictor receives the noised reference, masked image and binary mask along with a diffusion timestep. Training learns to recover the injected noise and sampling iteratively refines the missing region.

    Condition on the observed image and mask
  2. Author report

    Pseudo3D uses a 2D convolution within each slice followed by a one-dimensional convolution along the slice axis. It applies this directly in image space to stacks of neighboring slices.

    Use planar and through-slice convolutions
  3. Author report

    The study also tests independent slices, a sequential slice model conditioned on the previous slice and slice position, image-space 3D diffusion, a 3D latent diffusion model and a 3D wavelet alternative.

    Compare several ways to use spatial context

Key design choices

  • Author report

    The latent model’s autoencoder uses average pooling to bring volumes to 128³. The image-space volumetric model uses a memory-efficient backbone with fewer base channels than the 2D and pseudo-3D variants.

    Memory constraints change model configurations
  • Author report

    In the tested configurations Pseudo3D uses stacks of 16 slices, 40.17 GB training memory and 25 minutes per sampled image, versus 33.97 GB and 20 minutes for the slice-wise DDPM.

    Trade memory for contiguous context

How to read the experiments

  • Datasets and protocol

    Author report

    BraTS 2023 supplies 1,251 public training scans and 568 test scans for the benchmark setup. The separate MS-cohort experiment applies registered lesion masks to 20 healthy scans, splitting them into ten for fine-tuning and ten for evaluation.

    BraTS and a separate synthetic-mask transfer experiment
  • Baselines

    Author report

    All six diffusion variants are compared on the BraTS masked-region reconstruction task. The follow-up segmentation proxy compares only Pseudo3D and FSL lesion filling.

    Test model variants and a lesion-filling reference
  • Metrics

    Author report

    BraTS metrics compare structural similarity (SSIM), mean squared error (MSE) and PSNR. The second experiment uses Dice against FSL FAST segmentation of the original healthy image. Neither experiment scores the unmasked regions.

    Measure masked regions only
  • Results

    Author report

    Pseudo3D reports SSIM 0.8527, MSE 0.0103 and PSNR 20.9258, versus 0.7847, 0.0160 and 18.7131 for the slice-wise DDPM. Its SSIM standard deviation is 0.1196 versus 0.1546. The comparison uses only masked regions.

    BraTS Table 2, mean scores
  • Author report

    Pseudo3D gives 0.8569 for cerebrospinal fluid, 0.8234 for gray matter and 0.9846 for white matter. FSL lesion filling gives 0.5225, 0.5853 and 0.9540 respectively under the same FSL FAST reference procedure.

    Synthetic-mask segmentation Table 3, mean Dice
  • Trade-offs

    Author report

    The latent and wavelet alternatives sample in one and five minutes respectively, versus 25 minutes for Pseudo3D. They score below Pseudo3D on all three masked-region BraTS metrics in Table 2.

    Latent and wavelet model speed tradeoffs

Limitations and use boundaries

  • Author report

    The authors suggest lower channel counts or a memory-limited latent autoencoder may have hurt the full 3D methods and leave that hypothesis to further study.

    Architecture effects remain unresolved
  • Editorial reading

    The second experiment scores automatic segmentation with a synthetic missing-region protocol and ten held-out images. The results concern those research measurements and that reference procedure.

    The follow-up is an automated proxy

Fixed version and section references

Read fixed-version paper · arXiv:2403.14499v1 · Source reviewed

Experiments were reported by the authors. The editorial analysis cites their evidence.