Contrastive Graph Modeling for Cross-Domain Few-Shot Medical Image Segmentation

Yuntian Bo, Tao Zhou, Zechao Li, Haofeng Zhang, Ling Shao
12/25/2025
cs.CV

No official code found. Best implementation: primebo1/C-Graph (25 stars, last commit 2025-12-31).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

primebo1/C-GraphCommunity74%

[IEEE T-MI 2026] Contrastive Graph Modeling for Cross-Domain Few-Shot Medical Image Segmentation

252Shell, CythonMay 31, 20259 months ago

Similar Papers

Cite this paper

@article{bo2025contrastive,
  title  = {Contrastive Graph Modeling for Cross-Domain Few-Shot Medical Image Segmentation},
  author = {Yuntian Bo and Tao Zhou and Zechao Li and Haofeng Zhang and Ling Shao},
  year   = {2025},
  eprint = {2512.21683},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.21683v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.21683.svg)](https://codeofpaper.com/paper/2512.21683)

Discussion