Abstract
Weakly-supervised learning under image-level label supervision has been widely applied to semantic segmentation of medical lesion regions. However, most existing models produce inaccurate and coarse regions and ignore strong probabilistic dependencies between target lesion datasets (e.g., enteroscopy) and well-annotated source datasets (e.g., gastroscopy). We present a new semantic lesions representation transfer model that exploits useful knowledge from fully-labeled source tasks to enhance target weakly-labeled tasks. Our model features a pseudo label generator incorporating class balance and super-pixel spatial priors, a semantic representation transfer module for feature centroid alignment, and adversarial learning to narrow the domain gap. Extensive experiments on a new medical dataset of 3,659 images and urban benchmarks validate the effectiveness of our approach.
Introduction
Medical image segmentation is critical for computer-aided diagnosis, yet it is hampered by the high cost of pixel-level annotation. While image-level labels (e.g., "lesion present") are easier to obtain, training accurate segmentation models with such weak supervision often results in coarse, imprecise boundaries.
A key observation is that lesions across different endoscopic procedures, such as gastroscopy and enteroscopy, often share similar visual characteristics. Traditional weakly-supervised learning (WSL) methods treat these domains in isolation, wasting valuable knowledge. This research proposes a framework to bridge this gap by transferring semantic knowledge from a fully-labeled source domain to a weakly-labeled target domain.
The Semantic-Transferable Framework
The proposed architecture utilizes a ResNet-50 backbone shared between two sub-networks: a classification network ($S_1$) and a segmentation network ($S_2$). The framework is designed to iteratively refine its understanding of the target domain through three primary mechanisms.
1. Pseudo-Label Generator
To provide the segmentation network with training signals in the target domain, the model generates pseudo pixel-level labels. This process incorporates two critical components:
- Class Balance: Prevents the model from biasing toward dominant or easy-to-detect categories.
- Super-pixel Spatial Priors: Uses super-pixel segmentation (grouping pixels with similar low-level features) to ensure that pseudo-labels respect natural image boundaries and maintain spatial continuity.
2. Semantic Representation Transfer (SRT)
The SRT module aligns the feature spaces of the source and target domains. It calculates "feature centroids"—the average representation of a class in the feature space—for both datasets. By aligning these centroids, the model ensures that a "lesion" in the source domain is mapped near a "lesion" in the target domain. To maintain stability despite small batch sizes, the model uses an exponentially-weighted history of learned features to update these centroids.
3. Adversarial Learning
A discriminator ($D$) is employed to perform domain adaptation in the output space. By attempting to distinguish between segmentation maps from the source and target domains, the discriminator forces the segmentation network to produce outputs that follow a consistent global distribution, regardless of the input image source.
Experimental Results
The model was evaluated on a newly curated medical endoscopic dataset and standard urban scene benchmarks.
Medical Endoscopic Dataset
The researchers collected 3,659 images from over 1,100 volunteers, comprising 2,969 gastroscopy images (source) and 690 enteroscopy images (target). The proposed model achieved a Mean Intersection over Union (mIoU) of 63.96%, significantly outperforming baseline WSL methods (54.19%) and other state-of-the-art domain adaptation techniques.
Generalization to Urban Scenes
To test generalizability, the model was applied to the GTA-to-Cityscapes transfer task. It achieved an mIoU of 47.2%, demonstrating that the semantic transfer principles are effective even in non-medical contexts like autonomous driving.
Conclusion
This work demonstrates that leveraging cross-domain dependencies can significantly improve weakly-supervised segmentation. By combining pseudo-label refinement with stable feature centroid alignment, the model effectively "borrows" expertise from well-annotated datasets to solve data-scarce problems. Future research will focus on handling extreme domain shifts and integrating further anatomical constraints into the learning process.
Summary updated