TwinWeaver: An LLM-Based Foundation Model Framework for Pan-Cancer Digital Twins
Abstract
Precision oncology requires forecasting clinical events and trajectories, yet modeling sparse, multi-modal clinical time series remains a critical challenge. We introduce TwinWeaver, an open-source framework that serializes longitudinal patient histories into text, enabling unified event prediction as well as forecasting with large language models, and use it to build Genie Digital Twin (GDT) on 93,054 patients across 20 cancer types. In benchmarks, GDT significantly reduces forecasting error, achieving a median Mean Absolute Scaled Error (MASE) of 0.87 compared to 0.97 for the strongest time-series baseline (p
Fields of Study & Subjects
Machine Learning in Healthcare
Artificial Intelligence in Healthcare and Education
Radiomics and Machine Learning in Medical Imaging
Publication details
- Journal / source
- arXiv (Cornell University)
- Publication date
- 28 January 2026
- Document type
- Preprint