[论文解读] Parameter-Efficient Fine-Tuning of LLaMA for the Clinical Domain
该论文提出 Clinical LLaMA-LoRA 与 Downstream LLaMA-LoRA,一种两步式 PEFT 框架,用于将 LLaMA 适配到临床任务。在实现显著降低计算量的同时,获得临床 NLP 任务的 macro AUROC 的 state-of-the-art 水平,且 LoRA 基驱动的适配器带来明显提升。
Adapting pretrained language models to novel domains, such as clinical applications, traditionally involves retraining their entire set of parameters. Parameter-Efficient Fine-Tuning (PEFT) techniques for fine-tuning language models significantly reduce computational requirements by selectively fine-tuning small subsets of parameters. In this study, we propose a two-step PEFT framework and evaluate it in the clinical domain. Our approach combines a specialised PEFT adapter layer designed for clinical domain adaptation with another adapter specialised for downstream tasks. We evaluate the framework on multiple clinical outcome prediction datasets, comparing it to clinically trained language models. Our framework achieves a better AUROC score averaged across all clinical downstream tasks compared to clinical language models. In particular, we observe large improvements of 4-5% AUROC in large-scale multilabel classification tasks, such as diagnoses and procedures classification. To our knowledge, this study is the first to provide an extensive empirical analysis of the interplay between PEFT techniques and domain adaptation in an important real-world domain of clinical applications.
研究动机与目标
- 由于直接微调成本高昂,需高效的领域自适应大模型(LLM)到临床数据的需求被提出以推动研究;
- 提出基于 LoRA 的适配器(Clinical LLaMA-LoRA)用于 LLaMA 的临床领域自适应;
- 在 Clinical LLaMA-LoRA 的基础上,引入一个下游任务适配器(Downstream LLaMA-LoRA)
- 在多项临床下游任务上评估该框架,并与临床训练的 LLM 及基线方法进行对比;
- 展示相对于以往方法的计算效率与性能提升。
提出的方法
- 在 MIMIC-IV 临床笔记上对 LLaMA 与 PMC-LLaMA 进行领域自适应预训练,使用 PEFT 方法(LoRA、Adaptation Prompt、Prefix Tuning、Prompt Tuning、P-tuning);通过困惑度评估选择最佳技术(LoRA)。
- 两步式适配器框架:先训练 Clinical LLaMA-LoRA(在 LLaMA/PMC-LLaMA 上的领域自适应 LoRA),再在临床适配器之上训练 Downstream LLaMA-LoRA。
- 在五个临床任务上进行下游评估:Prolonged Mechanical Ventilation (PMV)、In-hospital Mortality (MOR)、Length of Stay (LOS)、Diagnoses (DIAG)、Procedures (PROC);报告 AUROC 与宏平均 AUROC。
- 与基线 Bio+ClinicalBERT、BlueBERT、CORe、UmlsBERT 及带 LoRA 的基线进行比较;分析冻结 vs 可训练的临床适配器。
- 强调基于 LoRA 的适配器实现显著的参数高效性(0.02%-0.24% 可训练参数)并且在单个 A100-80GB GPU 上每个训练世代少于 24 小时。

实验结果
研究问题
- RQ1LoRA 在对 LLaMA/PMC-LLaMA 进行临床下游任务微调时,是否能提升 AUROC?
- RQ2在 Clinical LLaMA-LoRA 之上组合 Downstream LLaMA-LoRA,是否还能带来额外的性能提升?
- RQ3装备 Clinical LLaMA-LoRA 的 LLaMA/PMC-LLaMA 是否具备与临床训练的 LLM 相竞争或优越的能力?
- RQ4下游微调的收益是否取决于 Clinical LLaMA-LoRA 是被冻结还是可训练?
- RQ5LoRA 还能否提升已在临床上训练的语言模型(如 BlueBERT、UmlsBERT)在下游任务上的表现?
主要发现
- 带 LoRA 的 LLaMA 在各任务的宏观平均 AUROC 为 71.62%;带 LoRA 的 PMC-LLaMA 为 72.71%。
- 可训练的 Clinical LLaMA-LoRA 的 LLaMA 宏观 AUROC 为 70.85%,可训练的 Clinical LLaMA-LoRA 的 PMC-LLaMA 为 72.23%。
- 在 LLaMA 上叠加 Downstream LLaMA-LoRA,可获得最高的宏观平均 AUROC,为 72.81%。
- 带 LoRA 的 BlueBERT 的宏观平均 AUROC 超过对 BlueBERT 完整微调的结果:71.56% 对比 69.59%。
- Clinical LLaMA-LoRA(冻结) 的增益有限(宏观 AUROC 61.58%),表明下游适配器的训练对提升至关重要。
- 与临床训练的 LMs 相比,带 LoRA 的 LLaMA 在宏观 AUROC 上具有竞争力,并在诊断与过程预测方面超越部分基线。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。