Related Experiment Video
Updated: Dec 24, 2025

Improving IV Insulin Administration in a Community Hospital
Published on: June 11, 2012
Machine Learning-Based Adherence Detection of Type 2 Diabetes Patients on Once-Daily Basal Insulin Injections
Daniel N Thyde1, Ali Mohebbi1,2, Henrik Bengtsson2
1Department of Applied Mathematics and Computer Science, DTU Compute, Kgs. Lyngby, Denmark.
Background:
Lack of treatment adherence can lead to life-threatening health complications for people with type 2 diabetes (T2D). Recent improvements and availability in continuous glucose monitoring (CGM) technology have enabled various possibilities to monitor diabetes treatment. Detection of missed once-daily basal insulin injections can be used to provide feedback to patients, thus improving their diabetes management. In this study, we explore how machine learning (ML) based on CGM data can be used for detecting adherence to once-daily basal insulin injections.
Methods:
In-silico CGM data were generated to simulate a cohort of T2D patients on once-daily insulin injection (Tresiba®). Deep learning methods within ML based on automatic feature extraction including convolutional neural networks were explored and compared with simple feature-engineered ML classification models for adherence detection. It was further investigated whether fused expert-dependent and automatically learned features could improve performance, resulting in a comparison of six different detection models. Adherence was detected throughout each day with an increasing amount of CGM data available.
Results:
The adherence detection accuracy improved as more CGM data became available on the day of classification. The three classification models based on expert-engineered features obtained mean accuracies of 78.6%, 78.2%, and 78.3%. The classification model based purely on learned features obtained a mean accuracy of 79.7%. The two classification models fusing expert-engineered and learned features obtained mean accuracies of 79.7% and 79.8%. All the mentioned results were obtained 16 hours after time of injection.
Conclusion:
The results suggest that adherence detection based on CGM data is feasible. Even though our study based on in-silico data indicates only slightly improved performance of more complex models, the question remains whether advanced models would outperform the simple in a real-world setting. Thus, future studies on adherence monitoring using real CGM data are relevant.
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...
Diabetes Mellitus: Overview and Type I Subtype
Type 1 diabetes is an autoimmune disease in which the immune system mistakenly attacks and destroys the insulin-producing beta cells in the pancreas. As a result, the body is unable to produce sufficient insulin, and individuals with...
Diabetes Mellitus: Type 2 and Gestational
Insulin Formulations: Types and Delivery
Short-acting insulins are divided into...
Diabetes: Symptoms, Diagnosis, and Complications
Diabetes: Management and Pharmacotherapy
Insulin remains the cornerstone of treatment for most patients with type 1 and many...

