{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,8]],"date-time":"2026-09-08T11:01:29Z","timestamp":1788865289786,"version":"build-2803163510"},"reference-count":22,"publisher":"MDPI AG","issue":"9","license":[{"start":{"date-parts":[[2021,5,10]],"date-time":"2021-05-10T00:00:00Z","timestamp":1620604800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000002","name":"National Institutes of Health","doi-asserted-by":"publisher","award":["1R21EB022356"],"award-info":[{"award-number":["1R21EB022356"]}],"id":[{"id":"10.13039\/100000002","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>To avoid serious diabetic complications, people with type 1 diabetes must keep their blood glucose levels (BGLs) as close to normal as possible. Insulin dosages and carbohydrate consumption are important considerations in managing BGLs. Since the 1960s, models have been developed to forecast blood glucose levels based on the history of BGLs, insulin dosages, carbohydrate intake, and other physiological and lifestyle factors. Such predictions can be used to alert people of impending unsafe BGLs or to control insulin flow in an artificial pancreas. In past work, we have introduced an LSTM-based approach to blood glucose level prediction aimed at \u201cwhat-if\u201d scenarios, in which people could enter foods they might eat or insulin amounts they might take and then see the effect on future BGLs. In this work, we invert the \u201cwhat-if\u201d scenario and introduce a similar architecture based on chaining two LSTMs that can be trained to make either insulin or carbohydrate recommendations aimed at reaching a desired BG level in the future. Leveraging a recent state-of-the-art model for time series forecasting, we then derive a novel architecture for the same recommendation task, in which the two LSTM chain is used as a repeating block inside a deep residual architecture. Experimental evaluations using real patient data from the OhioT1DM dataset show that the new integrated architecture compares favorably with the previous LSTM-based approach, substantially outperforming the baselines. The promising results suggest that this novel approach could potentially be of practical use to people with type 1 diabetes for self-management of BGLs.<\/jats:p>","DOI":"10.3390\/s21093303","type":"journal-article","created":{"date-parts":[[2021,5,10]],"date-time":"2021-05-10T12:49:49Z","timestamp":1620650989000},"page":"3303","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":15,"title":["LSTMs and Deep Residual Networks for Carbohydrate and Bolus Recommendations in Type 1 Diabetes Management"],"prefix":"10.3390","volume":"21","author":[{"given":"Jeremy","family":"Beauchamp","sequence":"first","affiliation":[{"name":"School of Electrical Engineering and Computer Science, Ohio University, Athens, OH 45701, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2919-3566","authenticated-orcid":false,"given":"Razvan","family":"Bunescu","sequence":"additional","affiliation":[{"name":"Department of Computer Science, University of North Carolina at Charlotte, Charlotte, NC 28223, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Cindy","family":"Marling","sequence":"additional","affiliation":[{"name":"School of Electrical Engineering and Computer Science, Ohio University, Athens, OH 45701, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zhongen","family":"Li","sequence":"additional","affiliation":[{"name":"School of Electrical Engineering and Computer Science, Ohio University, Athens, OH 45701, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chang","family":"Liu","sequence":"additional","affiliation":[{"name":"School of Electrical Engineering and Computer Science, Ohio University, Athens, OH 45701, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2021,5,10]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Boutayeb, A., and Chetouani, A. (2006). A critical review of mathematical models and data used in diabetology. BioMed. Eng. OnLine, 5.","DOI":"10.1186\/1475-925X-5-43"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Bunescu, R., Struble, N., Marling, C., Shubrook, J., and Schwartz, F. (2013, January 4\u20137). Blood glucose level prediction using physiological models and support vector regression. Proceedings of the Twelfth International Conference on Machine Learning and Applications (ICMLA), Miami, FL, USA.","DOI":"10.1109\/ICMLA.2013.30"},{"key":"ref_3","unstructured":"Plis, K., Bunescu, R., Marling, C., Shubrook, J., and Schwartz, F. (2014). A machine learning approach to predicting blood glucose levels for diabetes management. Modern Artificial Intelligence for Health Analytics, Proceedings of the Twenty-Eighth AAAI Conference on Artificial Intelligence, Qu\u00e9bec City, QC, Canada, 27\u201331 July 2014, AAAI Press."},{"key":"ref_4","unstructured":"Bach, K., Bunescu, R., Farri, O., Guo, A., Hasan, S., Ibrahim, Z.M., Marling, C., Raffa, J., Rubin, J., and Wu, H. (2018, January 13). KDH@IJCAI-ECAI 2018. Proceedings of the 3rd International Workshop on Knowledge Discovery in Healthcare Data, Stockholm, Sweden. Available online: http:\/\/ceur-ws.org\/Vol-2148\/."},{"key":"ref_5","unstructured":"Bach, K., Bunescu, R., Marling, C., and Wiratunga, N. (2020, January 8\u20139). Knowledge Discovery in Healthcare Data 2020. Proceedings of the 5th International Workshop on Knowledge Discovery in Healthcare Data, Santiago de Compostela, Spain. Available online: http:\/\/ceur-ws.org\/Vol-2675\/."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Mirshekarian, S., Shen, H., Bunescu, R., and Marling, C. (2019, January 23\u201327). LSTMs and neural attention models for blood glucose prediction: Comparative experiments on real and synthetic data. Proceedings of the 41st International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Berlin, Germany.","DOI":"10.1109\/EMBC.2019.8856940"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Beauchamp, J., Bunescu, R., and Marling, C. (2020, January 8\u20139). A general neural architecture for carbohydrate and bolus recommendations in type 1 diabetes management. Proceedings of the 5th International Workshop on Knowledge Discovery in Healthcare Data, Santiago de Compostela, Spain. Available online: http:\/\/ceur-ws.org\/Vol-2675\/paper6.pdf.","DOI":"10.3390\/s21093303"},{"key":"ref_8","unstructured":"Rubin-Falcone, H., Fox, I., and Wiens, J. (2020, January 8\u20139). Deep residual time-series forecasting: Application to blood glucose prediction. Proceedings of the 5th International Workshop on Knowledge Discovery in Healthcare Data, Santiago de Compostela, Spain. Available online: http:\/\/ceur-ws.org\/Vol-2675\/paper18.pdf."},{"key":"ref_9","unstructured":"Oreshkin, B.N., Carpov, D., Chapados, N., and Bengio, Y. (2019, January 6\u20139). N-BEATS: Neural basis expansion analysis for interpretable time series forecasting. Proceedings of the International Conference on Learning Representations (ICLR), New Orleans, LA, USA."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"365","DOI":"10.1089\/152091503765691848","article-title":"A bolus calculator is an effective means of controlling postprandial glycemia in patients on insulin pump therapy","volume":"5","author":"Gross","year":"2003","journal-title":"Diabetes Technol. Ther."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"190","DOI":"10.1177\/1932296817718213","article-title":"Bolus advisors: Sources of error, targets for improvement","volume":"12","author":"Walsh","year":"2018","journal-title":"J. Diabetes Sci. Technol."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"11","DOI":"10.1109\/JBHI.2015.2464088","article-title":"An advanced bolus calculator for type 1 diabetes: System architecture and usability results","volume":"20","author":"Pesl","year":"2016","journal-title":"IEEE J. Biomed. Health Inform."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"612","DOI":"10.1038\/s42255-020-0212-y","article-title":"An artificial intelligence decision support system for the management of type 1 diabetes","volume":"2","author":"Tyler","year":"2020","journal-title":"Nat. Metab."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"381","DOI":"10.1089\/15209150050194251","article-title":"A neural network approach for insulin regime and dose adjustment in type 1 diabetes","volume":"2","author":"Mougiakakou","year":"2000","journal-title":"Diabetes Technol. Ther."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"265","DOI":"10.1177\/1932296818759558","article-title":"A neural-network-based approach to personalize insulin bolus calculation using continuous glucose monitoring","volume":"12","author":"Cappon","year":"2018","journal-title":"J. Diabetes Sci. Technol."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"2633","DOI":"10.1109\/JBHI.2018.2887067","article-title":"A dual mode adaptive basal-bolus advisor based on reinforcement learning","volume":"23","author":"Sun","year":"2019","journal-title":"IEEE J. Biomed. Health Inform."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Zhu, T., Li, K., Kuang, L., Herrero, P., and Georgiou, P. (2020). An insulin bolus advisor for type 1 diabetes using deep reinforcement learning. Sensors, 20.","DOI":"10.3390\/s20185058"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"26","DOI":"10.1177\/1932296813514502","article-title":"The UVA\/PADOVA type 1 diabetes simulator: New features","volume":"8","author":"Man","year":"2014","journal-title":"J. Diabetes Sci. Technol."},{"key":"ref_19","unstructured":"Marling, C., and Bunescu, R. (2020, January 8\u20139). The OhioT1DM dataset for blood glucose level prediction: Update 2020. Proceedings of the 5th International Workshop on Knowledge Discovery in Healthcare Data, Santiago de Compostela, Spain. Available online: http:\/\/ceur-ws.org\/Vol-2675\/paper11.pdf."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long short-term memory","volume":"9","author":"Hochreiter","year":"1997","journal-title":"Neural Comput."},{"key":"ref_21","unstructured":"Kingma, D.P., and Ba, J.L. (2015, January 7\u20139). Adam: A method for stochastic optimization. Proceedings of the Third International Conference on Learning Representations (ICLR), San Diego, CA, USA."},{"key":"ref_22","unstructured":"Marling, C., and Bunescu, R. (2018, January 13). The OhioT1DM dataset for blood glucose level prediction. Proceedings of the 3rd International Workshop on Knowledge Discovery in Healthcare Data, Stockholm, Sweden. Available online: http:\/\/ceur-ws.org\/Vol-2148\/paper09.pdf."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/9\/3303\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T05:58:55Z","timestamp":1760162335000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/9\/3303"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,5,10]]},"references-count":22,"journal-issue":{"issue":"9","published-online":{"date-parts":[[2021,5]]}},"alternative-id":["s21093303"],"URL":"https:\/\/doi.org\/10.3390\/s21093303","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,5,10]]}}}