Deep learning for survival analysis in breast cancer with whole slide image data

Bioinformatics 2022 Histopathology 7 Explanations View Original
Original Paper (PDF)

Unable to display PDF. Download it here or view on PMC.

Plain-English Explanations
Page 1
Predicting Breast Cancer Survival from Tissue Slides

Survival analysis is a statistical method that predicts how long a patient will live after a diagnosis, or how long before a specific event such as cancer recurrence occurs. While deep learning has revolutionized detection and classification of cancer in tissue images, relatively few studies had applied it to survival prediction directly from whole slide pathology images.

This study from Stony Brook University proposes a novel approach that augments standard color image data with deep learning-generated segmentation maps of nuclei, tumor regions, and tumor-infiltrating lymphocytes extracted from the same tissue slides. Instead of letting the model learn from color pixels alone, the method provides explicit spatial maps of the biological structures most relevant to prognosis.

The approach also uses multi-resolution image analysis, processing the same tissue at different levels of magnification to capture both fine-grained cellular details and broader tissue architecture simultaneously. This mirrors how pathologists naturally examine slides: first scanning at low power to understand tissue organization, then zooming in on regions of interest.

Using 978 breast cancer whole slide images from The Cancer Genome Atlas (TCGA), the method achieved a concordance index (c-index) of 0.706 using image data alone, rising to 0.773 when clinical features such as patient age, sex, and cancer stage were added. This represents a substantial improvement over using color image data at a single resolution, which achieved only a c-index of 0.551.

TL;DR: This study proposes augmenting color whole slide image data with deep learning-generated maps of nuclei, tumor regions, and lymphocytes at multiple resolutions, improving breast cancer survival prediction from a c-index of 0.551 to 0.706.
Pages 1-2
Why Tissue Images Can Predict How Long Patients Survive

Whole slide tissue images contain information about cancer at the sub-cellular level: the size and shape of nuclei, the density of tumor regions, and the presence of tumor-infiltrating lymphocytes (TILs), which are immune cells that have moved into the tumor. Each of these features reflects the biology of the cancer and has documented associations with patient outcomes.

Nuclear morphology changes with cancer subtype and stage: malignant cells often show enlarged nuclei with irregular shapes and prominent dark spots called nucleoli. The spatial distribution of tumor regions reveals how aggressively the cancer has grown into surrounding tissue. TILs reflect the body's immune response to the tumor and are increasingly recognized as important prognostic factors in many cancer types, including breast cancer.

The challenge is that extracting these features manually from billion-pixel whole slide images is impractical at scale. Deep learning models for nuclear segmentation, tumor region detection, and TIL mapping had been developed and validated by prior research groups, producing published datasets of segmentation maps for thousands of TCGA cases. This study builds on those existing tools rather than creating new ones.

Concordance index (c-index) is the standard metric for evaluating survival models. A c-index of 0.5 means the model performs no better than chance at predicting which of two patients will survive longer. A c-index of 1.0 means perfect prediction. Values above 0.7 are generally considered clinically meaningful for complex biological outcomes like cancer survival.

TL;DR: Tissue slides encode biologically meaningful prognostic signals in nuclear morphology, tumor distribution, and immune cell presence, and published deep learning tools can extract these features at scale from existing TCGA data.
Pages 2-5
The Six-Channel Multi-Resolution Framework

The core innovation is treating each whole slide image as a six-channel image rather than a standard three-channel color image. Three channels carry the original red, green, and blue (RGB) color information from the H&E stained slide. The remaining three channels carry the NTL data: nuclear segmentation probability maps (N), tumor region probability maps (T), and tumor-infiltrating lymphocyte probability maps (L), each stored as a grayscale image where pixel intensity encodes prediction probability.

Because the tumor and TIL maps were generated at patch level rather than pixel level, the study applied bilinear interpolation to convert patch-level probabilities into pixel-level maps, processing each whole slide tile by tile to avoid memory overflow. All images were standardized to 40x magnification equivalent resolution, with lower-magnification slides upsampled using nearest-neighbor interpolation.

