Generative AI-based Meal Recommender System
Main Article Content
Abstract
Maintaining a balanced diet is essential for overall well-being, yet many individuals face challenges in meal planning due to time constraints, limited nutritional knowledge, and difficulty aligning meals with personal dietary needs. Traditional meal recommender systems often rely on predefined plans or collaborative filtering techniques, limiting their adaptability and personalization. This study presents a generative AI-based Meal Recommender System utilizing Variational Autoencoders (VAEs) to generate personalized and nutritionally balanced meal plans. The system processes user inputs, such as dietary preferences, nutritional goals, and ingredient availability, to provide tailored recommendations. VAEs effectively uncover hidden dietary patterns and nutritional relationships within complex data, facilitating relevant and personalized meal suggestions. The system is trained and evaluated using two integrated datasets: one containing detailed nutritional information for complete meal plans, including attributes such as calories, protein, fats, carbohydrates, and sodium, and another listing individual dishes along with their names and user ratings. The meal plan dataset connects multiple dishes into structured daily meal schedules, while the dish dataset provides popularity and quality insights through user feedback. Together, these datasets enable the generation of personalized and nutritionally optimized meal recommendations. Experimental evaluation indicates strong ranking performance with a Normalized Discounted Cumulative Gain (NDCG) score of 0.963. However, Root Mean Square Error (RMSE), Mean Squared Error (MSE), and Mean Absolute Error (MAE) scores of 47.77, 2282.32, and 36.28, respectively, highlight potential areas for improving nutritional accuracy. A practical comparison with existing meal recommendation applications demonstrates the VAE model’s advantages in terms of personalization, nutritional fine-tuning, and recommendation diversity. The research contributes to AI-driven nutrition planning, healthcare, and fitness, offering a scalable and intelligent solution for personalized dietary recommendations.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
All articles published in JIWE are licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License. Readers are allowed to
- Share — copy and redistribute the material in any medium or format under the following conditions:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use;
- NonCommercial — You may not use the material for commercial purposes;
- NoDerivatives — If you remix, transform, or build upon the material, you may not distribute the modified material.
References
K. N. Ooi, S. C. Haw, and K. W. Ng, “A Healthcare Recommender System Framework,” Int J Adv Sci Eng Inf Technol, vol. 13, no. 6, 2023. doi: 10.18517/ijaseit.13.6.19049.
“Correction: Ecological responses to blue water MPAs,” PLoS One, vol. 15, no. 8, p. e0238558, Aug. 2020. doi: 10.1371/journal.pone.0238558.
H. I. Duh, A. Grubliauskiene, and S. Dewitte, “Pre-exposure to food temptation reduces subsequent consumption: A test of the procedure with a South-African sample,” Appetite, vol. 96, pp. 636–641, Jan. 2016. doi: 10.1016/j.appet.2015.10.024.
W.-E. Kong, T.-E. Tai, P. Naveen, and H. A. Santoso, “Performance Evaluation on E-Commerce Recommender System based on KNN, SVD, CoClustering and Ensemble Approaches,” Journal of Informatics and Web Engineering, vol. 3, no. 3, pp. 63–76, Oct. 2024. doi: 10.33093/jiwe.2024.3.3.4.
N. Wang, D. Liu, J. Zeng, L. Mu, and J. Li, “HGRec: Group Recommendation With Hypergraph Convolutional Networks,” IEEE Trans Comput Soc Syst, vol. 11, no. 3, pp. 4214–4225, Jun. 2024. doi: 10.1109/TCSS.2024.3363843.
Z.-T. Yap, S.-C. Haw, and N. E. Binti Ruslan, “Hybrid-based food recommender system utilizing KNN and SVD approaches,” Cogent Eng, vol. 11, no. 1, Dec. 2024. doi: 10.1080/23311916.2024.2436125.
I. Papastratis, D. Konstantinidis, P. Daras, and K. Dimitropoulos, “AI nutrition recommendation using a deep generative model and ChatGPT,” Sci Rep, vol. 14, no. 1, p. 14620, Jun. 2024. doi: 10.1038/s41598-024-65438-x.
M. Li, L. Li, X. Tao, Q. Xie, and J. Yuan, “Category-Wise Meal Recommendation,” 2024, pp. 282–294. doi: 10.1007/978-981-99-8181-6_22.
N. Mustafa et al., “iDietScoreTM: Meal recommender system for athletes and active individuals,” International Journal of Advanced Computer Science and Applications, vol. 11, no. 12, 2020. doi: 10.14569/IJACSA.2020.0111234.
T. N. T. Tran, A. Felfernig, C. Trattner, and A. Holzinger, “Recommender systems in the healthcare domain: state-of-the-art and research issues,” J Intell Inf Syst, vol. 57, no. 1, pp. 171–201, Aug. 2021. doi: 10.1007/s10844-020-00633-6.
C. Yi-Ying, H. Su-Cheng, and N. Palanichamy, “Food Recommender System: A Review on Techniques, Datasets and Evaluation Metrics,” Journal of System and Management Sciences, vol. 13, no. 5, Sep. 2023. doi: 10.33168/JSMS.2023.0510.
M. B. Garcia, J. B. Mangaba, and C. C. Tanchoco, “Acceptability, Usability, and Quality of a Personalized Daily Meal Plan Recommender System: The Case of Virtual Dietitian,” in 2021 IEEE 13th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management (HNICEM), IEEE, Nov. 2021, pp. 1–6. doi: 10.1109/HNICEM54116.2021.9732056.
C. Lokuge and G. U. Ganegoda, “Implementation of a personalized and healthy meal recommender system in aid to achieve user fitness goals,” in 2021 International Research Conference on Smart Computing and Systems Engineering (SCSE), IEEE, Sep. 2021, pp. 84–93. doi: 10.1109/SCSE53661.2021.9568335.
S.-H. Wu, J. Hsiao, Y.-S. Wu, and J.-T. Jeng, “AI Food Recommendation Systems,” in 2022 IET International Conference on Engineering Technologies and Applications (IET-ICETA), IEEE, Oct. 2022, pp. 1–2. doi: 10.1109/IET-ICETA56553.2022.9971598.
S. Agarwal, M. Uppal, D. Gupta, S. Juneja, and R. Kashyap, “A User Preference-Based Food Recommender System using Artificial Intelligence,” in 2024 2nd International Conference on Disruptive Technologies (ICDT), IEEE, Mar. 2024, pp. 519–523. doi: 10.1109/ICDT61202.2024.10489453.
A. Jamilu Ibrahim, P. Zira, and N. Abdulganiyyi, “Hybrid Recommender for Research Papers and Articles,” International Journal of Intelligent Information Systems, vol. 10, no. 2, p. 9, 2021. doi: 10.11648/j.ijiis.20211002.11.
O. J, J. P. N, D. K, B. S, and R. K, “Personalized Drug Recommendation System Using Wasserstein Auto-encoders and Adverse Drug Reaction Detection with Weighted Feed Forward Neural Network (WAES-ADR) in Healthcare,” Journal of Informatics and Web Engineering, vol. 4, no. 1, pp. 332–347, Feb. 2025. doi: 10.33093/jiwe.2025.4.1.24.
M. T.-T. Yong, S.-B. Ho, and C.-H. Tan, “Migraine Generative Artificial Intelligence based on Mobile Personalized Healthcare,” Journal of Informatics and Web Engineering, vol. 4, no. 1, pp. 275–291, Feb. 2025. doi: 10.33093/jiwe.2025.4.1.20.
J. Chicaiza and P. Valdiviezo-Diaz, “A Comprehensive Survey of Knowledge Graph-Based Recommender Systems: Technologies, Development, and Contributions,” Information, vol. 12, no. 6, p. 232, May 2021. doi: 10.3390/info12060232.
E. Dervishaj and P. Cremonesi, “GAN-based matrix factorization for recommender systems,” in Proceedings of the 37th ACM/SIGAPP Symposium on Applied Computing, New York, NY, USA: ACM, Apr. 2022, pp. 1373–1381. doi: 10.1145/3477314.3507099.
R. R. Titar and M. Ramanathan, “Variational autoencoders for generative modeling of drug dosing determinants in renal, hepatic, metabolic, and cardiac disease states,” Clin Transl Sci, vol. 17, no. 7, Jul. 2024. doi: 10.1111/cts.13872.
J. Lin et al., “How Can Recommender Systems Benefit from Large Language Models: A Survey,” ACM Trans Inf Syst, vol. 43, no. 2, pp. 1–47, Mar. 2025. doi: 10.1145/3678004.
N. A. N. Binti Mohd Romzi, S.-C. Haw, W.-E. Kong, H. A. Santoso, and G.-K. Tong, “Generative AI Recommender System in E-Commerce,” Int J Adv Sci Eng Inf Technol, vol. 14, no. 6, pp. 1823–1835. Dec. 2024, doi: 10.18517/ijaseit.14.6.10509.
Y. Deldjoo et al., “Recommendation with Generative Models,” Sep. 2024.
L. Banh and G. Strobel, “Generative artificial intelligence,” Electronic Markets, vol. 33, no. 1, p. 63, Dec. 2023. doi: 10.1007/s12525-023-00680-1.
M. Y. Xin, L. W. Ang, and S. Palaniappan, “A Data Augmented Method for Plant Disease Leaf Image Recognition based on Enhanced GAN Model Network,” Journal of Informatics and Web Engineering, vol. 2, no. 1, pp. 1–12, Mar. 2023. doi: 10.33093/jiwe.2023.2.1.1.
M. O. Ayemowa, R. Ibrahim, and M. M. Khan, “Analysis of Recommender System Using Generative Artificial Intelligence: A Systematic Literature Review,” IEEE Access, vol. 12, pp. 87742–87766, 2024. doi: 10.1109/ACCESS.2024.3416962.
R. Venkataramanan et al., “Cook-Gen: Robust Generative Modeling of Cooking Actions from Recipes,” in 2023 IEEE International Conference on Systems, Man, and Cybernetics (SMC), IEEE, Oct. 2023, pp. 981–986. doi: 10.1109/SMC53992.2023.10394432.
K. Ramani, L. S. Priya, L. S. Santhoshi, G. Manichandrika, and G. V. Koushik, “NutriSustain: Bridging Sustainable Practice with Health Conscious Food Recommendation System,” in 2024 10th International Conference on Advanced Computing and Communication Systems (ICACCS), IEEE, Mar. 2024, pp. 1491–1496. doi: 10.1109/ICACCS60874.2024.10717303.
I. Papastratis, D. Konstantinidis, P. Daras, and K. Dimitropoulos, “AI nutrition recommendation using a deep generative model and ChatGPT,” Sci Rep, vol. 14, no. 1, p. 14620, Jun. 2024. doi: 10.1038/s41598-024-65438-x.
T. Theodoridis, V. Solachidis, K. Dimitropoulos, and P. Daras, “A Cross-Modal Variational Framework For Food Image Analysis,” in 2020 IEEE International Conference on Image Processing (ICIP), IEEE, Oct. 2020, pp. 3244–3248. doi: 10.1109/ICIP40778.2020.9190758.
Y. Zhang et al., “An Enhanced Algorithm for Object Detection Based on Generative Adversarial Structure,” Jisuanji Xuebao/Chinese Journal of Computers, vol. 47, no. 3, 2024. doi: 10.11897/SP.J.1016.2024.00647.
A. Pesaranghader and T. Sajed, “RECipe: Does a Multi-Modal Recipe Knowledge Graph Fit a Multi-Purpose Recommendation System?,” Aug. 2023.
M. Han, J. Chen, and Z. Zhou, “NutrifyAI: An AI-Powered System for Real-Time Food Detection, Nutritional Analysis, and Personalized Meal Recommendations,” Aug. 2024.
I. Papastratis, D. Konstantinidis, P. Daras, and K. Dimitropoulos, “AI nutrition recommendation using a deep generative model and ChatGPT,” Sci Rep, vol. 14, no. 1, p. 14620, Jun. 2024. doi: 10.1038/s41598-024-65438-x.
L. Kopitar, G. Stiglic, L. Bedrac, and J. Bian, “Personalized Meal Planning in Inpatient Clinical Dietetics Using Generative Artificial Intelligence: System Description,” in 2024 IEEE 12th International Conference on Healthcare Informatics (ICHI), IEEE, Jun. 2024, pp. 326–331. doi: 10.1109/ICHI61247.2024.00049.
J. O’Meara and C. Murphy, “Aberrant AI creations: co-creating surrealist body horror using the DALL-E Mini text-to-image generator,” Convergence, vol. 29, no. 4, 2023. doi: 10.1177/13548565231185865.
D. P. Kingma and M. Welling, “Auto-Encoding Variational Bayes,” Dec. 2013.
C. Doersch, “Tutorial on Variational Autoencoders,” Jun. 2016.
D. S. Schade, L. Shey, and R. P. Eaton, “Cholesterol Review: A Metabolically Important Molecule,” Endocrine Practice, vol. 26, no. 12, pp. 1514–1523, Dec. 2020, doi: 10.4158/EP-2020-0347.