对在生物信息学文献上微调大型语言模型的实证分析:PRSGPT和BioStarsGPT
An Empirical Analysis of Fine-Tuning Large Language Models on Bioinformatics Literature: PRSGPT and BioStarsGPT
AI总结:
本文提出了一种可重复的管道,用于在生物信息学文献上微调大型语言模型,通过PRSGPT和BioStarsGPT两个用例展示了方法和成果。
摘要:
大型语言模型(LLMs)通常缺乏复杂生物信息学应用所需的专门知识。我们提出了一种可重复的管道,用于在专门的生物信息学数据上微调LLMs,通过两个用例进行演示:PRSGPT,专注于多基因风险评分(PRS)工具,以及BioStarsGPT,其训练数据来自社区论坛讨论。该九步管道整合了多样化的数据源,结构化预处理,基于提示的问题-答案(QA)生成(通过Google Gemini),自然语言推理(NLI)用于质量控制,语义去重,基于聚类的数据分割,以及使用LoRA的参数高效微调。我们微调了三个LLMs(LLaMA-3.2-3B,Qwen2.5-7B,Gemma)并在超过14个词法和语义指标上进行了基准测试。Qwen2.5-7B表现最佳,在PRSGPT上BLEU-4和ROUGE-1分别提高了82%和70%,在BioStarsGPT上分别提高了6%和18%。所生成的开源数据集包括超过28,000个QA对用于PRSGPT和154,282个用于BioStarsGPT。对PRSGPT的人类评估在PRS工具比较任务上达到了61.9%的准确率,与Google Gemini(61.4%)相当,但具有更丰富的方法学细节和准确的引用。BioStarsGPT在142个精心挑选的生物信息学问题上展示了59%的概念准确率。我们的管道使LLMs的领域特定微调成为可能。它使隐私保护、本地可部署的生物信息学助手成为可能,探索其实际应用,并解决其开发和使用过程中所面临的挑战、限制和缓解策略。
英文摘要:
Large language models (LLMs) often lack specialized knowledge for complex bioinformatics applications. We present a reproducible pipeline for fine-tuning LLMs on specialized bioinformatics data, demonstrated through two use cases: PRSGPT, focused on polygenic risk score (PRS) tools, and BioStarsGPT, trained on community forum discussions. The nine-step pipeline integrates diverse data sources, structured preprocessing, prompt-based question-answer (QA) generation (via Google Gemini), natural language inference (NLI) for quality control, semantic deduplication, clustering-based data splitting, and parameter-efficient fine-tuning using LoRA. We fine-tuned three LLMs (LLaMA-3.2-3B, Qwen2.5-7B, Gemma) and benchmarked them on over 14 lexical and semantic metrics. Qwen2.5-7B emerged as the best performer, with BLEU-4 and ROUGE-1 improvements of 82\% and 70\% for PRSGPT and 6\% and 18\% for BioStarsGPT, respectively. The open-source datasets produced include over 28,000 QA pairs for PRSGPT and 154,282 for BioStarsGPT. Human evaluation of PRSGPT yielded 61.9\% accuracy on the PRS tools comparison task, comparable to Google Gemini (61.4\%), but with richer methodological detail and accurate citations. BioStarsGPT demonstrated 59\% conceptual accuracy across 142 curated bioinformatics questions. Our pipeline enables scalable, domain-specific fine-tuning of LLMs. It enables privacy-preserving, locally deployable bioinformatics assistants, explores their practical applications, and addresses the challenges, limitations, and mitigation strategies associated with their development and use.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。