# A Real-Time Digital Twin for Type 1 Diabetes using Simulation-Based Inference

arXiv: https://arxiv.org/abs/2507.01740 · HTML: https://mlsanity.com/paper/2507.01740/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- Builds on 8 of its 21 references that are in the map.
- First posted on arXiv 2 Jul 2025.

## Builds on (most cited first, 8 of 8)

- [Normalizing Flows for Probabilistic Modeling and Inference](https://mlsanity.com/paper/1912.02762/) (2019)
- [Masked Autoregressive Flow for Density Estimation](https://mlsanity.com/paper/1705.07057/) (2017)
- [The frontier of simulation-based inference](https://mlsanity.com/paper/1911.01429/) (2019)
- [Flexible statistical inference for mechanistic models of neural dynamics](https://mlsanity.com/paper/1711.01861/) (2017)
- [Real-time gravitational-wave science with neural posterior estimation](https://mlsanity.com/paper/2106.12594/) (2021)
- [Fast ε-free Inference of Simulation Models with Bayesian Conditional Density Estimation](https://mlsanity.com/paper/1605.06376/) (2016)
- [A neural simulation-based inference approach for characterizing the Galactic Center γ-ray excess](https://mlsanity.com/paper/2110.06931/) (2021)
- [Simulation-based Inference for Cardiovascular Models](https://mlsanity.com/paper/2307.13918/) (2023)

## Built on by (most cited first, 1 of 1)

- [Generative Flow Networks for Model Adaptation in Digital Twins of Natural Systems](https://mlsanity.com/paper/2604.20707/) (2026)

## Abstract (arXiv)

Accurately estimating parameters of physiological models is essential to achieving reliable digital twins. For Type 1 Diabetes, this is particularly challenging due to the complexity of glucose-insulin interactions. Traditional methods based on Markov Chain Monte Carlo struggle with high-dimensional parameter spaces and fit parameters from scratch at inference time, making them slow and computationally expensive. In this study, we propose a Simulation-Based Inference approach based on Neural Posterior Estimation to efficiently capture the complex relationships between meal intake, insulin, and glucose level, providing faster, amortized inference. Our experiments demonstrate that SBI not only outperforms traditional methods in parameter estimation but also generalizes better to unseen conditions, offering real-time posterior inference with reliable uncertainty quantification.
