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

TL;DR

This paper introduces DietGlance, a novel system using smart glasses to automatically monitor dietary intake and provide personalized nutritional analysis and suggestions. By combining multimodal sensing with a knowledge-empowered AI assistant, DietGlance aims to overcome the limitations of manual food logging and generic dietary advice, offering a more comprehensive and actionable approach to health management.

What Problem Does This Paper Address?

Maintaining a healthy diet is crucial for overall well-being, but current dietary monitoring methods often fall short. Manual food journaling is tedious and prone to inaccuracies, while existing automated systems struggle with complex meals and lack domain-specific knowledge for in-depth nutritional analysis and personalized advice. This leaves a gap in providing users with a convenient, accurate, and insightful tool to understand and improve their eating habits.

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 accurately detect when a user is eating or drinking.
  • Diet Image Capture and Segmentation: Images are captured during ingestive episodes, with a focus on the user's meal. Privacy is enhanced through blurring and cropping, and a segmentation technique (Grounded-SAM) identifies food, drinks, and tableware.
  • Diet Identification and Nutritional Analysis: A vision-language model (GPT-4V) analyzes the segmented meal images and user profiles to identify food items and estimate quantities. This is further enhanced by a Retrieval-Augmented Generation (RAG) module, which grounds the LLM with a comprehensive nutrition library.
  • Personalized Dietary Suggestions: The RAG-grounded LLM provides both general and personalized dietary suggestions, tailored to user goals and informed by the nutrition library.
  • User Interface: An interactive desktop and mobile interface allows users to review meal logs, nutritional analyses, and suggestions, with options to correct errors and interact with a context-aware AI chatbot.

Datasets

  • Nutrition Library: A custom-built library comprising data from the Centre of Food Safety (Hong Kong SAR), USDA National Nutrient Database, WHO reports, scientific articles, and peer-reviewed research. This library contains information on over 7,000 foods and drinks and is categorized by 28 different dietary needs.
  • User Study Data: Data collected from two user studies:
  • Study I (Short-term): 33 participants wore Aria Glasses during meal sessions.
  • Study II (Longitudinal): 16 participants from Study I continued to use DietGlance for four weeks.

Key Insights and Ideas

  • Eyewear as a Naturalistic Data Collection Tool: Smart glasses offer a promising, hands-free platform for unobtrusive dietary monitoring in real-world settings, overcoming the limitations of manual logging.
  • RAG for Trustworthy AI in Health: Integrating a Retrieval-Augmented Generation (RAG) module with LLMs is crucial for providing accurate and reliable nutritional analysis and dietary suggestions, mitigating hallucinations and enhancing trust.
  • Personalization Beyond Basic Metrics: Effective dietary guidance requires considering not just nutritional intake but also user experience, environmental context, and individual goals.
  • The Importance of User Experience: While the technology is advanced, practical considerations like eyewear comfort, social acceptability, and intuitive interfaces are vital for long-term user adoption and engagement.

Key Results

  • Diet Identification: DietGlance achieved a high F1-score of 0.972 in diet identification and logging.
  • Nutritional Analysis: The system demonstrated high accuracy for key macronutrients (e.g., energy: 9.13% MAPE) but faced challenges with variable micronutrients. The RAG module significantly improved accuracy for sugar, calcium, and sodium.
  • Dietary Suggestions: AI-generated suggestions with RAG showed significantly higher relevance, coherence, and fluency compared to those without RAG. Expert evaluation also rated RAG-enhanced suggestions higher in accuracy.
  • User Studies:
    • Short-term study (N=33): Participants found DietGlance usable and effective, with positive feedback on automated logging, nutritional analysis, and personalized suggestions.
  • Longitudinal study (N=16): Over four weeks, participants showed increased understanding of their diets, improved meal timing awareness, and reduced consumption of unhealthy foods. Experienced users leveraged advanced features more, while novice users benefited from broader suggestions.

Limitations and Future Work

  • Eyewear Comfort and Practicality: The weight and potential discomfort of smart glasses, along with social acceptability concerns, remain barriers to long-term adoption. Future work could explore lighter designs or alternative wearable form factors.
  • Diet Identification Nuances: Visually similar items and complex mixed dishes can still pose challenges for accurate identification. Manual updates by users are sometimes necessary.
  • Micronutrient Estimation: Accurately estimating micronutrients remains a significant challenge due to variability in food sources and preparation methods.
  • RAG Module Curation: The quality and complexity of the nutrition library directly impact RAG's performance. Future work could focus on automated consistency checking and dynamic knowledge base updates.
  • Generalizability: While the framework is modular, studies were primarily conducted with Chinese participants, limiting generalizability to other cultural contexts. Future research should explore diverse populations.
  • User Experience for Novices: While usability improved, novice users may require more tailored onboarding and support to fully leverage the system's advanced features.
  • Integration with Other Health Data: Combining dietary data with physical activity, sleep, and other health metrics could provide a more holistic view and enhance personalization.
  • Proactive Intervention: Developing more proactive interventions, such as real-time notifications and multimodal feedback, could further improve user engagement and adherence.

Summary updated

BibTeX
@article{jiang2026i,
  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 = {{<i>DietGlance</i> : 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