Abstract
Multiplexed protein imaging offers valuable insights into interactions between tumors and their surrounding tumor microenvironment (TME), but its widespread use is limited by cost, time, and tissue availability. We present HistoPlexer, a deep learning framework that generates spatially resolved protein multiplexes directly from standard hematoxylin and eosin (H&E) histopathology images. HistoPlexer jointly predicts multiple tumor 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 on 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 tumors 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 tumor microenvironment characterization with strong potential to advance precision oncology.
Introduction
In cancer diagnostics, Hematoxylin & Eosin (H&E) staining remains the gold standard due to its low cost and ability to reveal tissue morphology. However, it lacks the specificity required to characterize complex protein expressions within the tumor microenvironment (TME). To visualize these, researchers use Imaging Mass Cytometry (IMC), which can track up to 40 proteins simultaneously. However, IMC is expensive, slow, and typically restricted to small Regions of Interest (RoIs).
A significant challenge in training AI to predict IMC from H&E is the misalignment of consecutive tissue slices. Because tissue is three-dimensional, H&E and IMC stains performed on adjacent slices never align perfectly at the pixel level. Standard training methods often fail under these conditions, resulting in blurry or biologically inaccurate predictions.
Methods
We introduce HistoPlexer, a conditional Generative Adversarial Network (cGAN) designed for multiplexed protein prediction. Unlike "singleplex" methods that train separate models for each protein, HistoPlexer predicts multiple markers simultaneously, leveraging underlying biological correlations.
Technical Innovations
- Adaptive Contrastive Perceptual (ACP) Loss: To address slice-to-slice misalignment, ACP loss utilizes contrastive learning in a high-dimensional feature space. It adaptively weights patches based on similarity, allowing the model to learn biological patterns without requiring perfect pixel alignment.
- Joint Learning (Multiplexing): By training on all markers at once, the network captures co-localization patterns (e.g., immune markers appearing together), which improves the prediction of sparse markers.
- Multi-scale Architecture: The generator employs a modified U-Net, while a multi-scale discriminator ensures both fine-grained details and global tissue structures are preserved.
Results
HistoPlexer was evaluated on a dataset of 78 metastatic melanoma patients, targeting 10 protein markers including tumor (MelanA, S100), immune (CD3, CD8a, CD20, CD16), and functional (HLA-ABC, HLA-DR) markers.
Image Quality and Biological Fidelity
HistoPlexer consistently outperformed baselines such as Pix2pix and PyramidP2P. It achieved superior statistical similarity to real IMC data, with the lowest FID (5.489) and KID (0.034). Visually, the generated maps maintain high fidelity to ground truth structures.
Furthermore, the model excelled at capturing protein co-expression, achieving a significantly lower Normalized Mean Square Error (NMSE of 0.007) for Spearman correlations between protein pairs. This indicates that the "biological logic" of the tissue is preserved.
Clinical Application: Whole-Slide Stratification
The framework's scalability allows it to process a massive Whole-Slide Image (WSI) in under 8 minutes on a standard GPU. This enables the stratification of tumors into "immune cold" (immune cells excluded) and "immune hot" (infiltrated) subtypes at the whole-slide level, a critical factor for predicting immunotherapy response.
Discussion and Conclusion
HistoPlexer demonstrates that perceptual similarity is often more critical than pixel-perfect alignment when training on real-world histopathology data. While the model is highly effective at identifying broad cell types, future work will focus on distinguishing fine-grained cell subtypes and developing specialized feature encoders for multi-channel IMC data to further enhance inter-marker correlation capture. By providing a cost-effective way to generate high-dimensional protein maps from routine H&E slides, HistoPlexer represents a significant step toward accessible precision oncology.
Summary updated