A pretrained transformer model for decoding individual glucose dynamics from continuous glucose monitoring data.

Natl Sci Rev

Center for Excellence in Mathematical Sciences, National Center for Mathematics and Interdisciplinary Sciences, Hua Loo-Keng Center for Mathematical Sciences, Key Laboratory of Management, Decision and Information System, Academy of Mathematics and Systems Science, Chinese Academy of Sciences, Beiji

Published: May 2025


Category Ranking

98%

Total Visits

921

Avg Visit Duration

2 minutes

Citations

20

Article Abstract

Continuous glucose monitoring (CGM) technology has grown rapidly to track real-time blood glucose levels and trends with improved sensor accuracy. The ease of use and wide availability of CGM will facilitate safe and effective decision making for diabetes management. Here, we developed an attention-based deep learning model, CGMformer, pretrained on a well-controlled and diverse corpus of CGM data to represent individual's intrinsic metabolic state and enable clinical applications. During pretraining, CGMformer encodes glucose dynamics including glucose level, fluctuation, hyperglycemia, and hypoglycemia into latent space with self-supervised learning. It shows generalizability in imputing glucose value across five external datasets with different populations and metabolic states (MAE = 3.7 mg/dL). We then fine-tuned CGMformer towards a diverse panel of downstream tasks in the screening of diabetes and its complications using task-specific data, which demonstrated a consistently boosted predictive accuracy over direct fine-tuning on a single task (AUROC = 0.914 for type 2 diabetes (T2D) screening and 0.741 for complication screening). By learning an intrinsic representation of an individual's glucose dynamics, CGMformer classifies non-diabetic individuals into six clusters with elevated T2D risks, and identifies a specific cluster with lean body-shape but high risk of glucose metabolism disorders, which is overlooked by traditional glucose measurements. Furthermore, CGMformer achieves high accuracy in predicting an individual's postprandial glucose response with dietary modelling (Pearson correlation coefficient = 0.763) and helps personalized dietary recommendations. Overall, CGMformer pretrains a transformer neural network architecture to learn an intrinsic representation by borrowing information from a large amount of daily glucose profiles, and demonstrates predictive capabilities fine-tuned towards a broad range of downstream applications, holding promise for the early warning of T2D and recommendations for lifestyle modification in diabetes management.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC11970253PMC
http://dx.doi.org/10.1093/nsr/nwaf039DOI Listing

Publication Analysis

Top Keywords

glucose
12
glucose dynamics
12
continuous glucose
8
glucose monitoring
8
diabetes management
8
intrinsic representation
8
cgmformer
6
pretrained transformer
4
transformer model
4
model decoding
4

Similar Publications

Unlabelled: Despite stimulating glucagon secretion, the mechanisms by which protein ingestion lowers glucose excursions remain unclear. We investigated this using the triple stable isotope glucose tracer technique to measure postprandial glucose fluxes. Eleven healthy adults completed three trials, ingesting 25 g glucose (25G; 100 kcal), 50 g glucose (50G; 200 kcal), or 25 g glucose plus 25 g whey protein (25WG; 200 kcal).

View Article and Find Full Text PDF

Introduction: Diabetes Mellitus is a chronic disease characterised by elevated plasma glucose (PG) levels. HbA1c has been widely utilized for diabetes diagnosis. However, certain conditions restrict its use.

View Article and Find Full Text PDF

Sodium-glucose co-transporter 2 inhibitors (SGLT2i) are a fairly new class of agents for diabetes that have demonstrated significant benefits in glycemic control and cardiovascular outcomes with outpatient use. The aim of this review is to provide an overview of the effect of SGLT2i use on glycemic control and clinical outcomes in the hospital setting.An electronic search of PubMed was conducted to analyze publications that assessed the inpatient use of SGLT2i and included patients with diabetes.

View Article and Find Full Text PDF

This comprehensive review examines the versatile applications and effects of Moringa oleifera across multiple fish species in aquaculture systems amid growing challenges of rising feed costs and antimicrobial resistance. M. oleifera, commonly called the Miracle tree, contains an exceptional nutritional profile with high protein content (22.

View Article and Find Full Text PDF

Expression of long non-coding RNAs MALAT1, MEG3, and XIST in gestational diabetes mellitus: a cross-sectional study.

Acta Diabetol

September 2025

Department of Endocrinology & Metabolism, Medical College & Hospital, Kolkata, 88, College St. College Square, Kolkata, West Bengal, 700073, India.

Background And Aims: Gestational diabetes mellitus (GDM) is defined as glucose intolerance first identified during pregnancy that does not meet the criteria for overt diabetes. Its pathophysiology shares key features with type 2 diabetes mellitus (T2D), including insulin resistance and inflammation. Emerging evidence suggests that long non-coding RNAs (lncRNAs) are implicated in T2D.

View Article and Find Full Text PDF