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

通过AI反馈强化学习提升大语言模型的中医能力

Enhancing the Traditional Chinese Medicine Capabilities of Large Language Model through Reinforcement Learning from AI Feedback

School of Computer and Information Science, Southwest University(西南大学计算机与信息科学学院);School of Computing Technologies, RMIT University(RMIT大学计算技术学院);Yongdingmenwai Community Health Service Center(永定门外社区卫生服务中心)

Song Yu, Xiaofei Xu, Fangfei Xu, Li Li

AI总结:

针对大语言模型中医领域表现差、高质量中医数据稀缺的问题,提出结合有监督微调加RLAIF的小数据优化框架,经消融验证和实验证明可显著提升模型在代表性中医任务上的性能。

摘要:

尽管大语言模型在理解和回应用户意图方面表现出色,但由于缺乏专业知识,其在中医(Traditional Chinese Medicine, TCM)等专业领域的表现仍然有限。此外,与中医相关的高质量数据稀缺且难以获取,导致大语言模型在处理中医任务时效果不佳。在本研究中,我们提出了一个仅使用少量数据即可提升大语言模型中医任务表现的框架。首先,我们利用医案数据对大模型进行有监督微调,使其初步具备执行中医任务的能力。随后,我们使用AI反馈强化学习(reinforcement learning from AI feedback, RLAIF)进一步优化模型性能,使其与偏好数据对齐。消融研究也表明,性能提升同时来源于有监督微调和直接策略优化的共同作用。实验结果显示,使用少量数据训练的模型在一项代表性中医任务上实现了显著的性能提升。

英文摘要:

Although large language models perform well in understanding and responding to user intent, their performance in specialized domains such as Traditional Chinese Medicine (TCM) remains limited due to lack of expertise. In addition, high-quality data related to TCM is scarce and difficult to obtain, making large language models ineffective in handling TCM tasks. In this work, we propose a framework to improve the performance of large language models for TCM tasks using only a small amount of data. First, we use medical case data for supervised fine-tuning of the large model, making it initially capable of performing TCM tasks. Subsequently, we further optimize the model's performance using reinforcement learning from AI feedback (RLAIF) to align it with the preference data. The ablation study also demonstrated the performance gain is attributed to both supervised fine-tuning and the direct policy optimization. The experimental results show that the model trained with a small amount of data achieves a significant performance improvement on a representative TCM task.

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

↑