Multi-resolution training was implemented by downsampling the six-channel input by factors of 1, 4, 8, and 16. At the highest resolution (scale 1), models learn fine cellular details such as nuclear morphology. At lower resolutions such as scale 8 or 16, the same field of view encompasses much more tissue, allowing the model to learn architectural features such as tumor growth patterns and the spatial distribution of lymphocyte infiltration relative to tumor borders.

The deep learning architecture uses MobileNet V2 as its backbone, chosen for its resistance to overfitting and fast training speed compared to larger ResNet architectures. Sixteen parallel CNNs with shared weights each process one randomly selected patch from the slide, and their outputs are aggregated through average pooling. Survival time is discretized into five intervals of 25 months each, framing survival prediction as a classification problem rather than a regression problem.

To handle the imbalance between censored and uncensored patients (patients still alive at last follow-up versus patients who died during the study period), the loss function weights each group inversely proportional to its size. Uncensored data has precise survival labels, while censored data provides only a lower bound on survival time, so the model treats censored samples as weakly labeled data and downweights them accordingly.

TL;DR: The method creates six-channel images by combining RGB color data with nuclear, tumor, and lymphocyte segmentation maps, then trains MobileNet V2 at multiple resolutions using a censoring-aware weighted loss function.
Pages 5-7
Performance Results: How Each Component Contributes

Using only RGB color data at the highest resolution (scale 1) produced a c-index of just 0.551, barely above chance. As image resolution decreased from scale 1 to scale 8, the c-index for RGB data improved progressively from 0.551 to 0.678. This demonstrates that lower magnification views capturing broader tissue context are substantially more informative for survival prediction than maximum-resolution views focused on individual cell details.

Adding NTL segmentation channels to the RGB data at scale 8 improved the c-index further from 0.678 to 0.706. The improvement held across multiple comparison methods including average pooling, max pooling, attention pooling, and the published DeepAttnMISL model, suggesting that the benefit of NTL augmentation is not specific to the particular aggregation strategy used.

Combining image features with clinical features including age, sex, and tumor stage (denoted CF) raised the c-index further. Clinical features alone achieved a c-index of 0.748. Adding RGB image data at scale 8 improved this to 0.753. Adding all three NTL channels at scales 8 and 16 alongside clinical features reached the highest c-index of 0.773, demonstrating that image and clinical features provide complementary prognostic information that neither source captures alone.

Kaplan-Meier survival curves for patients divided into high-risk and low-risk groups based on model predictions showed well-separated curves with a log-rank test P-value of 0.01, confirming that the model's predicted survival times meaningfully distinguish patient groups with statistically significantly different actual survival outcomes. The three-group stratification into high-, medium-, and low-risk also showed consistent separation with P-value of 0.01.

TL;DR: Multi-resolution analysis and NTL augmentation each independently improved survival prediction, with the combined model using clinical features reaching a c-index of 0.773, validated by significantly separated Kaplan-Meier survival curves.
Pages 4-7
Aggregation Strategies: How Patch Predictions Become Patient Predictions

A fundamental challenge in WSI survival analysis is aggregating predictions from many small image patches into a single patient-level survival estimate. The study compared four aggregation strategies: average pooling, max pooling, attention-based pooling, and the published DeepAttnMISL method. Average pooling, which takes the mean of all patch-level features before feeding them to the survival model, consistently outperformed the alternatives.

The result that average pooling outperforms attention pooling is counterintuitive, since attention mechanisms are designed to focus on the most diagnostically relevant regions. The authors suggest that for survival prediction, which depends on the overall tissue composition across the entire slide rather than a few critical focal regions, averaging information from all patches may better capture the global prognostic signal than selectively weighting specific locations.

