Self-supervised learning enables unbiased patient characterization from multiplexed cancer tissue microscopy images

Gantugs Atarsaikhan, Isabel Mogollón, Katja Välimäki, Tuomas Mirtti, Teijo Pellinen, Lassi PaavolainenbioRxiv 2025

TL;DR

This paper introduces a novel hierarchical self-supervised learning (SSL) framework to analyze complex multiplexed immunofluorescence (mIF) microscopy images of cancer tissue. By learning both local cellular patterns and global tissue architecture without manual annotations, the framework successfully stratifies patients into prognostically distinct groups, offering a more scalable and interpretable approach to biomarker discovery.

What Problem Does This Paper Address?

Understanding the intricate heterogeneity of cancer cells and their surrounding tumor microenvironment (TME) is crucial for effective cancer diagnosis and treatment. Multiplexed immunofluorescence (mIF) microscopy is a powerful technique for visualizing multiple proteins simultaneously in tissue, providing rich spatial information. However, traditional analysis methods, which often rely on single-cell segmentation and predefined features, struggle with segmentation accuracy, capturing spatial interrelationships between cells, and the sheer complexity of mIF data. This limits their ability to fully leverage the insights offered by these advanced imaging techniques. The authors aim to overcome these limitations by developing an SSL approach that can learn meaningful representations from mIF images without requiring manual annotations or segmentation.

Methods

The core of this work is a hierarchical self-supervised deep learning framework with two levels:

  1. Local Feature Learner: This level focuses on capturing patterns within small cellular neighborhoods. The authors experimented with four SSL methods: SimCLR, DINO, MAE (Masked Autoencoder), and VICRegL. For DINO and MAE, they utilized a Vision Transformer (ViT-Base) architecture with 12 attention heads, adapted to handle the varying number of channels in the mIF data. For SimCLR and VICRegL, they used a ResNet-50 architecture. The local model is trained on small patches (256x256 pixels) of the mIF images.
  2. Global Feature Learner: This level learns representations of the entire tissue core. It takes the aggregated local feature representations from the patches as input. A ViT-Base network was used for DINO and MAE approaches, with a specific aggregation strategy to create "feature-images" from patch embeddings.

The framework is designed to learn multi-channel relationships in mIF images, going beyond intensity-based clustering. Attention maps from the ViT models are also used to visualize and interpret which regions and markers the model focuses on, enhancing interpretability.

Datasets

The study utilized three cancer cohorts:

  • Renal cell carcinoma (ccRCC): 236 treatment-naive patients. TMAs included cores from tumor-center, tumor-border, and adjacent benign tissue.
  • Lung cancer: 319 patients with non-small cell lung carcinoma (adenocarcinoma and squamous cell carcinoma subtypes). TMAs primarily from tumor-center areas.
  • Prostate cancer: 274 patients. TMAs from tumor-center and adjacent benign tissue.

All cohorts involved cyclic multiplexed immunofluorescence imaging, with 6 or 7 fluorescent markers per sample, plus a nuclear marker. The dataset comprises approximately 2,500 cores in total.

Key Insights and Ideas

  • Unsupervised Learning for Complex Imaging: The framework demonstrates that SSL can effectively learn meaningful representations from highly complex mIF images without the need for manual segmentation or annotation, which are major bottlenecks in current analysis pipelines.
  • Hierarchical Representation Learning: The two-level approach (local cellular and global tissue) is crucial for capturing both fine-grained cellular interactions and broader tissue architecture, providing a more comprehensive understanding.
  • Interpretability through Attention Maps: Visualizing attention maps from the ViT models allows researchers to understand why the model makes certain predictions, highlighting biologically relevant regions and marker combinations. This bridges the gap between deep learning models and biological interpretation.
  • Prognostic Stratification: The framework successfully identified patient groups with significantly different survival outcomes, validating its ability to extract clinically relevant information from imaging data.
  • Beyond Single-Cell Limitations: By incorporating spatial context and inter-cell relationships, the SSL approach overcomes limitations of traditional single-cell methods that are sensitive to segmentation errors and may miss crucial spatial interactions.

Key Results

  • The hierarchical SSL framework successfully stratified patients into three prognostically distinct groups across lung, prostate, and renal cancer cohorts.
  • These groupings showed significantly different survival outcomes, consistent with prior expert-driven single-cell analyses.
  • Attention maps highlighted biologically relevant tissue regions associated with specific marker patterns, correlating with CAF (Cancer-Associated Fibroblast) subtypes and patient prognosis. For example, in lung cancer, good prognosis groups showed higher PDGFRB and PDGFRA, while poor prognosis groups showed higher SMA and FAP.
  • The framework demonstrated improved separation of feature representations compared to simple averaging of local features, as measured by Normalized Mean Pairwise Distance (nMPD) scores.

Limitations and Future Work

  • Cohort-Specific Training: A limitation is that the models are currently trained separately for each cancer cohort and may not generalize well to unseen data without retraining.
  • Limited Generalization: The authors acknowledge that a fully generalized foundation model for mIF data, capable of handling arbitrary numbers of channels and diverse marker combinations, does not yet exist.
  • CAF-Specific Focus: The current datasets and interpretations are heavily focused on CAF markers, limiting broader biological interpretations beyond this specific cell type.

Future work could involve:

  • Developing a channel-adaptable framework for foundational pretraining that can handle an arbitrary number of channels.
  • Fine-tuning models with specific clinical information (e.g., disease severity) to enhance model and attention map evolution.
  • Exploring the framework's potential for analyzing different datasets and a wider range of biological questions.

Summary updated

Abstract

Abstract Multiplexed immunofluorescence microscopy offers detailed insights into the spatial architecture of cancer tissue. However, classical single-cell analysis approaches are limited by segmentation accuracy, reliance on predefined features, and the inability to capture spatial interrelationships among cells. We developed a hierarchical self-supervised deep learning framework that learns spatial protein marker patterns from multiplexed microscopy images by encoding the tissue at both local (cellular) and global (tissue architecture) levels. Applied to lung, prostate, and renal cancer tissue microarray cohorts, our method stratified patients into prognostically distinct groups with significantly different survival outcomes. These groupings were consistent with prior expert-driven single-cell analyses, demonstrating the validity of our approach. Furthermore, attention maps extracted from these models highlighted biologically relevant tissue regions associated with specific marker patterns. Overall, our framework effectively profiles complex multiplexed microscopy images and offers a scalable, interpretable tool for improved biomarker discovery, with potential to support more informed cancer treatment decisions.
BibTeX
@misc{atarsaikhan2025self,
  author = {Gantugs Atarsaikhan and Isabel Mogollón and Katja Välimäki and Tuomas Mirtti and Teijo Pellinen and Lassi Paavolainen and Lassi Paavolainen},
  title = {{Self-supervised learning enables unbiased patient characterization from multiplexed cancer tissue microscopy images}},
  year = {2025},
  doi = {10.1101/2025.03.05.640729},
  howpublished = {bioRxiv},
}

Loading related content...

Figure