Integrating LLM-Based Nutrient Estimation from Chinese Diet Logs for Better Continuous Glucose Forecasting
- 15 December 2025
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 7372-7378
Abstract
Accurate short-term forecasting of blood glucose is essential for safe diabetes self-management, yet existing forecasters seldom leverage nutrients estimated from free-text meal logs. This estimating nutrient is especially challenging for Chinese meals due to mixed dishes and diverse preparation styles. In this study, we investigate whether large language model (LLM)-based nutrient estimation from Chinese diet logs can improve dynamic glucose forecasting. Five Chinese-capable LLMs for Chinese texts (GPT5-mini, DeepSeekv3.1, Llama3.170B, GLM4.5, Qwen3-235B) are prompted to estimate macronutrients and weighted GI for meals. We also compare two pipelines for nutrition estimation: database-first with LLM fallback and LLM-only with retrieval-augmented generation (RAG). We propose a seasonal-patch Transformer architecture designed for multi-source feature fusion, integrating dynamic sequences, static patient data, diet word embeddings, and the LLM-estimated nutritional profiles. Experiments on 112 realworld Chinese patients (ShanghaiT1DM $\mathrm{n}=12$, ShanghaiT2DM $\mathbf{n}=\mathbf{1 0 0}$) showed that, versus a no-LLM baseline, LLMaugmented models reduced 3-h postprandial RMSE by up to 1.2 $\mathbf{m g} / \mathbf{d L}(\mathbf{3 6. 0 6} \rightarrow \mathbf{3 4. 8 6 ~ m g} / \mathbf{d L})$ and achieved the best full-period RMSE of $26.66 \text{mg} / \text{dL}$, comparable to a recent large pretraining forecasting model. Forecast gain correlates strongest with carbohydrate $(\rho=0.94)$ and fat $(\rho=0.77)$ estimation accuracy. These results demonstrate that LLM-based nutritional feature engineering provides a critical pathway toward more precise, personalized CGM forecasting and the realization of clinical digital twins.
Keywords
This publication has 18 references indexed in Scilit:
- Large language models forecast patient health trajectories enabling digital twinsnpj Digital Medicine, 2025
- A large sensor foundation model pretrained on continuous glucose monitor data for diabetes managementnpj Health Systems, 2025
- Individual variations in glycemic responses to carbohydrates and underlying metabolic physiologyNature Medicine, 2025
- A deep learning framework for virtual continuous glucose monitoring and glucose prediction based on life-log dataScientific Reports, 2025
- DALL-M: Context-aware clinical data augmentation with large language modelsComputers in Biology and Medicine, 2025
- A new multivariate blood glucose prediction method with hybrid feature clustering and online transfer learningHealth Information Science and Systems, 2024
- Dietary Assessment With Multimodal ChatGPT: A Systematic AnalysisIEEE Journal of Biomedical and Health Informatics, 2024
- Chinese diabetes datasets for data-driven machine learningScientific Data, 2023
- Metabolism of sugars: A window to the regulation of glucose and lipid homeostasis by splanchnic organsClinical Nutrition, 2021
- Understanding Cultural Influences on Dietary Habits in Asian, Middle Eastern, and Latino Patients with Type 2 Diabetes: A Review of Current Literature and Future DirectionsCurrent Diabetes Reports, 2017