mlsanityData to 14 Oct 2026

Cycle Context Verification for In-Context Medical Image Segmentation

arXiv 2507.08357 ↗First posted 11 Jul 2025cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

In-context learning (ICL) is emerging as a promising technique for achieving universal medical image segmentation, where a variety of objects of interest across imaging modalities can be segmented using a single model. Nevertheless, its performance is highly sensitive to the alignment between the query image and in-context image-mask pairs. In a clinical scenario, the scarcity of annotated medical images makes it challenging to select optimal in-context pairs, and fine-tuning foundation ICL models on contextual data is infeasible due to computational costs and the risk of catastrophic forgetting. To address this challenge, we propose Cycle Context Verification (CCV), a novel framework that enhances ICL-based medical image segmentation by enabling self-verification of predictions and accordingly enhancing contextual alignment. Specifically, CCV employs a cyclic pipeline in which the model initially generates a segmentation mask for the query image. Subsequently, the roles of the query and an in-context pair are swapped, allowing the model to validate its prediction by predicting the mask of the original in-context image. The accuracy of this secondary prediction serves as an implicit measure of the initial query segmentation. A query-specific prompt is introduced to alter the query image and updated to improve the measure, thereby enhancing the alignment between the query and in-context pairs. We evaluated CCV on seven medical image segmentation datasets using two ICL foundation models, demonstrating its superiority over existing methods. Our results highlight CCV's ability to enhance ICL-based segmentation, making it a robust solution for universal medical image segmentation. The code will be available at https://github.com/ShishuaiHu/CCV.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 34 references that are in the map. First posted on arXiv 11 Jul 2025.

Builds on

18 of 34 references.

References · 18

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2023Segment Anythingcited by 8,234
  3. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
  4. 2025s1: Simple test-time scalingcited by 1,341
  5. 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 318
  6. 2023Segment Anything Model for Medical Image Analysis: an Experimental Studycited by 291
  7. 2022Visual Prompting via Image Inpaintingcited by 250
  8. 2019REFUGE Challenge: A Unified Framework for Evaluating Automated Methods for Glaucoma Assessment from Fundus Photographscited by 228
  9. 2023What Makes Good Examples for Visual In-Context Learning?cited by 150
  10. 2024BiomedParse: a biomedical foundation model for image parsing of everything everywhere all at oncecited by 111
  11. 2023MA-SAM: Modality-agnostic SAM Adaptation for 3D Medical Image Segmentationcited by 82
  12. 2021NeoUNet: Towards accurate colon polyp segmentation and neoplasm detectioncited by 51
6 more
  1. 2023Exploring Effective Factors for Improving Visual In-Context Learningcited by 43
  2. 2023Instruct Me More! Random Prompting for Visual In-Context Learningcited by 30
  3. 2024Towards Global Optimal Visual In-Context Learning Prompt Selectioncited by 15
  4. 2024Visual Prompt Selection for In-Context Learning Segmentationcited by 13
  5. 2023A Survey on Deep Learning for Polyp Segmentation: Techniques, Challenges and Future Trendscited by 12
  6. 2024Efficient In-Context Medical Segmentation with Meta-driven Visual Prompt Selectioncited by 4

Built on by

Not cited yet.