Design of a Backward Chaining Expert System for Food Nutrition Recommendations Based on User Data
Article Sidebar
Abstract:
Background: Optimal health relies on balanced nutrition, but many struggle with food choices due to limited knowledge and restricted access to nutritionists. Existing solutions analyze food images or health texts separately, leaving a gap in integrating real-time image recognition with personalized medical inference.
Aims: This study aims to develop a personalized food recommendation expert system combining Convolutional Neural Network (CNN)-based image classification with backward chaining reasoning, mapping food images and user health profiles (BMI, medical history, allergies) into structured IF–THEN rules.
Methods: Using a software engineering R&D design, the system was built on a three-tier architecture guided by WHO and Indonesian Ministry of Health standards. Performance was evaluated via black-box testing, a 500-sample food image dataset, and synthetic user profile simulations (normal, obese, hypertensive, allergic).
Result: The CNN model achieved 87% accuracy across 500 test images, exceeding the 85% target threshold. Simulations showed an 80% average alignment with official dietary standards, successfully automating caloric restrictions, low-sodium adjustments, and allergen eliminations.
Conclusion: Combining computer vision with backward chaining inference effectively bridges the gap in automated personalized nutrition, serving as a self-service tool for the public and a decision support system for health professionals.
Keywords: Backward Chaining, Computer Vision, Convolutional Neural Network (CNN), Expert System, Health Technology
Downloads
Copyright (c) 2026 Angga Febrilian Adhiatma, Noval Arif Rahma, Corry Triana Hadi, Nawa Al Syaputra, Ignatius Agus Supriyono, Dendy Jonas

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
Alnooh, G., Alessa, T., Hawley, M., & de Witte, L. (2022). The Use of Dietary Approaches to Stop Hypertension (DASH) Mobile Apps for Supporting a Healthy Diet and Controlling Hypertension in Adults: Systematic Review. In JMIR Cardio (Vol. 6, Number 2). JMIR Publications Inc. https://doi.org/10.2196/35876
Amiri, M., Li, J., & Hasan, W. U. (2023). Personalized Flexible Meal Planning for Individuals With Diet-Related Health Concerns: System Design and Feasibility Validation Study. JMIR Formative Research, 7. https://doi.org/10.2196/46434
Aslam, Z., Missen, M. M. S., Ghaffar, A. A., Mehmood, A., Villar, M. G., Alvarado, E. S., & Ashraf, I. (2025). Advancing fake news combating using machine learning: a hybrid model approach. Knowledge and Information Systems, 67(12), 12137–12177. https://doi.org/10.1007/s10115-025-02588-y
Azzimani, K., Haggouni, J., Bihri, H., KHALIS, M., Azzouzi, S., & Charaf, M. E. H. (2026). Towards a Personalized Nutrition Using an Intelligent Dietary Assessment System. International Journal of Online and Biomedical Engineering (IJOE), 22(3). https://doi.org/10.3991/ijoe.v22i03.59271
Fitroha, N., Eka Suandi, A., Fajar Nurcahyadi, M., Nur Rakhmah, S., Ayu Sariasih, F., & Sutoyo, I. (2026). Perancangan Sistem Rekomendasi Resep Bergizi Untuk Masyarakat Menggunakan K-Means Clustering. JATI (Jurnal Mahasiswa Teknik Informatika), 10(1), 184–189. https://doi.org/10.36040/jati.v10i1.16631
Gavai, A. K., & van Hillegersberg, J. (2025). AI-driven personalized nutrition: RAG-based digital health solution for obesity and type 2 diabetes. PLOS Digital Health, 4(5 May). https://doi.org/10.1371/journal.pdig.0000758
Gioia, S., Vlasac, I., Babazadeh, D., Fryou, N. L., Do, E., Love, J., Robbins, R., Dashti, H. S., & Lane, J. M. (2023). Mobile Apps for Dietary and Food Timing Assessment: Evaluation for Use in Clinical Research. JMIR Formative Research, 7. https://doi.org/10.2196/35858
Guan, V., Zhou, C., Wan, H., Zhou, R., Zhang, D., Zhang, S., Yang, W., Voutharoja, B. P., Wang, L., Win, K. T., & Wang, P. (2023). A Novel Mobile App for Personalized Dietary Advice Leveraging Persuasive Technology, Computer Vision, and Cloud Computing: Development and Usability Study. JMIR Formative Research, 7. https://doi.org/10.2196/46839
Gustaman, R. A., Rahayu, A. U., Taufiqurrahman, I., & Sanaz, F. F. (2025). Dashboard Berbasis Web untuk Pemantauan Status Gizi Anak: Klasifikasi Otomatis Z-Score WHO, Visualisasi Longitudinal, dan Evaluasi Kegunaan. JASIEK (Jurnal Aplikasi Sains, Informasi, Elektronika Dan Komputer), 7(2), 217–233. https://doi.org/10.26905/jasiek.v7i2.16079
Hutchinson, J. M., Raffoul, A., Pepetone, A., Andrade, L., Williams, T. E., McNaughton, S. A., Leech, R. M., Reedy, J., Shams-White, M. M., Vena, J. E., Dodd, K. W., Bodnar, L. M., Lamarche, B., Wallace, M. P., Deitchler, M., Hussain, S., & Kirkpatrick, S. I. (2025). Advances in methods for characterising dietary patterns: A scoping review. In British Journal of Nutrition (Vol. 133, Number 7, pp. 987–1001). Cambridge University Press. https://doi.org/10.1017/S0007114524002587
Janna, N., & Lizar, Y. (2026). Implementasi Metode Forward Chaining pada Sistem Pakar untuk Diagnosa Penyakit sebagai Pendukung Keputusan. Indonesian Journal of Multidisciplinary on Social and Technology, 4(2), 1296–1302. https://doi.org/10.69693/ijmst.v4i2.9424
Kasher Meron, M., Givati, A., Agbaria, M., Barzilay Yoseph, L., Shapira, S., Ramati, E., Younis Zeidan, N., Kaufman-Shriqui, V., Kalter–Leibovici, O., & Rotman-Pikielny, P. (2026). Association between nutrition knowledge and Mediterranean diet adherence in Israeli adults with type 2 diabetes. European Journal of Clinical Nutrition. https://doi.org/10.1038/s41430-026-01781-8
Legrand, S., Ng, H., Jenkins, E. L., Dordevic, A. L., Murakami, K., Shinozaki, N., Dang, H. M. T., Bonham, M. P., & Mccaffrey, T. A. (2026). Examining the development of automated, personalised, dietary feedback using digital technologies: a systematic review. In Nutrition Research Reviews (Vol. 39). Cambridge University Press. https://doi.org/10.1017/S095442242610033X
Logan, D., Banerjee, J., Chutani, A. M., Kapur, K., Lee, J., Dey, A. B., & McEvoy, C. (2026). Development of a food composition database for nutrient analysis of dietary intake among older Indians: The LASI-DAD diet study. Journal of Food Composition and Analysis, 155. https://doi.org/10.1016/j.jfca.2026.109228
Maasi, C., . I., S., A., M., S., & R., S. (2026). AI-Enabled Smart Nutrition Detection Using YOLO. International Journal of Innovative Science and Research Technology (IJISRT), 1005. https://doi.org/10.38124/ijisrt/26may318
Min, W., Wang, Z., Liu, Y., Luo, M., Kang, L., Wei, X., Wei, X., & Jiang, S. (2023). Large Scale Visual Food Recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(8), 9932–9949. https://doi.org/10.1109/tpami.2023.3237871
Nahar, K. M. O., Banikhalaf, M., Ibrahim, F., Abual-Rub, M. S., Almomani, A., & Gupta, B. B. (2023). A Rule-Based Expert Advisory System for Restaurants Using Machine Learning and Knowledge-Based Systems Techniques. International Journal on Semantic Web and Information Systems, 19(1), 1–25. https://doi.org/10.4018/ijswis.333064
Nyasordzi, J., Boakye, P. D., Adedia, D., Annan-Asare, J., Koryo-Dabrah, A., Nartey, E. B., & Mensah, D. (2026). Evaluation of the association between nutrition knowledge and nutritional status among public and private upper primary school pupils. BMC Nutrition. https://doi.org/10.1186/s40795-026-01410-4
Onwuzo, C., Olukorode, J. o, Omokore, O. A., Odunaike, O. S., Omiko, R., Osaghae, O. w, Sange, W., Orimoloye, D. A., Kristilere, H. O., Addeh, E., Onwuzo, S., & Omoragbon, L. (2023). DASH Diet: A Review of Its Scientifically Proven Hypertension Reduction and Health Benefits. Cureus. https://doi.org/10.7759/cureus.44692
Pradana, A. R., Permatasari, H., & Pradana, A. I. (2026). Sistem Pakar Dengan Metode Certainty Factor Untuk Mengetahui Gaya Belajar Anak Usia Dini. Indonesian Journal of Applied Informatics, 10(1), 1. https://doi.org/10.20961/ijai.v10i1.103964
Prastomo, A., Syuhardi, Y. I., & Mardiyati, S. (2026). Perbandingan Metode Forward Chaining, Certainty Factor, dan Fuzzy pada Sistem Pakar. RIGGS: Journal of Artificial Intelligence and Digital Business, 5(1), 1161–1167. https://doi.org/10.31004/riggs.v5i1.6072
Rahmi, N., & I Made Sugi Ardana. (2026). Implementasi Sistem Pakar untuk Menentukan Status Gizi Balita Menggunakan Metode CBR Berbasis Website. Journal of Artificial Intelligence and Innovative Applications (JOAIIA), 7(1), 11–21. https://doi.org/10.32493/joaiia.v7i1.55259
Rijanandi, T., & Risdianto, E. (2025). Development of an Eye Care Chatbot Based on Llama 3 . 2 1B Using 4-bit QLoRA Technique. 2(1), 25–32.https://doi.org/10.58723/jivsc.v2i1.220
Rindi Devi, & Fajar Ratnawati. (2025). Sistem Pakar untuk Menentukan Status Gizi pada Balita dengan Menggunakan Metode Certainty Factor. Jurnal Teknik Informatika Dan Teknologi Informasi, 5(1), 27–52. https://doi.org/10.55606/jutiti.v5i1.5138
Salmanarrizqie, A. (2025). Tinjauan Literatur: Metode-Metode dalam Sistem Pakar dan Aplikasinya di Era Digital. JISEM (Jurnal Informatika, Sistem Informasi, Dan Elektro Modern), 1, 1–7. https://doi.org/10.33508/jisem.v1i01.7290
Singh, H. (2026). AI Powered Health Nutrient Rating System. International Journal for Research in Applied Science and Engineering Technology, 14(2), 917–927. https://doi.org/10.22214/ijraset.2026.77535
Siva Rama Krishna, B. L. V, Rafi, S., Sri Sai Praneeth, B. V. S., Sri Nag, P. V., Sireesh, T. N., & Harshitha, S. A. (2026). A Hybrid Machine Learning Framework for Personalized Weight Loss through Protein Intake Pattern Analysis. 2026 IEEE International Conference on Emerging Computing and Intelligent Technologies (ICoECIT), 1–6. https://doi.org/10.1109/ICoECIT68303.2026.11497296
Stefanidis, K., Tsatsou, D., Konstantinidis, D., Gymnopoulos, L., Daras, P., Wilson-Barnes, S., Hart, K., Cornelissen, V., Decorte, E., Lalama, E., Pfeiffer, A., Hassapidou, M., Pagkalos, I., Argiriou, A., Rouskas, K., Hadjidimitriou, S., Charisis, V., Dias, S. B., Diniz, J. A., … Dimitropoulos, K. (2022). PROTEIN AI Advisor: A Knowledge-Based Recommendation Framework Using Expert-Validated Meals for Healthy Diets. Nutrients, 14(20), 4435. https://doi.org/10.3390/nu14204435
Veeramreddy, M., Pradhan, A. K., Ghanta, S., Rachakonda, L., & Mohanty, S. P. (2024). NUTRIVISION: A System for Automatic Diet Management in Smart Healthcare. In arXiv (Cornell University). Cornell University. https://doi.org/10.48550/arxiv.2409.20508