TrajOnco: a multi-agent framework for temporal reasoning over longitudinal EHR for multi-cancer early detection
Sihang Zeng, Young Won Kim, Wilson Lau, Ehsan Alipour, Ruth Etzioni, Meliha Yetisgen, Anand Oka
Key points
From the paper's conclusion- We developed TrajOnco, a training-free, multi-agent large language model (LLM) framework for multi-cancer early detection using longitudinal EHR data across 15 cancer types with matched case-control cohorts.
- TrajOnco achieved AUROCs of 0.64–0.80 in zero-shot evaluation, performing comparably to supervised machine learning in a lung cancer benchmark and better than single-agent LLMs in temporal reasoning.
- The groundedness of TrajOnco’s output was supported by human evaluation, and its interpretable reasoning outputs can reveal population-level risk patterns aligned with clinical knowledge.
Abstract
Abstract Accurate estimation of cancer risk from longitudinal electronic health records (EHRs) could support earlier detection and improved care, but modeling such complex patient trajectories remains challenging. We present TrajOnco, a training-free, multi-agent large language model (LLM) framework designed for scalable multi-cancer early detection. Using a chain-of-agents architecture with long-term memory, TrajOnco performs temporal reasoning over sequential clinical events to generate patient-level summaries, evidence-linked rationales, and predicted risk scores. We evaluated TrajOnco on de-identified Truveta EHR data across 15 cancer types using matched case-control cohorts, predicting risk of cancer diagnosis at 1 year. In zero-shot evaluation, TrajOnco achieved AUROCs of 0.64–0.80, performing comparably to supervised machine learning in a lung cancer benchmark while demonstrating better temporal reasoning than single-agent LLMs. The multi-agent design also enabled effective temporal reasoning with smaller-capacity models such as GPT-4.1-mini. The groundedness of TrajOnco’s output was supported by human evaluation. Furthermore, TrajOnco’s interpretable reasoning outputs can be aggregated to reveal population-level risk patterns that align with established clinical knowledge. These findings highlight the potential of multi-agent LLMs to execute interpretable temporal reasoning over longitudinal EHRs, advancing both scalable multi-cancer early detection and clinical insight generation.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- We developed TrajOnco, a training-free, multi-agent large language model (LLM) framework for multi-cancer early detection using longitudinal EHR data across 15 cancer types with matched case-control cohorts.
- TrajOnco achieved AUROCs of 0.64–0.80 in zero-shot evaluation, performing comparably to supervised machine learning in a lung cancer benchmark and better than single-agent LLMs in temporal reasoning.
- The groundedness of TrajOnco’s output was supported by human evaluation, and its interpretable reasoning outputs can reveal population-level risk patterns aligned with clinical knowledge.
Readers' thoughts
No reader thoughts yet.
Related papers
- Identifying cohorts at elevated risk of cancers using generative modeling of patient health statesmedRxiv · 2026
- Oncology LLM evaluation: From benchmark performance to clinical readiness.Cell reports. Medicine · 2026
- EPCO-41 Large Language Model (LLM) extraction of a large deeply annotated neuro-oncology cohort reveals clinically and biologically relevant treatment associationsNeuro-Oncology · 2026
- Scaling large language model-assisted line-of-therapy adjudication with human-in-the-loop evidence-calibrated selectionarXiv · 2026
- EvoMDT: a self-evolving multi-agent system for structured clinical decision-making in multi-cancernpj Digital Medicine · 2026
- Transforming oncology clinical trial matching through neuro-symbolic, multi-agent AI and an oncology-specific knowledge graph: a prospective evaluation in 3804 patientsESMO Real World Data and Digital Oncology · 2026