ANALISIS PENGARUH PARAMETER RETRIEVAL-AUGMENTED GENERATION PADA LARGE LANGUAGE MODEL UNTUK SISTEM DIAGNOSIS BANDING CEDERA OLAHRAGA LARI
Muhamad Bintang Harry Dharmawan, Dr. Eng. Silmi Fauziati, S.T., M.T.; Ir. Azkario Rizky Pratama, S.T., M.Eng., Ph.D., IPM.
2026 | Skripsi | S1 TEKNIK BIOMEDIS
Running has become the most widely pursued physical activity in Indonesia; however, the rapid growth in participation has also brought a significant rise in running related musculoskeletal injuries (RRMI). At the same time, differential diagnosis of running injuries is a particularly challenging process due to overlapping symptoms across conditions, while clinicians face high caseloads and increasing cognitive demands driven by the rising incidence of running injuries. Although Large Language Models (LLMs) offer promising potential as components of Clinical Decision Support Systems, their application to specific medical domains is hampered by a tendency toward hallucination resulting from insufficient parametric training. This study proposes the integration of Retrieval-Augmented Generation (RAG) architecture and few-shot prompting with the Qwen2.5:3b-instruct model to generate differential diagnoses for running-related musculoskeletal injuries.
A systematic experiment was conducted across 18 RAG pipeline parameter configurations, varying chunk size (256, 384, 512), overlap (0 and 25% of chunk size), and top-k (3, 5, 10) using a synthetic dataset of 72 clinical vignettes covering eight target RRMI diagnoses. Each configuration was evaluated using a four-layer evaluation framework comprising Context Precision from the RAGAS framework, ranking-based metrics (Hit@1, Hit@3, Mean Reciprocal Rank), Semantic Answer Similarity gradient distribution, and clinical evaluation by three physicians across five assessment dimensions: Appropriateness, Comprehensiveness, Clinical Reasoning Quality, Patient Safety, and Clinical Usefulness.
Results demonstrate that the average of 18 RAG configurations outperformed the baseline condition across all ranking-based metrics. The optimal configuration identified was chunk size = 256, overlap = 0, and top-k = 10, achieving Hit@1 = 72.22%, Hit@3 = 84.72%, and MRR = 0.7755. Chunk size proved to be the most influential parameter, while overlap had minimal impact. A key finding is that Context Precision correlated negatively with ranking-based metric performance, demonstrating that retrieval quality alone is insufficient as a proxy for end-to-end system output quality. Clinical evaluation of the best configuration revealed that Patient Safety received the highest score and Clinical Reasoning Quality received the lowest. Spearman correlation analysis between automatic metrics and clinical evaluation scores showed weak-to-moderate correlations, confirming that physician clinical evaluation cannot be replaced by automatic metrics alone.
Kata Kunci : Retrieval-Augmented Generation, Large Language Model, Diagnosis Banding, Cedera Olahraga Lari, Sistem Pendukung Keputusan Klinis