Abstract
Recipe data and user interactions and preferences have been widely studied in food computing, especially for the recipe recommendation task. One part of these works seeks to introduce healthy patterns while considering user preferences, known as healthy-aware recommender systems. The major challenge here is to build systems capable of learning the complex structure of recipe data since they involve heterogeneous resources. Internet-sourced recipe collections may also have a representative amount of recipes that do not follow healthy guidelines, thus inhibiting the performance of health-aware recommender systems. We propose a new method for recipe recommendation based on a link prediction algorithm that considers recipes, their healthy features, and users. We train the model twice, once with the whole dataset and once with recipes following healthy guidelines. We follow three strategies for representing recipe data regarding healthy features. In general, training the model in recipe data that follows healthy guidelines achieves better results, especially when representing recipes with numeric nutrition recipe values.
Similar content being viewed by others
Notes
Food Standards Agency (FSA): https://www.food.gov.uk/topic/nutrition.
U.S. Food and Drug Administration (FDA Organisation): https://www.fda.gov.
The New Nutrition Facts Label, U.S. Food and Drug Administration (FDA): https://www.fda.gov/food/nutrition-education-resources-materials/new-nutrition-facts-label.
References
Min W, Jiang S, Liu L, Rui Y, Jain R (2019) A survey on food computing. ACM Comput Surv (CSUR) 52(5):1–36
Wilcke X, Bloem P, De Boer V (2017) The knowledge graph as the default data model for learning on heterogeneous knowledge. Data Sci 1(1–2):39–57
Zhou J, Cui G, Hu S, Zhang Z, Yang C, Liu Z, Wang L, Li C, Sun M (2020) Graph neural networks: a review of methods and applications. AI Open 1:57–81
Lü L, Zhou T (2011) Link prediction in complex networks: a survey. Physica A 390(6):1150–1170
Daud NN, Ab Hamid SH, Saadoon M, Sahran F, Anuar NB (2020) Applications of link prediction in social networks: a review. J Netw Comput Appl 166:102716
Trattner C, Elsweiler D (2017) Investigating the healthiness of internet-sourced recipes: implications for meal planning and recommender systems. In: Proceedings of the 26th International Conference on World Wide Web, pp. 489–498
Elsweiler D, Trattner C, Harvey M (2017) Exploiting food choice biases for healthier recipe recommendation. In: Proceedings of the 40th international Acm Sigir conference on research and development in information retrieval, pp. 575–584
Georgievska E, Stojanoska M, Mishovska S, Eftimov T, Trajanov D (2022) Multimodal analysis of user-recipes interactions. In: HEALTHINF, pp. 689–696
Trang Tran TN, Atas M, Felfernig A, Stettinger M (2018) An overview of recommender systems in the healthy food domain. J Intell Inform Syst 50:501–526
Gomathi R, Ajitha P, Krishna GHS, Pranay IH (2019) Restaurant recommendation system for user preference and services based on rating and amenities. In: 2019 international conference on computational intelligence in data science (ICCIDS), pp. 1–6. IEEE
Segredo E, Miranda G, Ramos JM, León C, Rodriguez-Leon C (2020) Schoolthy: automatic menu planner for healthy and balanced school meals. IEEE Access 8:113200–113218
Min W, Jiang S, Jain R (2019) Food recommendation: framework, existing solutions, and challenges. IEEE Trans Multimedia 22(10):2659–2671
Toledo RY, Alzahrani AA, Martinez L (2019) A food recommender system considering nutritional information and user preferences. IEEE Access 7:96695–96711
Shari AA, Pajar NA, Sabri N, Noordin MRM, Zainudin FMI, Shari AS, Ahmad A (2019) Mobile application of food recommendation for allergy baby using rule-based technique. In: 2019 IEEE international conference on automatic control and intelligent systems (I2CACIS), pp. 273–278. IEEE
Mao X, Yuan S, Xu W, Wei D (2016) Recipe recommendation considering the flavor of regional cuisines. In: 2016 International conference on progress in informatics and computing (PIC), pp. 32–36. IEEE
Kim K-J, Chung C-H (2016) Tell me what you eat, and i will tell you where you come from: a data science approach for global recipe data on the web. IEEE Access 4:8199–8211
Morales-Garzón A, Gómez-Romero J, Martin-Bautista MJ (2021) A word embedding-based method for unsupervised adaptation of cooking recipes. IEEE Access 9:27389–27404
Trattner C, Elsweiler D (2017) Food recommender systems: important contributions, challenges and future research directions arXiv:1711.02760
Herranz L, Min W, Jiang S (2018) Food recognition and recipe analysis: integrating visual content, context and external knowledge. arXiv preprint arXiv:1801.07239
Orue-Saiz I, Kazarez M, Mendez-Zorrilla A (2021) Systematic review of nutritional recommendation systems. Appl Sci 11(24):12069
Teng C-Y, Lin Y-R, Adamic LA (2012) Recipe recommendation using ingredient networks. In: Proceedings of the 4th annual ACM web science conference, pp. 298–307
Min W, Jiang S, Wang S, Sang J, Mei S (2017) A delicious recipe analysis framework for exploring multi-modal recipes with various attributes. In: Proceedings of the 25th ACM international conference on multimedia, pp. 402–410
Min W, Jiang S, Sang J, Wang H, Liu X, Herranz L (2016) Being a supercook: joint food attributes and multimodal content modeling for recipe retrieval and exploration. IEEE Trans Multimedia 19(5):1100–1113
Zhang S, Lin X, Bai Z, Li P, Fan H (2023) Cgrs: collaborative knowledge propagation graph attention network for recipes recommendation. Connect Sci 35(1):2212883
Hamdollahi Oskouei S, Hashemzadeh M (2023) Foodrecnet: a comprehensively personalized food recommender system using deep neural networks. Knowl Inform Syst, 1–23
Lei Z, Haq AU, Zeb A, Suzauddola M, Zhang D (2021) Is the suggested food your desired?: multi-modal recipe recommendation with demand-based knowledge graph. Expert Syst Appl 186:115708
Majumder BP, Li S, Ni J, McAuley J (2019) Generating personalized recipes from historical user preferences. arXiv preprint arXiv:1909.00105
Nyati U, Rawat S, Gupta D, Aggrawal N, Arora A (2021) Characterize ingredient network for recipe suggestion. Int J Inf Technol 13:2323–2330
Haussmann S, Seneviratne O, Chen Y, Ne’eman Y, Codella J, Chen C-H, McGuinness DL, Zaki MJ (2019) Foodkg: a semantics-driven knowledge graph for food recommendation. In: The Semantic Web–ISWC 2019: 18th international semantic web conference, Auckland, New Zealand, October 26–30, 2019, Proceedings, Part II 18, pp. 146–162. Springer
Tian Y, Zhang C, Guo Z, Ma Y, Metoyer R, Chawla NV (2022) Recipe2vec: Multi-modal recipe representation learning with graph neural networks. arXiv preprint arXiv:2205.12396
Chen M, Jia X, Gorbonos E, Hoang CT, Yu X, Liu Y (2020) Eating healthier: exploring nutrition information for healthier recipe recommendation. Inform Process Manag 57(6):102051
Pecune F, Callebert L, Marsella S (2020) A recommender system for healthy and personalized recipes recommendations. In: HealthRecSys@ RecSys, pp. 15–20
World Health Organization: Healthy diet. Technical report, Geneva, Switzerland (2020). https://www.who.int/news-room/fact-sheets/detail/healthy-diet Accessed 2023-07-30
Rostami M, Farrahi V, Ahmadian S, Jalali SMJ, Oussalah M (2023) A novel healthy and time-aware food recommender system using attributed community detection. Expert Syst Appl 221:119719
Wang W, Duan L-Y, Jiang H, Jing P, Song X, Nie L (2021) Market2dish: health-aware food recommendation. ACM Transact Multimedia Comput Commun Appl (TOMM) 17(1):1–19
Scarselli F, Gori M, Tsoi AC, Hagenbuchner M, Monfardini G (2008) The graph neural network model. IEEE Trans Neural Netw 20(1):61–80
Defferrard M, Bresson X, Vandergheynst P (2016) Convolutional neural networks on graphs with fast localized spectral filtering. Adv Neural Inform Process Syst, 29
Kipf TN, Welling M (2016) Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907
Hamilton W, Ying Z, Leskovec J (2017) Inductive representation learning on large graphs. Adv Neural Inform Process Syst, 30
Veličković P, Cucurull G, Casanova A, Romero A, Lio P, Bengio Y (2017) Graph attention networks. arXiv preprint arXiv:1710.10903
Fey M, Lenssen JE (2019) Fast graph representation learning with PyTorch Geometric. In: ICLR workshop on representation learning on graphs and manifolds
Patel K, Bhatt C, Mazzeo PL (2022) Improved ship detection algorithm from satellite images using yolov7 and graph neural network. Algorithms 15(12):473
Ruder S (2016) An overview of gradient descent optimization algorithms. arXiv preprint arXiv:1609.04747
Kingma DP, Ba J (2014) Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980
Acknowledgements
This research was partially supported by the Grant PID2021-123960OB-I00 funded by MCIN/AEI/10.13039/501100011033 and by ERDF A way of making Europe. It was also funded by “Consejería de Transformación Económica, Industria, Conocimiento y Universidades de la Junta de Andalucía” through a pre-doctoral fellowship program (Grant Ref. PREDOC_00298). In addition, this research has been partially supported by the European Social Fund and the “Consejería de Transformación Económica, Industria, Conocimiento y Universidades de la Junta de Andalucía” through the PAIDI postdoctoral fellowships (Grant Ref. DOC_01451).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors have no conflicts of interest to declare that are relevant to the content of this article.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Morales-Garzón, A., Gutiérrez-Batista, K. & Martin-Bautista, M.J. Link prediction in food heterogeneous graphs for personalised recipe recommendation based on user interactions and dietary restrictions. Computing (2023). https://doi.org/10.1007/s00607-023-01233-2
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s00607-023-01233-2