Exploring the potential of deep learning models integrating transformer and LSTM in predicting blood glucose levels for T1D patients.

IF 3.3 3区 医学 Q2 HEALTH CARE SCIENCES & SERVICES DIGITAL HEALTH Pub Date : 2025-04-03 eCollection Date: 2025-01-01 DOI:10.1177/20552076251328980
Xin Xiong, XinLiang Yang, Yunying Cai, Yuxin Xue, JianFeng He, Heng Su
{"title":"Exploring the potential of deep learning models integrating transformer and LSTM in predicting blood glucose levels for T1D patients.","authors":"Xin Xiong, XinLiang Yang, Yunying Cai, Yuxin Xue, JianFeng He, Heng Su","doi":"10.1177/20552076251328980","DOIUrl":null,"url":null,"abstract":"<p><strong>Objective: </strong>Diabetes mellitus is a chronic condition that requires constant blood glucose monitoring to prevent serious health risks. Accurate blood glucose prediction is essential for managing glucose fluctuations and reducing the risk of hypo- and hyperglycemic events. However, existing models often face limitations in prediction horizon and accuracy. This study aims to develop a hybrid deep learning model combining Transformer and Long Short-Term Memory (LSTM) networks to improve prediction accuracy and extend the prediction horizon, using personalized patient information and continuous glucose monitoring data to support better real-time diabetes management.</p><p><strong>Methods: </strong>In this study, we propose a hybrid deep learning model combining Transformer and LSTM networks to predict blood glucose levels for up to 120 min. The Transformer Encoder captures long-range dependencies, while the LSTM models short-term patterns. To improve feature extraction, we integrate Bidirectional LSTM and Transformer Encoder layers at multiple stages. We also use positional encoding, dropout layers, and a sliding window technique to reduce noise and manage temporal dependencies. Richer features, including meal composition and insulin dosage, are incorporated to enhance prediction accuracy. The model's performance is validated using real-world clinical data and error grid analysis.</p><p><strong>Results: </strong>On clinical data, the model achieved root mean square error/mean absolute error of 10.157/6.377 (30-min), 10.645/6.417 (60-min), 13.537/7.283 (90-min), and 13.986/6.986 (120-min). On simulated data, the results were 1.793/1.376 (15-min), 2.049/1.311 (30-min), and 3.477/1.668 (60-min). Clark Grid Analysis showed that over 96% of predictions fell within the clinical safety zone up to 120 min, confirming its clinical feasibility.</p><p><strong>Conclusion: </strong>This study demonstrates that the combined Transformer and LSTM model can effectively predict blood glucose concentration in type 1 diabetes patients with high accuracy and clinical applicability. The model provides a promising solution for personalized blood glucose management, contributing to the advancement of artificial intelligence technology in diabetes care.</p>","PeriodicalId":51333,"journal":{"name":"DIGITAL HEALTH","volume":"11 ","pages":"20552076251328980"},"PeriodicalIF":3.3000,"publicationDate":"2025-04-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11970073/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"DIGITAL HEALTH","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1177/20552076251328980","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/1/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"HEALTH CARE SCIENCES & SERVICES","Score":null,"Total":0}
引用次数: 0

Abstract

Objective: Diabetes mellitus is a chronic condition that requires constant blood glucose monitoring to prevent serious health risks. Accurate blood glucose prediction is essential for managing glucose fluctuations and reducing the risk of hypo- and hyperglycemic events. However, existing models often face limitations in prediction horizon and accuracy. This study aims to develop a hybrid deep learning model combining Transformer and Long Short-Term Memory (LSTM) networks to improve prediction accuracy and extend the prediction horizon, using personalized patient information and continuous glucose monitoring data to support better real-time diabetes management.

Methods: In this study, we propose a hybrid deep learning model combining Transformer and LSTM networks to predict blood glucose levels for up to 120 min. The Transformer Encoder captures long-range dependencies, while the LSTM models short-term patterns. To improve feature extraction, we integrate Bidirectional LSTM and Transformer Encoder layers at multiple stages. We also use positional encoding, dropout layers, and a sliding window technique to reduce noise and manage temporal dependencies. Richer features, including meal composition and insulin dosage, are incorporated to enhance prediction accuracy. The model's performance is validated using real-world clinical data and error grid analysis.

Results: On clinical data, the model achieved root mean square error/mean absolute error of 10.157/6.377 (30-min), 10.645/6.417 (60-min), 13.537/7.283 (90-min), and 13.986/6.986 (120-min). On simulated data, the results were 1.793/1.376 (15-min), 2.049/1.311 (30-min), and 3.477/1.668 (60-min). Clark Grid Analysis showed that over 96% of predictions fell within the clinical safety zone up to 120 min, confirming its clinical feasibility.

Conclusion: This study demonstrates that the combined Transformer and LSTM model can effectively predict blood glucose concentration in type 1 diabetes patients with high accuracy and clinical applicability. The model provides a promising solution for personalized blood glucose management, contributing to the advancement of artificial intelligence technology in diabetes care.

Abstract Image

Abstract Image

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
探索整合transformer和LSTM的深度学习模型在预测T1D患者血糖水平方面的潜力。
目的:糖尿病是一种慢性疾病,需要持续监测血糖,以防止严重的健康风险。准确的血糖预测对于控制血糖波动、降低低血糖和高血糖风险至关重要。然而,现有模型往往在预测范围和准确性方面存在局限性。本研究旨在开发一种混合深度学习模型,结合变压器和长短期记忆(LSTM)网络,利用个性化患者信息和连续血糖监测数据,提高预测准确性并扩展预测范围,以支持更好的糖尿病实时管理:在这项研究中,我们提出了一种混合深度学习模型,该模型结合了变压器和 LSTM 网络,可预测长达 120 分钟的血糖水平。变压器编码器捕捉长距离依赖关系,而 LSTM 则对短期模式进行建模。为了改进特征提取,我们在多个阶段整合了双向 LSTM 和变换器编码器层。我们还使用了位置编码、剔除层和滑动窗口技术来减少噪音和管理时间依赖性。为了提高预测准确性,我们还加入了更丰富的特征,包括膳食成分和胰岛素剂量。利用真实世界的临床数据和误差网格分析验证了该模型的性能:在临床数据上,该模型的均方根误差/平均绝对误差分别为 10.157/6.377(30 分钟)、10.645/6.417(60 分钟)、13.537/7.283(90 分钟)和 13.986/6.986(120 分钟)。模拟数据的结果分别为 1.793/1.376(15 分钟)、2.049/1.311(30 分钟)和 3.477/1.668(60 分钟)。克拉克网格分析表明,超过 96% 的预测结果在 120 分钟内都在临床安全区范围内,证实了其临床可行性:本研究表明,Transformer 和 LSTM 组合模型能有效预测 1 型糖尿病患者的血糖浓度,具有较高的准确性和临床适用性。该模型为个性化血糖管理提供了一种前景广阔的解决方案,有助于推动人工智能技术在糖尿病护理领域的应用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
DIGITAL HEALTH
DIGITAL HEALTH Multiple-
CiteScore
2.90
自引率
7.70%
发文量
302
期刊最新文献
Sensory-driven micro-interventions for improved health and wellbeing. TikTok postpartum mental health perspectives: A thematic content analysis. Machine learning prediction model for 28-day mortality among hepatic failure patients complicated by acute respiratory distress syndrome. Physical activity trends as predictors of postoperative complications in oncology patients: A machine learning approach. Feasibility of home-based, low-intensity exergame on cognitive function of older adults with mild cognitive impairment.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1