Retrieval-Augmented Simulation for Interpreting Probabilistic Digital Twins in Type 1 Diabetes.
Omer Mujahid, Ivan Contreras, Aleix Beneyto, Josep Vehi
Modeling and Intelligent Control Engineering Laboratory, Institut d'Informàtica i Aplicacions, Universitat de Girona, Girona, Spain.
Key points
From the paper's conclusion- Retrieval-augmented simulation provides a reproducible framework for the expert-supervised interpretation of digital-twin simulations. However, aggregate framework scores alone are insufficient for clinical validation. Downstream language models must be rigorously evaluated for numerical faithfulness and directional bias to prevent unsafe, hallucinated clinical narratives.
Abstract
BACKGROUND: Personalized digital twins for type 1 diabetes (T1D) can simulate future glucose responses under different therapeutic conditions, but their probabilistic outputs require structured interpretation before supporting clinician-facing reasoning. We introduce retrieval-augmented simulation (RAS), a modular framework connecting probabilistic digital-twin simulation with guideline-grounded report generation. METHODS: Retrieval-augmented simulation summarizes simulated glucose trajectories, converts them into structured clinical descriptors, retrieves relevant guideline evidence, and generates uncertainty-aware reports for clinician review. We evaluated RAS using data from 35 individuals with T1D in a controlled ablation study involving 2 locally hosted large language models (LLMs) (LLaMA 3.1:8b and Qwen 3:8b). Two independent LLM-based evaluators, GPT-5.5 Thinking and Kimi 2.6 Thinking, assessed report quality using a standardized rubric. RESULTS: Structured clinical descriptors were essential for guideline selection: their removal substantially altered the retrieved evidence, demonstrating that qualitative clinical framing influenced evidence selection more strongly than numerical values alone. For LLaMA, the full RAS pipeline achieved the strongest overall performance, maintaining high numerical faithfulness (NumCov: 0.98±0.03) and consistent guideline coupling. In contrast, Qwen exhibited substantial model-specific safety risks and frequently distorted simulation-derived numerical values (NumCov:). Directional bias analysis showed that Qwen systematically under-reported time in range by a mean of -10.6 percentage points and over-reported time below range, thereby inflating hypoglycemia risk. These safety findings were consistent across both independent evaluators, with a mean score difference of >2.1 points. CONCLUSION: Retrieval-augmented simulation provides a reproducible framework for the expert-supervised interpretation of digital-twin simulations. However, aggregate framework scores alone are insufficient for clinical validation. Downstream language models must be rigorously evaluated for numerical faithfulness and directional bias to prevent unsafe, hallucinated clinical narratives.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Evaluating Type-1 Diabetes Digital Twins by Decision QualityarXiv · 2026
- A digital twin-enhanced decision support system improves time-in-range in type 1 diabetes: a randomized clinical trialScientific Reports · 2025
- Reliability-Aware Short-Term Glycemic Risk Prediction Using an Anchor-Based Comparative Framework of Sequence, Multimodal, and State-Updating Digital-Twin ModelsarXiv · 2026
- Forecasting accuracy is not enough: safety-oriented evaluation of neural digital twins prior to in-silico insulin and carbohydrate intervention in type 1 diabetes.Frontiers in endocrinology · 2026
- Personalized Diabetes Treatment Support Using Large Language Models Fine-Tuned on Electronic Health Records: Development and Evaluation StudyJMIR Formative Research · 2026
- CDTD-Agent: a retrieval-augmented multi-agent digital health framework for integrated diabetes care: a single-case expert-rated pilot study.Frontiers in digital health · 2026