Abstract
Deep learning models significantly accelerate radiotherapy dose calculations but often lack the rigorous safety guarantees required for clinical deployment. While Risk-Controlling Prediction Sets (RCPS) provide global coverage guarantees, they often fail on critical, high-intensity subgroups due to data imbalance. We present SG-RCPS, a novel calibration algorithm that ensures uncertainty intervals are reliable across specific subgroups, such as the radiation beam foreground, providing mathematically guaranteed safety for clinical use.
Introduction
In radiotherapy (RT), clinicians must precisely estimate the radiation dose delivered to tumors versus healthy tissue. While Monte Carlo simulations are the gold standard for accuracy, their computational cost prohibits real-time use during treatment sessions. Deep learning (DL) models like DeepDose offer massive speedups but are often "black boxes" that do not communicate uncertainty.
A technique called Risk-Controlling Prediction Sets (RCPS) was developed to provide mathematical coverage guarantees (e.g., a 90% probability the true dose lies within a predicted interval). However, standard RCPS suffers from a "majority rule" bias in medical imaging. Because background voxels (zero dose) usually dwarf foreground voxels (the radiation beam), a model can meet global risk targets by being accurate on easy background voxels while failing dangerously on the critical beam voxels.
Methods
We propose a two-stage framework to address this imbalance:
- Heuristic Uncertainty: The DeepDose network (a 3D UNet) is extended using Quantile Regression. Instead of a single dose value, the model predicts a lower bound, an upper bound, and a point estimate using a "pinball loss" function.
- SG-RCPS (Subgroup-Specific RCPS): This core innovation replaces the single global scaling factor ($\\lambda$) used in standard calibration with an iterative search for a $\\lambda$ that satisfies risk requirements for every subgroup simultaneously. By calibrating against the "worst-performing" subgroup during validation, the resulting intervals are guaranteed to be safe for the foreground, background, and total image, even when subgroup labels are unknown at test time.
Datasets and Evaluation
The study utilized a clinical dataset of 125 patients from the University of Tübingen, covering four anatomical regions: Prostate, Liver, Breast (Mamma), and Head & Neck (HN). The model was also tested on an Out-of-Domain (OOD) entity—Lymph nodes—to verify generalization. Ground truth was generated via high-accuracy EGSnrc Monte Carlo simulations.
Key Results
SG-RCPS demonstrated a stark improvement in safety over standard RCPS, particularly in high-dose regions:
- Foreground (Beam) Risk: In the Prostate group, standard RCPS had an empirical risk of 0.970, meaning it failed to contain the true dose 97% of the time. SG-RCPS reduced this risk to 0.084, successfully meeting the target risk level ($\alpha = 0.1$).
- OOD Performance: On unseen Lymph node data, SG-RCPS maintained a foreground risk of 0.024, proving the calibration generalizes well to new anatomical structures.
Qualitatively, SG-RCPS produces significantly wider uncertainty intervals along the radiation beam path. This represents a deliberate trade-off: it is better to provide a wide, honest interval than a narrow, inaccurate one in a clinical setting.
Conclusion
SG-RCPS addresses the critical flaw of global calibration in imbalanced medical data. While the method can be conservative—leading to wider intervals in "easy" subgroups—it provides the rigorous safety guarantees necessary for AI-assisted radiotherapy. Future work will explore applying this logic to other sensitive subgroups to ensure medical AI performs equitably across different patient demographics.
Summary updated