Abstract
Incorporating a human-in-the-loop system when deploying automated decision support is critical in healthcare contexts to create trust, as well as provide reliable performance on a patient-to-patient basis. Deep learning methods while having high performance, do not allow for this patient-centered approach due to the lack of uncertainty representation. Thus, we present a framework of uncertainty representation evaluated for medical image segmentation, using MCU-Net which combines a U-Net with Monte Carlo Dropout, evaluated with four different uncertainty metrics. The framework augments this by adding a human-in-the-loop aspect based on an uncertainty threshold for automated referral of uncertain cases to a medical professional. We demonstrate that MCU-Net combined with epistemic uncertainty and an uncertainty threshold tuned for this application maximizes automated performance on an individual patient level, yet refers truly uncertain cases. This is a step towards uncertainty representations when deploying machine learning based decision support in healthcare settings.
Introduction
In the high-stakes world of medical imaging, a "black box" algorithm that provides a confident but incorrect diagnosis is more than just a technical failure—it’s a patient safety risk. While deep learning has revolutionized medical image segmentation, most models lack a reliable way to communicate their own uncertainty. Standard deep learning models are notorious for being "overconfident," often producing high-confidence outputs even when presented with data that deviates significantly from their training set.
In healthcare, this lack of "self-awareness" prevents AI from being truly integrated into clinical workflows. Furthermore, most research focuses on aggregate performance (e.g., average accuracy across a test set). However, clinicians prioritize individual patient performance. If a model is 99% accurate but fails catastrophically on one specific patient without warning, it loses clinical trust. There is a critical need for a patient-centered approach where the model can identify its own limitations and flag difficult cases for human intervention.
The MCU-Net Framework
To address these challenges, the MCU-Net (Monte Carlo U-Net) framework was developed. It integrates two established pillars of machine learning: the U-Net architecture, which is the industry standard for biomedical image segmentation, and Monte-Carlo (MC) Dropout.
As shown in the framework overview above, the system processes a test image through the MCU-Net. By applying dropout during inference rather than just training, the model can perform $N$ stochastic forward passes for a single image. This generates a distribution of predictions, the variance of which allows for the calculation of four distinct uncertainty metrics: Aleatoric Uncertainty (noise in data), Epistemic Uncertainty (model uncertainty), Predictive Entropy (total uncertainty), and Mutual Information (information gain regarding parameters).
The framework then applies an uncertainty threshold ($\tau$). If the calculated uncertainty for a specific case exceeds this threshold, the system automatically refers the case to a medical professional. Otherwise, it proceeds with the predicted retinal image segmentation.
Experimental Setup and Metric Stability
The framework was evaluated using the DRIVE (Digital Retinal Images for Vessel Extraction) dataset, which consists of 40 labeled retinal images. The task involves segmenting blood vessels in the retina—a critical step for diagnosing conditions like diabetes and hypertension. Given the small dataset size, the model was trained on 1000 random patches and evaluated on 100 random patches from the test set.
A key consideration in deploying MC Dropout is the number of forward passes ($N$). Running many samples is computationally expensive, creating a trade-off between accuracy and efficiency.
As illustrated in the stability analysis above, the study identified a "knee-point" at approximately 20 MC samples. Beyond this point, the uncertainty metrics (Aleatoric and Epistemic) and the error rate stabilize, suggesting that 20 samples provide a sufficient representation of uncertainty without requiring excessive execution time.
Key Insights and Results
The evaluation yielded several critical insights for clinical deployment:
- Epistemic Uncertainty as a Primary Metric: The study found that Epistemic Uncertainty was the most representative metric for this task. While other metrics like Aleatoric uncertainty or Entropy tended to flag almost the entire segmented region as uncertain, Epistemic uncertainty provided a "fine-grained" view. It specifically highlighted the narrow, difficult-to-segment branches of blood vessels where the model was truly struggling.
- The Automation Trade-off: There is a fundamental trade-off between automation and safety. A very low threshold ($\tau$) refers almost everything to a doctor (safe but high workload), while a very high threshold refers nothing (efficient but risky). Performance metrics such as Accuracy, AUROC, and Recall remained remarkably steady as the threshold $\tau$ increased up to 0.6. The study proposes $\tau = 0.6$ as the "sweet spot" for this task, maintaining high performance on automated cases while referring only the medium-to-highly uncertain cases to a human.
- Qualitative Success: Visualizations confirmed that the model correctly identified its own struggle points—specifically the thinning peripheral vessels. This allows clinicians to focus their attention exactly where the AI is most likely to fail, fostering a more effective human-AI partnership.
Conclusion and Future Work
MCU-Net demonstrates a practical path toward "self-aware" AI in healthcare. By quantifying uncertainty and implementing a referral threshold, the framework ensures that automated systems can be deployed safely within clinical workflows. While demonstrated on the DRIVE dataset, future work should focus on testing this framework on larger, more diverse clinical datasets and extending it to other tasks like classification and regression. The optimal threshold ($\tau$) remains task-specific and requires collaborative tuning between machine learning experts and clinical professionals to define acceptable risk levels.
This summary is based on the paper "MCU-Net: A framework towards uncertainty representations for decision support system patient referrals in healthcare contexts" by Nabeel Seedat.
Summary updated