Towards Text-Mask Consistency in Medical Image Segmentation
Jie Gui, Hang Tu, Wen Sha, Xiuquan Du
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.
Create a lesson
Related papers
Leakage-Free Is Not Confounder-Free: What a Patient-Level Split Cannot Certify About a Medical Imaging Benchmark
Shared title terminology · Ignazio Gallo, Mattia Gatti, Leonardo Sgroi et al.
MODULE: A Mutual-Promoting Deep Unfolding Framework Towards Degradation-Robust Multi-modal Image Fusion
Shared title terminology · Yunfei Deng, Han Xu, Jiayi Ma et al.
Asuka-FM: A System-Architectural Co-Design Framework for Efficient Text-to-Image Pretraining on Consumer Hardware
Shared title terminology · Víctor Rodrigo González, Pablo M. Olmos, Ignacio Peis et al.
CanopyFormer: Attention-Guided SegFormer for Explainable Forest Cover Segmentation
Shared title terminology · Dhinanjaya Fernando, Dinura Ginige, Kalana Lakshan et al.
Segment Everything, Materialize Nothing: Exact Streaming Inference for Many-Class 3D Segmentation
Shared title terminology · Fabian Isensee, Jakob Wasserthal, Lalith Kumar Shiyam Sundar et al.
Points, Not Pixels: Keypoints, Masks and Oblique Geometry for Floating-Roof Tank Fill Estimation from Overhead Imagery
Shared title terminology · Mohd Shahid Kaleem, Mohd Hozaifa Khan, Maaz Khan