DietGlance: Dietary Monitoring and Personalized Analysis at a Glance with Knowledge-Empowered AI Assistant

Zhihan Jiang, Running Zhao, Lin Lin, Yue Yu, Handi Chen, Xinchen Zhang, Xuhai Xu, Yifang Wang, Xiaojuan Ma, Edith C. H. Ngai · DOI

TL;DR

This paper introduces DietGlance, a novel AI-powered system that uses smart glasses to automatically monitor dietary intake and provide personalized nutritional analysis and suggestions. By combining multimodal sensing with a knowledge-enhanced LLM, DietGlance aims to overcome the limitations of manual food logging and generic dietary advice, offering a more holistic and effective approach to personal health management.

What Problem Does This Paper Address?

Maintaining a healthy diet is crucial for overall well-being, but accurately tracking food intake and understanding its nutritional impact is challenging. Traditional methods like manual food journaling are time-consuming and prone to inaccuracies. Existing automated systems often struggle with complex or home-cooked meals, lack in-depth nutritional analysis, and provide generic advice. This leaves a gap for a system that can automatically and accurately monitor dietary habits in real-world settings, offer comprehensive nutritional insights, and deliver personalized, knowledge-backed recommendations.

Methods

DietGlance employs a multimodal sensing approach using smart glasses (Aria Glasses) equipped with cameras, IMUs, and audio sensors.

  • Ingestive Episode Detection: A multimodal machine learning model combines IMU and audio data to detect when a user is eating or drinking.
  • Diet Image Capture and Segmentation: Images are captured during ingestive episodes, with a focus on the bottom one-third of the frame to capture the user's meal. Grounded-SAM is used for precise food, drink, and tableware segmentation. Privacy is enhanced by blurring irrelevant image regions.
  • Diet Identification and Nutritional Analysis: A vision-language model (GPT-4V) is used to identify food items and estimate consumed quantities. This is further enhanced by a Retrieval-Augmented Generation (RAG) module that leverages an extensive nutrition library.
  • Personalized Dietary Suggestions: The RAG-enhanced LLM provides both general and personalized dietary suggestions, tailored to user profiles, dietary goals, and meal logs. The system also includes a context-aware AI chatbot for interactive guidance.

Datasets

  • Nutrition Library: A comprehensive library was constructed from various reliable sources, including government databases, official reports, scientific articles, and peer-reviewed research. This library contains information on 7,032 foods and drinks and covers 28 different dietary needs.
  • User Study Data: Data was collected from two user studies:
  • Study I (Short-Term): 33 participants wore Aria Glasses to collect real-world data over a short period.
  • Study II (Longitudinal): 16 participants from Study I continued to use the system for four weeks.

Key Insights and Ideas

  • Multimodal Sensing is Key: Combining IMU, audio, and visual data from smart glasses provides a robust way to detect eating events and capture meal details in unconstrained environments.
  • RAG for Trustworthy AI: Directly using LLMs for dietary advice can lead to hallucinations or generic recommendations. Augmenting LLMs with a curated nutrition library via RAG significantly improves the accuracy and trustworthiness of nutritional analysis and suggestions.
  • Personalization Beyond Generic Advice: Tailoring suggestions based on individual profiles, goals, and even environmental contexts (like cafeteria menus) is crucial for user engagement and adherence.
  • User Experience Matters: While advanced AI is powerful, practical considerations like eyewear comfort, privacy, and an intuitive interface are essential for long-term adoption.

Key Results

  • Diet Identification: The system achieved a high F1-score of 0.972 in diet identification with crowd workers.
  • Nutritional Analysis: The system demonstrated high accuracy for macronutrients (average MAPE of 9.13% for energy, 11.70% for protein) and moderate accuracy for micronutrients. The RAG module significantly improved accuracy for sugar, calcium, and sodium.
  • Dietary Suggestions: AI-generated metrics showed that RAG-enhanced suggestions had higher relevance, coherence, and fluency. Expert evaluation also rated RAG-enhanced suggestions higher for accuracy.
  • User Studies:
    • Short-term study (N=33): Participants found the system usable and effective, appreciating automated logging and personalized insights.
  • Longitudinal study (N=16): Participants showed positive shifts in dietary behaviors, including reduced intake of unhealthy foods and increased awareness of meal timing. Usability scores improved over time.

Limitations and Future Work

  • Eyewear Comfort and Practicality: The Aria Glasses were noted as heavy and potentially uncomfortable for prolonged wear, and lens replacement for vision correction was not practical. Social acceptability in public settings remains a barrier. Future work could explore lighter glasses or alternative form factors.
  • Diet Identification Nuances: Visually similar items and complex mixed dishes can still pose challenges for accurate identification. Manual updates by users may be necessary.
  • Micronutrient Estimation: Estimating micronutrients remains a significant challenge due to their variability across food sources and preparation methods.
  • RAG Module Curation: The performance of the RAG module is highly dependent on the quality and comprehensiveness of the nutrition library. Continuous updating and verification of this knowledge base are crucial.
  • Generalizability: The current studies were primarily conducted with participants from Hong Kong. Further validation with more diverse cultural groups is needed.
  • Future Directions: The authors suggest exploring agentic frameworks for more flexible AI interactions, integrating data from other wearable devices for a more holistic health view, and developing proactive interventions.

Summary updated

BibTeX
@article{jiang2026dietglance,
  author = {Zhihan Jiang and Running Zhao and Lin Lin and Yue Yu and Handi Chen and Xinchen Zhang and Xuhai Xu and Yifang Wang and Xiaojuan Ma and Edith C. H. Ngai},
  title = {{DietGlance: Dietary Monitoring and Personalized Analysis at a Glance with Knowledge-Empowered AI Assistant}},
  journal = {ACM Transactions on Computing for Healthcare},
  year = {2026},
  doi = {10.1145/3797883},
}
Figure