TransMedSeg: A Transferable Semantic Framework for Semi-Supervised Medical Image Segmentation

Mengzhu Wang, Jiao Li, Shanshan Wang, Long Lan, Huibin Tan, Liang Yang, Guoli YangarXiv 2025 · DOI

Abstract

Semi-supervised learning (SSL) is a promising approach for medical image segmentation, where expert annotations are scarce and expensive. However, existing SSL methods often struggle with domain shift between labeled and unlabeled data and the propagation of biases from small labeled sets. This paper introduces TransMedSeg, a novel framework that explicitly models domain shift through an implicit semantic augmentation strategy. By utilizing a theoretically grounded loss function in the feature space, TransMedSeg achieves state-of-the-art performance across multiple clinical benchmarks with negligible computational overhead.

Introduction

Deep learning has revolutionized medical imaging, yet its reliance on large-scale annotated datasets remains a significant hurdle. In clinical settings, pixel-level labeling by radiologists is both time-consuming and costly. Semi-supervised learning (SSL) aims to mitigate this by training on a small set of labeled images alongside a larger pool of unlabeled data.

Despite their potential, current SSL methods face two major challenges: Domain Shift and Self-Reinforcing Bias. Domain shift occurs when a model trained on data from one source (e.g., specific scanner protocols) fails to generalize to another. Self-reinforcing bias happens when a model over-relies on a small, potentially biased labeled set, propagating these errors into the unlabeled data and creating a "blind spot" cycle. TransMedSeg addresses these issues by explicitly modeling the distribution differences between labeled and unlabeled data.

Methods

TransMedSeg is built upon a teacher-student architecture, extending the graph-based clustering baseline (GraphCL). The core innovation is the Transferable Semantic Augmentation (TSA) module.

Overview of the TransMedSeg framework, illustrating the Teacher-Student architecture and the integration of the TSA module.

Unlike standard approaches that generate synthetic images, TransMedSeg operates in the feature space. The process involves:

  1. Distribution Matching: Calculating class-specific statistics (mean and covariance) for both the labeled "source" data (student network) and the unlabeled "target" data (teacher network).
  2. Implicit Augmentation: Modeling the domain shift as a vector and using class-conditional covariance to "jitter" features. This ensures that augmented features remain "anatomy-aware," respecting physiological tissue boundaries.
  3. Efficiency via Implicit Optimization: To avoid the high computational cost of explicit feature sampling, the authors derived a mathematical upper bound for the expected loss over infinite augmentations. Minimizing this surrogate loss ($L_{tsa}$) provides the benefits of massive data augmentation without the need to generate or store additional data.
Comparison of feature space distributions and decision boundaries: (a) GraphCL vs. (b) TransMedSeg, showing how augmented features bridge the domain gap.

Results and Discussion

The framework was evaluated on three diverse benchmark datasets: ACDC (Cardiac MRI), Pancreas-NIH (Abdominal CT), and LA (3D MRI). TransMedSeg consistently outperformed existing state-of-the-art (SOTA) methods like BCP and GraphCL:

  • LA Dataset: With only 10% labeled data, it achieved an 89.62% Dice score, significantly outperforming standard supervised V-Nets.
  • ACDC Dataset: It reached a top score of 89.96% Dice and showed substantial improvement in boundary metrics (95HD), indicating superior precision in finding organ edges.
  • Pancreas-NIH: On this challenging task, it hit 83.06% Dice, excelling in areas like the pancreatic head where other models typically under-segment.

Key insights from these results highlight that incorporating covariance-aware augmentation ensures generated features respect organ morphology. Furthermore, the move to implicit optimization offers a "free lunch" in performance, providing theoretical robustness with almost zero extra training time.

Conclusion

TransMedSeg effectively bridges the domain gap in semi-supervised medical image segmentation by modeling shift in the feature space. By breaking the cycle of self-reinforcing bias through implicit semantic augmentation, it sets a new standard for robustness and efficiency in clinical applications. Future work will focus on scaling this framework to multi-organ segmentation tasks and integrating the TSA module into broader SSL architectures.

Summary updated

BibTeX
@misc{wang2025transmedseg,
  author = {Mengzhu Wang and Jiao Li and Shanshan Wang and Long Lan and Huibin Tan and Liang Yang and Guoli Yang},
  title = {{TransMedSeg: A Transferable Semantic Framework for Semi-Supervised Medical Image Segmentation}},
  year = {2025},
  eprint = {2505.14753},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.14753},
}
Figure