[论文解读] Improving Small Language Models on PubMedQA via Generative Data Augmentation
本文使用基于LLM的生成式数据增强来提升 PubMedQA 的小型医学语言模型,在 augmentation 之后,使用一个参数规模小于1.6B的模型在少样本学习情景下超越 GPT-4 的表现。
Large Language Models (LLMs) have made remarkable advancements in the field of natural language processing. However, their increasing size poses challenges in terms of computational cost. On the other hand, Small Language Models (SLMs) are known for their efficiency, but they often struggle with limited capacity and training data, especially in specific domains. In this paper, we introduce a novel method aimed at improving SLMs in the medical domain using LLM-based generative data augmentation. The objective of our approach is to develop more efficient and capable models that are specifically tailored for specialized applications. Through experiments conducted on the PubMedQA dataset, we demonstrate the effectiveness of LLMs in refining and diversifying existing question-answer pairs. This refinement process leads to improved performance in a significantly smaller model after fine-tuning. Notably, our best SLM, with under 1.6 billion parameters, outperforms the few-shot GPT-4 on the PubMedQA dataset. Our code and generated data are publicly available to facilitate further explorations.
研究动机与目标
- 在不使用大量参数的前提下,提升 PubMedQA 的医学问答中的小型语言模型(SLMs)。
- 利用基于LLM的数据增强来完善和丰富问答对。
- 展示微调方法的鲁棒性以及领域知识的重要性。
提出的方法
- 将低秩自适应(LoRA)作为对SLMs的鲁棒微调技术。
- 在BioGPT-Large上对比Low-rank Adaptation与Prefix Tuning在超参数上的表现。
- 使用LLMs(GPT-3.5、GPT-4、BioGPT 等)重写或创建用于扩增的问答对。
- 在扩增的 PubMedQA 数据上微调 BioGPT-Large、LLaMA-7b 和 Alpaca-7b。
- 使用准确率和宏F1在450/50/500的训练/验证/测试划分上进行评估。
实验结果
研究问题
- RQ1基于领域感知LLMs的生成式数据增强是否提升了在 PubMedQA 上的小型医学语言模型的性能?
- RQ2哪种微调方法(LoRA 与 Prefix Tuning)在领域特定的问答任务上更具鲁棒性?
- RQ3在增强数据时的领域知识如何影响 PubMedQA 的后续问答性能?
- RQ4在对较小模型进行微调时,来自GPT-4的扩增数据是否能超过GPT-4的少样本性能?
- RQ5使用全合成的领域知识与对现有问答对进行改进相比,其影响如何?
主要发现
- LoRA 在超参数范围(16–512 tokens)内优于 Prefix Tuning,且更具鲁棒性。
- 在未进行扩增的原始 PubMedQA 上微调时,BioGPT-Large、LLaMA-7b 和 Alpaca-7b 展现出对领域的不同适应性。
- 由领域感知LLMs生成的扩增数据(例如GPT-4进行改写/新问答对)显著提升了SLM在 PubMedQA 上的性能,其中GPT-4扩增优于基于GPT-3.5的方法。
- 在扩增的 PubMedQA 数据上微调的 BioGPT 在 PubMedQA 上超过了 LLaMA-7B,验证了领域特定预训练的优势。
- 指示对领域无关的LLMs(GPT-3.5-turbo)生成全新的问答对可能降低性能,而领域感知的LLMs(GPT-4)提供有价值的新训练数据。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。