Spatial-aware Symmetric Alignment for Text-guided Medical Image Segmentation
Linglin Liao, Qichuan Geng, Yu Liu
TL;DR
This work tackles the semantic gap in text-guided medical image segmentation by addressing the joint interpretation of diagnostic and descriptive texts and the need for explicit spatial constraints. It introduces Spatial-aware Symmetric Alignment (SSA), which combines Dual-granularity Symmetric Optimal Transport (DSOT) alignment with Composite Directional Guidance (CDG) to enforce region-text correspondences and spatial priors. DSOT integrates a global InfoNCE-based alignment with a fine-grained, symmetric optimal transport on bi-aggregated features, using a cost matrix $M \in \mathbb{R}^{N \times L}$ where $M_{ij} = 1 - \cos(\mathbf{f}_{\text{img},i}, \mathbf{f}_{\text{txt},j})$, solved via Sinkhorn with entropy $\epsilon = 3\times 10^{-2}$; CDG builds region-level masks from directional cues through $M_{\text{guide}} = A_{\text{norm}} \odot M_{\text{pri}}$ and enforces a consistency loss $\mathcal{L}_{\text{guide}}$. Experiments on QaTa-COV19 and MosMedData+ demonstrate SOTA Dice scores and show data-efficient learning, highlighting SSA's capacity to segment lesions under complex spatial expressions and improve clinical applicability. The findings suggest that joint global-local cross-modal alignment and explicit spatial supervision can significantly enhance text-guided medical image segmentation in real-world settings.
Abstract
Text-guided Medical Image Segmentation has shown considerable promise for medical image segmentation, with rich clinical text serving as an effective supplement for scarce data. However, current methods have two key bottlenecks. On one hand, they struggle to process diagnostic and descriptive texts simultaneously, making it difficult to identify lesions and establish associations with image regions. On the other hand, existing approaches focus on lesions description and fail to capture positional constraints, leading to critical deviations. Specifically, with the text "in the left lower lung", the segmentation results may incorrectly cover both sides of the lung. To address the limitations, we propose the Spatial-aware Symmetric Alignment (SSA) framework to enhance the capacity of referring hybrid medical texts consisting of locational, descriptive, and diagnostic information. Specifically, we propose symmetric optimal transport alignment mechanism to strengthen the associations between image regions and multiple relevant expressions, which establishes bi-directional fine-grained multimodal correspondences. In addition, we devise a composite directional guidance strategy that explicitly introduces spatial constraints in the text by constructing region-level guidance masks. Extensive experiments on public benchmarks demonstrate that SSA achieves state-of-the-art (SOTA) performance, particularly in accurately segmenting lesions characterized by spatial relational constraints.
