医学伦理研究助手
前沿
论文精读

预印本 · 建模 / 计算研究

更丰富的数据库上下文可提升大语言模型生成的电子健康记录表型算法质量

medRxiv · 2026年10月28日 · Ye 等 7 位作者

这是预印本,还没有经过同行评议预印本是作者先公开的稿件,结论可能在正式发表前被修改。
问这篇
一分钟了解要点给大语言模型更完整的数据库说明后,它写的糖尿病表型查询语句更易运行、更准确。结果背景信息有限时,合成数据中不到 55% 的输出、真实数据中没有任何输出能不经修改直接运行;提供详细数据字典后,可运行率升至合成数据 81.3%、真实数据 100%;召回率也从最低 0.01 升到合成数据 0.99 以上、真实数据 0.90 以上,但真实数据中的阳性预测值仍明显偏低,最好模型从合成数据的 0.99 降到真实数据的 0.64。

不需要生物学背景,多打比方

正在获取全文并生成讲解(拿不到全文就依据摘要)…

已等待 0 秒大约需要 10–20 秒

可以先看别的,做好了会自动出现在这里。

这篇还没有动画

动画会把研究的流程、作用机制和关键结果一步一步演示出来,每一步都标明出自原文哪里。制作大约需要一两分钟。

目前只拿到了摘要全文暂时拿不到(可能不是免费全文)。下面是论文摘要。

摘要Abstract

摘要第 1 段问这一段

Objective: To evaluate large language model (LLM) generation of type 2 diabetes (T2DM) phenotyping SQL and the effect of database implementation context. Materials and Methods: Eight publicly accessible LLM-based systems generated SQL under progressively richer prompts using synthetic and University of North Carolina (UNC) Health electronic health record (EHR) data, both based on the Observational Medical Outcomes Partnership (OMOP) model. Outputs were compared with the Electronic Medical Records and Genomics (eMERGE) T2DM reference phenotype using SQL executability, F1, positive predictive value (PPV), and recall. Results: Fewer than 55% of limited-context synthetic outputs and no limited-context UNC EHR outputs executed without modification. Detailed codebooks (L3) increased executability to 81.3% in synthetic OMOP and 100% in UNC EHR; adding sample rows (L4) increased synthetic executability to 100%. Limited-context recall was as low as 0.01, whereas high-context outputs achieved recall [≥]0.99 at synthetic L4 and >0.90 at UNC L3, although UNC PPV remained substantially lower than recall. At the highest available context levels, Beta F1 ranged from 0.72-0.99 in synthetic OMOP and 0.57-0.68 in UNC EHR; all UNC models exceeded the diagnosis-code baseline (F1=0.54). The top synthetic performer fell from F1=0.99 to 0.64 on UNC EHR. Discussion: Richer database context was associated with more consistent SQL executability and recall, while model rankings varied across datasets. Conclusion: LLMs can generate clinically meaningful T2DM phenotyping SQL when provided with sufficient database context, but limited PPV in real-world data underscores the need for local validation.

这篇对您:
讲解或动画有问题: