EUVIMEDExplore EUVIMED
Open access

An AI Dietitian for Type 2 Diabetes Mellitus Management Based on Large Language and Image Recognition Models: Preclinical Concept Validation Study

Haonan Sun iD, Kai Zhang iD, Wei Lan iD, Qiufeng Gu iD, Guangxiang Jiang iD, Xue Yang iD, Wanli Qin iD, Dongran Han iD

Journal of Medical Internet Research · 2023-11-09 · 25 · e51300

DOI: 10.2196/51300 ↗

At a glance

Journal article in Journal of Medical Internet Research, published online on 2023-11-09. Written by Haonan Sun and 7 co-authors. Institution: School of Life Science, Beijing University of Chinese Medicine, Beijing, China. Major MEDLINE topics: Nutritionists, Diabetes Mellitus, Type 2. Cited 105 times so far (Crossref); 32 references. The full text is freely available in PubMed Central.

AbstractSubjectsBibliographic detailsCiteRelated studies

Abstract (original language)

Background

Nutritional management for patients with diabetes in China is a significant challenge due to the low supply of registered clinical dietitians. To address this, an artificial intelligence (AI)–based nutritionist program that uses advanced language and image recognition models was created. This program can identify ingredients from images of a patient’s meal and offer nutritional guidance and dietary recommendations.

Objective

The primary objective of this study is to evaluate the competence of the models that support this program.

Methods

The potential of an AI nutritionist program for patients with type 2 diabetes mellitus (T2DM) was evaluated through a multistep process. First, a survey was conducted among patients with T2DM and endocrinologists to identify knowledge gaps in dietary practices. ChatGPT and GPT 4.0 were then tested through the Chinese Registered Dietitian Examination to assess their proficiency in providing evidence-based dietary advice. ChatGPT’s responses to common questions about medical nutrition therapy were compared with expert responses by professional dietitians to evaluate its proficiency. The model’s food recommendations were scrutinized for consistency with expert advice. A deep learning–based image recognition model was developed for food identification at the ingredient level, and its performance was compared with existing models. Finally, a user-friendly app was developed, integrating the capabilities of language and image recognition models to potentially improve care for patients with T2DM.

Results

Most patients (182/206, 88.4%) demanded more immediate and comprehensive nutritional management and education. Both ChatGPT and GPT 4.0 passed the Chinese Registered Dietitian examination. ChatGPT’s food recommendations were mainly in line with best practices, except for certain foods like root vegetables and dry beans. Professional dietitians’ reviews of ChatGPT’s responses to common questions were largely positive, with 162 out of 168 providing favorable reviews. The multilabel image recognition model evaluation showed that the Dino V2 model achieved an average F1 score of 0.825, indicating high accuracy in recognizing ingredients.

Conclusions

The model evaluations were promising. The AI-based nutritionist program is now ready for a supervised pilot study.

Subjects

MeSH terms (MEDLINE)

NutritionistsDiabetes Mellitus, Type 2HumansArtificial IntelligencePilot ProjectsLanguageMeals

Author keywords

AIChatGPTGPT 4.0NLPartificial intelligencedeep learningdiabetesdiabeticdietdietarydieticiandigital healthfoodimage recognitioningredient recognition

Authors and institutions

  • School of Life Science, Beijing University of Chinese Medicine, Beijing, China.
  • Department of Pediatrics, Peking University Shenzhen Hospital, Shenzhen, China.

ORCID profiles: Haonan Sun, Kai Zhang, Wei Lan, Qiufeng Gu, Guangxiang Jiang, Xue Yang, Wanli Qin, Dongran Han

Cite

APA

Sun, H., Zhang, K., Lan, W., Gu, Q., Jiang, G., Yang, X., Qin, W., & Han, D. (2023). An AI Dietitian for Type 2 Diabetes Mellitus Management Based on Large Language and Image Recognition Models: Preclinical Concept Validation Study. Journal of Medical Internet Research, 25, e51300. https://doi.org/10.2196/51300

Vancouver

Sun H, Zhang K, Lan W, Gu Q, Jiang G, Yang X, et al. An AI Dietitian for Type 2 Diabetes Mellitus Management Based on Large Language and Image Recognition Models: Preclinical Concept Validation Study. Journal of Medical Internet Research. 2023;25:e51300. doi:10.2196/51300

BibTeX
@article{Sun2023,
  author = {Sun, Haonan and Zhang, Kai and Lan, Wei and Gu, Qiufeng and Jiang, Guangxiang and Yang, Xue and Qin, Wanli and Han, Dongran},
  title = {An AI Dietitian for Type 2 Diabetes Mellitus Management Based on Large Language and Image Recognition Models: Preclinical Concept Validation Study},
  journal = {Journal of Medical Internet Research},
  year = {2023},
  volume = {25},
  pages = {e51300},
  doi = {10.2196/51300}
}
Start for free →