Unsupervised Instance Segmentation in Microscopy Images via Panoptic Domain Adaptation and Task Re-Weighting

Dongnan Liu, Donghao Zhang, Yang Song, Fan Zhang, Lauren O'Donnell, Heng Huang, Mei Chen, Weidong Cai

Abstract

Nuclei instance segmentation is a fundamental task in digital pathology, critical for cancer diagnosis and grading. However, the requirement for extensive pixel-level annotations in histopathology images poses a significant bottleneck. This paper proposes CyC-PDAM (Cycle-Consistency Panoptic Domain Adaptive Mask R-CNN), an unsupervised domain adaptation (UDA) framework that leverages labeled fluorescence microscopy data to perform segmentation on unlabeled histopathology images. CyC-PDAM integrates a nuclei inpainting mechanism to refine synthetic data, a panoptic-level domain adaptation strategy to capture global context, and a dynamic task re-weighting mechanism to mitigate source domain bias. Our experiments demonstrate that CyC-PDAM significantly outperforms state-of-the-art UDA methods and achieves performance comparable to fully supervised models.

Introduction

In digital pathology, segmenting individual cell nuclei is essential for characterizing tissue morphology. While deep learning has revolutionized this field, training robust models typically requires thousands of expert-annotated images—a process that is both time-consuming and expensive. Unsupervised Domain Adaptation (UDA) offers a solution by training models on a labeled "source" domain (e.g., fluorescence microscopy) and adapting them to a "target" domain (e.g., H&E stained histopathology).

However, traditional UDA methods often struggle with the complex backgrounds of histopathology slides and the "hallucination" of artifacts during image-to-image translation. Furthermore, models frequently become biased toward source-specific features, hindering their generalization to real-world clinical data. CyC-PDAM addresses these challenges through a multi-pronged architectural approach.

Methodology

The CyC-PDAM framework is built upon three core innovations designed to bridge the domain gap effectively.

1. Nuclei Inpainting Mechanism

When using CycleGAN to translate fluorescence images to the histopathology domain, the generator often introduces redundant nuclei or artifacts in the background. To ensure the synthesized training images have reliable labels, we employ an automated inpainting technique. By applying Otsu thresholding and fast marching, we remove these "hallucinated" nuclei, creating a cleaner dataset for the downstream segmentation task.

2. Panoptic-level Domain Adaptation

Standard UDA for object detection focuses primarily on local instance-level features. CyC-PDAM introduces a semantic branch to the Mask R-CNN architecture, enabling "panoptic" adaptation. By aligning the global relationship between foreground nuclei and the background across domains, the model develops a more comprehensive understanding of the tissue environment, leading to improved segmentation accuracy.

Overview of the CyC-PDAM pipeline, showing the transition from source images to synthetic patches and final prediction.

3. Task Re-weighting Mechanism

To combat "source bias," where the model overfits to features unique to the source domain, we implemented a dynamic task re-weighting system. A domain discriminator evaluates how easily a feature can be identified as belonging to the source domain. If a feature is highly domain-specific, the model down-weights the associated task loss, forcing the network to prioritize domain-invariant features that are more likely to generalize to real histopathology images.

Results and Discussion

We evaluated CyC-PDAM on the Kumar and TNBC datasets, using the BBBC039V1 fluorescence dataset as the source.

Quantitative Performance

CyC-PDAM achieved a significant performance boost over existing methods. On the Kumar dataset, it reached an Aggregated Jaccard Index (AJI) of 0.5610, compared to 0.4447 for the baseline CyCADA. Notably, the model demonstrated exceptional generalization; on "unseen" organs within the Kumar dataset, CyC-PDAM achieved an AJI of 0.5848, outperforming the fully supervised CNN3 model (0.4989).

Qualitative Comparison

Visual inspection confirms that CyC-PDAM produces masks that closely align with ground truth annotations, successfully handling varied nuclei shapes and dense clusters that often confuse other UDA methods.

Qualitative comparison of segmentation results across different UDA methods and the proposed CyC-PDAM against ground truth (GT).

Ablation Studies

Ablation experiments highlighted the necessity of each component. Removing the inpainting mechanism, the semantic branch, or the re-weighting strategy resulted in a 4–6% decrease in AJI, confirming that the synergy of these modules is key to the framework's success.

Conclusion

CyC-PDAM represents a significant step forward in unsupervised medical image segmentation. By combining panoptic adaptation with intelligent data cleaning and bias mitigation, the framework achieves near-supervised performance without the need for manual histopathology labels. Future research will explore extending this approach to more complex structures, such as glands and multi-class tissue types, further reducing the annotation burden in digital pathology.

Summary updated

BibTeX
@inproceedings{liu2020unsupervised,
  author = {Dongnan Liu and Donghao Zhang and Yang Song and Fan Zhang and Lauren O'Donnell and Heng Huang and Mei Chen and Weidong Cai},
  title = {{Unsupervised Instance Segmentation in Microscopy Images via Panoptic Domain Adaptation and Task Re-Weighting}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00430},
}
Figure