Abstract
Multiplexed protein imaging offers valuable insights into interactions between tumours and their surrounding tumour microenvironment, but its widespread use is limited by cost, time and tissue availability. Here we present HistoPlexer, a deep learning framework that generates spatially resolved protein multiplexes directly from standard haematoxylin and eosin (H&E) histopathology images. HistoPlexer jointly predicts multiple tumour and immune markers using a conditional generative adversarial architecture with custom loss functions designed to ensure pixel- and embedding-level similarity while mitigating slice-to-slice variations. A comprehensive evaluation of metastatic melanoma samples demonstrates that HistoPlexer-generated protein maps closely resemble real maps, as validated by expert assessment. They preserve crucial biological relationships by capturing spatial co-localization patterns among proteins. The spatial distribution of immune infiltration from HistoPlexer-generated protein multiplex enables stratification of tumours into immune subtypes. In an independent cohort, integration of HistoPlexer-derived features into predictive models enhances performance in survival prediction and immune subtype classification compared to models using H&E features alone. To assess broader applicability, we benchmarked HistoPlexer on publicly available pixel-aligned datasets from different cancer types. In all settings, HistoPlexer consistently outperformed baseline methods, demonstrating robustness across diverse tissue types and imaging conditions. By enabling whole-slide protein multiplex generation from routine H&E images, HistoPlexer offers a cost- and time-efficient approach to tumour microenvironment characterization with strong potential to advance precision oncology.
Introduction
Characterizing the tumor microenvironment (TME) is essential for precision oncology, as the spatial arrangement of immune and cancer cells often dictates therapeutic response. While advanced technologies like Imaging Mass Cytometry (IMC) can visualize dozens of proteins simultaneously, they are constrained by high costs, low throughput, and limited tissue availability. In contrast, Haematoxylin and Eosin (H&E) staining is the global clinical standard—inexpensive and fast—but lacks the molecular specificity to distinguish functionally distinct cell types. HistoPlexer addresses this gap by using deep learning to "virtually" generate high-dimensional protein multiplexes directly from routine H&E images, enabling whole-slide characterization without the overhead of traditional multiplexed imaging.
The HistoPlexer Framework
HistoPlexer utilizes a conditional Generative Adversarial Network (cGAN) architecture. The generator, based on a U-Net, translates H&E input into an 11-channel protein map, while a discriminator ensures the generated maps are indistinguishable from real IMC data.
A significant challenge in training such models is that H&E and IMC data are often obtained from adjacent tissue slices (serial sections) rather than the exact same cells, precluding perfect pixel alignment. HistoPlexer overcomes this using three specialized loss functions:
- Adversarial Loss: Ensures visual realism of the generated protein distributions.
- Gaussian Pyramid Loss: Evaluates similarity across multiple spatial scales, relaxing the alignment constraint.
- Patch-wise Contrastive Loss: Ensures corresponding patches in generated and real images are close in an embedding space, preserving structural context.
Crucially, the model predicts all 11 markers simultaneously. This multiplex approach allows the network to learn and exploit biological correlations—for instance, recognizing that a cell with lymphocyte morphology expressing CD3 is likely to express CD8a but not the tumor marker MelanA. Interestingly, the authors found that end-to-end training outperformed the use of general-purpose pathology foundation models, suggesting that generative tasks require finer spatial details than those captured by high-level feature extractors.
Experimental Results and Validation
The framework was rigorously evaluated using the Tumor Profiler (TuPro) dataset of metastatic melanoma and validated on independent cohorts like TCGA-SKCM. HistoPlexer consistently outperformed baseline methods (e.g., Pix2pix) in terms of perceptual similarity (MS-SSIM) and signal fidelity (PSNR).
In a "pathology Turing test" (HYPE framework), domain experts mistook generated images for real ones over 60% of the time for lymphocyte markers and over 70% for tumor markers. Beyond visual fidelity, the generated multiplexes demonstrated significant clinical utility. Integrating HistoPlexer-generated features with standard H&E features improved survival prediction (3.18% increase in C-index) and immune subtype classification (17.02% boost in F1-score) on the TCGA dataset. The model also successfully preserved spatial co-localization patterns, which are vital for studying cellular interactions within the TME.
Discussion and Conclusion
While HistoPlexer represents a major advance, it faces limitations in distinguishing cell types with highly similar H&E morphologies, such as B cells and certain T cell subsets. Future work aims to expand the marker panel to rarer cell types and explore newer architectures like diffusion models to further improve generation quality. By enabling whole-slide protein multiplexing from routine H&E images, HistoPlexer offers a scalable, cost-effective approach to TME characterization, with the potential to significantly enhance precision oncology and clinical decision-making.
Summary updated