arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.16341cs.LGcs.CL
收藏

使用大语言模型在医疗场景中进行紧急情况检测的机器学习方法

A Machine Learning Approach for Emergency Detection in Medical Scenarios Using Large Language Models

Kennesaw State University(肯尼索州立大学);WellStar School of Nursing(韦尔斯特护理学院)

Ferit Akaybicen, Aaron Cummings, Lota Iwuagwu, Xinyue Zhang, Modupe Adewuyi

AI总结:

本文提出一种基于大语言模型和提示工程的医疗紧急情况自动检测系统,利用 LLaMA 模型变体进行场景分类,在准确率和降低假阴性风险上表现卓越,代码已开源。

摘要:

通过数字通信渠道快速识别医疗紧急情况仍然是现代医疗服务中的一项关键挑战,随着远程医疗的日益普及尤为如此。本文提出了一种利用大语言模型(LLMs)和提示工程技术的全新方法,用于医疗通信中的自动紧急情况检测。我们开发并评估了一个综合系统,使用多个 LLaMA 模型变体(1B、3B 和 7B 参数)将医疗场景分类为紧急或非紧急情况。我们的方法结合了系统提示和提示内训练方法,并在不同的硬件配置下进行了评估。结果展示了卓越的性能,LLaMA 2 (7B) 模型达到了 99.7% 的准确率,LLaMA 3.2 (3B) 模型在最佳提示工程下达到了 99.6% 的准确率。通过对提示中的训练示例进行系统测试,我们发现模型提示中包含 10 个示例场景能产生最佳分类性能。不同平台间的处理速度差异显著,范围从每次请求 0.05 到 2.2 秒不等。该系统在减少紧急情况中高风险的假阴性方面表现出显著优势,这对于患者安全至关重要。代码实现和评估框架已在 GitHub 上公开,以促进这一关键医疗技术领域的进一步研究与开发。

英文摘要:

The rapid identification of medical emergencies through digital communication channels remains a critical challenge in modern healthcare delivery, particularly with the increasing prevalence of telemedicine. This paper presents a novel approach leveraging large language models (LLMs) and prompt engineering techniques for automated emergency detection in medical communications. We developed and evaluated a comprehensive system using multiple LLaMA model variants (1B, 3B, and 7B parameters) to classify medical scenarios as emergency or non-emergency situations. Our methodology incorporated both system prompts and in-prompt training approaches, evaluated across different hardware configurations. The results demonstrate exceptional performance, with the LLaMA 2 (7B) model achieving 99.7% accuracy and the LLaMA 3.2 (3B) model reaching 99.6% accuracy with optimal prompt engineering. Through systematic testing of training examples within the prompts, we identified that including 10 example scenarios in the model prompts yielded optimal classification performance. Processing speeds varied significantly between platforms, ranging from 0.05 to 2.2 seconds per request. The system showed particular strength in minimizing high-risk false negatives in emergency scenarios, which is crucial for patient safety. The code implementation and evaluation framework are publicly available on GitHub, facilitating further research and development in this crucial area of healthcare technology.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