All research
2026-07-15 PubMed

Hybrid CNN-MLLM system achieves 94.91% accuracy for image-based nutrition estimation in Type 1 diabetes

A Hybrid CNN-MLLM Architecture for Image-Based Nutrition Estimation and Advisory Insulin Decision Support in Type 1 Diabetes.

Background

Accurate carbohydrate counting (CC) is crucial for individuals with Type 1 diabetes (T1D) to manage insulin boluses effectively, yet it remains a significant cognitive burden and source of error. Traditional methods often rely on manual estimation, which can be inconsistent and time-consuming, leading to suboptimal glycemic control and increased risk of hypo- or hyperglycemia. Existing food recognition systems typically focus on general dietary logging and lack direct integration with personalized insulin therapy parameters, leaving a critical gap for real-time, patient-specific decision support.

Study Design

This study developed an image-based nutrition estimation and insulin decision-support module within the AI-assisted Diabetes Care (AIDCARE) platform. The system employs a convolutional neural network (CNN) for food item classification from single meal images. Three CNN architectures—ResNet50, Inception V3, and EfficientNet-B0—were evaluated on a curated food image dataset containing 40 food categories. A separate multimodal large language model (MLLM)-based component was then used to estimate portion size, enabling carbohydrate and nutrient values to be scaled. The system integrates these estimated values with user-specific clinical parameters, such as the insulin-to-carbohydrate ratio and insulin sensitivity factor, to generate advisory bolus guidance. A crucial safety feature requires user confirmation or correction of recognized food categories and estimated portions before displaying insulin recommendations.

Results

Evaluation on a curated food image dataset demonstrated strong performance from the hybrid architecture. Among the tested CNN models, EfficientNet-B0 achieved the highest classification accuracy, reaching 94.91% validation accuracy. This model also showed robust performance across other metrics, with 95.55% precision, 94.87% recall, and a 94.90% F1-score for food category classification. The MLLM-based portion estimation component delivered precise results, exhibiting a mean absolute error (MAE) of 12.27 g and a root mean square error (RMSE) of 15.11 g. These estimated carbohydrate values are then dynamically combined with individual user-specific clinical parameters, including their insulin-to-carbohydrate ratio and insulin sensitivity factor, to formulate personalized advisory bolus guidance. The system incorporates a critical safety step, requiring explicit user confirmation or correction of both the identified food category and the estimated portion size before any insulin recommendations are presented, ensuring patient oversight and reducing potential errors. This integration of accurate image analysis with personalized physiological data represents a significant step towards more precise and user-friendly Type 1 diabetes management.

The EfficientNet-B0 CNN achieved 94.91% validation accuracy for food classification, while the MLLM portion estimator had an MAE of 12.27 g.

Key Findings

  • Hybrid CNN-MLLM architecture developed for image-based nutrition estimation and insulin decision support.
  • EfficientNet-B0 CNN achieved 94.91% validation accuracy for food classification across 40 categories.
  • MLLM-based portion estimation component yielded an MAE of 12.27 g and RMSE of 15.11 g.
  • System integrates estimated carbohydrate values with user-specific insulin-to-carbohydrate ratio and insulin sensitivity factor.
  • User confirmation of food category and portion size is required for safety before advisory insulin guidance is displayed.

Why It Matters

This hybrid CNN-MLLM system offers a significant step towards alleviating the cognitive burden of carbohydrate counting for individuals with Type 1 diabetes. By automating and improving the accuracy of nutrition estimation from meal images, it can lead to more precise insulin bolus decisions, potentially reducing glycemic variability and improving overall T1D management. The practical takeaway is a more user-friendly and potentially safer tool for daily insulin dosing, moving beyond manual estimations. While currently an advisory system requiring user confirmation, this technology lays the groundwork for future integrated diabetes care platforms that could streamline insulin delivery protocols. It highlights how AI can enhance existing protocols by providing data-driven insights, making personalized insulin therapy more accessible and reliable for patients.


type-1-diabetes nutrition-estimation insulin-management ai machine-learning cnn
Source: pubmed:42451203 · Ingested 2026-07-15 · Digest: gemini-2.5-flash