[edit]
GlucoGrapher: Sensor-Aware CGM Fusion with Mask-Aware Meta-Ensembles for Predicting Carbohydrate Caloric Ratio from Postprandial Glucose
Proceedings of The Second AAAI Bridge Program on AI for Medicine and Healthcare, PMLR 317:255-264, 2026.
Abstract
We study meal-level inference of the carbohydrate calorie ratio (CCR), the fraction of total calories attributable to net carbohydrates directly from early postprandial glucose responses (PPGR) recorded by continuous glucose monitors (CGMs). Using the date-shifted CGMACROS v1.0.0, we introduce GLUCOGRAPHER, a deployment-minded pipeline that (i) aligns PPGR around meal onset, (ii) performs sensor-aware fusion of Dexcom/Libre traces with explicit discordance detection and gating, (iii) leverages a dual preprocessing view of the signal (absolute $\Delta$mg/dL and percent change relative to baseline) with per-subject PPGR standardization to mitigate inter-individual scale shifts, and (iv) applies fold-wise, mask-aware nonnegative meta-learning with isotonic calibration to combine heterogeneous and sometimes missing out-of-fold (OOF) predictions without leakage. We augment PPGR shape descriptors (peak/time-to-peak, IAUC windows, slopes, late-ratio features) with lightweight behavior (steps, heart rate) and compact subject context (BMI, HbA1c buckets, selected fasting labs, and up to eight microbiome principal components). Evaluated with 5-fold Group-KFold by participant over n=663 meals, GLUCOGRAPHER attains RMSE 0.0929, NRMSErange 0.1608, NRMSEstd 0.7229, and Pearson r 0.6910. Performance is consistent across HbA1c-defined strata (Healthy/PreDM/T2D), indicating robustness to baseline glycemic status. Ablations show that the mask-aware meta-ensemble delivers a substantive lift over calibrated tree baselines, highlighting the value of reliability-aware sensor fusion, dual preprocessing, and leak-free calibration. Framing CCR as a bounded, interpretable target in [0, 1] enables actionable CGM-only feedback without perfect food logging, supporting retrospective coaching and prospective planning.