Exploring approaches to computational representation and classification of user-generated meal logs
Authors:
Preprint
Abstract
This study examined the use of machine learning and domain specific enrichment on patient generated health data, in the form of free text meal logs, to classify meals on alignment with different nutritional goals. We used a dataset of over 3000 meal records collected by 114 individuals from a diverse, low income community in a major US city using a mobile app. Registered dietitians provided expert judgement for meal to goal alignment, used as gold standard for evaluation. Using text embeddings, including TFIDF and BERT, and domain specific enrichment information, including ontologies, ingredient parsers, and macronutrient contents as inputs, we evaluated the performance of logistic regression and multilayer perceptron classifiers using accuracy, precision, recall, and F1 score against the gold standard and self assessment. Even without enrichment, ML outperformed self assessments of individuals who logged meals, and the best performing combination of ML classifier with enrichment achieved even higher accuracies. In general, ML classifiers with enrichment of Parsed Ingredients, Food Entities, and Macronutrients information performed well across multiple nutritional goals, but there was variability in the impact of enrichment and classification algorithm on accuracy of classification for different nutritional goals. In conclusion, ML can utilize unstructured free text meal logs and reliably classify whether meals align with specific nutritional goals, exceeding self assessments, especially when incorporating nutrition domain knowledge. Our findings highlight the potential of ML analysis of patient generated health data to support patient centered nutrition guidance in precision healthcare.Keywords
All Related Versions
This publication has 25 references indexed in Scilit:
- Unleashing the Potential for Patient-Generated Health Data (PGHD)Journal of General Internal Medicine, 2024
- Machine learning prediction of the degree of food processingNature Communications, 2023
- Natural language processing and machine learning approaches for food categorization and nutrition quality prediction compared with traditional methodsThe American Journal of Clinical Nutrition, 2022
- Patient generated health data and electronic health record integration, governance and socio-technical issues: A narrative reviewInformatics in Medicine Unlocked, 2022
- Improving blood glucose level predictability using machine learningDiabetes/Metabolism Research and Reviews, 2020
- What you use, not what you do: Automatic classification and similarity detection of recipesData & Knowledge Engineering, 2018
- Detecting depression and mental illness on social media: an integrative reviewCurrent Opinion in Behavioral Sciences, 2017
- Dietary Assessment Methodology2017
- Personalized Nutrition by Prediction of Glycemic ResponsesCell, 2015
- Misconceptions of Fruit and Vegetable Consumption: Differences between Objective and Subjective Estimation of IntakeJournal of Nutrition Education, 1997