CGM Data Analysis 2.0: Functional Data Pattern Recognition and Artificial Intelligence Applications

David C. Klonoff, MD, FACP, FRCP (Edin), Fellow AIMBE, Richard M. Bergenstal, MD, Eda Cengiz, MD, MHS, FAAP, Mark A. Clements, MD, PhD, Daniel Espes, MD, PhD, Juan Espinoza, MD, David Kerr, MBChB, DM, FRCP, FRCPE, Boris Kovatchev, PhD, David M. Maahs, MD, PhD, Julia K. Mader, MD, Nestoras Mathioudak · 2025

Read CGM Data Analysis 2.0: Functional Data Pattern Recognition and Artificial Intelligence Applications by David C. Klonoff, MD, FACP, FRCP (Edin), Fellow AIMBE, Richard M. Bergenstal, MD, Eda Cengiz, MD, MHS, FAAP, Mark A. Clements, MD, PhD, Daniel Espes, MD, PhD, Juan Espinoza, MD, David Kerr, MBChB, DM, FRCP, FRCPE, Boris Kovatchev, PhD, David M. Maahs, MD, PhD, Julia K. Mader, MD, Nestoras Mathioudak (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-07885.txt.

Introduction

David Klonoff and co-authors survey a coming shift in how diabetes data from continuous glucose monitors gets read. The wearable sensors stream sugar readings day and night, and the older summary statistics flatten that stream into a few averages. They describe a second generation that treats each tracing as a curve with shape. Functional data methods and artificial intelligence then find patterns in the rises, dips, and rhythms.

Those patterns, they argue, reveal the body's underlying workings in a way averages cannot, pointing to meals, sleep, stress, and drug effects written into the trace. In time, clinics could turn them into personal treatment plans tuned to one patient's physiology. The paper is a field overview by specialists, many listed with medical credentials in the catalog record. It maps the arriving tools and the steps still needed before pattern-based reading becomes routine care.

Catalog record

CREATORDavid C. Klonoff, MD, FACP, FRCP (Edin), Fellow AIMBE, Richard M. Bergenstal, MD, Eda Cengiz, MD, MHS, FAAP, Mark A. Clements, MD, PhD, Daniel Espes, MD, PhD, Juan Espinoza, MD, David Kerr, MBChB, DM, FRCP, FRCPE, Boris Kovatchev, PhD, David M. Maahs, MD, PhD, Julia K. Mader, MD, Nestoras Mathioudak
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE39 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2505-07885

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

CGM Data Analysis 2.0: Functional Data Pattern Recognition and Artificial Intelligence Applications David C. Klonoff, MD, FACP, FRCP (Edin), Fellow AIMBE, Richard M. Bergenstal, MD, Eda Cengiz, MD, MHS, FAAP, Mark A. Clements, MD, PhD, Daniel Espes, MD, PhD, Juan Espinoza, MD, David Kerr, MBChB, DM, FRCP, FRCPE, Boris Kovatchev, PhD, David M. Maahs, MD, PhD, Julia K. Mader, MD, Nestoras Mathioudakis, MD, MHS, Ahmed A. Metwally, PhD, Shahid N. Shah, MSc, Bin Sheng, PhD, Michael P. Snyder, PhD, Guillermo Umpierrez, MD, Alessandra T. Ayers, BA, Cindy N. Ho, BA, Elizabeth Healey, PhD Abstract New methods of CGM data analysis are emerging that are valuable for interpreting CGM patterns and underlying metabolic physiology. These new methods use functional data analysis and artificial intelligence (AI), including machine learning (ML). Compared to traditional metrics for evaluating CGM tracing results (CGM Data Analysis 1.0), these new methods, which we refer to as CGM Data Analysis 2.0, can provide a more detailed understanding of glucose fluctuations and trends and enable more personalized and effective diabetes management strategies once translated into practical clinical solutions. \reportnumber 1 Introduction Continuous glucose monitoring (CGM) has transformed diabetes management and is now often considered a standard of care for insulin treated diabetes. Recently, interest in CGM has extended into populations with and at-risk of non-insulin treated diabetes, and in 2024, three over-the-counter CGM devices were approved in the United States ( Shah and Kerr, 2025 ) . As these devices become more ubiquitous, a major challenge will be to make sense of the 1440 interstitial glucose readings that can be collected daily. CGM data interpretation currently employs four main methodologies, each with distinct approaches and applications. These four analytical frameworks include: 1. traditional summary statistics, 2. Functional Data Analysis, 3. artificial intelligence (AI) / machine learning (ML), and 4. foundation models in AI. The first two of these methods use statistics to identify patterns of glycemia and are known as pattern analysis methods; the latter two methods involve AI. While traditional summary statistics simplify data into aggregate metrics, Functional Data Analysis uses advanced statistical methods to analyze temporal dynamics that can reveal more detailed physiological patterns. Until recently, traditional statistical methods have been the predominant approach to analyzing CGM data and can be thought of as "CGM Data Analysis 1.0." More recently, new Functional Data Analysis methods have been applied to identity patterns ( Gecili et al., 2021 ) , and AI models ( Medanki et al., 2024 ) , which include ML methods ( Jacobs et al., 2023 ) , have been developed for risk stratification. To identify trends, excursions, and variability in glucose levels, these new methods have the potential to provide additional insights beyond traditional pattern analyses of the three panels of an ambulatory glucose profile (AGP), which presents 1) summary glucose statistics and targets, 2) the ambulatory profile, and 3) daily glucose profiles ( Gecili et al., 2021 ) . Functional Data Analysis for pattern analysis and emerging AI-based and ML-based interpretation methods can be considered as "CGM Data Analysis 2.0". The advantage for clinicians involved in diabetes care will be access to more nuanced patterns of glycemia, which are foundational for personalizing diabetes management. This article discusses the features of CGM Data Analysis 1.0 and 2.0 and explains the progression from emphasis on traditional statistics to Functional Data Analysis to AI- and ML-based methods for interpreting CGM data patterns. 2 WHY WE ARE MOVING BEYOND TRADITIONAL STATISTICAL METHODS Traditional pattern analysis of the CGM signal focuses on simple-to-calculate summary characteristics over 10-14 days for assessing glycemia or quality of glycemic control and is used widely by clinicians. These metrics include the percentages of time spent in five glycemic ranges, the Glucose Management Indicator (which is proportional to the mean glucose concentration), and the coefficient of variation (which is a measurement of glycemic variability). These metrics tend to oversimplify dynamic glucose fluctuations and lack granularity in capturing complex temporal patterns. In contrast, Functional Data Analysis ( Gecili et al., 2021 ) , AI ( Medanki et al., 2024 ) , and ML ( Kapoor and Hasija, 2025 ) are complex frameworks that use the entire CGM time series. Functional Data Analysis, compared to traditional statistical analysis, provides additional insights into the temporal structure of glycemic variability and offers greater emphasis on deconstructing the amount and timing of recurring variations during the entire wear period ( Gecili et al., 2021 ) . As such, Functional Data Analysis goes beyond traditional statistics to 1) present a more comprehensive analysis of glucose data, whereby complex metrics may supplement traditional glucose metrics, 2) allow sophisticated time-dependent observations (such as different patterns on weekdays vs. weekends), and 3) enable identification of phenotypes or subphenotypes with distinct postprandial or nocturnal glycemic patterns. ML and AI are able to both analyze complex glucose patterns and combine the analysis with personalized decision-making frameworks. ML algorithms have been used to analyze CGM data patterns to predict metabolic subphenotypes ( Metwally et al., 2024b ) and predict future glycemic trends, whereas additional AI analyses can integrate these predictions with other health parameters to automate therapeutic interventions, such as closed loop control ( Eghbali-Zarch and Masoud, 2024 ; Mittal et al., 2025 ) . Although no AI-powered AID system is currently on the market, such a system has been successfully tested ( Kovatchev et al., 2024 ) . This approach to CGM data analysis also allows the algorithm to learn from the person living with diabetes and will reduce computational demands ( Swensen, 2024 ) . Table 1 compares key features for pattern analysis methods of CGM data using traditional statistical methods, Functional data Analysis, ML, and AI. Table 1 : A comparison of key features for pattern analysis methods of CGM data using traditional statistical methods, Functional Data Analysis, ML, and AI. Abbreviations: AI, artificial intelligence; CGM, continuous glucose monitor; EHR, electronic health record; ML, machine learning. Method Traditional Statistical Pattern Analysis Functional Data Pattern Analysis Machine Learning Pattern Analysis Artificial Intelligence Pattern Analysis Reference Scheiner et al. ( Scheiner, 2016 ) Gecili et al. ( Gecili et al., 2021 ) Jacobs et al. and Metwally et al. ( Jacobs et al., 2023 ; Metwally et al., 2024b ) Shomali et al. ( Shomali et al., 2024 ) Approach Visual, summary statistics Statistical, models entire time series Predictive modeling using algorithms and glucose timeseries Integrates machine learning, deep learning, and advanced algorithms Data Used Aggregated, summary, or graphical Each CGM trajectory is considered a random function Large CGM datasets Massive, heterogeneous datasets (CGM, EHR, images, lifestyle, genomics) Purpose Identify obvious trends/patterns Quantify, compare, and model complex dynamics Predict future glucose levels and classify states (e.g., metabolic subphenotypes) Predict risk, classify subtypes, optimize therapy Main Users Clinicians (practical use) Statisticians, researchers Data scientists, AI/ML digital health researchers Researchers, health systems, digital therapeutics developers Depth of Insight Moderate (can identify trends and outliers) High (treats glucose trajectories as mathematical functions rather than discrete measurements) High (can uncover non-linear, complex, hidden patterns) Very high (enables real-time adaptive interventions) Examples AGP, time-in-range, mean, SD, GMI, GRI Functional principal components, glucodensity Clinically meaningful patterns from complex CGM data, AI-powered CGM or AI-powered closed-loop insulin delivery, image-based complication detection Limitations May

Read the complete text