arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.19975cs.CLcs.AI
收藏

BioInstruct:面向生物医学自然语言处理的大语言模型指令微调

BioInstruct: Instruction Tuning of Large Language Models for Biomedical Natural Language Processing

Manning College of Information and Computer Sciences, University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校曼宁信息与计算机科学学院);University of Massachusetts Medical School(马萨诸塞大学医学院);Miner School of Computer and Information Sciences, University of Massachusetts Lowell(马萨诸塞大学洛厄尔分校迈纳计算机与信息科学学院);VA Bedford Health Care(贝德福德退伍军人保健中心)

Hieu Tran, Zhichao Yang, Zonghai Yao, Hong Yu

AI总结:

本文构建了包含25,005条指令的BioInstruct数据集,用于对LLaMA系列大语言模型进行LoRA指令微调,在生物医学问答、信息抽取和文本生成任务上分别取得17.3%、5.7%和96%的性能提升,并验证了相关任务间多任务学习的协同效应。

摘要:

为了通过引入领域专用指令数据集并考察其与多任务学习原则相结合时的影响,提升大语言模型(LLMs)在生物医学自然语言处理(BioNLP)中的性能,我们创建了BioInstruct数据集,包含25,005条指令,用于对LLMs(LLaMA 1和2,7B和13B版本)进行指令微调。这些指令是通过向GPT-4语言模型提供三个种子样本生成的,种子样本从80条人工整理的指令中随机抽取。我们采用低秩适应(LoRA)进行参数高效微调。随后,我们在多个BioNLP任务上评估了这些指令微调后的LLMs,这些任务可分为三大类:问答(QA)、信息抽取(IE)和文本生成(GEN)。我们还考察了指令类别(如QA、IE和生成)是否影响模型性能。与未经指令微调的LLMs相比,我们的指令微调LLMs表现出显著的性能提升:问答任务提升17.3%,信息抽取任务提升5.7%,生成任务提升96%。我们的7B参数指令微调LLaMA 1模型在生物医学领域与其他同样基于LLaMA 1并使用大量领域专用数据或多种任务微调的LLMs相比,具有竞争力甚至超越它们。我们的结果还表明,当指令微调使用密切相关的任务进行时,性能提升显著更高。我们的发现与多任务学习的观察结果一致,表明两个任务之间存在协同效应。BioInstruct数据集是一个有价值的资源,指令微调后的LLMs带来了性能最佳的BioNLP应用。

英文摘要:

To enhance the performance of large language models (LLMs) in biomedical natural language processing (BioNLP) by introducing a domain-specific instruction dataset and examining its impact when combined with multi-task learning principles. We created the BioInstruct, comprising 25,005 instructions to instruction-tune LLMs(LLaMA 1 & 2, 7B & 13B version). The instructions were created by prompting the GPT-4 language model with three-seed samples randomly drawn from an 80 human curated instructions. We employed Low-Rank Adaptation(LoRA) for parameter-efficient fine-tuning. We then evaluated these instruction-tuned LLMs on several BioNLP tasks, which can be grouped into three major categories: question answering(QA), information extraction(IE), and text generation(GEN). We also examined whether categories(e.g., QA, IE, and generation) of instructions impact model performance. Comparing with LLMs without instruction-tuned, our instruction-tuned LLMs demonstrated marked performance gains: 17.3% in QA, 5.7% in IE, and 96% in Generation tasks. Our 7B-parameter instruction-tuned LLaMA 1 model was competitive or even surpassed other LLMs in the biomedical domain that were also fine-tuned from LLaMA 1 with vast domain-specific data or a variety of tasks. Our results also show that the performance gain is significantly higher when instruction fine-tuning is conducted with closely related tasks. Our findings align with the observations of multi-task learning, suggesting the synergies between two tasks. The BioInstruct dataset serves as a valuable resource and instruction tuned LLMs lead to the best performing BioNLP applications.

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

↑