Cross-domain few-shot medical image segmentation (CD-FSMIS) offers a promising and data-efficient solution for medical applications where annotations are severely scarce and multimodal analysis is required. However, existing methods typically filter out domain-specific information to improve generalization, which inadvertently limits cross-domain performance and degrades source-domain accuracy. To address this, we present Contrastive Graph Modeling (C-Graph), a framework that leverages the structural consistency of medical images as a reliable domain-transferable prior. We represent image features as graphs, with pixels as nodes and semantic affinities as edges. A Structural Prior Graph (SPG) layer is proposed to capture and transfer target-category node dependencies and enable global structure modeling through explicit node interactions. Building upon SPG layers, we introduce a Subgraph Matching Decoding (SMD) mechanism that exploits semantic relations among nodes to guide prediction. Furthermore, we design a Confusion-minimizing Node Contrast (CNC) loss to mitigate node ambiguity and subgraph heterogeneity by contrastively enhancing node discriminability in the graph space. Our method significantly outperforms prior CD-FSMIS approaches across multiple cross-domain benchmarks, achieving state-of-the-art performance while simultaneously preserving strong segmentation accuracy on the source domain.
翻译:跨域少样本医学图像分割(CD-FSMIS)为标注极度稀缺且需多模态分析的医学应用提供了一种前景广阔且数据高效的解决方案。然而,现有方法通常通过滤除领域特定信息以提升泛化能力,这无意中限制了跨域性能并降低了源域精度。为解决此问题,我们提出了对比图建模(C-Graph)框架,该框架利用医学图像的结构一致性作为可靠的跨域可迁移先验。我们将图像特征表示为图,其中像素作为节点,语义亲和度作为边。我们提出了结构先验图(SPG)层来捕获并迁移目标类别节点间的依赖关系,并通过显式的节点交互实现全局结构建模。基于SPG层,我们引入了子图匹配解码(SMD)机制,该机制利用节点间的语义关系来指导预测。此外,我们设计了混淆最小化节点对比(CNC)损失函数,通过在图空间中对比性地增强节点可区分性,以缓解节点模糊性与子图异质性问题。我们的方法在多个跨域基准测试中显著优于先前的CD-FSMIS方法,在保持源域强大分割精度的同时,实现了最先进的性能。