DUET: A Dual Horizon Pipeline for Uncertainty-Aware Tumor Segmentation
Reliable tumor segmentation in digital pathology demands not only high pixel-wise accuracy on target tissue, but also rigorous detection of out-of-distribution (OOD) failure modes. We present DUET, a framework that flags two distinct failure modes of a deployed segmentation model from its own encoder embeddings. We evaluate DUET on annotated whole-slide images of oral squamous cell carcinoma and assess its generalization across multiple unseen cohorts using three encoders: an ImageNet-pretrained ResNet34, a general-purpose foundation model DINOv2 ViT-L, and the pathology foundation model UNI2-h. Even with foundation-model encoders, segmentation performance degrades under unmodeled biological shifts and on rare morphologies underrepresented in the training data. To address this, we distinguish OOD inputs, that range from stain and scanner shifts to different tumor morphologies and different organs, from in-distribution errors on rare morphologies of the same cancer type, and propose a complementary two-branch detector. First, we characterize the training distribution in the segmentation encoder's embedding space with a Gaussian Mixture Model and score each patch by its negative…
- arXiv
- 2612.02849
- Authors
- Harshit Kalra, Parvathy S. Nath, Saurabh R. Nagar, Washim Saahil, Sandip P. Trivedi and 6 more
- Categories
- cs.CV