[Paper Review] Unsupervisedly Training GANs for Segmenting Digital Pathology with Automatically Generated Annotations
This paper proposes a fully unsupervised GAN-based method for segmenting glomeruli in digital pathology slides by generating synthetic annotations using shape priors and training an image-to-image translation model on unpaired data. The approach achieves competitive performance—matching supervised models trained on twice the annotated data—by incorporating simulated nuclei into the label domain to stabilize training and enable cycle consistency.
Recently, generative adversarial networks exhibited excellent performances in semi-supervised image analysis scenarios. In this paper, we go even further by proposing a fully unsupervised approach for segmentation applications with prior knowledge of the objects' shapes. We propose and investigate different strategies to generate simulated label data and perform image-to-image translation between the image and the label domain using an adversarial model. Specifically, we assess the impact of the annotation model's accuracy as well as the effect of simulating additional low-level image features. For experimental evaluation, we consider the segmentation of the glomeruli, an application scenario from renal pathology. Experiments provide proof of concept and also confirm that the strategy for creating the simulated label data is of particular relevance considering the stability of GAN trainings.
Motivation & Objective
- Address the high cost and scarcity of manually annotated training data in digital pathology by eliminating the need for human-annotated labels.
- Enable fully unsupervised training for segmentation tasks using only real whole-slide images and automatically generated annotation data.
- Investigate how realistic simulation of object shapes (circular vs. elliptical) and inclusion of additional image features (e.g., nuclei) affect GAN training stability and segmentation performance.
- Demonstrate that adding structural priors to the label domain improves translation quality and enables stable cycle-consistent training without paired data.
Proposed method
- Utilizes a cycle-consistent GAN (CycleGAN) architecture with two generators and two discriminators to perform unpaired image-to-image translation between real histology images and synthetic annotation masks.
- Generates synthetic annotation masks by modeling glomeruli as randomly sampled circular or elliptical shapes with Gaussian-distributed radii and eccentricity, ensuring spatial plausibility.
- Enhances training stability by injecting simulated nuclei into the label domain, providing low-level structural cues that help the generator learn meaningful image-to-mask mappings.
- Imposes cycle consistency loss to ensure that translating an image to a mask and back yields a reconstruction close to the original, enabling training without paired data.
- Trains the model on unpaired datasets: real whole-slide images from one domain and synthetically generated binary masks from another, leveraging shape priors and additional image features.
- Employs a multi-class setting where both glomeruli and nuclei are modeled in the label space, improving the generator’s ability to preserve fine-grained structures during translation.
Experimental results
Research questions
- RQ1Can a fully unsupervised GAN-based approach achieve competitive glomeruli segmentation performance without any manually annotated training data?
- RQ2How does the choice of shape modeling (circular vs. elliptical) affect the stability and accuracy of the segmentation task in an unpaired translation setting?
- RQ3Does adding simulated nuclei to the label domain significantly improve training stability and segmentation quality in the absence of paired data?
- RQ4To what extent does the performance of the unsupervised method compare to a supervised baseline when varying the amount of annotated training data?
Key findings
- The single-class setting (simulating only glomeruli) led to unstable training and poor performance, with the model often misclassifying vessels as glomeruli due to lack of structural context.
- The multi-class setting, which includes simulated nuclei in the label domain, achieved stable training and produced high-quality segmentations, significantly outperforming the single-class approach.
- Segmentation performance was comparable to a supervised model trained on eight whole-slide images (approx. 1000 annotated glomeruli), despite the unsupervised method using only four annotated WSIs.
- The shape distribution of simulated objects (circular vs. elliptical) had minimal impact on final performance, indicating that accurate shape modeling is less critical than maintaining cycle consistency.
- The method demonstrated high flexibility, enabling adaptation to new staining protocols or tissue types without re-annotation, solely by adjusting the simulation model.
- The unsupervised approach achieved strong object-level F1-scores, even outperforming some supervised baselines when limited labeled data was available, highlighting its efficiency in low-data regimes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.