Deep generative priors for 3D brain analysis

Ana Lawry Aguila, Dina Zemlyanker, You Cheng, Sudeshna Das, Daniel C. Alexander, Oula Puonti, Annabel Sorby-Adams, W. Taylor Kimberly, Juan Eugenio Iglesias · Submission to ICLR 2026 · Rejected

TL;DR

This paper introduces a versatile framework that uses diffusion models as "deep priors" to solve complex 3D brain MRI inverse problems—like super-resolution, inpainting, and bias field correction—without requiring task-specific paired training data. By combining a score-based diffusion model (which learns what a healthy brain looks like) with flexible physical forward models (which describe how images are degraded), the authors achieve state-of-the-art results that generalize across different scanners, modalities, and even ultra-low-field MRI.

What Problem Does This Paper Address?

Medical imaging is plagued by "inverse problems": we have a degraded, noisy, or low-resolution scan ($y$) and want to recover the high-quality underlying anatomy ($x$). Traditionally, researchers have used two main approaches, both with significant flaws:

  1. Classical Bayesian Methods: These use hand-crafted mathematical priors (like assuming the image is "smooth"). While robust, these priors are too simple to capture the intricate, folded geometry of the human brain.
  2. Supervised Deep Learning: These models are trained to map specific inputs to specific outputs (e.g., low-res to high-res). However, they require massive amounts of "paired" data, which is rare in clinical settings. Furthermore, a model trained on one scanner often fails when applied to a different one (the "domain gap").

The authors aim to bridge this gap by using a generative diffusion model as a sophisticated, data-driven prior that can be plugged into a standard Bayesian framework, allowing for high-fidelity reconstruction across diverse clinical scenarios without needing paired training sets.

Methods

The core of the approach is a Bayesian formulation where the goal is to sample from the posterior distribution $p(x|y) \propto p(y|x)p(x)$.

  • The Prior ($p(x)$): The authors trained a score-based diffusion model (specifically a U-Net using the EDM framework) on a massive, diverse dataset of over 7,000 high-quality, 1mm isotropic brain scans. This model essentially learns the "manifold" of healthy brain anatomy.
  • The Forward Model ($p(y|x)$): This is the "physics" part. The authors developed differentiable likelihood functions for different tasks:
  • Restoration: Models the projection matrix, alignment, and an anisotropic blurring operator. Crucially, it includes a bias field correction term to handle the intensity inhomogeneities common in MRI.
  • Inpainting: Uses a binary mask to ignore pathological regions (like tumors) and allow the prior to "fill in" healthy tissue.
  • Refinement: Treats the output of another algorithm as a noisy starting point, using the diffusion prior to "clean up" artifacts and improve anatomical realism.
  • Sampling: To solve the problem, they use DAPS (Diffusion-based Annealing for Posterior Sampling), which iteratively refines a noise volume into a clean brain image by balancing the "score" (the prior's direction) and the "likelihood gradient" (the data's direction).

Datasets

The authors utilized an impressive array of datasets to ensure their prior was truly "general purpose":

  • Training: A cohort of 7,383 scans (T1w, T2w, and FLAIR) aggregated from major public studies including ABIDE, AIBL, HCP, OASIS3, and others.
  • Evaluation (Restoration):
    • A Clinical dataset (T1w, T2w, FLAIR) with varying slice thicknesses.
  • A Low-field dataset (0.064 Tesla), which is notoriously noisy and low-resolution.
  • Evaluation (Inpainting): The BraTS and ATLAS datasets, which contain manual segmentations of brain lesions and tumors.

Key Insights and Ideas

  • Decoupling Prior from Task: Unlike standard U-Nets that are "hard-wired" for one task, this diffusion prior only needs to be trained once on clean data. It can then be applied to any inverse problem as long as you can write down a mathematical description (likelihood) of the degradation.
  • Handling the Bias Field: MRI intensity is rarely uniform. By incorporating a learnable bias field (modeled with polynomial basis functions) directly into the sampling loop, the method handles clinical artifacts that often trip up other deep learning models.
  • Pathology as an Inverse Problem: The paper treats disease (like a tumor) as "missing data." By masking out the lesion, the model can reconstruct what the healthy anatomy should have looked like, which is highly useful for automated analysis tools that are usually trained only on healthy brains.
  • The "Refiner" Role: The authors show their method can act as a "post-processor" for other popular tools (like SynthSR), significantly reducing artifacts and improving anatomical fidelity.

Key Results

  • State-of-the-Art Performance: The method consistently outperformed both classical baselines (UniRes) and specialized deep learning models (SynthSR, LoHiResGAN) across almost all metrics (MAE, PSNR, SSIM, and perceptual metrics like LPIPS).
  • Low-Field Success: On ultra-low-field (0.064T) MRI, the method produced high-quality 1mm isotropic reconstructions, a significant feat given the extremely low signal-to-noise ratio of such scanners.
  • Pathology Inpainting: In the BraTS and ATLAS datasets, the method achieved the highest rank in producing anatomically plausible healthy tissue replacements, outperforming existing 2D and 3D diffusion-based inpainting methods.
  • Zero-Shot Generalization: The model worked on T1w, T2w, and FLAIR images despite the prior being agnostic to the specific forward degradation, proving its versatility.

Limitations and Future Work

  • Sampling Speed: The biggest drawback is computational cost. Because the method requires hundreds of iterations of a 3D U-Net, it takes significantly longer (minutes) than a single-pass supervised model (seconds).
  • Contrast Fidelity: While the anatomy is highly realistic, the model sometimes struggles to perfectly match the specific tissue contrast of the input scan, occasionally "defaulting" to the average contrast learned during training.
  • Hyperparameters: While the authors suggest a "default" precision value ($\tau$), they acknowledge that optimal results still require some tuning depending on the noise level of the input data.
  • Future Directions: The authors suggest exploring more sophisticated likelihood formulations and faster sampling strategies (like consistency models) to make the framework viable for real-time clinical use.

Summary updated

BibTeX
@misc{aguila2025deep,
  author = {Ana Lawry Aguila and Dina Zemlyanker and You Cheng and Sudeshna Das and Daniel C. Alexander and Oula Puonti and Annabel Sorby-Adams and W. Taylor Kimberly and Juan Eugenio Iglesias},
  title = {{Deep generative priors for 3D brain analysis}},
  year = {2025},
  eprint = {2510.15119},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.15119},
}
Figure