Language-guided Scale-aware MedSegmentor for Lesion Segmentation in Medical Imaging
Shuyi Ouyang, Jinyang Zhang, Xiangye Lin, Xilai Wang, Qingqing Chen, Yen-Wei Chen, Lanfen Lin
TL;DR
This work defines Referring Lesion Segmentation (RLS), a task to segment a target lesion in a medical image using a natural language expression, and provides the RefHL-Seg dataset as a dedicated benchmark. It proposes Language-guided Scale-aware MedSegmentor (LSMS), which fuses scale-aware visual knowledge with linguistic guidance via Scale-aware Vision-Language Attention (SVLA) and a Full-Scale Decoder (FSD) to globally model multi-scale multi-modal features. The model is trained with a joint loss combining segmentation and vision-language contrastive terms, and it demonstrates superior performance on RLS and traditional lesion segmentation benchmarks with lower computational costs. The work also shows that textual guidance enhances segmentation quality and provides a strong baseline for future language-guided medical imaging tasks, with code and data to be released.
Abstract
In clinical practice, segmenting specific lesions based on the needs of physicians can significantly enhance diagnostic accuracy and treatment efficiency. However, conventional lesion segmentation models lack the flexibility to distinguish lesions according to specific requirements. Given the practical advantages of using text as guidance, we propose a novel model, Language-guided Scale-aware MedSegmentor (LSMS), which segments target lesions in medical images based on given textual expressions. We define this as a new task termed Referring Lesion Segmentation (RLS). To address the lack of suitable benchmarks for RLS, we construct a vision-language medical dataset named Reference Hepatic Lesion Segmentation (RefHL-Seg). LSMS incorporates two key designs: (i) Scale-Aware Vision-Language attention module, which performs visual feature extraction and vision-language alignment in parallel. By leveraging diverse convolutional kernels, this module acquires rich visual representations and interacts closely with linguistic features, thereby enhancing the model's capacity for precise object localization. (ii) Full-Scale Decoder, which globally models multi-modal features across multiple scales and captures complementary information between them to accurately delineate lesion boundaries. Additionally, we design a specialized loss function comprising both segmentation loss and vision-language contrastive loss to better optimize cross-modal learning. We validate the performance of LSMS on RLS as well as on conventional lesion segmentation tasks across multiple datasets. Our LSMS consistently achieves superior performance with significantly lower computational cost. Code and datasets will be released.
