Applying a Robust Deep Learning Model to Assess the Remaining Amount of Foods With High Glycemic Index in Taiwanese Hospital Diabetic Meals: A Focus on Rice and Congee, With Milk as a Low-Glycemic Reference
Year: 2025
Type: article
Abstract: Background Building on our previous success in artificial intelligence (AI)-driven food classification, this study aims to enhance portion size estimation methods, with a particular focus on rice and congee, using milk as a low-glycemic index reference in selected Taiwanese hospitals. Methods We used a RealSense D435i depth camera to capture both two-dimensional (2D) and three-dimensional (3D) images of rice, congee, and milk served in standard hospital bowls. The images were labeled and classified by a convolutional neural network (CNN), Xception, while food weight and volume were estimated using 25 depth points with multiple perceptron (MLP) models. MLP models were trained on 80% of the dataset and tested on the remaining 20%, with predictions refined through a weighted ensemble of selected MLP models. We validated the MLP model performance through three comparisons: (1) MLP vs. traditional statistical methods (linear regression), (2) MLP vs. clinical dietitians, and (3) MLP performance across three different hospital settings. Results The Xception model accurately identified foods with high glycemic index and recognized milk as a low-glycemic reference, achieving a training accuracy of 1.0 with the loss approaching zero by epoch 22. Test accuracy stabilized early with consistently low loss. MLP models effectively predicted food weights, with Models E, F, and G yielding the lowest mean squared errors for rice, congee, and milk, respectively. Across all food types, MLP models consistently outperformed traditional linear regression, showing lower mean absolute percentage error (MAPE: 0.3–3.3%) compared to linear regression (MAPE: 4–9.2%). When compared with estimates from six experienced dietitians (MAPE: 39–41%), the MLP models also demonstrated markedly higher accuracy. Performance remained stable across three hospital sites, indicating strong generalizability. Conclusion The Xception and MLP models effectively quantified foods with high glycemic index and identified milk as a low-glycemic reference, demonstrating strong predictive performance and generalizability. Further studies are warranted to extend this approach to other food types.
Authors: Hsien-Yu Fan, Pey-Rong Chen, Ya-Ting Kuo, Yu-Tien Chang, Kuo-Liong Chien, Yung-Chi Lu, Shih-Lin Hung, Shih-Ming Chuang, Ying-Yueh Chu
Language: English
Subfield: Computer Vision and Pattern Recognition
Field: Computer Science
Domain: Physical Sciences
Open Access status: gold
Estimated APC paid: $5,000
OpenAlex ID: W4415221107
