PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 16, 2026Journal of the American Medical Informatics Association0 citations

Exploring approaches to computational representation and classification of user-generated meal logs

View Full Paper
GHGuanlan HuAAAdit AnandPDPooja M Desai

Key Points

  • The research aims to explore how machine learning can classify user-generated meal logs in relation to nutritional goals.
  • Analyzed over 3000 meal records from 114 individuals using a mobile app.
  • Incorporated dietitian assessments as the gold standard for meal-goal alignment.
  • Utilized text embeddings and domain-specific enrichment for classifier training.
  • Evaluated classifiers including logistic regression and multilayer perceptron based on performance metrics.
  • Average classification accuracy of individuals' self-assessments was 0.576.
  • Machine learning classifiers achieved accuracies ranging from 0.726 to 0.841 for different nutritional goals.
  • Combining machine learning with domain-specific enrichment boosted accuracy to between 0.814 and 0.902.
  • Variability was noted in how enrichment and algorithms impacted classification accuracy.

Abstract

Abstract Objective This study examined the use of machine learning (ML) and domain-specific enrichment in patient-generated health data, in the form of free-text meal logs, to classify meals on alignment with different nutritional goals. Materials and Methods 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 (RDs) provided expert judgment for meal-goal alignment, used as the “gold-standard” for evaluation. Using text embeddings (TF-IDF and BERT) and domain-specific enrichment information (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 the individual’s self-assessment. Results On average, individuals who logged meals achieved 0.576 accuracy of meal-goal alignment self-assessments. Even without enrichment, ML outperformed individual’s self-assessments, with accuracies within 0.726-0.841 for different goals. The best-performing combination of ML classifier with enrichment achieved even higher accuracies (0.814-0.902). 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. Conclusion ML can utilize unstructured free-text meal logs and reliably classify whether meals align with specific nutritional goals, exceeding individuals’ 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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Hu et al. (2025) studied this question.

synapsesocial.com/papers/69b79fc18166e15b153ac576https://doi.org/10.1093/jamia/ocaf200
Ask AI
Helpful
Bookmark
Share
View Full Paper