TrajOnco: a multi-agent framework for temporal reasoning over longitudinal EHR for multi-cancer early detection

IF 18 1区 医学 Q1 HEALTH CARE SCIENCES & SERVICES
Sihang Zeng,Young Won Kim,Wilson Lau,Ehsan Alipour,Ruth Etzioni,Meliha Yetisgen,Anand Oka
{"title":"TrajOnco: a multi-agent framework for temporal reasoning over longitudinal EHR for multi-cancer early detection","authors":"Sihang Zeng,Young Won Kim,Wilson Lau,Ehsan Alipour,Ruth Etzioni,Meliha Yetisgen,Anand Oka","doi":"10.1038/s41746-026-03377-9","DOIUrl":null,"url":null,"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.","PeriodicalId":19349,"journal":{"name":"NPJ Digital Medicine","volume":"11 1","pages":""},"PeriodicalIF":18.0000,"publicationDate":"2026-10-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"NPJ Digital Medicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1038/s41746-026-03377-9","RegionNum":1,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"HEALTH CARE SCIENCES & SERVICES","Score":null,"Total":0}
引用次数: 0

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.
TrajOnco:用于多种癌症早期检测的纵向电子病历时间推理的多智能体框架
从纵向电子健康记录(EHRs)中准确估计癌症风险可以支持早期检测和改善护理,但对如此复杂的患者轨迹进行建模仍然具有挑战性。我们提出了TrajOnco,一个无需训练的多智能体大语言模型(LLM)框架,专为可扩展的多种癌症早期检测而设计。TrajOnco使用具有长期记忆的代理链架构,对连续的临床事件进行时间推理,生成患者级总结、证据相关的基本原理和预测的风险评分。我们使用匹配的病例对照队列对TrajOnco在15种癌症类型的去识别Truveta EHR数据进行评估,预测1年后癌症诊断的风险。在零射击评估中,TrajOnco实现了0.64-0.80的auroc,在肺癌基准中表现与监督机器学习相当,同时表现出比单智能体llm更好的时间推理。多智能体设计还可以对GPT-4.1-mini等容量较小的模型进行有效的时间推理。TrajOnco输出的根基性得到了人类评估的支持。此外,TrajOnco的可解释推理输出可以汇总,以揭示与已建立的临床知识相一致的人群水平的风险模式。这些发现突出了多代理llm在纵向电子病历上执行可解释的时间推理的潜力,促进了可扩展的多癌症早期检测和临床见解的产生。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
25.10
自引率
3.30%
发文量
170
审稿时长
15 weeks
期刊介绍: npj Digital Medicine is an online open-access journal that focuses on publishing peer-reviewed research in the field of digital medicine. The journal covers various aspects of digital medicine, including the application and implementation of digital and mobile technologies in clinical settings, virtual healthcare, and the use of artificial intelligence and informatics. The primary goal of the journal is to support innovation and the advancement of healthcare through the integration of new digital and mobile technologies. When determining if a manuscript is suitable for publication, the journal considers four important criteria: novelty, clinical relevance, scientific rigor, and digital innovation.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书