Towards Text-Mask Consistency in Medical Image Segmentation
Jie Gui, Hang Tu, Wen Sha, Xiuquan Du
Key points
From the paper's conclusion- Without updating the language encoder, our approach significantly improves text-mask consistency and segmentation accuracy on four public medical imaging datasets.
Abstract
Vision-language models for medical image segmentation often produce masks that conflict with the accompanying text, especially under multi-site/multi-lesion descriptions. We trace this failure to two factors: (i) highly templated and repetitive clinical language causes one-to-one hard contrastive learning to yield numerous false negatives, weakening cross-modal alignment; and (ii) predominantly vision-driven, one-way cross-attention lacks a language-dominant, spatially aware pathway, hindering effective injection of textual semantics into the spatial visual domain. To this end, we propose Consistency-enhanced Two-stage Segmentation (C2Seg). In the pretraining stage, Cluster-aware Contrastive Learning uses a frozen strong baseline to construct an intra-batch text similarity matrix as soft labels, thereby alleviating false negative conflicts and producing more discriminative visual representations. In the fusion stage, we introduce a Bidirectional Complementary Attention Module, where each modality dominates attention along its own path, fostering deep interaction and structural consistency between visual and textual representations. In order to enhance the expressive power of multimodal features, we further adopt KAN-based Attention Gating. Without updating the language encoder, our approach significantly improves text-mask consistency and segmentation accuracy on four public medical imaging datasets. The source code is available at https://github.com/JGuiidev/C2Seg.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TEAM: Text-Augmented Medical Image Segmentation with Entity-Level Modal Alignment and Masked Modeling.IEEE journal of biomedical and health informatics · 2026
- SAF-Net: Stage-Aware Semantic Allocation with Frequency-Refined Vision-Language Decoding for Medical Lesion SegmentationSymmetry · 2026
- Multimodal Routing and Region Refinement for Language-Guided Medical Image SegmentationarXiv · 2026
- UniMedSeg: Unified Multi-Modal Medical Image Segmentation via Uncertainty Guided Encoding and Frequency-Spatial Dual-Prompt DecodingbioRxiv · 2026
- Reliability-Guided Vision-Language Decoding with Text-Aware Skip Refinement for Medical Image SegmentationarXiv · 2026
- SAM Meets VLM: Parameter-Decoupled Full-Parameter Training for Unified Medical Reasoning and SegmentationarXiv · 2026