arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.10083cs.CL
收藏

JMedLoRA:基于指令微调的日语大语言模型医学领域适配

JMedLoRA:Medical Domain Adaptation on Japanese Large Language Models using Instruction-tuning

Graduate School of Medicine(医学研究生院)

Issey Sukeda, Masahiro Suzuki, Hiroki Sakaji, Satoshi Kodera

AI总结:

本文提出JMedLoRA,通过基于LoRA的指令微调将日语大语言模型适配到医学问答领域,采用精确匹配、格式塔距离等多维度评估,证明该方法能部分注入领域知识且大模型效果更显著,同时展示了英语中心模型向日语适配的潜力与日语中心模型的局限。

摘要:

在ChatGPT等大语言模型(LLMs)持续掀起影响浪潮的背景下,将LLMs适配到医学领域已成为关键的研究前沿。由于主流LLMs通常面向通用应用而设计,通过领域适配构建医学LLM是一项巨大挑战。虽然指令微调已被用于微调部分LLMs,但其在领域适配中的确切作用仍不明确。本文展示了基于LoRA的指令微调对日语医学问答任务性能的贡献。为此,我们针对多项选择题采用了多维度评估,除传统准确率外,还包括基于“精确匹配”和“格式塔距离”的评分。研究结果表明,基于LoRA的指令微调能够将领域特定知识部分融入LLMs,且更大规模的模型表现出更显著的效果。此外,我们的结果凸显了在领域适配中将以英语为中心的模型适配到日语应用的潜力,同时也揭示了以日语为中心的模型持续存在的局限性。这项工作代表了使医疗机构能够在不依赖外部服务的情况下微调和运行模型的开创性努力。

英文摘要:

In the ongoing wave of impact driven by large language models (LLMs) like ChatGPT, the adaptation of LLMs to medical domain has emerged as a crucial research frontier. Since mainstream LLMs tend to be designed for general-purpose applications, constructing a medical LLM through domain adaptation is a huge challenge. While instruction-tuning is used to fine-tune some LLMs, its precise roles in domain adaptation remain unknown. Here we show the contribution of LoRA-based instruction-tuning to performance in Japanese medical question-answering tasks. In doing so, we employ a multifaceted evaluation for multiple-choice questions, including scoring based on "Exact match" and "Gestalt distance" in addition to the conventional accuracy. Our findings suggest that LoRA-based instruction-tuning can partially incorporate domain-specific knowledge into LLMs, with larger models demonstrating more pronounced effects. Furthermore, our results underscore the potential of adapting English-centric models for Japanese applications in domain adaptation, while also highlighting the persisting limitations of Japanese-centric models. This initiative represents a pioneering effort in enabling medical institutions to fine-tune and operate models without relying on external services.

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

↑