利用大语言模型对历史死因数据进行编码
Coding historical causes of death data with Large Language Models
AI总结:
该研究评估GPT-3.5、GPT-4、Llama 2在历史死因ICD-10编码任务中的表现,发现当前大语言模型性能不及传统机器学习方法,需进一步微调或采用替代框架提升效果。
摘要:
本文探究了使用预训练生成式大语言模型(LLMs)自动为历史死因分配ICD-10编码的可行性。由于历史死因记录通常包含复杂的叙事性内容,这项工作传统上一直由编码专家人工完成。我们评估了GPT-3.5、GPT-4和Llama 2这几款大语言模型在HiCaD数据集上准确分配ICD-10编码的能力,该数据集包含1861-1901年间英国伊普斯威奇、基尔马诺克和斯凯岛的19361名个体的民事死亡登记条目里记录的死因。研究结果显示,GPT-3.5、GPT-4和Llama 2的死因编码正确率分别为69%、83%和40%,而使用标准机器学习技术可达到的最高准确率为89%。所有大语言模型对包含当代仍在使用的术语的死因的编码表现,均优于包含古语术语的死因;同时它们对简短死因(1-2个词)的表现优于更长的死因。因此,大语言模型目前在历史ICD-10编码分配任务上的表现仍不够理想,我们建议通过进一步微调或采用替代框架来达到足够的性能。
英文摘要:
This paper investigates the feasibility of using pre-trained generative Large Language Models (LLMs) to automate the assignment of ICD-10 codes to historical causes of death. Due to the complex narratives often found in historical causes of death, this task has traditionally been manually performed by coding experts. We evaluate the ability of GPT-3.5, GPT-4, and Llama 2 LLMs to accurately assign ICD-10 codes on the HiCaD dataset that contains causes of death recorded in the civil death register entries of 19,361 individuals from Ipswich, Kilmarnock, and the Isle of Skye from the UK between 1861-1901. Our findings show that GPT-3.5, GPT-4, and Llama 2 assign the correct code for 69%, 83%, and 40% of causes, respectively. However, we achieve a maximum accuracy of 89% by standard machine learning techniques. All LLMs performed better for causes of death that contained terms still in use today, compared to archaic terms. Also they perform better for short causes (1-2 words) compared to longer causes. LLMs therefore do not currently perform well enough for historical ICD-10 code assignment tasks. We suggest further fine-tuning or alternative frameworks to achieve adequate performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。