[Paper Review] Anatomical and Diagnostic Bayesian Segmentation in Prostate MRI $-$Should Different Clinical Objectives Mandate Different Loss Functions?
This study investigates whether different clinical objectives in prostate MRI—anatomical segmentation (organ structure) versus diagnostic segmentation (clinically significant cancer detection)—require distinct loss functions in Bayesian U-Net models. It finds that distribution-based losses, especially focal loss, significantly outperform region/boundary-based losses in lesion detection due to better model calibration, while all losses perform similarly for anatomical segmentation, with focal loss showing reduced performance due to high uncertainty near boundaries.
We hypothesize that probabilistic voxel-level classification of anatomy and malignancy in prostate MRI, although typically posed as near-identical segmentation tasks via U-Nets, require different loss functions for optimal performance due to inherent differences in their clinical objectives. We investigate distribution, region and boundary-based loss functions for both tasks across 200 patient exams from the publicly-available ProstateX dataset. For evaluation, we conduct a thorough comparative analysis of model predictions and calibration, measured with respect to multi-class volume segmentation of the prostate anatomy (whole-gland, transitional zone, peripheral zone), as well as, patient-level diagnosis and lesion-level detection of clinically significant prostate cancer. Notably, we find that distribution-based loss functions (in particular, focal loss) are well-suited for diagnostic or panoptic segmentation tasks such as lesion detection, primarily due to their implicit property of inducing better calibration. Meanwhile, (with the exception of focal loss) both distribution and region/boundary-based loss functions perform equally well for anatomical or semantic segmentation tasks, such as quantification of organ shape, size and boundaries.
Motivation & Objective
- To determine whether different clinical objectives in prostate MRI—organ-level anatomy vs. pathology-level cancer detection—necessitate distinct loss functions in deep learning segmentation.
- To evaluate the impact of distribution-based (e.g., cross-entropy, focal loss) versus region/boundary-based (e.g., Dice, boundary loss) loss functions on segmentation performance across anatomical and diagnostic tasks.
- To assess model calibration and uncertainty quantification in Bayesian U-Net models under different loss functions.
- To compare performance using standard metrics (DSC, AUROC) and task-specific metrics (FROC) for lesion detection.
- To provide evidence-based recommendations for loss function selection based on clinical task objectives.
Proposed method
- A probabilistic 3D U-Net with Monte Carlo dropout was trained on 200 prostate MRI exams from the ProstateX dataset, with voxel-level annotations for whole-gland, transitional zone, peripheral zone, and clinically significant prostate cancer.
- Four loss functions were evaluated: cross-entropy (CE), balanced cross-entropy (BCE), focal loss (FL), and soft Dice-boundary loss (DB), with task-specific class weights and hyperparameters.
- Data augmentation included Gaussian noise, flips, rotations, translations, and scaling to improve robustness.
- Model calibration was assessed using expected calibration error (ECE) and reliability diagrams, with uncertainty quantification via Monte Carlo dropout.
- Performance was evaluated using 3D Dice similarity coefficient (DSC) for anatomical segmentation, AUROC for patient-level diagnosis, and partial area under FROC for lesion detection.
- Experiments used 5-fold cross-validation across 3 independent runs, with 100 Monte Carlo inference samples per image to estimate uncertainty.
Experimental results
Research questions
- RQ1Does the choice of loss function significantly affect segmentation performance in prostate MRI when distinguishing between anatomical and diagnostic tasks?
- RQ2Do distribution-based loss functions (e.g., focal loss) lead to better model calibration and uncertainty estimation than region/boundary-based losses?
- RQ3Is focal loss superior for lesion detection in prostate MRI due to its implicit calibration properties, even if it underperforms in anatomical segmentation?
- RQ4Can region/boundary-based losses like soft Dice and boundary loss be suboptimal for panoptic segmentation tasks such as multi-lesion detection despite high DSC?
- RQ5Do standard evaluation metrics like DSC fail to capture performance differences in diagnostic tasks where detection sensitivity and calibration matter more?
Key findings
- Focal loss (FL) significantly outperformed soft Dice-boundary (DB) loss in lesion detection, with a 15.7% increase in maximum detection sensitivity and a 0.25 improvement in partial area under FROC between 0.1–2.5 false positives per patient.
- FL demonstrated superior model calibration compared to DB, as shown by lower expected calibration error and more reliable reliability diagrams, which supports better risk stratification.
- For anatomical segmentation (WG, TZ, PZ), FL yielded lower DSC (e.g., 70 for WG, 64 for TZ, 50 for PZ) than CE, BCE, or DB, primarily due to high predictive uncertainty near organ boundaries.
- Despite poorer DSC, binarized argmax predictions from FL showed only marginally lower performance (88–90% DSC for WG) than other losses, indicating robustness in hard segmentation.
- Region/boundary-based losses like DB were poorly suited for panoptic segmentation tasks, producing flatter FROC curves and lower detection sensitivity due to polarized, overconfident predictions.
- Distribution-based losses (especially FL) implicitly improve calibration and reduce overfitting, which contributes to better diagnostic performance beyond just class weighting or architectural design.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.