A Biophysically-Conditioned Generative Framework for 3D Brain Tumor MRI Synthesis

Valentin Biller, Lucas Zimmer, Can Erdur, Sandeep Nagar, Daniel Rückert, Niklas Bubeck, Jonas WeidnerarXiv 2025 · DOI

Abstract

Automated medical imaging tools for brain segmentation and parcellation are typically trained on healthy anatomy, leading to significant performance degradation when encountering pathological distortions like tumors. This paper introduces a 3D latent diffusion model (LDM) designed to synthesize and inpaint brain tumor MRIs with high anatomical consistency. By conditioning the generative process on continuous tumor cell concentrations derived from biophysical growth models, the framework captures the infiltrative nature of gliomas more accurately than traditional binary masks. The model serves a dual purpose: it can synthesize realistic tumors into healthy scans or "erase" existing tumors to restore healthy-looking brain structures, thereby facilitating more reliable downstream analysis.

Introduction

The reliability of automated diagnostic tools in neuroimaging often plummets when they encounter brain tumors because the pathology distorts the expected structural "priors" of the brain. To mitigate this, researchers employ inpainting—the process of removing a tumor and filling the void with plausible healthy tissue. However, existing generative models often rely on biologically unrealistic discrete binary masks. These masks fail to represent the gradient of tumor density characteristic of infiltrative gliomas. There is a critical need for a model that understands the complex 3D spatial relationships of the brain and the continuous nature of tumor infiltration.

Methodology

The proposed framework utilizes a two-stage 3D Latent Diffusion Model (LDM) to handle the high memory requirements and structural complexity of 3D MRI data.

1. Compression and Latent Space

To manage the massive memory footprint of 3D MRI, a pretrained Variational Autoencoder (VAE) compresses high-resolution images into a compact latent space. This allows the diffusion process to operate on a lower-dimensional representation while preserving essential anatomical features.

2. Biophysical Conditioning and ControlNet

The core innovation lies in the conditioning mechanism. Instead of binary masks, the model is conditioned on continuous tumor concentrations (values ranging from 0 to 1) derived from biophysical growth models. This enables fine-grained control over tumor density and infiltration. A ControlNet-style architecture feeds these concentrations alongside anatomical tissue maps (CSF, gray matter, white matter) into the diffusion process, ensuring the generated images respect the underlying brain structure.

The training and inference pipelines for the 3D Latent Diffusion Model, highlighting the VAE, ControlNet, and biophysical conditioning components.

3. Inference and Post-processing

For inpainting tasks, the model employs the RePaint algorithm, which uses iterative re-noising and resampling to harmonize the boundaries between original and generated image regions. Final visual quality is enhanced through Poisson blending to smooth gradient discontinuities and histogram equalization to match intensity distributions between the generated patch and the original scan.

Experimental Setup and Datasets

The study utilized an aggregated cohort of 3,602 subjects from several public and private sources, including BraTS 2021, ucsf-pdgm, tcga-gbm, tcga-lgg, and Rembrandt. All data were standardized to a 1mm³ isotropic resolution, focusing primarily on T1-weighted MRI sequences.

Results and Discussion

The model was evaluated on the BraTS Inpainting Challenge, demonstrating strong performance in both restoring healthy tissue and reconstructing tumorous regions.

Quantitative Performance

  • Healthy Tissue Inpainting: Achieved a Peak Signal-to-Noise Ratio (PSNR) of 18.542 and a Structural Similarity Index (SSIM) of 0.754.
  • Tumor Inpainting: Achieved a PSNR of 17.360 and an SSIM of 0.578.

Ablation studies highlighted the necessity of post-processing; adding histogram equalization alone improved the PSNR from 14.6 to 17.5, indicating that intensity matching remains a significant hurdle for generative models in medical imaging.

Qualitative Assessment

Visually, the model successfully generates plausible healthy tissue that follows the expected anatomical contours of the brain. The use of continuous concentrations allows for a realistic "haze" of infiltrating cells at tumor boundaries, avoiding the artificial hard edges common in mask-based approaches.

Visual comparison of voided tumor regions, healthy inpainting, tumor inpainting, and ground truth across coronal, sagittal, and axial planes.

Conclusion and Future Work

This work demonstrates a unified framework capable of both synthesizing and erasing brain tumors by simply toggling biophysical concentration inputs. While the results are promising, limitations remain regarding the high computational cost of training 3D diffusion models (approximately 2.5 weeks on H100 GPUs) and the slow inference speed of the RePaint algorithm. Future research will focus on extending the model to multi-modal data (T2, FLAIR, PET) and incorporating temporal modeling to simulate tumor growth trajectories over time.

Summary updated

BibTeX
@misc{biller2025biophysically,
  author = {Valentin Biller and Lucas Zimmer and Can Erdur and Sandeep Nagar and Daniel Rückert and Niklas Bubeck and Jonas Weidner},
  title = {{A Biophysically-Conditioned Generative Framework for 3D Brain Tumor MRI Synthesis}},
  year = {2025},
  eprint = {2510.09365},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.09365},
}
Figure