Learning a low dimensional manifold of real cancer tissue with PathologyGAN

Adalberto Claudio Quiros, Roderick Murray-Smith, Ke YuanarXiv 2020 · OpenReview

Abstract

Application of deep learning in digital pathology shows promise on improving disease diagnosis and understanding. We present a deep generative model that learns to simulate high-fidelity cancer tissue images while mapping the real images onto an interpretable low dimensional latent space. The key to the model is an encoder trained by a previously developed generative adversarial network, PathologyGAN. We study the latent space using 249K images from two breast cancer cohorts. We find that the latent space encodes morphological characteristics of tissues (e.g. patterns of cancer, lymphocytes, and stromal cells). In addition, the latent space reveals distinctly enriched clusters of tissue architectures in the high-risk patient group.

Introduction

Cancer diagnosis and treatment strategies are fundamentally rooted in the analysis of histopathological images, typically H&E (hematoxylin and eosin) stained slides. These images provide a window into the complex tumor microenvironment, revealing the intricate spatial interactions between malignant cells, infiltrating immune cells (lymphocytes), and the surrounding connective tissue (stroma). However, the sheer heterogeneity of these environments—varying significantly between patients and even within different regions of the same tumor—presents a massive challenge for automated analysis.

Current AI tools in pathology predominantly rely on supervised learning, which necessitates the manual labeling of thousands of images by expert pathologists. This process is not only labor-intensive and expensive but also inherently limited by existing human knowledge. There is a pressing need for unsupervised methods that can discover novel tissue "signatures" and morphological patterns directly from the data, without the bias of pre-defined labels. This paper introduces PathologyGAN, a generative framework designed to map this complex biological landscape into a structured, low-dimensional latent space.

Methodology: The PathologyGAN Framework

The researchers developed PathologyGAN by building upon advanced architectures like BigGAN and StyleGAN to generate high-fidelity synthetic tissue images. The primary innovation of this work is the integration of a dedicated PathologyGAN Encoder ($E$) to bridge the gap between real-world images and the model's internal representation.

PathologyGAN architecture featuring a Mapping Network, Generator, Discriminator, and the novel Encoder network used to map real images into the latent space.

The training process involves several key steps:

  1. The Inverse Mapping: While the Generator ($G$) is designed to transform a latent vector ($w$) into a synthetic image, the Encoder ($E$) is trained to perform the inverse operation. It learns to map an input image back to the specific latent vector that would generate a similar visual output.
  2. Training on Synthetic Data: A unique aspect of this approach is that the encoder is trained using images generated by the GAN itself. Since the generator is already adept at mimicking real tissue morphology, the encoder learns the underlying "rules" of tissue structure by analyzing these high-fidelity synthetic samples.
  3. Manifold Mapping of Real Samples: Once the encoder is proficient, it can process real patient images, projecting them into a 200-dimensional latent space. This space acts as a compressed, mathematically structured representation of the tissue's visual and biological features.
  4. Dimensionality Reduction and Clustering: To interpret this high-dimensional space, the team employed UMAP (Uniform Manifold Approximation and Projection) for visualization and Gaussian Mixture Models (GMM) to categorize the images into 100 distinct clusters based on their latent coordinates.

Data and Scale

The model was rigorously tested using two significant breast cancer cohorts: the NKI cohort (248 patients from the Netherlands Cancer Institute) and the VGH cohort (328 patients from Vancouver General Hospital). The final dataset comprised approximately 249,000 image patches, each 224 × 224 pixels, providing a robust foundation for learning the diverse morphology of breast cancer.

Insights from the Latent Space

The most significant finding is that the learned latent space is morphologically meaningful. Rather than grouping images by superficial features like brightness or color balance, the model successfully disentangled complex biological characteristics.

UMAP visualization of the 200-dimensional latent space, demonstrating that the model clusters tissue patches based on shared morphological characteristics like cell density and arrangement.

As shown in the UMAP visualization, images positioned near each other in the latent space exhibit similar densities of cancer cells, lymphocyte infiltration patterns, or stromal arrangements. This organization suggests that the model has captured the fundamental "manifold" of cancer tissue. Furthermore, by performing linear interpolations—moving along a straight path between two points in the latent space—the researchers demonstrated that the model captures gradual morphological transitions. This implies that cancer tissue exists on a continuous spectrum of states rather than in isolated, discrete categories.

Clinical Relevance and Survival Signatures

Beyond mere organization, the latent space revealed profound clinical insights. The model identified specific tissue clusters that were significantly "enriched" in high-risk patients (those with survival times of less than five years). Remarkably, the model discovered these survival-correlated signatures in a completely unsupervised manner, without any prior knowledge of patient outcomes during the training phase.

In the VGH cohort, specific tissue architectures were found to be much more prevalent in the low-survival group. This suggests that the unsupervised features learned by PathologyGAN could serve as powerful biomarkers for prognosis, potentially identifying aggressive disease patterns that might be overlooked by traditional grading systems.

Conclusion and Future Directions

PathologyGAN demonstrates the power of unsupervised deep learning in discovering meaningful biological patterns from complex medical imagery. While the model achieves high semantic accuracy in reconstructing real tissue, the authors note that it prioritizes interpretable morphological features over exact pixel-level replication.

Future work will focus on testing the model's generalizability across even larger and more diverse datasets, such as The Cancer Genome Atlas (TCGA). Additionally, validating these discovered "survival clusters" against molecular and genomic data will be a crucial step toward integrating this framework into clinical decision-support tools. By providing a navigable map of the cancer tissue manifold, PathologyGAN opens new avenues for understanding tumor heterogeneity and improving patient stratification.

Summary updated

Abstract

Application of deep learning in digital pathology shows promise on improving disease diagnosis and understanding. We present a deep generative model that learns to simulate high-fidelity cancer tissue images while mapping the real images onto an interpretable low dimensional latent space. The key to the model is an encoder trained by a previously developed generative adversarial network, PathologyGAN. We study the latent space using 249K images from two breast cancer cohorts. We find that the latent space encodes morphological characteristics of tissues (e.g. patterns of cancer, lymphocytes, and stromal cells). In addition, the latent space reveals distinctly enriched clusters of tissue architectures in the high-risk patient group.
BibTeX
@misc{quiros2020learning,
  author = {Adalberto Claudio Quiros and Roderick Murray-Smith and Ke Yuan},
  title = {{Learning a low dimensional manifold of real cancer tissue with PathologyGAN}},
  year = {2020},
  eprint = {2004.06517},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.06517},
}
Figure