Dietary Behavior Based Food Recommender System Using Deep Learning and Clustering Techniques

Dietary Behavior Based Food Recommender System Using Deep Learning and Clustering Techniques


  • Ammar Abdulsalam Al-Asadi Informatics Institute for Postgraduate Studies
  • Mahdi Nsaif Jasim College of Business Informatics, University of information technology and communications, Iraq



Deep neural network, Clustering, Food recommender system


Deep learning algorithms have been highly successful in various domains, including the development of collaborative filtering recommender systems. However, one of the challenges associated with deep learning-based collaborative filtering methods is that they require the involvement of all users to construct the latent representation of the input data, which is then utilized to predict the missing ratings of each user. This can be problematic as some users may have different preferences or interests, which may affect the accuracy of the prediction generation process. The research proposed a food recommender system, which tries to find users with similar dietary behavior and involve them in the recommendations generation process by combining clustering technique with denoising autoencoder to generate a rate prediction model. It is applied to “ Recipes and Interactions” dataset. RMSE score was used to evaluate the performance of the proposed model which is 0.1927. It outperformed the other models that used autoencoder and denoising autoencoder without clustering where the RMSE values are 0. 4358 and 0.4354 consequently.


A. A. Neamah and A. S. El-Ameer, “Design and Evaluation of a Course Recommender System Using Content-Based Approach,” in 2018 International Conference on Advanced Science and Engineering (ICOASE), IEEE, 2018. DOI:

Q. Zhang, J. Lu, and Y. Jin, “Artificial intelligence in recommender systems,” Complex & Intelligent Systems, vol. 7, no. 1, pp. 439–457, 2021. DOI:

S. Zhang, L. Yao, A. Sun, and Y. Tay, “Deep learning based recommender system: A survey and new perspectives,” ACM Computing Surveys (CSUR), vol. 52, no. 1, pp. 1–38, 2019. DOI:

G. Zhang, Y. Liu, and X. Jin, “A survey of autoencoder-based recommender systems,” Front Comput Sci, vol. 14, no. 2, pp. 430–450, 2020. DOI:

Y. Koren, S. Rendle, and R. Bell, “Advances in collaborative filtering,” Recommender systems handbook, pp. 91–142, 2022. DOI:

M. H. Mohamed, M. H. Khafagy, and M. H. Ibrahim, “Recommender systems challenges and solutions survey,” in 2019 International Conference on Innovative Trends in Computer Engineering (ITCE), IEEE, 2019, pp. 149–155. DOI:

A. A. Al-Asadi and M. N. Jasim, “Deep Learning-Based Rate Prediction Model for Recommender System Using Clustering Techniques”.

R. Rashidi, K. Khamforoosh, and A. Sheikhahmadi, “Proposing improved meta-heuristic algorithms for clustering and separating users in the recommender systems,” Electronic Commerce Research, vol. 22, no. 2, pp. 623–648, 2022. DOI:

J. Chai, H. Zeng, A. Li, and E. W. T. Ngai, “Deep learning in computer vision: A critical review of emerging techniques and application scenarios,” Machine Learning with Applications, vol. 6, p. 100134, 2021. DOI:

Y. Peng et al., “Cross-media analysis and reasoning: advances and directions,” Frontiers of Information Technology & Electronic Engineering, vol. 18, no. 1, pp. 44–57, 2017. DOI:

I. A. S. Jabbar, R. S. Alhamdani, and M. N. Abdullah, “Analyzing Restricted Boltzmann Machine Neural Network for Building Recommender Systems,” in 2019 2nd International Conference on Engineering Technology and its Applications (IICETA), IEEE, 2019, pp. 133–137. DOI:

P.-S. Huang, X. He, J. Gao, L. Deng, A. Acero, and L. Heck, “Learning deep structured semantic models for web search using clickthrough data,” in Proceedings of the 22nd ACM international conference on Information & Knowledge Management, 2013, pp. 2333–2338. DOI:

H. Wang, N. Wang, and D.-Y. Yeung, “Collaborative deep learning for recommender systems,” in Proceedings of the 21th ACM SIGKDD international conference on knowledge discovery and data mining, 2015, pp. 1235–1244. DOI:

X. He, L. Liao, H. Zhang, L. Nie, X. Hu, and T.-S. Chua, “Neural collaborative filtering,” in Proceedings of the 26th international conference on world wide web, 2017, pp. 173–182. DOI:

