Abstract: Virtual staining for digital pathology has great potential to enable spatial biology research, improve efficiency and reliability in the clinical workflow, as well as conserve tissue samples in a non-destructive manner. In this study, we demonstrate the feasibility of generating virtual stains for hematoxylin and eosin (H&E) and a multiplex immunofluorescence (mIF) immuno-oncology panel (DAPI, PanCK, PD-L1, CD3, CD8) from autofluorescence images of unstained non-small cell lung cancer (NSCLC) tissue by combining high-throughput hyperspectral fluorescence microscopy and machine learning. The virtual stains reproduce key morphologic features and protein biomarker expressions at both tissue and cell levels compared to real stains, enabling the identification of key immune phenotypes important for immuno-oncology.
Introduction
In oncology, tissue is the ultimate currency, but it is a finite resource. Diagnosing NSCLC requires multiple stains: H&E for basic morphology and various immunohistochemistry (IHC) or immunofluorescence (IF) stains to identify biomarkers like PD-L1, which dictate treatment options. Traditional chemical staining is destructive, often rendering small biopsies unusable for further tests like genomic sequencing. Virtual staining—using AI to "see" structures in unstained tissue—offers a non-destructive alternative. While previous work focused on H&E or single IHC stains, this study tackles the complex challenge of virtualizing a multiplexed panel in lung cancer.
Methodology: Hyperspectral Imaging and Pseudo-IHC
The researchers utilized a robust dataset of FFPE tissue blocks from 448 NSCLC participants. They employed hyperspectral autofluorescence (AF) imaging, capturing 20 channels of natural light emitted by tissue. This high-dimensional "fingerprint" serves as input for a Generative Adversarial Network (GAN) with a modified "pix2pix" architecture.
A key technical innovation is the use of "Pseudo-IHC" (pIHC) as an intermediate representation. Instead of training the model to predict raw fluorescence signals directly, it was trained to predict pIHC images—digital renderings that look like traditional brightfield IHC. This approach leverages morphological patterns familiar to pathology datasets, resulting in higher-quality virtual stains than direct fluorescence prediction.
Key Results and Clinical Relevance
The system demonstrated high accuracy across multiple metrics. Virtual H&E stains achieved Dice scores > 0.8 for combined tumor and leukocyte aggregates. For the mIF panel, structural markers like PanCK (0.96) and CD3 (0.89) showed strong Pearson correlations between virtual and real stains.
Crucially, the virtual stains were accurate enough to identify "immune phenotypes," distinguishing between "immune inflamed" (T cells infiltrating the tumor) and "immune desert" tumors. The Combined Positive Score (CPS) for PD-L1—a key metric for immunotherapy eligibility—showed a correlation of 0.71, which falls within the range of typical inter-pathologist agreement (0.52 - 0.74).
Discussion and Future Outlook
While the model performed well for morphology and immune cell biomarkers, it faced challenges with CD8+ cells due to background noise in ground-truth stains. Additionally, predicting biomarker expression in highly dysregulated tumor cells remains more difficult than in immune cells. Future work will include human reader studies to confirm that pathologists can make the same diagnostic decisions using virtual slides as they do with real ones. This study successfully demonstrates the generalizability of virtual staining from autofluorescence to complex multiplexed panels, providing a powerful tool for spatial biology and clinical diagnostics.
Summary updated