亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Fine-Tuning Methods for Large Language Models in Clinical Medicine by Supervised Fine-Tuning and Direct Preference Optimization: Comparative Evaluation

简单(哲学) 理解力 偏爱 自然语言处理 计算机科学 人工智能 心理学 认知心理学 语言模型 梅德林 统一医学语言系统 机器学习 医学 医学教育 临床实习 语言理解 人机交互 医学物理学
作者
Thomas Savage,P. Stephen,Abdessalem Boukil,Ekanath Rangan,Vishwesh Patel,Iván López,Jonathan H. Chen
出处
期刊:Journal of Medical Internet Research [JMIR Publications]
卷期号:27: e76048-e76048 被引量:5
标识
DOI:10.2196/76048
摘要

Background: Large language model (LLM) fine-tuning is the process of adjusting out-of-the-box model weights using a dataset of interest. Fine-tuning can be a powerful technique to improve model performance in fields like medicine, where LLMs may have poor out-of-the-box performance. The 2 common fine-tuning techniques are supervised fine-tuning (SFT) and direct preference optimization (DPO); however, little guidance is available for when to apply either method within clinical medicine or health care operations. Objective: This study aims to investigate the benefits of fine-tuning with SFT and DPO across a range of core natural language tasks in medicine to better inform clinical informaticists when either technique should be deployed. Methods: We use Llama3 8B (Meta) and Mistral 7B v2 (Mistral AI) to compare the performance of SFT alone and DPO across 4 common natural language tasks in medicine. The tasks we evaluate include text classification, clinical reasoning, text summarization, and clinical triage. Results: Our results found clinical reasoning accuracy increased from 7% to 22% with base Llama3 and Mistral2, respectively, to 28% and 33% with SFT, and then 36% and 40% with DPO (P=.003 and P=.004, respectively). Summarization quality, graded on a 5-point Likert scale, was 4.11 with base Llama3 and 3.93 with base Mistral2. Performance increased to 4.21 and 3.98 with SFT and then 4.34 and 4.08 with DPO (P<.001). F1-scores for provider triage were 0.55 for Llama3 and 0.49 for Mistral2, which increased to 0.58 and 0.52 with SFT and 0.74 and 0.66 with DPO (P<.001). F1-scores for urgency triage were 0.81 for Llama3 and 0.88 for Mistral2, which decreased with SFT to 0.79 and 0.87, and then experienced mixed results with DPO, achieving 0.91 and 0.85, respectively (P<.001 and P>.99, respectively). Finally, F1-scores for text classification were 0.63 for Llama3 and 0.73 for Mistral2, which increased to 0.98 and 0.97 with SFT, and then essentially did not change with DPO to 0.95 and 0.97, respectively (P=.55 and P>.99, respectively). DPO fine-tuning required approximately 2 to 3 times more compute resources than SFT alone. Conclusions: SFT alone is sufficient for simple tasks such as rule-based text classification, while DPO after SFT improves performance on the more complex tasks of triage, clinical reasoning, and summarization. We postulate that SFT alone is sufficient for simple tasks because SFT strengthens simple word-association reasoning, whereas DPO enables deeper comprehension because it is trained with both positive and negative examples, enabling the model to recognize more complex patterns. Ultimately, our results help inform clinical informaticists when to deploy either fine-tuning method and encourage commercial LLM providers to offer DPO fine-tuning for commonly used proprietary LLMs in medicine.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
3秒前
李健应助liao宝宝采纳,获得10
3秒前
科研通AI6.4应助anxin采纳,获得10
4秒前
4秒前
6秒前
dary11111完成签到,获得积分20
6秒前
8秒前
dary11111发布了新的文献求助10
10秒前
11秒前
huang_xiaohuo完成签到,获得积分10
12秒前
汪汪淬冰冰完成签到,获得积分10
13秒前
14秒前
null关闭了xx文献求助
16秒前
可爱的函函应助ddk采纳,获得10
17秒前
19秒前
苏离完成签到 ,获得积分10
20秒前
21秒前
SimonShaw完成签到,获得积分10
22秒前
null关闭了JW文献求助
24秒前
27秒前
27秒前
mm完成签到 ,获得积分10
28秒前
30秒前
30秒前
32秒前
35秒前
38秒前
唠叨的绣连完成签到,获得积分10
38秒前
40秒前
清脆曼岚完成签到,获得积分10
41秒前
小鲤鱼吃大菠萝完成签到,获得积分10
41秒前
41秒前
黄锐完成签到 ,获得积分10
43秒前
43秒前
46秒前
1111完成签到,获得积分20
47秒前
临风发布了新的文献求助10
47秒前
48秒前
51秒前
动听的雪卉完成签到,获得积分10
51秒前
高分求助中
On lateral buckling of armouring wires in flexible pipes 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Navigating Normative Orders. Interdisciplinary Perspectives 800
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 700
1 Peter and Christ's Descent to the Dead in Its Early Christian Reception 700
Organizational Behavior 510
Management and the Arts 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7744548
求助须知:如何正确求助?哪些是违规求助? 9292384
关于积分的说明 20212599
捐赠科研通 7323304
什么是DOI,文献DOI怎么找? 3307631
关于科研通互助平台的介绍 2459482
邀请新用户注册赠送积分活动 2318567