Skip to content

Retrieval-Augmented Generation for Clinical Decision Support in Gait Analysis: A Proof-of-Concept

Georgios Giarmatzis, Fabian Horst, Djordje Slijepcevic, Nikolaos Aggeloussis, George Papakostas

cs.CL

Abstract

Large language models (LLMs) demonstrate significant potential for clinical decision support but lack specialized biomechanical knowledge required for accurate gait analysis interpretation. We developed and evaluated a Retrieval-Augmented Generation (RAG) framework to enhance LLM-generated clinical explanations for ankle fracture rehabilitation using ground reaction force data. Using the GaitRec dataset (503 subjects: 211 healthy, 292 ankle fracture patients), we implemented a five-stage pipeline integrating: (1) machine learning classification (91.3\% accuracy); (2) Layer-wise Relevance Propagation for explainable feature identification; (3) RAG knowledge base from peer-reviewed biomechanics literature; (4) GPT-5 explanation generation with and without retrieval augmentation; and (5) double-blind evaluation by experienced physical therapists across five clinical criteria. RAG augmentation produced statistically significant improvements in Clini-cal Benefit (mean difference=0.60, p=0.047, δ=0.49) and Completeness (mean difference=0.70, p=0.049, δ=0.49), both demonstrating large effect sizes. Baseline GPT-5 achieved strong performance across all criteria (4.0/5.0). This proof-of-concept demonstrates that augmenting general-purpose LLMs with domain-specific knowledge meaningfully enhances actionable, evidence-based clinical guidance---dimensions most critical for rehabilitation decision-making. The framework provides a scalable approach for integrating AI into specialized clinical workflows without costly model retraining.

Create a lesson

Metadata

Journal
Proceedings of International Conference on Computational Intelligence 2025
Comments
12 pages, 2 figures, International Conference on Computational Intelligence