使用大语言模型自动化从芬兰电子健康记录中检索临床信息
Automating Clinical Information Retrieval from Finnish Electronic Health Records Using Large Language Models
AI总结:
本文提出一种本地部署的临床上下文问答框架,通过EHR直接回答临床问题,验证了开源大语言模型在无外部数据传输情况下检索患者特定信息的准确性与可行性。
摘要:
临床医生常常需要从电子健康记录(EHR)中检索患者特定信息,这一任务耗时且易出错。我们提出了一种本地可部署的临床上下文问答(CCQA)框架,该框架可直接从EHR中回答临床问题,而无需外部数据传输。在完全离线条件下,使用1,664个专家标注的问题-答案对(来自183名患者的记录)对从4B到70B参数范围的开源大语言模型(LLMs)进行了基准测试。数据集主要由芬兰临床文本组成。在自由文本生成中,Llama-3.1-70B在语义等价的问题变体中实现了95.3%的准确率和97.3%的一致性,而较小的Qwen3-30B-A3B-2507模型也表现出相似的性能。在多项选择设置中,模型显示出相似的准确性,但校准程度有所不同。低精度量化(4位和8位)在保持预测性能的同时减少了GPU内存需求并提高了部署可行性。临床评估发现,在2.9%的输出中存在临床显著性错误,语义等价的问题偶尔会产生不一致的响应,包括一些情况,其中一种表述是正确的,而另一种包含临床显著性错误(0.96%的案例)。这些发现表明,本地托管的开源LLMs可以使用自然语言查询准确地从EHR中检索患者特定信息,同时强调了在临床部署中进行验证和人工监督的必要性。
英文摘要:
Clinicians often need to retrieve patient-specific information from electronic health records (EHRs), a task that is time-consuming and error-prone. We present a locally deployable Clinical Contextual Question Answering (CCQA) framework that answers clinical questions directly from EHRs without external data transfer. Open-source large language models (LLMs) ranging from 4B to 70B parameters were benchmarked under fully offline conditions using 1,664 expert-annotated question-answer pairs derived from records of 183 patients. The dataset consisted predominantly of Finnish clinical text. In free-text generation, Llama-3.1-70B achieved 95.3% accuracy and 97.3% consistency across semantically equivalent question variants, while the smaller Qwen3-30B-A3B-2507 model achieved comparable performance. In a multiple-choice setting, models showed similar accuracy but variable calibration. Low-precision quantization (4-bit and 8-bit) preserved predictive performance while reducing GPU memory requirements and improving deployment feasibility. Clinical evaluation identified clinically significant errors in 2.9% of outputs, and semantically equivalent questions occasionally yielded discordant responses, including instances where one formulation was correct and the other contained a clinically significant error (0.96% of cases). These findings demonstrate that locally hosted open-source LLMs can accurately retrieve patient-specific information from EHRs using natural-language queries, while highlighting the need for validation and human oversight in clinical deployment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。