Pathology GAN: Learning deep representations of cancer tissue

Adalberto Claudio Quiros, Roderick Murray-Smith, Ke Yuan

Introduction

Histopathological images, such as H&E stained tissue slides, are rich in visual data regarding tumor growth and microenvironment interactions. Understanding these phenotypes is critical for cancer diagnosis and treatment. However, supervised deep learning in digital pathology is often limited by the high cost of expert-annotated labels. PathologyGAN addresses this by using unsupervised learning to build a Generative Adversarial Network (GAN) that learns the underlying biological distribution of tissue architectures without relying on human labels.

Methods

PathologyGAN builds upon the high-capacity BigGAN architecture but introduces key modifications to improve image quality and latent space interpretability.

The PathologyGAN architecture featuring a mapping network and style-based generator.

The model utilizes a Relativistic Average Discriminator, which estimates the probability that real data is more realistic than fake data, leading to better capture of morphological structures. To ensure an interpretable latent space, the authors incorporated StyleGAN elements, including a mapping network that transforms the initial noise vector ($z$) into an intermediate latent space ($w$). Techniques like Style Mixing and Adaptive Instance Normalization (AdaIN) are used to localize high-level features (e.g., cell density) into distinct parts of the latent space.

Datasets

The model was trained and evaluated on two distinct, unaugmented datasets:

  • Breast Cancer Tissue: ~249,000 training patches (224x224) from the NKI and VGH cohorts.
  • Colorectal Cancer Tissue: 100,000 patches (224x224) from the NCT dataset, covering eight different tissue types such as tumor, stroma, and adipose.

Key Insights

Biological Metrics for GANs

Evaluating GANs typically relies on computer vision metrics like Inception FID. However, the authors introduced a specialized cell classifier (CRImage) to extract biological features, such as cancer cell counts and tumor ratios. By calculating an FID score based on these cellular features, they proved the GAN learns true biological distributions rather than just convincing textures.

Structured Latent Space and Visual Math

Mapping the latent space using UMAP shows that PathologyGAN naturally clusters images by biological properties. This disentangled space allows for semantic vector arithmetic—for instance, adding a "lymphocytes" vector to "stroma tissue" to generate stroma with lymphocytes. Linear interpolations between latent vectors also resulted in biologically plausible transitions, such as a smooth increase in cancer cell population when moving from benign to malignant tissue representations.

Key Results

PathologyGAN achieved impressive fidelity, with Inception FID scores of 16.65 (breast) and 32.05 (colorectal). The biologically-grounded CRImage FID was notably low at 9.86.

Generated tissue patches illustrating high fidelity and variety across different tissue types.

In a "Pathologist Turing Test," expert pathologists could not reliably distinguish between real and generated 224x224 patches. The generated images successfully captured the complex morphological characteristics of various cancer and non-cancerous tissues.

Limitations and Future Work

While the model excels at 224x224 resolution, scaling to 448x448 resulted in a drop in biological fidelity as the model struggled with precise cell morphology at higher scales. Future goals include scaling to 1024x1024 to capture entire Tissue Microarrays. Additionally, the authors plan to develop an encoder to map real patient images into the latent space, enabling the correlation of unsupervised visual phenotypes with genomic and survival data.

Summary updated

BibTeX
@inproceedings{quiros2020pathology,
  author = {Adalberto Claudio Quiros and Roderick Murray-Smith and Ke Yuan},
  title = {{Pathology GAN: Learning deep representations of cancer tissue}},
  booktitle = {MIDL},
  year = {2020},
}
Figure