AI nutrition recommendation using a deep generative model and ChatGPT

Ilias Papastratis,Dimitrios Konstantinidis,Petros Daras,Kosmas Dimitropoulos
DOI: https://doi.org/10.1038/s41598-024-65438-x
IF: 4.6
2024-06-27
Scientific Reports
Abstract:In recent years, major advances in artificial intelligence (AI) have led to the development of powerful AI systems for use in the field of nutrition in order to enhance personalized dietary recommendations and improve overall health and well-being. However, the lack of guidelines from nutritional experts has raised questions on the accuracy and trustworthiness of the nutritional advice provided by such AI systems. This paper aims to address this issue by introducing a novel AI-based nutrition recommendation method that leverages the speed and explainability of a deep generative network and the use of novel sophisticated loss functions to align the network with established nutritional guidelines. The use of a variational autoencoder to robustly model the anthropometric measurements and medical condition of users in a descriptive latent space, as well as the use of an optimizer to adjust meal quantities based on users' energy requirements enable the proposed method to generate highly accurate, nutritious and personalized weekly meal plans. Coupled with the ability of ChatGPT to provide an unparalleled pool of meals from various cuisines, the proposed method can achieve increased meal variety, accuracy and generalization capabilities. Extensive experiments on 3000 virtual user profiles and 84000 daily meal plans, as well as 1000 real profiles and 7000 daily meal plans, demonstrate the exceptional accuracy of the proposed diet recommendation method in generating weekly meal plans that are appropriate for the users in terms of energy intake and nutritional requirements, as well as the easiness with which it can be integrated into future diet recommendation systems.
multidisciplinary sciences
What problem does this paper attempt to address?
The problem this paper attempts to address is the lack of accuracy and reliability in current AI-based nutrition recommendation systems when providing personalized dietary advice. Specifically, despite significant advancements in the application of AI technology in the nutrition field in recent years, the absence of guidance from nutrition experts can lead to biased or inaccurate recommendations, thereby affecting users' health and well-being. To tackle this challenge, the paper proposes a new AI-based nutrition recommendation method. This method combines the speed and interpretability of deep generative networks with a novel loss function to ensure that the generated meal plans adhere to established nutritional guidelines. Additionally, the method employs Variational Autoencoders (VAE) to robustly model users' biometric measurements and medical conditions, and uses an optimizer to adjust meal portions to meet users' energy requirements. Leveraging the capabilities of ChatGPT, this method can generate highly accurate, nutritionally rich, and personalized weekly meal plans, while achieving greater meal diversity and generalization ability. The main contributions of the paper include: 1. Proposing a new deep generative network architecture that aligns the network with authoritative nutritional guidelines through a complex loss function, generating highly accurate personalized weekly meal plans. 2. Utilizing the capabilities of large language models (such as ChatGPT) to create an almost infinite meal database, enhancing the accuracy and generalization ability of the recommendation system. 3. Conducting extensive experiments on 3000 virtual user profiles and 1000 real user profiles to validate the method's exceptional accuracy in generating weekly meal plans that meet users' energy intake and nutritional needs, as well as its ease of integration into future dietary recommendation systems.