Skip to main content
QUICK REVIEW

[论文解读] Qilin-Med: Multi-stage Knowledge Injection Advanced Medical Large Language Model

Qichen Ye, Junling Liu|arXiv (Cornell University)|Oct 13, 2023
Topic ModelingComputer Science被引用 12
一句话总结

Qilin-Med 引入一个三阶段训练流程(Domain-specific Continued Pre-training、Supervised Fine-Tuning 和 Direct Preference Optimization),使用 ChiMed 数据集来产生一个中文医疗大语言模型,在医疗问答和对话基准测试中优于基线,在每个阶段后均有显著提升。

ABSTRACT

Integrating large language models (LLMs) into healthcare holds great potential but faces challenges. Pre-training LLMs from scratch for domains like medicine is resource-heavy and often unfeasible. On the other hand, sole reliance on Supervised Fine-tuning (SFT) can result in overconfident predictions and may not tap into domain-specific insights. In response, we present a multi-stage training method combining Domain-specific Continued Pre-training (DCPT), SFT, and Direct Preference Optimization (DPO). In addition, we publish a 3Gb Chinese Medicine (ChiMed) dataset, encompassing medical question answering, plain texts, knowledge graphs, and dialogues, segmented into three training stages. The medical LLM trained with our pipeline, Qilin-Med, shows substantial performance improvement. In the CPT and SFT phases, Qilin-Med achieved 38.4% and 40.0% accuracy on the CMExam test set, respectively. It outperformed the basemodel Baichuan-7B (accuracy: 33.5%), by 7.5%. In the DPO phase, it scored 16.66 in BLEU-1 and 27.44 in ROUGE-1 on the Huatuo-26M test set, bringing further improvement to the SFT phase (12.69 in BLEU-1 and 24.21 in ROUGE-1). Additionally, we have further enhanced the model's performance through the Retrieval Augmented Generation (RAG) approach. Experiments demonstrate that Qilin-Med-RAG achieves an accuracy rate of 42.8% on CMExam. These results highlight the contribution of our novel training approach in building LLMs for medical applications.

研究动机与目标

  • Need for domain-specific knowledge infusion in medical LLMs due to limitations of purely SFT.
  • Introduce a multi-stage training pipeline (DCPT, SFT, DPO) to inject medical knowledge efficiently.
  • Create ChiMed, a large Chinese medical dataset supporting all training stages.
  • Demonstrate performance gains on standardized medical benchmarks compared to baselines.

提出的方法

  • Builds on Baichuan-7B as the base model and performs Domain-specific Continued Pre-training (DCPT) with ChiMed-CPT.
  • Performs Supervised Fine-Tuning (SFT) using ChiMed-SFT to improve instruction following and medical task performance.
  • Applies Direct Preference Optimization (DPO) with ChiMed-DPO to align outputs with human preferences without RLHF.
  • Uses LoRA for parameter-efficient fine-tuning during DCPT and SFT.
  • Evaluates on CMExam, CEval, and Huatuo-26M with metrics including accuracy, BLEU, and ROUGE.

实验结果

研究问题

  • RQ1Can a multi-stage training pipeline with domain-specific data improve medical understanding and instruction following in a Chinese medical LLM?
  • RQ2What are the performance gains from DCPT, SFT, and DPO across standard medical benchmarks?
  • RQ3How does Qilin-Med compare to existing Chinese medical LLMs on knowledge QA and dialogue tasks?

主要发现

  • DCPT and SFT elevate CMExam accuracy from Baichuan-7B baseline to 38.4% and 40.0%, respectively (Baichuan-7B baseline 33.5%).
  • On Huatuo-26M, Qilin-Med-DPO achieves BLEU-1 of 16.66 and ROUGE-1 of 27.44, outperforming the SFT baseline (12.69 and 24.21).
  • Qilin-Med-7B-SFT shows strong medical task performance across CMExam metrics, surpassing several open baselines.
  • DCPT injects medical knowledge effectively, evidenced by higher CMExam metrics compared with Baichuan-7B.
  • DPO alignment yields consistently higher scores than SFT alone across evaluation settings.
  • ChiMed dataset (3.0 GB) supports multi-stage medical knowledge injection including QA, plain text, knowledge graphs, and dialogues.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。