Domain-invariant Mixed-domain Semi-supervised Medical Image Segmentation with Clustered Maximum Mean Discrepancy Alignment
Ba-Thinh Lam, Thanh-Huy Nguyen, Hoang-Thien Nguyen, Quang-Khai Bui-Tran, Nguyen Lan Vi Vu, Phat K. Huynh, Ulas Bagci, Min Xu
TL;DR
This work tackles mixed-domain semi-supervised medical image segmentation where domain labels are unknown and data come from multiple scanners. It introduces a domain-invariant framework that combines a Copy-Paste Mechanism (CPM) to expand cross-domain training with a Cluster Maximum Mean Discrepancy (CMMD) block to cluster unlabeled features and align them with labeled anchors, all within a teacher–student architecture. CMMD comprises a Clustering Module (via HDBSCAN) to identify pseudo-domain centroids and an MMD-based Domain-Aware Module to minimize divergence between clusters and the labeled anchor, applied to encoder layers to remove domain signals before decoding. Experiments on Fundus and M&Ms show the approach consistently outperforms SSL and DA baselines, demonstrating strong robustness under limited labels and multiple unknown domain gaps, with practical implications for real-world mixed-domain deployments.
Abstract
Deep learning has shown remarkable progress in medical image semantic segmentation, yet its success heavily depends on large-scale expert annotations and consistent data distributions. In practice, annotations are scarce, and images are collected from multiple scanners or centers, leading to mixed-domain settings with unknown domain labels and severe domain gaps. Existing semi-supervised or domain adaptation approaches typically assume either a single domain shift or access to explicit domain indices, which rarely hold in real-world deployment. In this paper, we propose a domain-invariant mixed-domain semi-supervised segmentation framework that jointly enhances data diversity and mitigates domain bias. A Copy-Paste Mechanism (CPM) augments the training set by transferring informative regions across domains, while a Cluster Maximum Mean Discrepancy (CMMD) block clusters unlabeled features and aligns them with labeled anchors via an MMD objective, encouraging domain-invariant representations. Integrated within a teacher-student framework, our method achieves robust and precise segmentation even with very few labeled examples and multiple unknown domain discrepancies. Experiments on Fundus and M&Ms benchmarks demonstrate that our approach consistently surpasses semi-supervised and domain adaptation methods, establishing a potential solution for mixed-domain semi-supervised medical image segmentation.
