Real-world deployment of a fine-tuned pathology foundation model for lung cancer biomarker detection

Gabriele Campanella, Neeraj Kumar, Shivani Nanda, Siddharth Singi, Eugene Fluder, Ricky Kwan, Silke Muehlstedt, Nicole Pfarr, Peter J. Schüffler, Ida Häggström, Noora Neittaanmäki, Levent M. Akyürek, Alina Basnet, Tamara Jamaspishvili, Michel R. Nasr, Matthew McKnight Croken, Fred R. Hirsch, Arielle Elkrief, Helena A. Yu, Orly Ardon, Gregory M. Goldgof, Meera Hameed, Jane Houldsworth, Maria E. Arcila, Thomas J. Fuchs, Chad VanderbiltNature Medicine 2025

Abstract

Artificial intelligence models using digital histopathology slides stained with hematoxylin and eosin offer promising, tissue-preserving diagnostic tools for patients with cancer. Despite their advantages, their clinical utility in real-world settings remains unproven. Assessing EGFR mutations in lung adenocarcinoma demands rapid, accurate and cost-effective tests that preserve tissue for genomic sequencing. PCR-based assays provide rapid results but with reduced accuracy compared with next-generation sequencing and require additional tissue. Computational biomarkers leveraging modern foundation models can address these limitations. Here we assembled a large international clinical dataset of digital lung adenocarcinoma slides (N = 8,461) to develop a computational EGFR biomarker. Our model fine-tunes an open-source foundation model, improving task-specific performance with out-of-center generalization and clinical-grade accuracy on primary and metastatic specimens (mean area under the curve: internal 0.847, external 0.870). To evaluate real-world clinical translation, we conducted a prospective silent trial of the biomarker on primary samples, achieving an area under the curve of 0.890. The artificial-intelligence-assisted workflow reduced the number of rapid molecular tests needed by up to 43% while maintaining the current clinical standard performance. Our retrospective and prospective analyses demonstrate the real-world clinical utility of a computational pathology biomarker.

Introduction

In lung adenocarcinoma (LUAD), identifying EGFR mutations is a critical step in determining treatment, as these patients often respond exceptionally well to tyrosine kinase inhibitors (TKIs). However, current clinical workflows face a significant "tissue-time" trade-off. Next-Generation Sequencing (NGS), the gold standard, typically takes 2–3 weeks and requires substantial tissue. Rapid PCR tests are faster (3–5 days) but still consume precious biopsy material. Given that lung biopsies are often small, up to 25% of samples fail molecular testing due to tissue exhaustion, potentially leaving patients without optimal therapy.

To address this, researchers developed EAGLE (EGFR AI Genomic Lung Evaluation), a computational biomarker designed to predict EGFR mutation status directly from standard hematoxylin and eosin (H&E)-stained pathology slides. This "dry" solution requires no additional tissue and provides results in minutes rather than weeks.

Methods and Study Design

The EAGLE model was developed by fine-tuning Prov-GigaPath, a 1.1-billion-parameter pathology foundation model pre-trained on billions of image patches. The architecture utilizes Gated Multiple Instance Learning (GMA) to aggregate features from thousands of patches into a single slide-level prediction.

Comparison of standard and AI-assisted clinical workflows for lung cancer diagnosis and biomarker detection.

The study leveraged a massive international dataset of 8,461 digital slides. Training and internal validation were conducted on 6,916 slides from Memorial Sloan Kettering Cancer Center (MSKCC). External validation included cohorts from Mount Sinai Health System, Sahlgrenska University Hospital, Technical University of Munich, and The Cancer Genome Atlas (TCGA). Crucially, the researchers conducted a prospective "silent trial" at MSKCC, where the model processed 197 primary lung samples in real-time as they were digitized, simulating a live clinical environment.

Performance and Clinical Utility

EAGLE demonstrated robust performance across various settings and institutions. It achieved an Area Under the Curve (AUC) of 0.847 in internal validation and 0.870 in external cohorts. Notably, the prospective silent trial yielded an AUC of 0.890, confirming the model's real-world utility.

ROC curves showing model performance across internal validation, external validation, pre-trial, and prospective silent trial cohorts.

The model's speed was a highlight, with a median turnaround time of just 44 minutes from digitization. Beyond raw accuracy, the study explored an "AI-assisted triage" workflow. By using the model to identify high-confidence cases, the need for intermediate rapid PCR tests could be reduced by up to 43%, thereby preserving tissue for comprehensive NGS. Performance varied by sample type, with primary lung tumors (AUC 0.90) outperforming metastatic samples (AUC 0.75), suggesting that the tumor microenvironment in metastatic sites may alter the visual features the AI detects.

Discussion and Future Directions

The success of EAGLE highlights the power of fine-tuned foundation models to generalize across different hospitals and scanner brands without site-specific retraining. While the drop in performance for metastatic samples is a limitation, it points toward the need for more diverse training data from various metastatic niches.

Furthermore, while EAGLE identifies the presence of an EGFR mutation, it does not yet specify the exact mutation type (e.g., Exon 19 deletion vs. L858R), which is necessary for specific TKI selection. Thus, the model is intended to complement, not replace, NGS. Future work will focus on expanding the model to other biomarkers like ALK and MET, and moving toward interventional trials where AI results actively guide clinical decisions.

Summary updated

BibTeX
@inproceedings{campanella2025real,
  author = {Gabriele Campanella and Neeraj Kumar and Shivani Nanda and Siddharth Singi and Eugene Fluder and Ricky Kwan and Silke Muehlstedt and Nicole Pfarr and Peter J. Schüffler and Ida Häggström and Noora Neittaanmäki and Levent M. Akyürek and Alina Basnet and Tamara Jamaspishvili and Michel R. Nasr and Matthew McKnight Croken and Fred R. Hirsch and Arielle Elkrief and Helena A. Yu and Orly Ardon and Gregory M. Goldgof and Meera Hameed and Jane Houldsworth and Maria E. Arcila and Thomas J. Fuchs and Chad Vanderbilt},
  title = {{Real-world deployment of a fine-tuned pathology foundation model for lung cancer biomarker detection}},
  booktitle = {Nature Medicine},
  year = {2025},
  doi = {10.1038/s41591-025-03780-x},
}
Figure