Integrating nutritional deficiency prediction with semantic recipe intelligence: A machine learning approach
Nutritional deficiencies remain a significant global public health challenge, while existing dietary assessment and recipe recommendation systems often operate independently, limiting their ability to provide integrated and personalized nutritional guidance. This article presents an integrated artificial intelligence framework developed using Sri Lankan dietary reference intake guidelines, culturally specific food composition data, and a curated corpus of Sri Lankan recipes to support household nutritional guidance. The proposed framework was developed as part of this Sri Lankan study to address local nutritional challenges while providing a methodology that can be adapted to other countries by replacing country-specific dietary reference standards, food composition databases, and recipe repositories with those of other countries. The nutritional model employed adequacy ratio-based features with a random forest classifier, achieving 88.12% accuracy and a macro area under the curve of 0.91. The semantic module used Sentence-Bidirectional Encoder Representations from Transformers embeddings with fuzzy ingredient matching to achieve 86.84% classification accuracy under stratified cross-validation. By linking predicted deficiencies to context-aware recipes, the system transforms analytical insights into actionable meal recommendations. The results demonstrated that the framework achieved stable performance and showed strong potential for practical application.
- Gul G, Korejo IA, Hakro DN, et al. Machine Learning and Ensemble Methods for Cardiovascular Disease Prediction: A Systematic Review of Approaches, Performance Trends, and Research Challenges. Computers. 2026;15(1):25. doi: 10.3390/computers15010025
- Naderalvojoud B, Hernandez-Boussard T. Improving machine learning with ensemble learning on observational healthcare data. AMIA Annu Symp Proc. 2024;2023:521-529.
- Saha R, Saif S, Khan T, et al. A critical systematic review of ensemble learning methods for predictive healthcare. Discov Computing. 2026;29:117. doi: 10.1007/s10791-026-10005-3
- Duru I, Sunar AS. Transformer and Pre-Transformer Model-Based Sentiment Prediction with Various Embeddings: A Case Study on Amazon Reviews. Entropy. 2025;27(12):1202. doi: 10.3390/e27121202
- Khan HU, Naz A, Alarfaj FK, Almusallam N. A transformer-based architecture for collaborative filtering modeling in personalized recommender systems. Sci Rep. 2025;15(1):24503. doi: 10.1038/s41598-025-08931-1
- Institute of Medicine (US) Panel on Dietary Antioxidants and Related Compounds. Dietary Reference Intakes for Vitamin C, Vitamin E, Selenium, and Carotenoids. Washington (DC): National Academies Press (US); 2000. Chapter 1, Introduction to Dietary Reference Intakes.
- Carpenter CA, Ugwoaba UA, Cardel MI, Ross KM. Using self-monitoring technology for nutritional counseling and weight management. Digit Health. 2022;8:20552076221102774. doi: 10.1177/20552076221102774
- Aparicio A, Lozano-Estevan MDC. Nutritional Screening and Assessment in Different Populations. Nutrients. 2025;17(9):1525. doi: 10.3390/nu17091525
- Reber E, Gomes F, Vasiloglou MF, Schuetz P, Stanga Z. Nutritional Risk Screening and Assessment. J Clin Med. 2019;8(7):1065. doi: 10.3390/jcm8071065
- Fuhrman T. Nutrition screening, assessment, and monitoring. In: Outpatient Nutrition Care: GI, Metabolic and Home Nutrition Support. CRC Press; 2023:1-18. doi: 10.1201/9780429322570-1
- Rodrigues MS, Fidalgo F, Oliveira Â. RecipeIS Recipe Recommendation System Based on Recognition of Food Ingredients. Appl Sci. 2023;13(13):7880. doi: 10.3390/app13137880
- Jadhav R, Gulhaane SS. CookSmart: Ingredient-based smart recipe recommendation system design using UML diagrams. SSRN. Preprint posted January 5, 2026.
- Chhipa S, Berwal V, Hirapure T, Banerjee S. Recipe Recommendation System Using TF-IDF. Patil MD, Vyawahare VA, eds. ITM Web Conf. 2022;44:02006. doi: 10.1051/itmconf/20224402006
- Bailappanavar M. Recipe Recommendation System Using Machine Learning Techniques. J Comput Sci. 2025;18(1):61-70.
- Walsh HS, Andrade SR. Semantic Search With Sentence-BERT for Design Information Retrieval. Proceedings of the ASME 2022 International Design Engineering Technical Conferences and Computers and Information in Engineering Conference. Volume 2: 42nd Computers and Information in Engineering Conference (CIE). St. Louis, Missouri, USA. V002T02A066. ASME. doi: 10.1115/DETC2022-89557
- Seo J, Lee S, Liu L, Choi W. TA-SBERT: Token Attention Sentence-BERT for Improving Sentence Representation. IEEE Access. 2022;10:39119-39128. doi: 10.1109/ACCESS.2022.3164769
- Bossard L, Guillaumin M, Van Gool L. Food-101–Mining Discriminative Components with Random Forests. In: Fleet D, Pajdla T, Schiele B, Tuytelaars T, eds. Computer Vision–ECCV 2014. Lecture Notes in Computer Science, vol 8694. Springer, Cham; 2014:446-461. doi: 10.1007/978-3-319-10599-4_29
- Chaudhari S, Rane A, Kumar AR. Personalizing nutrition and recipe recommendation using attention mechanism with an ensemble model. Clin eHealth. 2025;8:66-77. doi: 10.1016/j.ceh.2025.03.002
- Kandadi T. AI-powered personalized nutrition recommendation system using ensemble machine learning models. SSRN. Preprint posted online 2025. doi: 10.2139/ssrn.5646710
- Aydın SK, Ali RH, Faiz S, Khan TA. An Integrated AI Framework for Personalized Nutrition Using Machine Learning and Natural Language Processing for Dietary Recommendations. Appl Sci. 2025;15(17):9283. doi: 10.3390/app15179283
- Tsolakidis D, Gymnopoulos LP, Dimitropoulos K. Artificial Intelligence and Machine Learning Technologies for Personalized Nutrition: A Review. Informatics. 2024;11(3):62. doi: 10.3390/informatics11030062
- Theodore Armand TP, Nfor KA, Kim JI, Kim HC. Applications of Artificial Intelligence, Machine Learning, and Deep Learning in Nutrition: A Systematic Review. Nutrients. 2024;16(7):1073. doi: 10.3390/nu16071073
- Quan W, Zhou J, Wang J, Huang J, Du L. Machine Learning-Driven Precision Nutrition: A Paradigm Evolution in Dietary Assessment and Intervention. Nutrients. 2025;18(1):45. doi: 10.3390/nu18010045
- Jasrotia S, Singla. A Comprehensive Review of AI and Machine Learning–Based Diet Chart Recommendation Systems. 2026 4th International Conference on Intelligent Data Communication Technologies and Internet of Things (IDCIoT). Ottapalam, India, 2026:1734-1741. doi: 10.1109/IDCIoT67589.2026.11455738
- Nagarkar G, Savyanavar A. Fusion of NLP and Nutritional Intelligence for Food Recommendation: A Three-Way Hybrid Model. 2025 International Conference on Next Generation Computing Systems (ICNGCS). Coimbatore, India. 2025:1-9. doi: 10.1109/ICNGCS64900.2025.11183285
- Ma W, Li M, Dai J, Ding J, Chu Z, Chen H. Nutrition-Related Knowledge Graph Neural Network for Food Recommendation. Foods. 2024;13(13):2144. doi: 10.3390/foods13132144
- Xhani D, Guizzardi R. Ontology for Personalized Recipe Recommendations Supporting Sustainability, Personal Preferences, and Health Restrictions. In: Bork D, Lukyanenko R, Sadiq S, Bellatreche L, Pastor O, eds. Conceptual Modeling. ER 2025. Lecture Notes in Computer Science, vol 16189. Springer, Cham; 2026:376-392. doi: 10.1007/978-3-032-08623-5_20
- Yuan W, Rongrong W, Zhaoxin Y, Hui G, Jing Y, Zhitao W. NutriChildNet: Deep Learning With Context-Aware Attention for Intelligent Childhood Nutrition Surveillance. IEEE Access. 2025;13:215940-215954. doi: 10.1109/ACCESS.2025.3635675
- Qiao G, Cheng C, Shen Z, Zhu J, Li H, Wu X. Depth-Nutrition: A Novel Food Nutrition Prediction Framework Guided by Deconstruction of Physical Features. IEEE Trans Multimedia. 2026:1-14. doi: 10.1109/tmm.2026.3688390
- Rojanaphan P. Automated nutrient deficiency detection and recommendation systems using deep learning in nutrition science. Int J Sci Res Manag. 2024;12(11):1746-1763. doi: 10.18535/ijsrm/v12i11.ec09
- Ispirova G, Eftimov T, Seljak BK. Comparing Semantic and Nutrient Value Similarities of Recipes. In: 2019 IEEE International Conference on Big Data (Big Data). Los Angeles, CA, USA. 2019:5131-5139. doi: 10.1109/BigData47090.2019.9006080
- Ispirova G, Eftimov T, Koroušić Seljak B. Domain Heuristic Fusion of Multi-Word Embeddings for Nutrient Value Prediction. Mathematics. 2021;9(16):1941. doi: 10.3390/math9161941
- Morales-Garzón A, Peinado PS, Morcillo-Jimenez R, Gutiérrez-Batista K, Martin-Bautista MJ. Service-oriented multi-platform for food computing: A mobile application for recipe adaptation to nutrition behaviours (AI2Cuisine). Expert Syst Appl. 2025;281:127603. doi: 10.1016/j.eswa.2025.127603
- Akbari M. Visual-Aware Deep Learning-Based Model for Predicting the Popularity of Online Finnish Recipes. Master Thesis. Oulu University of Applied Sciences; 2024. Accessed July 6, 2026. https://www.theseus.fi/handle/10024/866779
- Oz E, Oz F. Artificial Intelligence-Enabled Ingredient Substitution in Food Systems: A Review and Conceptual Framework for Sensory, Functional, Nutritional, and Cultural Optimization. Foods. 2025;14(22):3919. doi: 10.3390/foods14223919
- Fan Y, Zhou S, Li Y, Zhang R. Deep learning approaches for extracting adverse events and indications of dietary supplements from clinical text. J Am Med Inform Assoc. 2021;28(3):569-577. doi: 10.1093/jamia/ocaa218
- Sornavalli G, Sudhiksha NB, Yogeshram R, Sivaprakash YA. AI-Powered Personalized Nutrition Recommendation System for Adaptive Meal Planning. In: 2026 12th International Conference on Communication and Signal Processing (ICCSP). IEEE; 2026:1120-1125. doi: 10.1109/iccsp68173.2026.11539675
- Bhagyalakshmi A, Lahari SK, Raju VSD. Personalized Nutritional Guidance for Optimized Health. In: 2026 IEEE International Conference for Convergence in Computing Technology (I3CTCON). IEEE; 2026:1-7. doi: 10.1109/i3ctcon68242.2026.11507841
- McCarthy DI. Nutritional intelligence in the food system: Combining food, health, data and AI expertise. Nutr Bull. 2025;50(1):142-150. doi: 10.1111/nbu.12729
- Chaudhari SS, Rajarajeswari S, Prasad C, Rane AL, Kumar AR. Intelligent Computing Approaches for Nutrition-aware Food Recommendation System: Concepts, Techniques and Trends. Int J Patt Recogn Artif Intell. 2026. doi: 10.1142/s0218001426590317
- Zheng J, Wang J, Shen J, An R. Artificial Intelligence Applications to Measure Food and Nutrient Intakes: Scoping Review. J Med Internet Res. 2024;26:e54557. doi: 10.2196/54557
