AI
New study questions whether heart rate metrics can reliably detect blood sugar levels
Researchers analyzed electrocardiogram patterns as a potential non-invasive glucose monitor, finding modest promise but significant limitations for clinical use.
A new analysis examined whether variations in heart rate could serve as a window into a patient's glucose control, testing machine-learning approaches to extract signal from electrocardiogram (ECG) recordings in people with type 2 diabetes.
The core finding#
Using strict, subject-independent validation methods, researchers found that heart rate variability (HRV) features showed a weak but statistically meaningful link to both glycated hemoglobin (HbA1c, a marker of long-term glucose control) and fasting blood glucose levels. Tree-based machine-learning models achieved the best results, with modest correlations (r=0.476 for HbA1c, r=0.344 for FBG). However, the predictive performance remained too limited for clinical deployment—mean errors exceeded clinically relevant thresholds.
Why the skepticism about age?#
A central hypothesis guiding the work was that aging confounds interpretation of HRV as a diabetes marker: heart rate variability naturally declines with age, which could be mistaken for autonomic dysfunction caused by poor glucose control. The team tested six different age-adjustment strategies and multiple normalisation approaches, expecting these corrections to sharpen the glucose predictions. Counterintuitively, none improved model performance, suggesting age-related HRV decline and diabetes-driven changes may operate through distinct mechanisms.
Methodological rigor#
A key strength of this work lies in its validation design. The researchers employed leave-one-subject-out cross-validation with feature selection and data preprocessing applied afresh within each training fold—a discipline that prevents data leakage, a common source of inflated performance claims in biomarker studies. By contrast, tree ensembles (Extra Trees) retained modest predictive power under this rigorous testing, whereas linear models produced negative R² values and neural networks failed entirely, illustrating how loose validation can mask poor generalization.
What comes next#
Although the study supports a genuine physiological link between HRV and glucose metabolism, the authors conclude that HRV alone cannot yet replace or supplement existing monitoring methods. They emphasize the importance of separating distinct glucose targets (HbA1c vs. acute fasting levels), applying within-fold preprocessing, and using subject-independent validation—practices often overlooked in earlier non-invasive glucose-sensing research. Bootstrap confidence intervals revealed substantial uncertainty: the R² for HbA1c ranged from 0.13 to 0.82, underscoring that larger, better-controlled studies would be needed to clarify the clinical utility of this biomarker.

