CONTENT-BASED FILTERING CULINARY RECOMMENDATION SYSTEM USING DEEP CONVOLUTIONAL NEURAL NETWORK ON TWITTER (X)
Abstract
Along with the development of technology, social media has become integral to everyday life, especially for sharing content like culinary reviews. Social media platform X (formerly Twitter) is often used for sharing culinary recommendations, but the abundance of information makes it difficult for users to find relevant suggestions. In order to improve rating prediction performance, this study suggests a recommendation system model that is more thoroughly created utilizing Content-Based Filtering (CBF) combined with Deep Convolutional Neural Network (CNN) and optimised with Particle Swarm Optimization (PSO). Data was collected from PergiKuliner and Twitter, totaling 2644 reviews and 200 cuisines. The preprocessing involved text processing, translation, and polarity assessment. Post-labeling, 7438 data were labeled with 0 and 1562 with 1. Label 0 means not recommended while label 1 means recommended. The imbalance is handled by applying the SMOTE method after observing that the fraction of data labeled 0 and 1 is 65.2%. CBF employed TF-IDF feature extraction and FastText word embedding, while Deep CNN handled classification. PSO optimisation was applied to enhance the accuracy of culinary rating predictions. The results showed an initial accuracy of 76.32% with the baseline Deep CNN model, which increased to 86.06% after Nadam optimisation with the best learning rate, and further reached 86.18% after PSO optimisation on dense units. The 9.86% accuracy improvement from the baseline model demonstrates the effectiveness of the combined methods.
Downloads
References
D. Murthy, “Sociology of Twitter/X: Trends, Challenges, and Future Research Directions,” Annu. Rev. Sociol., vol. 50, no. 1, pp. 169–190, Aug. 2024, doi: 10.1146/annurev-soc-031021-035658.
D. S. Krishna, G. Srinivas, and P. V. G. D. Prasad Reddy, “A Deep Parallel Hybrid Fusion Model for disaster tweet classification on Twitter data,” Decis. Anal. J., vol. 11, p. 100453, Jun. 2024, doi: 10.1016/j.dajour.2024.100453.
Z. Fayyaz, M. Ebrahimian, D. Nawara, A. Ibrahim, and R. Kashef, “Recommendation Systems: Algorithms, Challenges, Metrics, and Business Opportunities,” Appl. Sci., vol. 10, no. 21, p. 7748, Nov. 2020, doi: 10.3390/app10217748.
A. N. K. Albayati and O. U. Y. Ortakci, “Recommendation Systems on Twitter Data for Marketing Purposes using Content-Based Filtering,” in HORA 2022 - 4th International Congress on Human-Computer Interaction, Optimization and Robotic Applications, Proceedings, Institute of Electrical and Electronics Engineers Inc., 2022. doi: 10.1109/HORA55278.2022.9799989.
R. Widayanti, M. H. R. Chakim, C. Lukita, U. Rahardja, and N. Lutfiani, “Improving Recommender Systems using Hybrid Techniques of Collaborative Filtering and Content-Based Filtering,” J. Appl. Data Sci., vol. 4, no. 3, pp. 289–302, 2023, doi: 10.47738/jads.v4i3.115.
B. Suvarna and S. Balakrishna, “An Efficient Fashion Recommendation System using a Deep CNN Model,” in International Conference on Automation, Computing and Renewable Systems, ICACRS 2022 - Proceedings, Institute of Electrical and Electronics Engineers Inc., 2022, pp. 1179–1183. doi: 10.1109/ICACRS55517.2022.10029063.
M. Amjad, A. Gelbukh, I. Voronkov, and A. Saenko, “Comparison of Text Classification Methods Using Deep Learning Neural Networks,” 2023, pp. 438–450. doi: 10.1007/978-3-031-24340-0_33.
S. Ouhame, Y. Hadi, and A. Ullah, “An efficient forecasting approach for resource utilization in cloud data center using CNN-LSTM model,” Neural Comput. Appl., vol. 33, no. 16, pp. 10043–10055, Aug. 2021, doi: 10.1007/s00521-021-05770-9.
A. S. Sabyasachi, B. M. Sahoo, and A. Ranganath, “Deep CNN and LSTM Approaches for Efficient Workload Prediction in Cloud Environment,” Procedia Comput. Sci., vol. 235, pp. 2651–2661, 2024, doi: 10.1016/j.procs.2024.04.250.
A. B. Bramantyo and A. T. Wibowo, “Collaborative Filtering Movie Recommendation System using K-means Clustering with Particle Swarm Optimization,” in 2023 International Conference on Data Science and Its Applications, ICoDSA 2023, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 242–247. doi: 10.1109/ICoDSA58501.2023.10276506.
V. Narendra, J. Christopher, and V. Arunachalam, “Particle Swarm Optimization for dietary recommendations,” in 2023 IEEE IAS Global Conference on Emerging Technologies, GlobConET 2023, Institute of Electrical and Electronics Engineers Inc., 2023. doi: 10.1109/GlobConET56651.2023.10149930.
R. A. Rudiyanto and E. B. Setiawan, “Sentiment Analysis Using Convolutional Neural Network (CNN) and Particle Swarm Optimization on Twitter,” JITK (Jurnal Ilmu Pengetah. dan Teknol. Komputer), vol. 9, no. 2, pp. 188–195, Feb. 2024, doi: 10.33480/jitk.v9i2.5201.
K. Aguerchi, Y. Jabrane, M. Habba, and A. H. El Hassani, “A CNN Hyperparameters Optimization Based on Particle Swarm Optimization for Mammography Breast Cancer Classification,” J. Imaging, vol. 10, no. 2, p. 30, Jan. 2024, doi: 10.3390/jimaging10020030.
Y. Afoudi, M. Lazaar, and M. Al Achhab, “Hybrid recommendation system combined content-based filtering and collaborative prediction using artificial neural network,” Simul. Model. Pract. Theory, vol. 113, Dec. 2021, doi: 10.1016/j.simpat.2021.102375.
F. Firmansyah et al., “Comparing Sentiment Analysis of Indonesian Presidential Election 2019 with Support Vector Machine and K-Nearest Neighbor Algorithm,” in 2020 6th International Conference on Computing Engineering and Design (ICCED), IEEE, Oct. 2020, pp. 1–6. doi: 10.1109/ICCED51276.2020.9415767.
S. Ranjan and S. Mishra, “Comparative Sentiment Analysis of App Reviews,” in 2020 11th International Conference on Computing, Communication and Networking Technologies (ICCCNT), IEEE, Jul. 2020, pp. 1–7. doi: 10.1109/ICCCNT49239.2020.9225348.
A. Boluki, J. Pourmostafa, R. Sharami, and D. Shterionov, “Evaluating the Effectiveness of Pre-trained Language Models in Predicting the Helpfulness,” Proc. 2023 Intell. Syst. Conf., vol. 4, pp. 1–21, 2023, doi: https://doi.org/10.48550/arXiv.2302.10199.
M. Umer et al., “Impact of convolutional neural network and FastText embedding on text classification,” Multimedia Tools and Applications, vol. 82, no. 4, pp. 5569–5585, 2023.
A. Khan, A. Sohail, U. Zahoora, and A. S. Qureshi, “A survey of the recent architectures of deep convolutional neural networks,” Artif. Intell. Rev., vol. 53, no. 8, pp. 5455–5516, Dec. 2020, doi: 10.1007/s10462-020-09825-6.
T. M. Shami, A. A. El-Saleh, M. Alswaitti, Q. Al-Tashi, M. A. Summakieh, and S. Mirjalili, “Particle Swarm Optimization: A Comprehensive Survey,” IEEE Access, vol. 10, pp. 10031–10061, 2022, doi: 10.1109/ACCESS.2022.3142859.
E. H. Houssein, A. G. Gad, K. Hussain, and P. N. Suganthan, “Major Advances in Particle Swarm Optimization: Theory, Analysis, and Application,” Swarm Evol. Comput., vol. 63, p. 100868, Jun. 2021, doi: 10.1016/j.swevo.2021.100868.
A. G. Gad, “Particle Swarm Optimization Algorithm and Its Applications: A Systematic Review,” Arch. Comput. Methods Eng., vol. 29, no. 5, pp. 2531–2561, Aug. 2022, doi: 10.1007/s11831-021-09694-4.
N. Yarahmadi Gharaei, C. Dadkhah, and L. Daryoush, “Content-based Clothing Recommender System using Deep Neural Network,” in 26th International Computer Conference, Computer Society of Iran, CSICC 2021, Institute of Electrical and Electronics Engineers Inc., Mar. 2021. doi: 10.1109/CSICC52343.2021.9420544.
Y. Tai, Z. Sun, and Z. Yao, “Content-Based Recommendation Using Machine Learning,” in IEEE International Workshop on Machine Learning for Signal Processing, MLSP, IEEE Computer Society, 2021. doi: 10.1109/MLSP52302.2021.9596525.
S. Wang, Y. Dai, J. Shen, and J. Xuan, “Research on expansion and classification of imbalanced data based on SMOTE algorithm,” Sci. Rep., vol. 11, no. 1, p. 24039, Dec. 2021, doi: 10.1038/s41598-021-03430-5.
Copyright (c) 2024 Zahwa Dewi Artika, Erwin Budi Setiawan
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.