Training separate models at each resolution level and then combining their survival features in an ensemble approach outperformed training a single model that receives patches from multiple resolutions simultaneously as concatenated channels. Ensemble approaches allow each resolution-specific model to specialize in the features most relevant at that scale, while single models with concatenated multi-scale inputs may struggle to optimally process the heterogeneous information presented simultaneously.

The relationship between NTL channels and survival improvement was consistent but modest. The N channel (nuclear segmentation) and the L channel (TIL maps) each contributed to survival prediction, reflecting the known biological relevance of nuclear morphology and immune infiltration in breast cancer prognosis. The T channel (tumor maps) contributed primarily by clarifying which tissue regions were diagnostically relevant for survival feature extraction.

TL;DR: Average pooling outperformed attention-based aggregation for survival prediction, and ensemble models trained at individual resolutions outperformed single models receiving concatenated multi-scale inputs simultaneously.
Pages 7-8
Implications for Using AI Features as Inputs to AI Models

A distinctive conceptual contribution of this study is demonstrating that outputs of deep learning models can serve as inputs to other deep learning models. Rather than training survival models on raw image pixels alone, this work uses pre-computed segmentation results from separately trained and validated nuclear, tumor, and TIL models as additional information channels. This modular approach leverages the investments already made in building specialized segmentation models across cancer types.

The NTL data was generated from published, publicly available datasets covering thousands of TCGA cases across multiple cancer types. This means the approach is immediately applicable to any researcher with access to TCGA whole slide images, without requiring expensive re-annotation or proprietary data. The availability of the source code at GitHub further enables reproducibility and extension to new cancer types beyond breast cancer.

The study acknowledges that the c-index values achieved, while substantially better than using raw color images alone, remain below those achievable when survival is predicted from molecular profiling data such as gene expression profiles. However, histopathology images are far more routinely available than genomic data in clinical practice, making image-based survival prediction more scalable and accessible as a clinical tool.

Future work could explore integrating self-supervised learning representations as additional feature channels alongside the NTL data, potentially capturing aspects of tissue morphology not well captured by the three specific segmentation tasks used here. Combining image-based survival features with genomic and transcriptomic data through multi-modal learning frameworks represents a longer-term direction for further improving prognostic accuracy.

TL;DR: Using AI-generated segmentation maps as input features to survival models is a scalable approach that leverages publicly available datasets and published tools, and achieves clinically meaningful predictions from histopathology data available in routine practice.
Pages 7-8
Conclusions

This study demonstrates that breast cancer survival prediction from whole slide images can be substantially improved by two synergistic innovations: augmenting color image data with deep learning-generated maps of nuclei, tumor regions, and tumor-infiltrating lymphocytes, and analyzing tissue at multiple magnification levels to capture both cellular and architectural prognostic information.

The improvement in c-index from 0.551 to 0.706 (image-only) and 0.773 (combined with clinical features) illustrates that the morphological and cellular biology encoded in histopathology slides contains substantial prognostic information beyond what simple color image analysis captures, and that pre-computed segmentation maps provide an effective and interpretable way to make this information accessible to survival models.

The finding that lower magnification views are more informative for survival prediction than maximum-resolution views suggests that tissue architecture and the spatial distribution of cell populations across large areas of the slide are more prognostically relevant than fine-grained individual cell morphology. This aligns with the biological understanding that cancer prognosis reflects tumor organization and immune landscape, not just the appearance of individual cells.

As deep learning segmentation tools for tissue images continue to improve and expand to new cell types and biological structures, the modular approach demonstrated here provides a framework for progressively incorporating richer biological signals into survival models, ultimately supporting more personalized prognosis and treatment planning for breast cancer patients.

TL;DR: Augmenting color whole slide image data with segmentation maps and multi-resolution analysis substantially improves breast cancer survival prediction, establishing a scalable modular framework for incorporating biological structure information into prognostic models.
Citation: Open Access, 2022. Available at: PMC9272797.