An Empirical Analysis of Fine-Tuning Large Language Models on Bioinformatics Literature: PRSGPT and BioStarsGPT
Abstract
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. Key PointsO_LIWe present a comprehensive 9-step pipeline for fine-tuning large language models on bioinformatics data, demonstrated through PRSGPT (PRS tools) and BioStarsGPT (forum discussions). C_LIO_LIThe pipeline generated over 28,000 QA pairs for PRSGPT from diverse sources (PDFs, GitHub repositories, research articles) and 154,282 QA pairs for BioStarsGPT from community forum discussions. C_LIO_LIQwen2.5-7B emerged as the best-performing model, achieving BLEU-4 improvements of 82% for PRSGPT and 6% for BioStarsGPT, with ROUGE-1 improvements of 70% and 18% respectively. C_LIO_LIThe methodology integrates automated QA generation via Google Gemini, NLI for quality control, semantic deduplication, and parameter-efficient fine-tuning using LoRA, providing a scalable framework for domain-specific LLM adaptation. C_LI
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Out-of-the-box bioinformatics capabilities of large language models (LLMs)
Varsha Rajesh, Maceo Blumberg, … Geoffrey Siwo·BioinformaticsPeer-reviewed·Oct 29, 2026
- A benchmark for large language models in bioinformatics
Varuni Sarwal, Gaia Andreoletti, … Serghei Mangul·bioRxiv·Dec 19, 2023
- Bioinfo-Bench: A Simple Benchmark Framework for LLM Bioinformatics Skills Evaluation
Qiyuan Chen, Cheng Deng·bioRxiv·Oct 18, 2023
- Optimizing biomedical information retrieval with a keyword frequency-driven Prompt Enhancement Strategy
Wasim Aftab, Zivkos Apostolou, … Tobias Straub·BMC BioinformaticsPeer-reviewed·Aug 27, 2024
- CARDBiomedBench: A Benchmark for Evaluating Large Language Model Performance in Biomedical Research
Owen Bianchi, Maya Willey, … Faraz Faghri·The Lancet Digital HealthPeer-reviewed·Jan 1, 2026
- PromptBio-Bench: Benchmarking LLM-based Bioinformatics Agents for End-to-End Data Analysis
Wenbin Guo, Minzhe Zhang, … Shashi Dhar·bioRxiv·Jun 1, 2026