Health-driven personalized metabolic models of postprandial glucose responses to mixed meals

Anurag Das, Ghady Nasrallah, Sicong Huang, Bobak J Mortazavi, Ricardo Gutierrez-OsunaBSN 2025

TL;DR

This paper introduces JointCGMacros, a novel machine learning model that predicts a meal's macronutrient composition from continuous glucose monitor (CGM) data, accounting for individual health and demographic factors. This approach significantly outperforms previous methods, paving the way for more personalized and automated dietary monitoring.

What Problem Does This Paper Address?

Accurately tracking food intake, especially macronutrient composition, is crucial for managing blood glucose levels and preventing diabetes-related complications. However, manual food logging is tedious and error-prone. While CGM data can reflect glucose responses to meals, predicting the exact macronutrient breakdown from this data is challenging due to significant inter-individual variability in metabolic responses. Existing methods struggle to capture these personalized differences, leading to less accurate predictions.

Methods

The core innovation is the JointCGMacros model, which learns a joint embedding of postprandial glucose responses (PPGRs) and meal macronutrients. It comprises two main components:

  1. PPGR Encoder: Takes CGM data (a 13-dimensional vector representing a 3-hour glucose profile) and outputs a single-dimensional PPGR embedding ($z_p$).
  2. Health Encoder & Parametric Macro Embedding: A health encoder processes individual health and demographic parameters ($H$) to generate personalized weights. These weights are then used in a parametric function to create a personalized macronutrient embedding ($z_M$) from the meal's macronutrient composition ($M$). This parametric form allows for interpretable insights into how different macronutrients affect glucose response based on individual health.

The model is trained using a triplet loss function. This loss encourages the PPGR embedding ($z_p$) to be close to the macronutrient embedding ($z_M$) of the same meal (positive example) while being far from the macronutrient embedding of a different meal (negative example). This joint learning approach aims to align the representations of glucose response and meal composition in a personalized manner.

Datasets

The study utilizes the publicly available CGMacros dataset on PhysioNet. This dataset includes:

  • Postprandial glucose responses (PPGRs) from continuous glucose monitors (CGMs).
  • Macronutrient composition of meals (carbohydrates, protein, fat, fiber).
  • Health and demographic parameters for 45 subjects with varying metabolic health statuses (healthy, pre-diabetes, type 2 diabetes).

The dataset contains 10 days of data per participant, with breakfast meals specifically analyzed for this study.

Key Insights and Ideas

  • Personalization is Key: The significant inter-individual differences in glucose response mean that generic models are insufficient. Accounting for individual health and demographic factors is crucial for accurate macronutrient prediction from CGM data.
  • PPGRs Encode Macronutrient Information: Despite the complexity, postprandial glucose profiles contain valuable information that can be leveraged to infer meal composition.
  • Interpretable Macronutrient Effects: The parametric embedding allows for insights into how individual health parameters modulate the impact of specific macronutrients. For instance, the model learned that fiber and protein have a significant subtractive effect on glucose response, while fat has a smaller one.
  • Beyond Carb-Caloric Ratio: The model's learned expression for glucose response is more nuanced than the simple carb-caloric ratio, incorporating personalized corrections for other macronutrients.

Key Results

  • Significant Performance Improvement: JointCGMacros, using 34 health parameters, significantly outperformed a baseline model that attempted to predict macronutrients directly from PPGRs without personalization. This was measured by lower Normalized Root Mean Squared Error (NRMSE) and higher Pearson correlation.
  • Feature Importance: The model identified HOMA-IR (a measure of insulin resistance) and fasting glucose as the most critical health parameters for predicting glucose response. An optimal set of 17 features, including demographics, metabolic health markers, and gut microbiome analytics, achieved better performance than using all available features.
  • Interpretable Weights: The learned weights in the parametric embedding revealed that fiber had the strongest negative impact (weight of 3.95), followed by protein (1.22), on glucose response when factoring in health.

Limitations and Future Work

  • Dataset Size: The authors acknowledge that while the CGMacros dataset is valuable, further improvements in macronutrient prediction might be achieved by relaxing the parametric constraint and using a deep learning model, which would likely require access to a larger dataset.
  • Generalizability: The study focused on breakfast meals. Future work could explore the model's performance on lunch and dinner meals, which may have different consumption patterns and macronutrient distributions.
  • Model Complexity: While the parametric approach offers interpretability, exploring alternative deep learning architectures that directly learn the complex relationship between PPGRs, macronutrients, and health parameters could yield further gains, provided sufficient data is available.

Summary updated

BibTeX
@inproceedings{das2025health,
  author = {Anurag Das and Ghady Nasrallah and Sicong Huang and Bobak J Mortazavi and Ricardo Gutierrez-Osuna},
  title = {{Health-driven personalized metabolic models of postprandial glucose responses to mixed meals}},
  booktitle = {BSN},
  year = {2025},
  url = {https://openreview.net/forum?id=mNS348ElTM},
}
Figure