Related Experiment Video
Updated: Jun 14, 2026

Quantitative and Temporal Control of Oxygen Microenvironment at the Single Islet Level
Published on: November 17, 2013
A pretrained transformer model for decoding individual glucose dynamics from continuous glucose monitoring data
Yurun Lu1,2, Dan Liu3, Zhongming Liang4,5
1Center 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, Beijing 100190, China.
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.
Related Concept Videos
Glucose Transporters
Facilitated diffusion-glucose transporters (GLUTs) are encoded by the solute-linked carrier (SLC) family 2, subfamily A gene family, or SLC2A. The 14 GLUT protein members are distributed into three classes:
Glucose Absorption Into the Small Intestine
Hormones Regulating Blood Glucose
In addition to accelerating glucose uptake and utilization, insulin has...
Glucose Homeostasis: Regulation of Blood Glucose
During fasting, when blood glucose levels are low, the pancreas secretes glucagon. it...
Glucose Homeostasis: Pancreatic Islets and Insulin Secretion
Insulin and C-peptide are co-secreted in...

