Developing prompts from large language model for extracting clinical information from pathology and ultrasound reports in breast cancer.

Radiation oncology journal Pub Date : 2023-09-01 Epub Date: 2023-09-21 DOI:10.3857/roj.2023.00633
Hyeon Seok Choi, Jun Yeong Song, Kyung Hwan Shin, Ji Hyun Chang, Bum-Sup Jang
{"title":"Developing prompts from large language model for extracting clinical information from pathology and ultrasound reports in breast cancer.","authors":"Hyeon Seok Choi,&nbsp;Jun Yeong Song,&nbsp;Kyung Hwan Shin,&nbsp;Ji Hyun Chang,&nbsp;Bum-Sup Jang","doi":"10.3857/roj.2023.00633","DOIUrl":null,"url":null,"abstract":"<p><strong>Purpose: </strong>We aimed to evaluate the time and cost of developing prompts using large language model (LLM), tailored to extract clinical factors in breast cancer patients and their accuracy.</p><p><strong>Materials and methods: </strong>We collected data from reports of surgical pathology and ultrasound from breast cancer patients who underwent radiotherapy from 2020 to 2022. We extracted the information using the Generative Pre-trained Transformer (GPT) for Sheets and Docs extension plugin and termed this the \"LLM\" method. The time and cost of developing the prompts with LLM methods were assessed and compared with those spent on collecting information with \"full manual\" and \"LLM-assisted manual\" methods. To assess accuracy, 340 patients were randomly selected, and the extracted information by LLM method were compared with those collected by \"full manual\" method.</p><p><strong>Results: </strong>Data from 2,931 patients were collected. We developed 12 prompts for Extract function and 12 for Format function to extract and standardize the information. The overall accuracy was 87.7%. For lymphovascular invasion, it was 98.2%. Developing and processing the prompts took 3.5 hours and 15 minutes, respectively. Utilizing the ChatGPT application programming interface cost US $65.8 and when factoring in the estimated wage, the total cost was US $95.4. In an estimated comparison, \"LLM-assisted manual\" and \"LLM\" methods were time- and cost-efficient compared to the \"full manual\" method.</p><p><strong>Conclusion: </strong>Developing and facilitating prompts for LLM to derive clinical factors was efficient to extract crucial information from huge medical records. This study demonstrated the potential of the application of natural language processing using LLM model in breast cancer patients. Prompts from the current study can be re-used for other research to collect clinical information.</p>","PeriodicalId":94184,"journal":{"name":"Radiation oncology journal","volume":"41 3","pages":"209-216"},"PeriodicalIF":0.0000,"publicationDate":"2023-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ftp.ncbi.nlm.nih.gov/pub/pmc/oa_pdf/7d/b6/roj-2023-00633.PMC10556835.pdf","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Radiation oncology journal","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3857/roj.2023.00633","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2023/9/21 0:00:00","PubModel":"Epub","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Purpose: We aimed to evaluate the time and cost of developing prompts using large language model (LLM), tailored to extract clinical factors in breast cancer patients and their accuracy.

Materials and methods: We collected data from reports of surgical pathology and ultrasound from breast cancer patients who underwent radiotherapy from 2020 to 2022. We extracted the information using the Generative Pre-trained Transformer (GPT) for Sheets and Docs extension plugin and termed this the "LLM" method. The time and cost of developing the prompts with LLM methods were assessed and compared with those spent on collecting information with "full manual" and "LLM-assisted manual" methods. To assess accuracy, 340 patients were randomly selected, and the extracted information by LLM method were compared with those collected by "full manual" method.

Results: Data from 2,931 patients were collected. We developed 12 prompts for Extract function and 12 for Format function to extract and standardize the information. The overall accuracy was 87.7%. For lymphovascular invasion, it was 98.2%. Developing and processing the prompts took 3.5 hours and 15 minutes, respectively. Utilizing the ChatGPT application programming interface cost US $65.8 and when factoring in the estimated wage, the total cost was US $95.4. In an estimated comparison, "LLM-assisted manual" and "LLM" methods were time- and cost-efficient compared to the "full manual" method.

Conclusion: Developing and facilitating prompts for LLM to derive clinical factors was efficient to extract crucial information from huge medical records. This study demonstrated the potential of the application of natural language processing using LLM model in breast cancer patients. Prompts from the current study can be re-used for other research to collect clinical information.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
从大型语言模型中开发提示,用于从癌症的病理学和超声报告中提取临床信息。
目的:我们旨在评估使用大型语言模型(LLM)开发提示的时间和成本,该模型专门用于提取癌症患者的临床因素及其准确性。材料和方法:我们收集了2020年至2022年接受放疗的癌症患者的手术病理和超声报告数据。我们使用Generative Pre-trained Transformer(GPT)for Sheets and Docs扩展插件提取信息,并将其称为“LLM”方法。评估了使用LLM方法开发提示的时间和成本,并将其与使用“完整手册”和“LLM辅助手册”方法收集信息所花费的时间和费用进行了比较。为了评估准确性,随机选择340名患者,并将LLM方法提取的信息与“全手工”方法收集的信息进行比较。结果:收集了2931例患者的数据。我们为提取功能开发了12个提示,为格式化功能开发了12中的提示,以提取和标准化信息。总体准确率为87.7%。对于淋巴血管侵犯,准确率为98.2%。开发和处理提示分别需要3.5小时和15分钟。使用ChatGPT应用程序编程接口的成本为65.8美元,考虑到估计工资,总成本为95.4美元。在估计的比较中,与“全手动”方法相比,“LLM辅助手动”和“LLM”方法在时间和成本上都是高效的。结论:开发和促进LLM获取临床因素的提示是从大量病历中提取关键信息的有效方法。这项研究证明了使用LLM模型的自然语言处理在癌症患者中的应用潜力。当前研究的提示可以重复用于其他研究,以收集临床信息。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
3.80
自引率
0.00%
发文量
0
期刊最新文献
Advancing radiation therapy through smartwatch technology to monitor anxiety. Could neoadjuvant radiation dose escalation increase tumor response and recurrence-free survival in patients with locally advanced rectal cancer? Long-term treatment of metastatic adenoid cystic carcinoma with sequential brachytherapy and stereotactic body radiotherapy. Oncological outcomes in patients with residual triple-negative breast cancer after preoperative chemotherapy. Optimizing target and diaphragmatic configuration, and dosimetric benefits using continuous positive airway pressure in stereotactic ablative radiotherapy for lung tumors.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1