Developing a pan-cancer foundation model for digital patient representation and clinical prediction across real-world oncology data.

e23012 Background: Foundation models in oncology (FM onc ) enable creation of unified digital patient representations that can adapt to diverse clinical and translational tasks. We developed a pan-cancer FM onc trained on large-scale real-world electronic health record (RWD) data and evaluated its utility across clinically relevant prediction tasks. Methods: The manually curated RWD Patient360 dataset, which included NSCLC, breast, colorectal, and prostate cancers, was used. FM onc is a time-aware Transformer-based model designed to capture longitudinal patient trajectories across visits. The model contains > 1.3B trainable parameters and a vocabulary of tokens representing clinical variables and allowable value classes, plus special tokens. Cohorts included NSCLC (N = 57,780), breast (N = 43,432), CRC (N = 18,521), and prostate cancer (N = 17,035), split into training (80%), validation (10%), and test (10%) sets. Masked-token self-supervised learning was used, with masking probability inversely proportional to variable prevalence to mitigate class imbalance. Trained FM onc embeddings were used as inputs to a lightweight XGBoost adapter for three downstream tasks: (1) mortality prediction, (2) cancer type classification, and (3) prediction of biomarker testing. Target events were excluded from inputs to prevent label leakage. Model performance was assessed using area under the curve (AUC) for binary outcomes and F1 score for multiclass tasks. Results: A total of ≈11.6M tokens (≈3850 tokens per patient) across 109,414 patients were used for FM training with convergence reaching 100 epochs. A NSCLC test set has the highest mortality rate of 66% while breast has the lowest with 22% and prostate and CRC ~40%. FM onc embeddings enabled high predictive performance across tasks. Test-set mortality prediction achieved across all cancer type AUC of 0.84-0.86. Cancer-type classification exhibited macro avg F1 of 0.98. Clustering embedding observed that breast and prostate are well separated in using LDA projection into 3D space while small overlap between CRC and NSCLC. In the biomarker testing task, FM onc embeddings accurately predicted testing utilization with macro-average F1 ≥0.95 across commonly ordered biomarkers, including NSCLC (e.g., EGFR, KRAS) and breast cancer (ER, PR, HER2). Lower performance (F1≈0.20–0.30) was observed for clinically selective, RNA-based genomic expression assays with low real-world utilization ( < 5%), reflecting sparse and site-dependent observation patterns in RWD rather than limitations of the learned patient representations. Conclusions: A pan-cancer FM onc trained on large-scale RWD generates compact digital patient representations that generalize across diverse downstream clinical tasks. The model demonstrates strong performance in survival-related prediction, cancer classification, and biomarker testing inference.

Authors

Institutions

Publication Details

Journal
Journal of Clinical Oncology
Published
2026-05-28
DOI
https://doi.org/10.1200/jco.2026.44.16_suppl.e23012
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Developing a pan-cancer foundation model for digital patient representation and clinical prediction across real-world oncology data.

Ian Ruchlin, Pyeush Gurha, Dhaval Parmar, Sharan Thummagunti et al.
Journal of Clinical Oncology
Machine Learning in Healthcare
article

Developing a pan-cancer foundation model for digital patient representation and clinical prediction across real-world oncology data.

Ian Ruchlin, Pyeush Gurha, Dhaval Parmar, Sharan Thummagunti, Stephen S. Yip
article en

Abstract

e23012 Background: Foundation models in oncology (FM onc ) enable creation of unified digital patient representations that can adapt to diverse clinical and translational tasks. We developed a pan-cancer FM onc trained on large-scale real-world electronic health record (RWD) data and evaluated its utility across clinically relevant prediction tasks. Methods: The manually curated RWD Patient360 dataset, which included NSCLC, breast, colorectal, and prostate cancers, was used. FM onc is a time-aware Transformer-based model designed to capture longitudinal patient trajectories across visits. The model contains > 1.3B trainable parameters and a vocabulary of tokens representing clinical variables and allowable value classes, plus special tokens. Cohorts included NSCLC (N = 57,780), breast (N = 43,432), CRC (N = 18,521), and prostate cancer (N = 17,035), split into training (80%), validation (10%), and test (10%) sets. Masked-token self-supervised learning was used, with masking probability inversely proportional to variable prevalence to mitigate class imbalance. Trained FM onc embeddings were used as inputs to a lightweight XGBoost adapter for three downstream tasks: (1) mortality prediction, (2) cancer type classification, and (3) prediction of biomarker testing. Target events were excluded from inputs to prevent label leakage. Model performance was assessed using area under the curve (AUC) for binary outcomes and F1 score for multiclass tasks. Results: A total of ≈11.6M tokens (≈3850 tokens per patient) across 109,414 patients were used for FM training with convergence reaching 100 epochs. A NSCLC test set has the highest mortality rate of 66% while breast has the lowest with 22% and prostate and CRC ~40%. FM onc embeddings enabled high predictive performance across tasks. Test-set mortality prediction achieved across all cancer type AUC of 0.84-0.86. Cancer-type classification exhibited macro avg F1 of 0.98. Clustering embedding observed that breast and prostate are well separated in using LDA projection into 3D space while small overlap between CRC and NSCLC. In the biomarker testing task, FM onc embeddings accurately predicted testing utilization with macro-average F1 ≥0.95 across commonly ordered biomarkers, including NSCLC (e.g., EGFR, KRAS) and breast cancer (ER, PR, HER2). Lower performance (F1≈0.20–0.30) was observed for clinically selective, RNA-based genomic expression assays with low real-world utilization ( < 5%), reflecting sparse and site-dependent observation patterns in RWD rather than limitations of the learned patient representations. Conclusions: A pan-cancer FM onc trained on large-scale RWD generates compact digital patient representations that generalize across diverse downstream clinical tasks. The model demonstrates strong performance in survival-related prediction, cancer classification, and biomarker testing inference.

Journal of Clinical OncologyVol. 44(16_suppl)
Concert Pharmaceuticals (United States) (US)
Good health and well-being
Openalex Percentile: Top 4%
Machine Learning in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.