Abstract
Accurate dose prediction is a cornerstone of automated radiotherapy planning, yet traditional deep learning models often suffer from over-smoothing due to their reliance on regression-based loss functions. This paper introduces DiffDP, the first diffusion-based framework for radiotherapy dose distribution prediction. By leveraging the generative capabilities of Denoising Diffusion Probabilistic Models (DDPM) and a specialized Structure Encoder for anatomical grounding, DiffDP preserves high-frequency details and physical ray-shaped patterns that are often lost in standard models. Evaluated on a clinical dataset of rectum cancer patients, DiffDP significantly outperforms state-of-the-art methods in both dose-volume metrics and visual fidelity.
Introduction
In modern oncology, radiotherapy planning requires a precise balance: delivering a lethal radiation dose to the Planning Target Volume (PTV) while minimizing exposure to surrounding Organs at Risk (OARs). This process is traditionally iterative and manual, leading to significant clinical workload. While deep learning (DL) has emerged as a promising tool for automating dose prediction, existing architectures—primarily based on UNets or Generative Adversarial Networks (GANs)—frequently rely on $L_1$ or $L_2$ loss functions.
Mathematically, these functions tend to optimize for the posterior mean of the data distribution, which manifests as an "over-smoothing" effect in the predicted dose maps. In a clinical context, this blurring obscures the sharp gradients and ray-shaped attenuation patterns characteristic of actual radiation beams. These high-frequency details are not merely aesthetic; they represent the underlying physics of radiation transport. To address this, we present DiffDP, a diffusion-based approach designed to generate high-fidelity dose distributions that respect both anatomical boundaries and physical beam characteristics.
Methodology
The DiffDP Framework
DiffDP utilizes a Denoising Diffusion Probabilistic Model (DDPM) to learn the distribution of dose maps. The framework is divided into two primary processes:
- Diffusion and Reverse Process: In the forward phase, Gaussian noise is incrementally added to a ground-truth dose map. In the reverse phase, a Noise Predictor—implemented as a 6-level UNet—is trained to iteratively remove this noise. Unlike regression models that attempt a direct mapping, the diffusion process learns the gradients of the data distribution, allowing it to reconstruct sharp, realistic features without the averaging effect of standard loss functions.
- Structure Encoder: To ensure the generated dose is clinically and anatomically valid, the model incorporates a dedicated Structure Encoder. This component extracts features from CT images and segmentation masks (PTV and OARs). These features are integrated into the Noise Predictor using element-wise addition at shallow layers and cross-attention mechanisms at deeper layers, providing the necessary spatial constraints for the generative process.
Experimental Setup
Dataset
The model was developed and validated using an in-house clinical dataset from West China Hospital, consisting of 130 rectum cancer patients treated with Volumetric Modulated Arc Therapy (VMAT). The dataset included CT scans and segmentations for the PTV and four OARs (bladder, small intestine, and left/right femoral heads). The data was partitioned into 98 patients for training, 10 for validation, and 22 for testing.
Evaluation Metrics
Performance was assessed using standard dosimetric metrics, including the Heterogeneity Index (HI) and Dose-Volume Histogram (DVH) parameters such as $\Delta D_{98}$, $\Delta D_2$, and $\Delta D_{max}$. These metrics evaluate the model's ability to predict both the coverage of the target and the sparing of critical organs.
Results and Discussion
Quantitative Performance
DiffDP demonstrated superior performance across all quantitative benchmarks compared to five state-of-the-art (SOTA) models, including standard UNets and GAN-based architectures. Notably, the improvement in predicting dose extremes was substantial. The errors for $\Delta D_2$ (near-maximum dose) and $\Delta D_{max}$ dropped to 0.0008 and 0.0005, respectively—values significantly lower than those achieved by competing models.
Qualitative Fidelity
Visual analysis of the predicted dose maps revealed that DiffDP successfully recovers "ray shapes"—the distinct paths of radiation beams. While SOTA models often produced a generic, blurred cloud of radiation, DiffDP maintained the high-gradient edges essential for clinical validity. Error maps further confirmed that DiffDP had the lowest disparity from the ground truth, particularly in complex transition zones between the PTV and OARs.
The "Average Effect" and Generative Precision
The success of DiffDP stems from its ability to escape the "average effect." By learning the manifold of valid dose distributions rather than a single mean-squared error target, the model preserves the high-frequency information inherent in radiation physics. The integration of the Structure Encoder ensures that this generative power is strictly guided by the patient's specific anatomy.
Conclusion and Future Work
DiffDP represents a significant shift in radiotherapy dose prediction, moving from deterministic regression to generative diffusion. While the model shows remarkable precision, limitations remain, including the computational cost of the 1,000-step iterative inference process and the need for validation on larger, multi-institutional datasets. Future research will focus on implementing fast-sampling methods to reduce inference time and testing the framework on more complex anatomical sites, such as the Head and Neck, to further prove its generalizability in diverse clinical scenarios.
Summary updated