Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Sep 20;23(18):7990.
doi: 10.3390/s23187990.

A Stacked Long Short-Term Memory Approach for Predictive Blood Glucose Monitoring in Women with Gestational Diabetes Mellitus

Affiliations

A Stacked Long Short-Term Memory Approach for Predictive Blood Glucose Monitoring in Women with Gestational Diabetes Mellitus

Huiqi Y Lu et al. Sensors (Basel). .

Abstract

Gestational diabetes mellitus (GDM) is a subtype of diabetes that develops during pregnancy. Managing blood glucose (BG) within the healthy physiological range can reduce clinical complications for women with gestational diabetes. The objectives of this study are to (1) develop benchmark glucose prediction models with long short-term memory (LSTM) recurrent neural network models using time-series data collected from the GDm-Health platform, (2) compare the prediction accuracy with published results, and (3) suggest an optimized clinical review schedule with the potential to reduce the overall number of blood tests for mothers with stable and within-range glucose measurements. A total of 190,396 BG readings from 1110 patients were used for model development, validation and testing under three different prediction schemes: 7 days of BG readings to predict the next 7 or 14 days and 14 days to predict 14 days. Our results show that the optimized BG schedule based on a 7-day observational window to predict the BG of the next 14 days achieved the accuracies of the root mean square error (RMSE) = 0.958 ± 0.007, 0.876 ± 0.003, 0.898 ± 0.003, 0.622 ± 0.003, 0.814 ± 0.009 and 0.845 ± 0.005 for the after-breakfast, after-lunch, after-dinner, before-breakfast, before-lunch and before-dinner predictions, respectively. This is the first machine learning study that suggested an optimized blood glucose monitoring frequency, which is 7 days to monitor the next 14 days based on the accuracy of blood glucose prediction. Moreover, the accuracy of our proposed model based on the fingerstick blood glucose test is on par with the prediction accuracies compared with the benchmark performance of one-hour prediction models using continuous glucose monitoring (CGM) readings. In conclusion, the stacked LSTM model is a promising approach for capturing the patterns in time-series data, resulting in accurate predictions of BG levels. Using a deep learning model with routine fingerstick glucose collection is a promising, predictable and low-cost solution for BG monitoring for women with gestational diabetes.

Keywords: clinical machine learning; gestational diabetes; medical informatics; patient monitoring; pregnancy care.

PubMed Disclaimer

Conflict of interest statement

The commercial licence of GDM-Health was transferred to Sensyne Health and then acquired by HUMA Health. The authors have no commercial affiliation or collaboration with HUMA Health plc. L.M. is a part-time employee of EMIS plc.

Figures

Figure 1
Figure 1
Flowchart of participants, data cleaning and model preparation.
Figure 2
Figure 2
Distribution of BG readings for 7-days-predict-14-days (in the order of AB, AL, AD, BB, BL, BD left to right and then the first to the second row), as an exemplar.
Figure 3
Figure 3
LSTM prediction performance comparisons: (a) RMSE results of 7-days-predict-7-days vs. 7-days-predict-14 days, (b) MAE results of 7-days-predict-7-days vs. 7-days-predict-14-days, (c) RMSE results of 7-days-predict-14-days vs. 14-days-predict-14-days and (d) MAE results of 7-days-predict-14-days vs. 14-days-predict-14-days.
Figure 4
Figure 4
Model development pipeline and the architecture of three-layer stacked LSTM.

Similar articles

Cited by

  • Artificial Intelligence in Gestational Diabetes Care: A Systematic Review.
    AlSaad R, Elhenidy A, Tabassum A, Odeh N, AboArqoub E, Odeh A, AlTamimi M, Abd-Alrazaq A, Thomas R, Bashir M, Sheikh J. AlSaad R, et al. J Diabetes Sci Technol. 2025 Aug 25:19322968251355967. doi: 10.1177/19322968251355967. Online ahead of print. J Diabetes Sci Technol. 2025. PMID: 40855734 Free PMC article. Review.

References

    1. Alberti K.G., Zimmet P.Z. Definition, diagnosis and classification of diabetes mellitus and its complications. Part 1: Diagnosis and classification of diabetes mellitus provisional report of a WHO consultation. Diabet. Med. 1998;15:539–553. doi: 10.1002/(SICI)1096-9136(199807)15:7<539::AID-DIA668>3.0.CO;2-S. - DOI - PubMed
    1. Garrison A. Screening, diagnosis, and management of gestational diabetes mellitus. Am. Fam. Physician. 2015;91:460–467. (In English) - PubMed
    1. Zhu W.W., Yang H.X., Wang C., Su R.N., Feng H., Kapur A. High prevalence of gestational diabetes mellitus in Beijing: Effect of maternal birth weight and other risk factors. Chin. Med. J. 2017;130:1019–1025. doi: 10.4103/0366-6999.204930. - DOI - PMC - PubMed
    1. Martis R., Crowther C.A., Shepherd E., Alsweiler J., Downie M.R., Brown J. Treatments for women with gestational diabetes mellitus: An overview of Cochrane systematic reviews. Cochrane Database Syst. Rev. 2018;8:CD012327. doi: 10.1002/14651858.CD012327.pub2. - DOI - PMC - PubMed
    1. Bain E., Middleton P., Crowther C.A. Progressing towards standard outcomes in gestational diabetes Cochrane reviews and randomised trials. Aust. N. Z. J. Obstet. Gynaecol. 2016;56:113–116. doi: 10.1111/ajo.12433. - DOI - PubMed