MediSwift:高效稀疏预训练生物医学语言模型
MediSwift: Efficient Sparse Pre-trained Biomedical Language Models
AI总结:
MediSwift通过生物医学文本上的稀疏预训练(最高75%权重稀疏)将训练FLOPs降低2-2.5倍,并结合稠密微调与软提示,在PubMedQA等任务上以更高效率超越7B级LLMs。
摘要:
大型语言模型(LLMs)通常基于通用源数据为多个领域进行训练,但近期领域专用LLMs的兴起表明,它们在领域特定任务(如生物医学)中有望超越通用模型。尽管领域专用预训练能够提升效率并带来更小的模型,但训练这些LLMs的计算成本仍然很高,带来了预算方面的挑战。我们提出了MediSwift,这是一套利用领域专用生物医学文本数据进行稀疏预训练的生物医学语言模型。通过在预训练阶段引入高达75%的权重稀疏性,MediSwift实现了训练FLOPs降低2-2.5倍。值得注意的是,所有稀疏预训练均在Cerebras CS-2系统上完成,该系统专为实现非结构化权重稀疏性带来的加速收益而设计,从而显著提升了MediSwift模型的效率。通过后续的稠密微调和策略性软提示,MediSwift模型在生物医学任务上超越了现有参数量高达7B的LLMs,在PubMedQA等任务上树立了效率-精度方面的新基准。我们的结果表明,稀疏预训练结合稠密微调和软提示,为在专业领域中创建高性能、计算高效的模型提供了一种有效方法。
英文摘要:
Large language models (LLMs) are typically trained on general source data for various domains, but a recent surge in domain-specific LLMs has shown their potential to outperform general-purpose models in domain-specific tasks (e.g., biomedicine). Although domain-specific pre-training enhances efficiency and leads to smaller models, the computational costs of training these LLMs remain high, posing budgeting challenges. We introduce MediSwift, a suite of biomedical LMs that leverage sparse pre-training on domain-specific biomedical text data. By inducing up to 75% weight sparsity during the pre-training phase, MediSwift achieves a 2-2.5x reduction in training FLOPs. Notably, all sparse pre-training was performed on the Cerebras CS-2 system, which is specifically designed to realize the acceleration benefits from unstructured weight sparsity, thereby significantly enhancing the efficiency of the MediSwift models. Through subsequent dense fine-tuning and strategic soft prompting, MediSwift models outperform existing LLMs up to 7B parameters on biomedical tasks, setting new benchmarks w.r.t efficiency-accuracy on tasks such as PubMedQA. Our results show that sparse pre-training, along with dense fine-tuning and soft prompting, offers an effective method for creating high-performing, computationally efficient models in specialized domains.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。