Uncertainty-guided annotation enhances segmentation with the human-in-the-loop
Nadieh Khalili, Joey Spronck, Francesco Ciompi, Jeroen van der Laak, Geert Litjens
TL;DR
This work tackles domain shift and opacity in deep learning for pathology segmentation by introducing Uncertainty-Guided Annotation (UGA), a human-in-the-loop framework. UGA uses ensembles of pathology-adapted nnU-Net to produce per-pixel uncertainty maps and selects high-uncertainty patches for clinician correction, retraining the model with combined central and local data. On Camelyon16/17 datasets, UGA improves Dice coefficient from a baseline of 0.66 to 0.76 with 5 patches and 0.84 with 10 patches, outperforming random sampling. The approach supports privacy-preserving collaboration and aligns with federated learning, offering a scalable path to robust, clinician-guided continual learning in distributed clinical environments.
Abstract
Deep learning algorithms, often critiqued for their 'black box' nature, traditionally fall short in providing the necessary transparency for trusted clinical use. This challenge is particularly evident when such models are deployed in local hospitals, encountering out-of-domain distributions due to varying imaging techniques and patient-specific pathologies. Yet, this limitation offers a unique avenue for continual learning. The Uncertainty-Guided Annotation (UGA) framework introduces a human-in-the-loop approach, enabling AI to convey its uncertainties to clinicians, effectively acting as an automated quality control mechanism. UGA eases this interaction by quantifying uncertainty at the pixel level, thereby revealing the model's limitations and opening the door for clinician-guided corrections. We evaluated UGA on the Camelyon dataset for lymph node metastasis segmentation which revealed that UGA improved the Dice coefficient (DC), from 0.66 to 0.76 by adding 5 patches, and further to 0.84 with 10 patches. To foster broader application and community contribution, we have made our code accessible at