J. Wei, J. He, K. Chen, Y. Zhou, and Z. Tang, “Collaborative filtering and deep learning based recommendation system for cold start items,” Expert Syst Appl, vol. 69, pp. 29–39, 2017. DOI:

S. Sedhain, A. K. Menon, S. Sanner, and L. Xie, “Autorec: Autoencoders meet collaborative filtering,” in Proceedings of the 24th international conference on World Wide Web, 2015, pp. 111–112. DOI:

S. Li, J. Kawale, and Y. Fu, “Deep collaborative filtering via marginalized denoising auto-encoder,” in Proceedings of the 24th ACM international on conference on information and knowledge management, 2015, pp. 811–820. DOI:

Y. Pan, F. He, and H. Yu, “Learning social representations with deep autoencoder for recommender system,” World Wide Web, vol. 23, no. 4, pp. 2259–2279, 2020. DOI:

Y. Ouyang, W. Liu, W. Rong, and Z. Xiong, “Autoencoder-based collaborative filtering,” in International conference on neural information processing, Springer, 2014, pp. 284–291. DOI:

X. Dong, L. Yu, Z. Wu, Y. Sun, L. Yuan, and F. Zhang, “A hybrid collaborative filtering model with deep structure for recommender systems,” in Proceedings of the AAAI Conference on artificial intelligence, 2017. DOI:

Y. Pan, F. He, and H. Yu, “A novel enhanced collaborative autoencoder with knowledge distillation for top-N recommender systems,” Neurocomputing, vol. 332, pp. 137–148, 2019. DOI:

B. P. Majumder, S. Li, J. Ni, and J. McAuley, “Generating Personalized Recipes from Historical User Preferences,” in Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), Hong Kong, China: Association for Computational Linguistics, 2019, pp. 5975–5981. DOI:

S. B. Belhaouari, “Unsupervised outlier detection in multidimensional data,” J Big Data, vol. 8, no. 1, pp. 1–27, 2021. DOI:

D.-C. Li, W.-K. Huang, and Y.-S. Lin, “New Product Short-Term Demands Forecasting with Boxplot-Based Fractional Grey Prediction Model,” Applied Sciences, vol. 12, no. 10, p. 5131, 2022. DOI:

X. Ran, X. Zhou, M. Lei, W. Tepsan, and W. Deng, “A novel k-means clustering algorithm with a noise algorithm for capturing urban hotspots,” Applied Sciences, vol. 11, no. 23, p. 11202, 2021. DOI:

T. Puraram, P. Chaovalit, A. Peethong, P. Tiyanunti, S. Charoensiriwath, and W. Kimpan, “Thai food recommendation system using hybrid of particle swarm optimization and K-means algorithm,” in ACM International Conference Proceeding Series, Association for Computing Machinery, Apr. 2021, pp. 90–95. DOI:

P. J. Rousseeuw, “Silhouettes: a graphical aid to the interpretation and validation of cluster analysis,” J Comput Appl Math, vol. 20, pp. 53–65, 1987, doi: DOI:

M. A. Kramer, “Nonlinear principal component analysis using autoassociative neural networks,” AIChE journal, vol. 37, no. 2, pp. 233–243, 1991. DOI:

M. Yu, T. Quan, Q. Peng, X. Yu, and L. Liu, “A model-based collaborate filtering algorithm based on stacked AutoEncoder,” Neural Comput Appl, vol. 34, no. 4, pp. 2503–2511, 2022. DOI:

P. Vincent, H. Larochelle, Y. Bengio, and P.-A. Manzagol, “Extracting and composing robust features with denoising autoencoders,” in Proceedings of the 25th international conference on Machine learning, 2008, pp. 1096–1103. DOI:

Y. Xiong and R. Zuo, “Robust feature extraction for geochemical anomaly recognition using a stacked convolutional denoising autoencoder,” Math Geosci, vol. 54, no. 3, pp. 623–644, 2022. DOI:

J. Zhao, L. Wang, D. Xiang, and B. Johanson, “Collaborative Deep Denoising Autoencoder Framework for Recommendations,” 2019.

O. Kuchaiev and B. Ginsburg, “Training deep autoencoders for collaborative filtering,” arXiv preprint arXiv:1708.01715, 2017.




How to Cite

Al-Asadi, A. A., & Jasim, M. N. (2023). Dietary Behavior Based Food Recommender System Using Deep Learning and Clustering Techniques. Wasit Journal of Computer and Mathematics Science, 2(2), 1–8.