[论文解读] AlpaCare:Instruction-tuned Large Language Models for Medical Application
AlpaCare 在多样化的 52k 医疗指令-应答数据集上对 LLaMA 模型进行微调,该数据集通过半自动化流程生成,在医疗领域和通用领域都提升了医疗能力和泛化能力。
Instruction-finetuning (IFT) has become crucial in aligning Large Language Models (LLMs) with diverse human needs and has shown great potential in medical applications. However, previous studies mainly fine-tune LLMs on biomedical datasets with limited diversity, which often rely on benchmarks or narrow task scopes, and hence significantly limit the effectiveness on their medical instruction-following ability and generalizability. To bridge this gap, we propose creating a diverse, machine-generated medical IFT dataset, MedInstruct-52k, using GPT-4 and ChatGPT with a high-quality expert-curated seed set. We then fine-tune LLaMA-series models on the dataset to develop AlpaCare. Despite using a smaller domain-specific dataset than previous medical LLMs, AlpaCare not only demonstrates superior performance on medical applications, with up to 38.1% absolute gain over best baselines in medical free-form instruction evaluations, but also achieves 6.7% absolute gains averaged over multiple general domain benchmarks. Human evaluation further shows that AlpaCare consistently outperforms best baselines in terms of both correctness and helpfulness. We offer public access to our data, model, and codebase in https://github.com/XZhang97666/AlpaCare.
研究动机与目标
- 证明任务多元的医学指令微调在不牺牲泛化能力的前提下提升医疗能力。
- 显示以 52k 医学为焦点的自我指令数据集能够超越更大规模的医学指令数据集。
- 评估领域聚焦的指令数据如何影响在医疗和通用领域任务上的表现。
- 提供公开可用的资源,以促进未来开源医学大模型研究。
提出的方法
- 构建由临床医生设计的种子集,覆盖主题、观点、任务类型和难度,以指导数据生成。
- 使用 GPT-4 根据种子集自动生成广泛的医学任务集(并进行 Rouge-L 多样性筛选)。
- 让 ChatGPT 针对有效任务生成回答,以创建用于指令微调的 52k MedInstruct 数据集。
- 在 MedInstruct-52k 上对 LLaMA 模型进行微调,以获得 AlpaCare 模型。
- 使用医疗与通用领域的自由形式指令测试评估医疗能力和泛化能力,由多名评审(如 gpt-3.5-turbo、Claude-2)进行双向评分。
- 在 7B 和 13B 主干以及多个参考模型上,将 AlpaCare 与若干基线进行比较。
实验结果
研究问题
- RQ1在多样化、领域特定的自我指令数据集上进行训练,是否能提升 LLM 的医疗熟练度?
- RQ2领域特定的指令微调是否提高对通用领域指令的泛化能力?
- RQ3在不同的主干模型和评估者下,AlpaCare 与其他医学/指令微调基线的比较如何?
主要发现
- 在多种参考模型下,AlpaCare 在医疗和通用领域持续超越指令微调基线。
- 使用 MedInstruct-52k 训练可提升医疗能力,同时保持或提高泛化能力。
- AlpaCare-13B 同样在医疗与通用领域评估中超过其他 13B 指令微调模型。
- 使用不同评审(gpt-3.5-turbo、Claude-2)进行评估显示 AlpaCare 的稳健表现和减少的评审偏差。
- 主干消融表明 AlpaCare 超越 Alpaca 在各类 LLM 主干上的表现,表明数据多样性在模型大小之外也带来好处。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。