Histopathology-based protein multiplex generation using deep learning

Sonali Andani, Boqi Chen, Joanna Ficek-Pascual, Simon Heinke, Ruben Casanova, Bernard Friedrich Hild, Bettina Sobottka, Bernd Bodenmiller, Ruedi Aebersold, Gunnar Rätsch, Faisal Alquaddoomi, Silvana I. Albert, Jonas Albinus, Ilaria Alborelli, Per-Olof Attinger, Marina Bacac, Daniel Baumhoer, Beatrice Beck‐Schimmer, Niko Beerenwinkel, Christian Beisel, Lara Bernasconi, Anne Bertolini, Ximena Bonilla, Lars Bosshard, Byron Calgua, Stéphane Chevrier, Natalia Chicherova, Ricardo Coelho, Maya D’Costa, Esther Danenberg, Natalie R. Davidson, Monica-Andreea Baciu-Drăgan, Reinhard Dummer, Stefanie Engler, Martin Erkens, Katja Eschbach, Cinzia Esposito, André Fedier, Pedro Ferreira, Anja Frei, Bruno S. Frey, Sandra Goetze, Linda Grob, Gabriele Gut, Detlef Günther, Pirmin Haeuptle, Viola Heinzelmann‐Schwarz, Sylvia Herter, René Holtackers, Tamara Huesser, Alexander Immer, Anja Irmisch, Francis Jacob, Alice K. Jacobs, Tim M. Jaeger, Katharina Jahn, Alva Rani James, Philip Jermann, André Kahles, Abdullah Kahraman, Viktor H. Koelzer, Werner Kuebler, Jack Kuipers, Christian P. Kunze, Christian Kurzeder, Kjong-Van Lehmann, Mitchell P. Levesque, Ulrike Lischetti, Flavio C. Lombardo, Sebastian Lugert, Gerd Maass, Markus G. Manz, Philipp Markolin, Martin Mehnert, Julien Mena, Julian M. Metzler, Nicola Miglino, Emanuela S. Milani, Holger Moch, Simone Muenst, Riccardo Murri, Charlotte K.y. Ng, Stefan Nicolet, Marta Nowak, Mónica Núñez López, Patrick G. A. Pedrioli, Lucas Pelkmans, Salvatore Piscuoglio, Michael Prummer, Laurie Prélot, Natalie Rimmer, Mathilde Ritter, Christian Rommel, Mara L. Rosano-González, Natascha SantacroceNature Machine Intelligence 2025

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:

  1. Adversarial Loss: Ensures visual realism of the generated protein distributions.
  2. Gaussian Pyramid Loss: Evaluates similarity across multiple spatial scales, relaxing the alignment constraint.
  3. 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.

Overview of the HistoPlexer workflow and its specialized objective functions.

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.

Visual comparison between ground truth (GT) IMC and HistoPlexer predictions (Pred) across multiple markers and tissue regions.

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

BibTeX
@inproceedings{andani2025histopathology,
  author = {Sonali Andani and Boqi Chen and Joanna Ficek-Pascual and Simon Heinke and Ruben Casanova and Bernard Friedrich Hild and Bettina Sobottka and Bernd Bodenmiller and Ruedi Aebersold and Gunnar Rätsch and Faisal Alquaddoomi and Silvana I. Albert and Jonas Albinus and Ilaria Alborelli and Sonali Andani and Per-Olof Attinger and Marina Bacac and Daniel Baumhoer and Beatrice Beck‐Schimmer and Niko Beerenwinkel and Christian Beisel and Lara Bernasconi and Anne Bertolini and Bernd Bodenmiller and Ximena Bonilla and Lars Bosshard and Byron Calgua and Ruben Casanova and Stéphane Chevrier and Natalia Chicherova and Ricardo Coelho and Maya D’Costa and Esther Danenberg and Natalie R. Davidson and Monica-Andreea Baciu-Drăgan and Reinhard Dummer and Stefanie Engler and Martin Erkens and Katja Eschbach and Cinzia Esposito and André Fedier and Pedro Ferreira and Joanna Ficek-Pascual and Anja Frei and Bruno S. Frey and Sandra Goetze and Linda Grob and Gabriele Gut and Detlef Günther and Pirmin Haeuptle and Viola Heinzelmann‐Schwarz and Sylvia Herter and René Holtackers and Tamara Huesser and Alexander Immer and Anja Irmisch and Francis Jacob and Alice K. Jacobs and Tim M. Jaeger and Katharina Jahn and Alva Rani James and Philip Jermann and André Kahles and Abdullah Kahraman and Viktor H. Koelzer and Werner Kuebler and Jack Kuipers and Christian P. Kunze and Christian Kurzeder and Kjong-Van Lehmann and Mitchell P. Levesque and Ulrike Lischetti and Flavio C. Lombardo and Sebastian Lugert and Gerd Maass and Markus G. Manz and Philipp Markolin and Martin Mehnert and Julien Mena and Julian M. Metzler and Nicola Miglino and Emanuela S. Milani and Holger Moch and Simone Muenst and Riccardo Murri and Charlotte K.Y. Ng and Stefan Nicolet and Marta Nowak and Mónica Núñez López and Patrick G. A. Pedrioli and Lucas Pelkmans and Salvatore Piscuoglio and Michael Prummer and Laurie Prélot and Natalie Rimmer and Mathilde Ritter and Christian Rommel and Mara L. Rosano-González and Gunnar Rätsch and Natascha Santacroce},
  title = {{Histopathology-based protein multiplex generation using deep learning}},
  booktitle = {Nature Machine Intelligence},
  year = {2025},
  doi = {10.1038/s42256-025-01074-y},
}
Figure