Effective Immunohistochemistry Pathology Microscopy Image Generation Using CycleGAN

Zidui Xu, Xi Li, Xihan Zhu, Luyang Chen, Yonghong He, Yupeng ChenFrontiers in Molecular Biosciences 2020

Abstract

Immunohistochemistry detection technology is able to detect more difficult tumors than regular pathology detection technology only with hematoxylin-eosin stained pathology microscopy images, - for example, neuroendocrine tumor detection. However, making immunohistochemistry pathology microscopy images costs much time and money. In this paper, we propose an effective immunohistochemistry pathology microscopic image-generation method that can generate synthetic immunohistochemistry pathology microscopic images from hematoxylin-eosin stained pathology microscopy images without any annotation. CycleGAN is adopted as the basic architecture for the unpaired and unannotated dataset. Moreover, multiple instances learning algorithms and the idea behind conditional GAN are considered to improve performance. To our knowledge, this is the first attempt to generate immunohistochemistry pathology microscopic images, and our method can achieve good performance, which will be very useful for pathologists and patients when applied in clinical practice.

Introduction

In clinical pathology, Hematoxylin-Eosin (HE) staining is the "gold standard" for initial tissue examination, producing characteristic pink and purple microscopic images. However, for approximately 5–10% of patients, HE staining is insufficient for accurate tumor grading or identification. In these instances, pathologists rely on Immunohistochemistry (IHC), which uses specific antibodies (such as Ki-67) to highlight proteins associated with cell proliferation. While highly effective, IHC is expensive, labor-intensive, and requires additional tissue slices.

A significant challenge in applying deep learning to this problem is the lack of "perfect pairs"—identical tissue sections stained both ways—since a single slice typically cannot undergo both processes. This research introduces a method to generate high-fidelity synthetic IHC images from standard HE images using an unpaired, unannotated dataset.

Methodology

The proposed solution leverages CycleGAN, a framework designed for domain-to-domain style transfer without paired examples. To adapt this for medical accuracy, the researchers introduced two critical enhancements:

  1. Multiple Instance Learning (MIL): To overcome the lack of pixel-level annotations, MIL was used to train binary classifiers that distinguish between "tumor" and "normal" patches using only weak, image-level labels.
  2. Class-Related Alignment: The output from the MIL classifiers was integrated into the CycleGAN generator as a conditional information channel. This ensures the generator maintains biological consistency, applying the synthetic brown IHC stain only where tumor cells are present.
The workflow illustrates how HE patches are processed through a classifier and generator to produce synthetic Ki-67 patches.

Datasets and Experimental Setup

The study focused on neuroendocrine tumors from 10 patients. The training set comprised over 30,000 small patches (224 × 224 pixels). Because the HE and Ki-67 images were derived from consecutive tissue slices, they appear macroscopically similar but are not pixel-aligned at the microscopic level, representing a classic unpaired dataset challenge.

Comparison of original HE stained slices and their corresponding Ki-67 IHC stained counterparts.

Key Results

The synthetic Ki-67 images proved visually indistinguishable from real IHC stains, accurately identifying tumor regions and cell morphology. Quantitatively, the model was evaluated based on the positive cell ratio, the primary metric used by clinicians for diagnosis. In comparative tests, the synthetic images achieved ratios remarkably close to real IHC (e.g., a real ratio of 0.3046 vs. a synthetic ratio of 0.2771). Ablation studies confirmed that standard CycleGAN without the MIL-based classifier performed significantly worse, often failing to correctly map tumor cells.

Discussion and Conclusion

This research demonstrates the feasibility of "virtual staining" as a diagnostic aid. By integrating classification logic into a generative adversarial network, the authors successfully bridged the gap between style transfer and biological accuracy. While the current study is limited by a small patient cohort and a single tumor type, it provides a foundation for future work involving diverse cancers and different IHC markers. If validated in larger clinical trials, this method could significantly reduce the time and cost associated with cancer diagnosis.

Summary updated

Abstract

Immunohistochemistry detection technology is able to detect more difficult tumors than regular pathology detection technology only with hematoxylin-eosin stained pathology microscopy images, - for example, neuroendocrine tumor detection. However, making immunohistochemistry pathology microscopy images costs much time and money. In this paper, we propose an effective immunohistochemistry pathology microscopic image-generation method that can generate synthetic immunohistochemistry pathology microscopic images from hematoxylin-eosin stained pathology microscopy images without any annotation. CycleGAN is adopted as the basic architecture for the unpaired and unannotated dataset. Moreover, multiple instances learning algorithms and the idea behind conditional GAN are considered to improve performance. To our knowledge, this is the first attempt to generate immunohistochemistry pathology microscopic images, and our method can achieve good performance, which will be very useful for pathologists and patients when applied in clinical practice.
BibTeX
@inproceedings{xu2020effective,
  author = {Zidui Xu and Xi Li and Xihan Zhu and Luyang Chen and Yonghong He and Yupeng Chen},
  title = {{Effective Immunohistochemistry Pathology Microscopy Image Generation Using CycleGAN}},
  booktitle = {Frontiers in Molecular Biosciences},
  year = {2020},
  doi = {10.3389/fmolb.2020.571180},
}
Figure