Related Experiment Video
Updated: Aug 19, 2025

Pavlovian Conditioned Approach Training in Rats
Published on: February 4, 2016
Bolus Insulin calculation without meal information. A reinforcement learning approach
Sayyar Ahmad1, Aleix Beneyto1, Ivan Contreras1
1Department of Electrical, Electronic and Automatic Engineering, University of Girona, 17004 Girona, Spain.
A new reinforcement learning algorithm optimizes insulin doses for type 1 diabetes patients without needing carbohydrate counting. This approach reduces management burden and shows comparable performance to standard methods, even with estimation errors.
Area of Science:
- Artificial Intelligence in Medicine
- Diabetes Technology
- Computational Endocrinology
Background:
- Current insulin bolus calculations for type 1 diabetes rely on patient-specific parameters like carbohydrate-to-insulin ratio (CR), correction factor (CF), and carbohydrate (CHO) estimation.
- Inaccurate CHO estimation leads to errors in insulin dosing, increasing the management burden for patients.
Purpose of the Study:
- To develop and evaluate a Q-learning-based reinforcement learning (RL) algorithm for optimizing bolus insulin doses.
- To eliminate the need for CR, CF, and CHO content in insulin bolus calculations, thereby reducing estimation errors and patient burden.
Main Methods:
- A Q-learning-based reinforcement learning algorithm was developed.
- In-silico trials were conducted on a virtual cohort of 68 type 1 diabetes patients.
- Performance was compared against the standard bolus calculator (SBC) with and without CHO misestimation under open-loop basal insulin therapy.
Main Results:
- The RL algorithm achieved 73.4% time in the target glucose range (70-180 mg/dL), compared to 72.37% for SBC (without CHO misestimation).
- RL demonstrated superior performance over SBC when CHO content was misestimated.
- RL's performance was comparable to SBC under ideal conditions, despite not requiring CHO content information.
Conclusions:
- Reinforcement learning offers a promising approach to optimize insulin bolus dosing in type 1 diabetes, independent of carbohydrate counting.
- This algorithm can potentially alleviate patient management burden and improve glycemic control.
- The developed RL algorithm is suitable for integration into future artificial pancreas and automated insulin delivery systems.
More Related Videos
Related Concept Videos
Insulin: Dosing Regimen and Adverse Effects
The basal dose constitutes about 40%-50% of the total daily dose, with the rest as premeal insulin. The mealtime insulin dose should mirror...
Two-Compartment Open Model: IV Bolus Administration
The disparity between drug input and the sum of drug transfer rates between...
One-Compartment Open Model for IV Bolus Administration: Estimation of Elimination Rate Constant, Half-Life and Volume of Distribution
One-Compartment Open Model for IV Bolus Administration: Estimation of Clearance
In the one-compartment open model for intravenous (IV) bolus administration, clearance is estimated by dividing the elimination rate by the plasma drug concentration. This equation leverages the elimination rate constant and the apparent...
Reinforcement Schedules
Once a behavior is learned,...
One-Compartment Open Model for IV Bolus Administration: General Considerations
The drug's presence in the body is defined by an equation representing the difference between the rates of drug entry and exit. Key parameters—elimination rate constant,...

