PathologyGAN: Learning deep representations of cancer tissue

Adalberto Claudio Quiros, Roderick Murray-Smith, Ke Yuan

Introduction

In digital pathology, the primary focus of machine learning has traditionally been diagnostic classification—distinguishing between cancerous and non-cancerous tissue. However, this binary approach often overlooks the complex, heterogeneous landscape of the tumor microenvironment (TME). PathologyGAN addresses this by learning to "decode" the visual language of cancer, moving beyond simple diagnosis to capture the rich morphological diversity of tumor tissues.

Decoding the Tumor Microenvironment

Cancer is not merely a collection of malignant cells; it is a complex ecosystem comprising immune cells, stromal cells, and vascular structures. Understanding the morphology—the shape and structure—of these tissues is vital for accurate prognosis and personalized treatment. PathologyGAN is designed as a generative framework that doesn't just classify images but disentangles these morphological characteristics, allowing researchers to explore phenotype diversity mathematically.

Methodology: A Hybrid Generative Architecture

PathologyGAN utilizes a "best-of" hybrid architecture to achieve both high-fidelity image synthesis and latent space interpretability.

The PathologyGAN architecture, featuring a mapping network, generator, and discriminator.

The framework incorporates several key components:

  • Core Architecture: Based on BigGAN for high-resolution, diverse image generation.
  • Latent Disentanglement: Borrowing from StyleGAN, it uses a Mapping Network to transform raw noise ($z$) into a structured latent space ($w$). This allows the model to separate high-level biological features from low-level textures.
  • Stability and Normalization: The model employs a Relativistic Average Discriminator for faster convergence and Adaptive Instance Normalization (AdaIN) to inject latent representations into the generator.

The model was trained on a massive dataset of 249,000 H&E-stained breast cancer tissue patches ($224 \times 224$) from the Netherlands Cancer Institute (NKI) and Vancouver General Hospital (VGH) cohorts.

Key Insights: The Latent Space as a Biological Map

One of the most significant findings is that the model's latent space ($w$) functions as a structured map of biological features. By applying UMAP to visualize this space, the authors discovered that a vector's position correlates directly with specific tissue characteristics, such as the density of cancer cells or lymphocytes.

UMAP visualizations of the latent space showing density distributions of different tissue components.

This structured space enables "tissue arithmetic." For instance, adding a "lymphocyte vector" to a "benign tissue vector" and subtracting the original benign representation can yield a synthetic image of cancer cells interspersed with lymphocytes. This demonstrates that the model has learned independent, manipulatable representations of biological components.

Results and Evaluation

PathologyGAN achieved an Inception FID of 16.65 and a specialized CRImage FID of 9.86, indicating that the synthetic images are statistically and biologically very close to real samples. In a "Turing Test" involving expert pathologists, the specialists were unable to reliably distinguish synthetic images from real ones, with performance matching random guessing.

Conclusion and Future Directions

PathologyGAN represents a shift from "black box" diagnosis to interpretable tissue modeling. While currently limited by resolution constraints and the lack of an image-to-latent encoder, future work aims to link these learned morphological representations directly to clinical "omics" data. This could eventually allow researchers to correlate specific visual phenotypes with genetic mutations, further advancing the field of computational pathology.

Summary updated

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