Cycle Context Verification for In-Context Medical Image Segmentation

📅 2025-07-11
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
In medical image segmentation, in-context learning (ICL) performance critically depends on alignment between the query image and contextual examples; however, clinical settings suffer from severe annotation scarcity and preclude model fine-tuning due to catastrophic forgetting. To address this, we propose Cycle Context Verification (CCV), a novel ICL framework that enables implicit self-verification of model predictions via query-specific prompting and cyclic reasoning—dynamically optimizing context selection and alignment without any parameter updates. CCV further incorporates a multi-dataset collaborative validation strategy to enhance robustness. Evaluated across seven medical image segmentation benchmarks, CCV significantly outperforms existing ICL methods, achieving state-of-the-art performance in both segmentation accuracy and cross-modality generalization. It provides a robust, plug-and-play ICL solution for low-resource medical image segmentation.

Technology Category

Application Category

📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

Improves alignment between query and in-context medical images
Enables self-verification of segmentation predictions
Reduces dependency on annotated medical image datasets
Innovation

Methods, ideas, or system contributions that make the work stand out.

Cyclic pipeline for self-verification of predictions
Query-specific prompt to enhance contextual alignment
Implicit measure improves initial query segmentation
🔎 Similar Papers
No similar papers found.
Shishuai Hu
Shishuai Hu
Northwestern Polytechnical University
Computer VisionMedical Image AnalysisAI for Healthcare
Zehui Liao
Zehui Liao
Northwestern Polytechnical University
Medical Image Analysis
Liangli Zhen
Liangli Zhen
A*STAR, Singapore
Machine LearningAI SafetyMulti-Objective Optimisation
Huazhu Fu
Huazhu Fu
Principal Scientist, IHPC, A*STAR
Medical Image AnalysisAI for HealthcareMedical AITrustworthy AI
Y
Yong Xia
National Engineering Laboratory for Integrated Aero-Space-Ground-Ocean Big Data Application Technology, School of Computer Science and Engineering, Northwestern Polytechnical University, Xi’an 710072, China; Ningbo Institute of Northwestern Polytechnical University, Ningbo 315048, China; Research & Development Institute of Northwestern Polytechnical University in Shenzhen, Shenzhen 518057, China