Skip to content
DraconiticResearch
Search Sources API
197,768 studies31 sourcesUpdated 43 min ago
PreprintCC BY-NC-NDmedRxiv

Digital Twin Workflow for Continuous Glucose Forecasting: Real-Time Data Assimilation Using Reinforcement Learning

  1. 1University of South Carolina

Abstract

Digital twins for physiological forecasting require robust mechanisms for continuously assimilating streaming data and adapting to patient-specific dynamics. Threshold-triggered model updates can restore predictive performance after substantial drift, but their reactive nature limits continuous adaptation. We propose a proactive digital twin framework that couples a pretrained PatchTST foundation model with an Actor-Critic reinforcement learning (RL) agent for residual correction. Using a 30-minute look-back window and recent residual history, the agent generates bounded corrections ({+/-}0.05) to the first-step baseline forecast, with corrected predictions recursively propagated over a 15- step horizon. We evaluate both an RL-only workflow and a hybrid workflow combining RL correction with threshold-triggered fine-tuning using minute-by-minute continuous glucose monitoring data from 10 critically ill patients with sepsis. Across all patients, the pretrained RL agent improves forecasting accuracy without patient-specific retraining. Both workflows reduce trajectory-averaged mean absolute percentage error, ensemble relative error, and maximum errors compared with the uncorrected baseline and previously developed reactive digital twin models. These findings support residual reinforcement learning as a lightweight mechanism for continuous, real-time data assimilation that preserves the foundation models global predictive prior while enabling patient-specific forecast adaptation, with potential applications in critical care decision support.

Related

  1. Continuous control deep reinforcement learning for joint resource optimization in STAR-RIS assisted mmWave-NOMA systems with hardware impairments
    Sima Sobhi-Givi, Mahdi Nouri, Mousa Abdollahvand +3
    Scientific ReportsPeer-reviewedCC BYFull textGeneral medicineDOAJ
  2. Short-Term Continuous Glucose Forecasting with Large-Language-Model-Derived Nutrient Estimates from Real-World Chinese Dietary Records.
    Leyao Ma, Jie Hao, Lin Yang +2
    Health data sciencePeer-reviewedCC BYFull textEndocrinology & metabolismEurope PMCPMC
  3. Enhancing prenatal diagnostic workflow: a deep learning-based system for multi-class fetal ultrasound classification across all gestational stages
    Chen-Shen Shih, Chia-Hao Danny Yang, Tung-Yao Chang +1
    Scientific ReportsPeer-reviewedCC BY-NC-ND 4.0Obstetrics, gynaecology & paediatricsCrossref
  4. Meteorological forecasting of respiratory diseases incidence with geospatial and machine learning methods
    Benjamín Arroquia-Cuadros, Ángel Marqués-Mateu, Pablo Fdez-Arroyabe +1
    Scientific ReportsPeer-reviewedCC BY-NC-ND 4.0Full textPharmacology & toxicologyCrossref
  5. Reinforcement learning–coupled neural ode modelling reveals ferroptotic resolution failure as a shared dynamical axis linking periodontitis and coronary atherogenesis
    Pradeep Kumar Yadalam, Roshan Noor Mohamed, Sakeenabi Basha +2
    Scientific ReportsPeer-reviewedCC BY-NC-ND 4.0Full textGeneral medicineCrossref
BibTeX
@misc{cao2026digital,
  title = {{Digital Twin Workflow for Continuous Glucose Forecasting: Real-Time Data Assimilation Using Reinforcement Learning}},
  author = {X. Cao and Q. Wang},
  howpublished = {medRxiv},
  year = {2026},
  month = oct,
  doi = {10.64898/2026.10.23.26366163},
  url = {https://www.medrxiv.org/content/10.64898/2026.10.23.26366163v1},
  note = {CC BY-NC-ND},
}
RIS
TY  - UNPB
TI  - Digital Twin Workflow for Continuous Glucose Forecasting: Real-Time Data Assimilation Using Reinforcement Learning
AU  - X. Cao
AU  - Q. Wang
PY  - 2026
DA  - 2026/10/23
PB  - medRxiv
DO  - 10.64898/2026.10.23.26366163
UR  - https://www.medrxiv.org/content/10.64898/2026.10.23.26366163v1
AB  - Digital twins for physiological forecasting require robust mechanisms for continuously assimilating streaming data and adapting to patient-specific dynamics. Threshold-triggered model updates can restore predictive performance after substantial drift, but their reactive nature limits continuous adaptation. We propose a proactive digital twin framework that couples a pretrained PatchTST foundation model with an Actor-Critic reinforcement learning (RL) agent for residual correction. Using a 30-minute look-back window and recent residual history, the agent generates bounded corrections ({+/-}0.05) to the first-step baseline forecast, with corrected predictions recursively propagated over a 15- step horizon. We evaluate both an RL-only workflow and a hybrid workflow combining RL correction with threshold-triggered fine-tuning using minute-by-minute continuous glucose monitoring data from 10 critically ill patients with sepsis. Across all patients, the pretrained RL agent improves forecasting accuracy without patient-specific retraining. Both workflows reduce trajectory-averaged mean absolute percentage error, ensemble relative error, and maximum errors compared with the uncorrected baseline and previously developed reactive digital twin models. These findings support residual reinforcement learning as a lightweight mechanism for continuous, real-time data assimilation that preserves the foundation models global predictive prior while enabling patient-specific forecast adaptation, with potential applications in critical care decision support.
ER  -