Leveraging Large Language Models with Sequential Prompting to Extract Eye Examination Findings from Free-Text Ophthalmology Notes

作者
Franklin Y. Ruan,Justin W. Lam,Houri Esmaeilkhanian,Robert T. Chang,Sophia Ying Wang
出处
期刊:Ophthalmology science [Elsevier BV]
卷期号:6 (1): 100944-100944 被引量:1
标识
DOI:10.1016/j.xops.2025.100944
摘要

Purpose: The purpose of this study was to evaluate the ability of general domain large language models (LLMs) to identify slit lamp and fundus examination (FE) findings from free-text clinical notes in electronic health records. Design: Retrospective cohort study. Participants: Data were obtained from the Stanford Research Repository, which contains progress notes of patients from the Department of Ophthalmology at Stanford University since 2008. Methods: We assessed a local LLM pipeline, using a novel sequential named entity recognition (NER) prompting approach, for identifying eye examination findings and their lateralities from free-text clinical notes at a single academic center. We compared several local open-source LLMs, including Mistral Nemo 12B, Llama 3.1 8B, and a quantized Llama 3.1 70B. Results were compared to those from a prior study that evaluated Bidirectional Encoder Representations from Transformers (BERT) models fine-tuned on 31 279 weakly labeled ophthalmology progress notes. Testing was conducted on 2 sets: (1) SmartLink-300 templated ophthalmology notes (>5900 entities) and (2) free-text-200 unstructured notes (>3000 entities) from 3 ophthalmologists. Main Outcome Measures: Precision, recall, and F1 score for each component in the SLE and FE. Results: Llama 3.1 70B was the top-performing model for identifying eye examination findings from SmartLink notes, achieving a microaveraged precision of 0.95, recall of 0.90, and F1 score of 0.92. Llama 3.1 70B performed consistently well across different components of the eye examination, with a microaveraged F1 score of 0.94 for the FE and 0.91 for SLE. For the free-text notes, where fine-tuning a BERT model was not possible, Llama 3.1 70B achieved microaveraged F1 scores of 0.93 with ophthalmologist A notes, 0.94 with ophthalmologist B notes, and 0.96 with ophthalmologist C notes. Conclusions: Sufficiently large LLMs, with our sequential prompting approach, outperformed or performed comparably to BERT models fine-tuned on >30 000 examples on the NER task and demonstrated flexibility by performing robustly on data sets BERT could not be fine-tuned on. Our findings suggest LLMs are capable of efficient, automated, and accurate extraction of relevant information from ophthalmology free-text progress notes. Financial Disclosures: Proprietary or commercial disclosure may be found in the Footnotes and Disclosures at the end of this article.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
wellforever完成签到 ,获得积分10
刚刚
CodeCraft的应助被qiushui采纳,获得10
1秒前
Cc发布了新的文献求助10
1秒前
2秒前
杨杨发布了新的文献求助10
2秒前
kemengnan发布了新的文献求助10
2秒前
土豆完成签到,获得积分10
2秒前
3秒前
春暖花开完成签到 ,获得积分10
3秒前
蒋欣欣完成签到,获得积分10
3秒前
Hello的应助被springsun采纳,获得10
4秒前
米九发布了新的文献求助10
4秒前
JJ完成签到 ,获得积分10
4秒前
xuan发布了新的文献求助10
4秒前
4秒前
避橙完成签到,获得积分10
5秒前
5秒前
5秒前
XKQ完成签到,获得积分10
5秒前
张弓完成签到,获得积分10
5秒前
过时的不评完成签到,获得积分10
6秒前
kyt完成签到,获得积分10
6秒前
怀海的鱼完成签到,获得积分10
6秒前
墨落成白完成签到,获得积分10
6秒前
知行完成签到,获得积分0
6秒前
alandan发布了新的文献求助10
7秒前
7秒前
lm完成签到,获得积分10
7秒前
jinhuanghuiyu发布了新的文献求助10
8秒前
8秒前
syu完成签到 ,获得积分10
8秒前
李爱国的应助被泡芙大王采纳,获得10
8秒前
千千浅完成签到,获得积分10
8秒前
xx完成签到,获得积分10
9秒前
可靠衬衫发布了新的文献求助10
9秒前
精明的乐菱完成签到,获得积分10
9秒前
TopBanana完成签到 ,获得积分10
9秒前
清风挽歌完成签到,获得积分10
9秒前
紧张的绮玉完成签到 ,获得积分10
9秒前
9秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Energie-Contracting 1500
Spec 401: Standards for Jet Fuel Facility and Equipment Commissioning and Flushing at Airports, 2026.1 (Original Issue) 1000
Spec 103: Standard for Jet Fuel Quality Control at Airports, Revision 2026.1 1000
Mathematical models in hydrology 1000
Klimaschutzrecht durch den Energiesektor im Mehrebenensystem – Ein Rechtsvergleich 1000
Introduction to Industrial/Organizational Psychology 800
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8092003
求助须知:如何正确求助?哪些是违规求助? 9504347
关于积分的说明 21440885
捐赠科研通 7664248
什么是DOI,文献DOI怎么找? 3405097
关于科研通互助平台的介绍 2533466
邀请新用户注册赠送积分活动 2443883