TL;DR
This paper investigates how training parameters—specifically patch size and cost functions—influence the reliability of uncertainty estimates in medical image segmentation. By leveraging Monte Carlo dropout U-Nets, the researchers found that using larger patches and weighted categorical cross-entropy loss produces uncertainty measures that correlate strongly with actual segmentation quality, providing a robust way to flag poor model outputs for human review.
What Problem Does This Paper Address?
In medical imaging, "ground truth" is rarely absolute. The boundaries of organs or tumors are often blurred by poor image quality or biological variation, and even expert human annotators frequently disagree. While deep learning models have become the standard for automated segmentation, they typically provide a single binary mask without any indication of how "sure" they are about their prediction.
The authors argue that treating segmentation as a simple mapping problem ignores inherent ambiguity. If a model is uncertain, it should be able to communicate that. However, we don't fully understand how the choices we make during model training—like how much context the model sees (patch size) or how we penalize errors (cost function)—affect the quality of these uncertainty estimates.
Methods
The researchers employed Monte Carlo (MC) dropout 3D U-Nets. Unlike standard models, these apply dropout during both training and inference. By running the same image through the model multiple times (in this case, $N=10$), they generate a distribution of possible segmentations. The variance across these samples serves as a proxy for uncertainty.
They evaluated three specific uncertainty measures:
- Coefficient of Variation (CV): A measure of relative variability.
- Mean Pairwise Dice ($D_{pw}$): The average overlap between all pairs of the $N$ sampled segmentations.
- Mean Voxelwise Uncertainty ($U_{labelled}$): The average entropy across all voxels the model identified as part of the target.
The study systematically compared these measures across two tasks (liver vs. tumor segmentation), two patch sizes (large vs. small), and two cost functions (Soft Dice vs. Weighted Categorical Cross-Entropy).
Datasets
The study utilized the Medical Segmentation Decathlon dataset, specifically the liver and liver tumor challenge.
- Data: 131 abdominal CT scans with ground truth annotations for both the liver (a less ambiguous structure) and tumors (highly ambiguous).
- Split: The data was divided into training (63), validation (13), and test (55) sets.
Key Insights and Ideas
- Loss Functions Matter for Uncertainty: Models trained with weighted categorical cross-entropy (wcc) allowed for more meaningful uncertainty extraction than those trained with the popular Soft Dice loss. The Dice-based models tended to have "steeper" uncertainty gradients at the edges, which might actually hide useful information about the model's hesitation.
- Context is Crucial: Larger patches (128x128x16) led to uncertainty measures that correlated better with actual segmentation quality compared to smaller patches (64x64x16). More spatial context helps the model calibrate its own confidence.
- Mean Pairwise Dice is the Winner: Among the metrics tested, Mean Pairwise Dice ($D_{pw}$) showed the strongest and most consistent correlation with actual segmentation performance. If the sampled segmentations vary wildly from each other, it’s a very strong signal that the final output is likely inaccurate.
- Spatial "Red Flags": Visualizing uncertainty isn't just about a single number. As seen in Figure 1, uncertainty maps clearly highlight boundaries and regions where the model struggles, such as near the heart or stomach when segmenting the liver.
Key Results
- Liver Segmentation: The best-performing model (wcc, large patches) achieved a mean Dice score of 0.94. For this model, the Mean Pairwise Dice ($D_{pw}$) had a high Spearman correlation of 0.89 with the actual segmentation quality.
- Tumor Segmentation: This task was significantly harder, with mean Dice scores around 0.50. Despite the lower accuracy, the uncertainty measures remained useful; for the wcc model, Mean Voxelwise Uncertainty ($U_{labelled}$) showed a correlation of -0.79 with quality.
- Correlation Trends: Figure 2 illustrates how uncertainty measures (like CV and $D_{pw}$) behave as segmentation quality (Dice score) increases. Generally, as the Dice score improves, the uncertainty measures become more stable and predictable.
The quantitative breakdown of these correlations across different training configurations is detailed in Table 1:
Limitations and Future Work
The authors acknowledge a "chicken and egg" problem: it is difficult to determine if high uncertainty is caused by the inherent ambiguity of the biological structure or simply by the model's poor performance on a difficult task.
Additionally, the use of only 10 Monte Carlo samples is relatively low; future work could explore if increasing the number of samples provides more granular uncertainty information. The ultimate goal is to integrate these measures into clinical workflows, using them as an automated "check engine light" to flag suspicious segmentations for human radiologists to review.
Summary updated