mlsanityData to 14 Oct 2026

Context Matters: Support Set Selection and Failure Detection for In-Context Medical Image Segmentation

arXiv 2608.05333 ↗First posted 5 Aug 2026cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

In-context learning (ICL) adapts medical image segmentation models to unseen structures and modalities without retraining by conditioning on a task-specific support set of image-mask exemplars. Because this support set is the model's only task-specific signal, its composition directly influences segmentation performance. In this work, we investigate the support set as a controllable determinant of ICL reliability. First, we compare random sampling against similarity-based selection, where exemplars are retrieved based on their visual similarity to the query image. Second, we train a transformer-based classifier to predict, from the query and support images alone, whether a segmentation will fall below a specified Intersection-over-Union (IoU) threshold. Using MultiverSeg with DINOv3 embeddings across four benchmarks and three imaging modalities, we show that similarity-based selection consistently matches or outperforms random sampling, with the largest gains at the smallest support set sizes. Furthermore, our classifier predicts segmentation failure above chance on all four benchmarks. Ultimately, these results demonstrate that the reliability of in-context segmentation can be both improved via informed support selection and anticipated before use, providing practical mechanisms for safer clinical deployment.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 3 of its 23 references that are in the map. First posted on arXiv 5 Aug 2026.

Builds on

3 of 23 references.

References · 3

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2025DINOv3cited by 1,414
  3. 2024Visual Prompt Selection for In-Context Learning Segmentationcited by 13

Built on by

Not cited yet.