Medical LLMs: Fine-Tuning vs. Retrieval-Augmented Generation

Large language models (LLMs) are trained on huge datasets, which allow them to answer questions from various domains. However, their expertise is confined to the data that they were trained on. In order to specialize LLMs in niche domains like healthcare, various training methods can be employed. Two of these commonly known approaches are retrieval-augmented Generation and model fine-tuning. Five models-Llama-3.1-8B, Gemma-2-9B, Mistral-7B-Instruct, Qwen2.5-7B, and Phi-3.5-Mini-Instruct-were fine-tuned on healthcare data. These models were trained using three distinct approaches: retrieval-augmented generation (RAG) alone, fine-tuning (FT) alone, and a combination of both (FT+RAG) on the MedQuAD dataset, which covers a wide range of medical topics including disease symptoms, treatments, medications, and more. Our findings revealed that RAG and FT+RAG consistently outperformed FT alone across most models, particularly LLAMA and PHI. LLAMA and PHI excelled across multiple metrics, with LLAMA showing superior overall performance and PHI demonstrating strong RAG/FT+RAG capabilities. QWEN lagged behind in most metrics, while GEMMA and MISTRAL showed mixed results.

Authors

Institutions

Publication Details

Journal
Bioengineering
Published
2025-06-24
DOI
https://doi.org/10.3390/bioengineering12070687
Citations
11
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
27.29

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Medical LLMs: Fine-Tuning vs. Retrieval-Augmented Generation

Rabindra Kumar Barik, Jyotirmayee Rautaray, Manob Jyoti Saikia, Meenakshi Kandpal et al.
11 citations
Bioengineering
Topic Modeling
27.29
article

Medical LLMs: Fine-Tuning vs. Retrieval-Augmented Generation

Rabindra Kumar Barik, Jyotirmayee Rautaray, Manob Jyoti Saikia, Meenakshi Kandpal, A.S. Sahoo, Bhagyajit Pingua, Deepak Murmu
article en
11 citations

Abstract

Large language models (LLMs) are trained on huge datasets, which allow them to answer questions from various domains. However, their expertise is confined to the data that they were trained on. In order to specialize LLMs in niche domains like healthcare, various training methods can be employed. Two of these commonly known approaches are retrieval-augmented Generation and model fine-tuning. Five models-Llama-3.1-8B, Gemma-2-9B, Mistral-7B-Instruct, Qwen2.5-7B, and Phi-3.5-Mini-Instruct-were fine-tuned on healthcare data. These models were trained using three distinct approaches: retrieval-augmented generation (RAG) alone, fine-tuning (FT) alone, and a combination of both (FT+RAG) on the MedQuAD dataset, which covers a wide range of medical topics including disease symptoms, treatments, medications, and more. Our findings revealed that RAG and FT+RAG consistently outperformed FT alone across most models, particularly LLAMA and PHI. LLAMA and PHI excelled across multiple metrics, with LLAMA showing superior overall performance and PHI demonstrating strong RAG/FT+RAG capabilities. QWEN lagged behind in most metrics, while GEMMA and MISTRAL showed mixed results.

BioengineeringVol. 12(7)
Odisha University of Agriculture and Technology (IN), Veer Surendra Sai University of Technology (IN), Odisha University of Technology and Research, KIIT University (IN), University of Memphis (US)
University of Memphis
Quality Education
Openalex Percentile: Top 1%
Topic Modeling
27.29
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Medical LLMs: Fine-Tuning vs. Retrieval-Augmented Generation — Rabindra Kumar Barik, Jyotirmayee Rautaray, et al. · Bioengineering (2025) | TGRS Research Map | TGRS