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

微调医学语言模型以增强长上下文理解与领域专业知识

Fine-Tuning Medical Language Models for Enhanced Long-Contextual Understanding and Domain Expertise

Faculty of Applied Sciences, Macao Polytechnic University(澳门理工大学应用科学学院)

Qimin Yang, Rongsheng Wang, Jiexin Chen, Runqi Su, Tao Tan

AI总结:

本研究针对医学LLM微调后长上下文理解能力下降的问题,通过调整通用与医学数据比例进行实验,旨在找到平衡长上下文性能与领域知识的最佳数据组成。

摘要:

大型语言模型(LLMs)已被广泛应用于各个专业领域。通过使用特定领域的问题和答案数据集对模型进行微调,这些模型的专业领域知识和问答能力得到了显著提升,例如,使用医患问答数据进行微调的医学专业LLMs展现出非凡的疾病诊断能力。然而,我们观察到,尽管特定领域知识有所提升,医学LLM在长上下文理解方面的性能却显著下降,尤其是与具有相似参数的通用语言模型相比。本研究旨在探究医学LLM在长上下文理解方面性能下降的现象。我们设计了一系列实验,对所有模型进行开卷专业知识考试,以评估其阅读长上下文的能力。通过调整微调过程中通用数据和医学数据的比例及数量,我们可以确定最佳的数据组成,以优化专业模型,并在长上下文性能与特定领域知识之间取得平衡。

英文摘要:

Large Language Models (LLMs) have been widely applied in various professional fields. By fine-tuning the models using domain specific question and answer datasets, the professional domain knowledge and Q\&A abilities of these models have significantly improved, for example, medical professional LLMs that use fine-tuning of doctor-patient Q\&A data exhibit extraordinary disease diagnostic abilities. However, we observed that despite improvements in specific domain knowledge, the performance of medical LLM in long-context understanding has significantly declined, especially compared to general language models with similar parameters. The purpose of this study is to investigate the phenomenon of reduced performance in understanding long-context in medical LLM. We designed a series of experiments to conduct open-book professional knowledge exams on all models to evaluate their ability to read long-context. By adjusting the proportion and quantity of general data and medical data in the process of fine-tuning, we can determine the best data composition to optimize the professional model and achieve a balance between long-context performance and specific domain knowledge.

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

↑