arXiv:2608.24688cs.LGAug 2026

Manuscript Offprint

arXiv:2608.24688

A Multimodal Foundation Model for Longitudinal Patient Representation and Scalable Insight Generation in Oncology

Eugene Vorontsov, Yi Kan Wang, Alican Bozkurt, Adam Casson, Ludmila Tydlitatova, Michal Zelechowski, Ezra E. W. Cohen, Jyoti D. Patel, Max Banaszak, Caitlin McWilliams, Shane Colley, Kate Sasser, Ryan Fukushima, Eric Lefkofsky, Razik Yousfi, Siqi Liu

Abstract

Precision oncology necessitates a longitudinal model of patient state that captures cancer evolution and treatment over time, integrating multimodal observations. We introduce the oFM, a foundation model developed on a real-world oncology cohort of 1.67 million cancer patients that integrates clinical trajectories with DNA, RNA, and H&E pathology. Patient-level partitions were reserved for training, validation, and testing, with over one million patients used for training. The oFM encodes daily clinical and molecular episodes and, along with pathology images, integrates them over time to produce a patient state embedding. We evaluate frozen oFM embeddings against expert-curated clinical and molecular baseline features. In prognostic benchmarks, the oFM improved AUC for treatment response, progression-free survival, and overall survival (0.774 vs. 0.563 for overall survival). Across 11 comparative-treatment cohorts, the oFM embeddings achieved a three-fold higher pooled and scale-normalized treatment-benefit AUTOC than baseline features with improved benefit ranking in 9 of 11 cohorts, and provided stronger prognostic discrimination within both treatment arms. We also evaluated a mechanism discovery framework that interprets downstream models built on oFM embeddings by linking their predicted outcomes to clinically and biologically grounded mechanisms through an evidence-grounded temporal graph, enabling evaluation in clinical and drug-development applications.

This is a living preprint describing preliminary work and will be updated as more analyses and results mature.

1 Introduction

Oncology is a longitudinal study. Treatment must adapt to evolving patient states [Murphy, 2003, Chakraborty and Murphy, 2014, Strobl et al., 2023]. However, routine clinical decision systems using clinical variables and biomarkers remain static snapshots that ignore the dynamic cancer behavior that drives metastatic potential, treatment response or resistance, and toxicity burden. Furthermore, while foundation models have revolutionized representation learning within individual biomedical modalities, including pathology [Vorontsov et al., 2024, Chen et al., 2024, Zimmermann et al., 2024, Vorontsov et al., 2026], genomics [Brixi et al., 2026, Theodoris et al., 2023], clinical text [Yang et al., 2022], and structured electronic health records (EHR) [Guo et al., 2024], simply assembling modality-specific encoders fails to capture how biology and health evolve over time and across interventions. A foundation model for precision oncology must handle longitudinal data and support the development of predictive biomarkers, not only prognostic biomarkers. Predictive biomarkers quantify differential treatment benefit whereas prognostic biomarkers estimate risk independent of treatment and may identify patients with aggressive disease without revealing which treatment could alter their trajectory [Ballman, 2015].

We introduce the oFM, a longitudinal multimodal foundation model for oncology (Figure 1). The oFM integrates Tempus-curated longitudinal records with patient-linked molecular profiles and H&E pathology embeddings. Diverse clinical and molecular events such as laboratory measurements, diagnoses, procedures, treatments, and DNA and RNA biomarkers, are decomposed into atomic facts. Facts are aggregated into daily episodes, embedded with a finetuned language model. A transformer-based trajectory encoder then integrates these episode-level and pathology embeddings to produce a patient trajectory embedding. These embeddings support multimodal patient subtyping, novel biomarker discovery, and scalable AI-enabled diagnostic development. We show that oFM embeddings significantly improve prognostic prediction and the prediction of treatment benefit over traditional clinical features and biomarkers in real-world comparative cohorts. Finally, we explore a mechanism-discovery framework that decomposes model predictions into attributed clinical and molecular features, sparse latent concepts, and evidence-grounded temporal relationships. By combining latent-space intervention with retrieval from biomedical knowledge sources, the framework organizes these signals into an interpretable temporal graph, providing additional oncology insights.

References (69)