Efficient Universal Models for Medical Image Segmentation via Weakly Supervised In-Context Learning
Jiesi Hu, Yanwu Yang, Zhiyu Ye, Jinyan Zhou, Jianfeng Cao, Hanyang Peng, Ting Ma
TL;DR
This work tackles high annotation costs in universal medical image segmentation by introducing Weakly Supervised In-Context Learning (WS-ICL), which uses weak prompts in the context set instead of dense masks. It combines a dual-branch, memory-efficient Neuroverse3D backbone with prompt channels to produce segmentation for a target image conditioned on a context set, enabling both WS-ICL and interactive operation. Evaluations across 18 diverse datasets and three held-out distributions show WS-ICL can match fully supervised ICL performance at a fraction of the annotation effort, while remaining highly competitive in interactive settings. The approach promises a more efficient and unified framework for medical image segmentation, with publicly available code and models to support adoption and further development.
Abstract
Universal models for medical image segmentation, such as interactive and in-context learning (ICL) models, offer strong generalization but require extensive annotations. Interactive models need repeated user prompts for each image, while ICL relies on dense, pixel-level labels. To address this, we propose Weakly Supervised In-Context Learning (WS-ICL), a new ICL paradigm that leverages weak prompts (e.g., bounding boxes or points) instead of dense labels for context. This approach significantly reduces annotation effort by eliminating the need for fine-grained masks and repeated user prompting for all images. We evaluated the proposed WS-ICL model on three held-out benchmarks. Experimental results demonstrate that WS-ICL achieves performance comparable to regular ICL models at a significantly lower annotation cost. In addition, WS-ICL is highly competitive even under the interactive paradigm. These findings establish WS-ICL as a promising step toward more efficient and unified universal models for medical image segmentation. Our code and model are publicly available at https://github.com/jiesihu/Weak-ICL.
