Abstract
Clinical diagnosis requires both accuracy and interpretability. While Large Language Models (LLMs) excel at reasoning, their deployment in resource-constrained clinical settings is hindered by high computational costs and difficulties in multimodal integration. This paper presents ClinRaGen, a framework that empowers Small Language Models (SLMs) to generate high-quality clinical rationales and accurate diagnoses. By employing a three-phase sequential rationale distillation strategy and a novel Knowledge-Augmented Attention (KA) module, ClinRaGen (80M parameters) outperforms models like LLaMA-7B while significantly reducing overhead.
Introduction
In clinical practice, a standalone diagnosis is often insufficient; clinicians require rationales to understand the underlying logic. LLMs like GPT-4 have demonstrated strong reasoning capabilities but are often too large for local hospital infrastructure. Conversely, SLMs are efficient but lack the domain-specific "common sense" to interpret complex multimodal data, such as the relationship between unstructured clinical notes and temporal laboratory results.
Methodology
ClinRaGen addresses these challenges through a structured approach to knowledge injection and distillation. The framework consists of three primary phases:
- Knowledge-Augmented Rationale Generation: To create high-quality training data, an LLM is used to extract clinical terms from databases like PubMed and Wikipedia. These terms are combined with real patient records and clinician-validated examples to generate "gold-standard" rationales.
- Sequential Distillation:
- Phase 1 (Textual): The SLM is trained on medical notes to establish a baseline for textual reasoning.
- Phase 2 (Time-Series): A Knowledge-Augmented Attention (KA) module is introduced. This module uses a domain-specific vocabulary to guide the model's focus toward clinically relevant fluctuations in numerical lab data.
- Phase 3 (Multimodal Integration): The model is fine-tuned to synthesize both notes and time-series data into a coherent rationale and final diagnosis.
Experimental Results
The framework was evaluated on the MIMIC-III and MIMIC-IV benchmarks, covering 25 disease phenotypes.
- Diagnostic Accuracy: ClinRaGen achieved a state-of-the-art F1 score, improving by 1.1% to 1.5% over existing baselines.
- Efficiency: Despite having only 80M parameters—80 times fewer than LLaMA-7B—ClinRaGen delivered superior diagnostic performance with significantly lower training and inference costs.
- Rationale Quality: Human evaluations by 15 medical professionals ranked ClinRaGen's rationales highly for correctness and readability, often surpassing much larger models like Mistral and LLaMA-2.
Conclusion
ClinRaGen demonstrates that specialized training strategies, specifically sequential distillation and structured knowledge augmentation, can enable tiny models to perform complex medical reasoning. This paves the way for deploying interpretable AI assistants directly within clinical environments, bridging the gap between raw sensor data and clinical decision support.
Summary updated