Prompts to Table: Specification and Iterative Refinement for Clinical Information Extraction with Large Language Models.

David Hein, Alana Christie, Michael Holcomb, Bingqing Xie, A J Jain, Joseph Vento, Neil Rakheja, Ameer Hamza Shakur, Scott Christley, Lindsay G Cowell, James Brugarolas, Andrew Jamieson, Payal Kapur
{"title":"Prompts to Table: Specification and Iterative Refinement for Clinical Information Extraction with Large Language Models.","authors":"David Hein, Alana Christie, Michael Holcomb, Bingqing Xie, A J Jain, Joseph Vento, Neil Rakheja, Ameer Hamza Shakur, Scott Christley, Lindsay G Cowell, James Brugarolas, Andrew Jamieson, Payal Kapur","doi":"10.1101/2025.02.11.25322107","DOIUrl":null,"url":null,"abstract":"<p><p>Extracting structured data from free-text medical records at scale is laborious, and traditional approaches struggle in complex clinical domains. We present a novel, end-to-end pipeline leveraging large language models (LLMs) for highly accurate information extraction and normalization from unstructured pathology reports, focusing initially on kidney tumors. Our innovation combines flexible prompt templates, the direct production of analysis-ready tabular data, and a rigorous, human-in-the-loop iterative refinement process guided by a comprehensive error ontology. Applying the finalized pipeline to 2,297 kidney tumor reports with pre-existing templated data available for validation yielded a macro-averaged F1 of 0.99 for six kidney tumor subtypes and 0.97 for detecting kidney metastasis. We further demonstrate flexibility with multiple LLM backbones and adaptability to new domains utilizing publicly available breast and prostate cancer reports. Beyond performance metrics or pipeline specifics, we emphasize the critical importance of task definition, interdisciplinary collaboration, and complexity management in LLM-based clinical workflows.</p>","PeriodicalId":94281,"journal":{"name":"medRxiv : the preprint server for health sciences","volume":" ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2025-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11844613/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"medRxiv : the preprint server for health sciences","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1101/2025.02.11.25322107","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Extracting structured data from free-text medical records at scale is laborious, and traditional approaches struggle in complex clinical domains. We present a novel, end-to-end pipeline leveraging large language models (LLMs) for highly accurate information extraction and normalization from unstructured pathology reports, focusing initially on kidney tumors. Our innovation combines flexible prompt templates, the direct production of analysis-ready tabular data, and a rigorous, human-in-the-loop iterative refinement process guided by a comprehensive error ontology. Applying the finalized pipeline to 2,297 kidney tumor reports with pre-existing templated data available for validation yielded a macro-averaged F1 of 0.99 for six kidney tumor subtypes and 0.97 for detecting kidney metastasis. We further demonstrate flexibility with multiple LLM backbones and adaptability to new domains utilizing publicly available breast and prostate cancer reports. Beyond performance metrics or pipeline specifics, we emphasize the critical importance of task definition, interdisciplinary collaboration, and complexity management in LLM-based clinical workflows.

Abstract Image

Abstract Image

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
表格提示:大型语言模型临床信息提取的规范和迭代改进。
背景:从自由文本医疗记录中提取结构化数据是费力且容易出错的。传统的基于规则的神经网络方法和早期的神经网络方法经常与领域复杂性作斗争,并且需要大量的调优。大型语言模型(llm)提供了一个很有前途的解决方案,但必须针对细微的临床知识和复杂的多部分实体进行定制。方法:我们开发了一个灵活的端到端LLM管道,从病理报告中提取诊断、每个标本的解剖部位、手术、组织学和详细的免疫组织化学结果。为152个肾肿瘤报告的开发集创建经过验证的参考注释的人在循环过程指导迭代管道优化。为了推动细致的性能评估,我们开发了一个全面的错误本体——根据临床意义(主要与次要)、来源(LLM、手动注释或不充分的说明)和上下文来源进行分类。最终确定的管道应用于3,520份内部报告(其中2,297份具有预先存在的模板数据以供交叉参考),并使用53份公开的乳腺癌病理报告评估适应性。结果:经过6次迭代,开发集的主要LLM误差下降到0.99%(14/1413个实体)。我们确定了并发症产生的11个关键背景,包括病史整合、实体链接和规格粒度,这为理解我们的研究目标提供了有价值的见解。使用现有的模板数据作为交叉参考,我们获得了识别六种肾肿瘤亚型的宏观平均F1评分为0.99,检测转移的宏观平均F1评分为0.97。当适应于乳房数据集时,需要三次迭代才能与特定领域的指令保持一致,与策划数据的一致性达到89%。结论:这项工作表明,基于llm的提取管道可以在精心构建的指令和特定的目标下达到接近专家水平的准确性。除了原始的性能指标,迭代过程本身——平衡特异性和临床相关性——被证明是必不可少的。这种方法为将新兴LLM功能应用于其他复杂的临床信息提取任务提供了可转移的蓝图。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
US Overdose Mortality Saw First Drop Below the Jalal-Burke Exponential Growth Curve in 2024. Suicidal thoughts and behaviours in Cape Town: a cross-sectional study of prevalence, social, contextual, and clinical correlates. Melanocyte loss dominates the vitiligo transcriptome: a rank-based meta-analysis. Fatigue Links Sociodemographic Risk to Pain Intensity and Spread in Two Surgical Cohorts. The Neuroendocrine Profile During the Trier Social Stress Test in College Freshmen Offers Insights into the Emergence of Anxiety and Depression Symptoms.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1