A Fine-Tuned Multi-Agent Large Language Model Platform with Retrieval-Augmented Generation for Clinical Case Report Analysis

This study presents a prototype for the structured analysis of PubMed case-report titles, keywords and abstracts, combining domain fine-tuning, retrieval-augmented generation (RAG) and five specialist-role agents with a synthesis agent. DeepSeek-R1-Distill-Qwen-7B was fine-tuned using QLoRA on 8999 reports with teacher-generated targets. The retrieval index contains 7679 chunks from 13 medical sources. On 501 held-out reports, symmetric final-answer-only scoring, with missing final answers assigned zero, showed increases after fine-tuning in ROUGE-1 (+0.0253, 95% CI +0.0107 to +0.0394) and structural completeness (+0.0371, +0.0160 to +0.0579). The mean BERTScore difference was +0.0035 (−0.0085 to +0.0153), providing inconclusive evidence of a mean improvement. Among the tested platform configurations, retrieval showed no clear benefit on the reported final-answer reference metrics, and the specialist panel scored below a single structured agent. Final-answer results for the full platform versus the model alone were mixed. The full platform used 11.7 times as many tokens and 5.9 times the latency of the fine-tuned model alone. A blinded LLM-as-a-judge audit of 1941 statements found that 20–24% were unsupported or contradicted by the supplied sources; among checkable factual statements, this proportion was 24.5–28.5%. Different report requirements and a shared 1024-token generation limit constrain component-level interpretation. The results concern the evaluated configurations, reference similarity, format and source agreement; they do not establish improved diagnostic accuracy or clinical safety.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-11-11
DOI
https://doi.org/10.3390/app162211184
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Fine-Tuned Multi-Agent Large Language Model Platform with Retrieval-Augmented Generation for Clinical Case Report Analysis

Dariusz Majerek, Izolda Gorgol, Mateusz Walo
Applied Sciences
Topic Modeling
article

A Fine-Tuned Multi-Agent Large Language Model Platform with Retrieval-Augmented Generation for Clinical Case Report Analysis

Dariusz Majerek, Izolda Gorgol, Mateusz Walo
article en

Abstract

This study presents a prototype for the structured analysis of PubMed case-report titles, keywords and abstracts, combining domain fine-tuning, retrieval-augmented generation (RAG) and five specialist-role agents with a synthesis agent. DeepSeek-R1-Distill-Qwen-7B was fine-tuned using QLoRA on 8999 reports with teacher-generated targets. The retrieval index contains 7679 chunks from 13 medical sources. On 501 held-out reports, symmetric final-answer-only scoring, with missing final answers assigned zero, showed increases after fine-tuning in ROUGE-1 (+0.0253, 95% CI +0.0107 to +0.0394) and structural completeness (+0.0371, +0.0160 to +0.0579). The mean BERTScore difference was +0.0035 (−0.0085 to +0.0153), providing inconclusive evidence of a mean improvement. Among the tested platform configurations, retrieval showed no clear benefit on the reported final-answer reference metrics, and the specialist panel scored below a single structured agent. Final-answer results for the full platform versus the model alone were mixed. The full platform used 11.7 times as many tokens and 5.9 times the latency of the fine-tuned model alone. A blinded LLM-as-a-judge audit of 1941 statements found that 20–24% were unsupported or contradicted by the supplied sources; among checkable factual statements, this proportion was 24.5–28.5%. Different report requirements and a shared 1024-token generation limit constrain component-level interpretation. The results concern the evaluated configurations, reference similarity, format and source agreement; they do not establish improved diagnostic accuracy or clinical safety.

Applied SciencesVol. 16(22)
Lublin University of Technology (PL)
Topic Modeling
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.

Laika access coming soon