Adaptive KNN-Based Extended Collaborative Filtering Recommendation Services
Abstract
:1. Introduction
2. Related Work
3. Adaptive KNN-Based Extended Collaborative Filtering Model
3.1. Preliminaries
3.2. Adaptive KNN-Based Collaborative Filtering with User Cognition
- Find the appropriate K value: selecting K used for making predictions is usually achieved by cross-validation or other model selection techniques;
- Estimate local density: AKNN estimates the local density around each data point using techniques such as kernel density estimation or nearest neighbor density estimation. This involves calculating a kernel density estimate using a predetermined function and bandwidth parameter or taking the average distance between each data point and its nearest neighbors;
- Define an adaptive distance metric: after estimating the local density, AKNN creates an adaptive distance metric that considers the local structure of the data. Typically, the distance between pairs of data points is weighted based on their respective local densities;
- Classify new data points: AKNN uses the adaptive distance metric to classify new data points based on their proximity to the nearest K neighbors. The class label is assigned based on a majority vote among the K nearest neighbors, weighted by their local densities.
Algorithm 1 AKNN-based collaborative filtering with user cognition parameters (ExtKNNCF) |
|
4. Experiments
4.1. Datasets
4.2. Benchmarks
- KNN-Basic: a basic KNN-based collaborative filtering algorithm that utilizes distance measurements between samples and other data points in a dataset to predict ratings. It identifies the K-nearest neighbors and utilizes majority voting to make rating predictions;
- KNN-w-Baseline: a basic KNN-based collaborative filtering algorithm that takes into account a baseline rating [39] to discover the functional connections between an input and output for rating prediction;
- KNN-w-Means: a basic KNN-based collaborative filtering algorithm that takes into account the mean ratings of each user. It computes the mean values for both item and user ratings and uses them to predict ratings;
- Co-Clustering: a collaborative filtering algorithm based on Co-Clustering [40]. Co-Clustering is a process that can efficiently handle high-dimensional and sparse data by simultaneously clustering the columns and rows of a matrix. Unlike traditional clustering, co-clustering seeks to identify blocks (or clusters) of rows and columns that are correlated and exhibit similar performance on a particular subset of columns, or vice versa.
4.3. Experimental Results and Discussions
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Nguyen, L.V.; Jung, J.J.; Hwang, M. OurPlaces: Cross-Cultural Crowdsourcing Platform for Location Recommendation Services. ISPRS Int. J. Geo-Inf. 2020, 9, 711. [Google Scholar] [CrossRef]
- Nguyen, L.V.; Nguyen, T.H.; Jung, J.J.; Camacho, D. Extending collaborative filtering recommendation using word embedding: A hybrid approach. In Concurrency and Computation: Practice and Experience; Wiley: New York, NY, USA, 2021; p. e6232. [Google Scholar] [CrossRef]
- Nguyen, L.V.; Hong, M.S.; Jung, J.J.; Sohn, B.S. Cognitive Similarity-Based Collaborative Filtering Recommendation System. Appl. Sci. 2020, 10, 4183. [Google Scholar] [CrossRef]
- Sabet, A.J.; Shekari, M.; Guan, C.; Rossi, M.; Schreiber, F.; Tanca, L. THOR: A Hybrid Recommender System for the Personalized Travel Experience. Big Data Cogn. Comput. 2022, 6, 131. [Google Scholar] [CrossRef]
- Nguyen, L.V.; Nguyen, T.H.; Jung, J.J. Content-Based Collaborative Filtering using Word Embedding. In Proceedings of the International Conference on Research in Adaptive and Convergent Systems, ACM, Gwangju, Republic of Korea, 13–16 October 2020; pp. 96–100. [Google Scholar] [CrossRef]
- Nguyen, L.V.; Jung, J.J. Crowdsourcing Platform for Collecting Cognitive Feedbacks from Users: A Case Study on Movie Recommender System. In Proceedings of the Springer Series in Reliability Engineering; Springer International Publishing: New York, NY, USA, 2020; pp. 139–150. [Google Scholar] [CrossRef]
- Isinkaye, F.O.; Folajimi, Y.O.; Ojokoh, B.A. Recommendation systems: Principles, methods and evaluation. Egypt. Inform. J. 2015, 16, 261–273. [Google Scholar] [CrossRef]
- Lara-Cabrera, R.; González-Prieto, Á.; Ortega, F. Deep Matrix Factorization Approach for Collaborative Filtering Recommender Systems. Appl. Sci. 2020, 10, 4926. [Google Scholar] [CrossRef]
- Kumar, P.; Thakur, R.S. Recommendation system techniques and related issues: A survey. Int. J. Inf. Technol. 2018, 10, 495–501. [Google Scholar] [CrossRef]
- de Campos, L.M.; Fernández-Luna, J.M.; Huete, J.F.; Rueda-Morales, M.A. Combining content-based and collaborative recommendations: A hybrid approach based on Bayesian networks. Int. J. Approx. Reason. 2010, 51, 785–799. [Google Scholar] [CrossRef]
- Diez, J.; Delcoz, J.; Luaces, O.; Bahamonde, A. Clustering people according to their preference criteria. Expert Syst. Appl. 2008, 34, 1274–1284. [Google Scholar] [CrossRef]
- Barragáns-Martínez, A.B.; Costa-Montenegro, E.; Burguillo, J.C.; Rey-López, M.; Mikic-Fonte, F.A.; Peleteiro, A. A hybrid content-based and item-based collaborative filtering approach to recommend TV programs enhanced with singular value decomposition. Inf. Sci. 2010, 180, 4290–4311. [Google Scholar] [CrossRef]
- Zheng, W.; Zhao, L.; Zou, C. Locally nearest neighbor classifiers for pattern classification. Pattern Recognit. 2004, 37, 1307–1309. [Google Scholar] [CrossRef]
- Gao, Q.B.; Wang, Z.Z. Center-based nearest neighbor classifier. Pattern Recognit. 2007, 40, 346–349. [Google Scholar] [CrossRef]
- Cevikalp, H.; Triggs, B.; Polikar, R. Nearest hyperdisk methods for high-dimensional classification. In Proceedings of the 25th international conference on Machine learning—ICML 08, Helsinki, Finland, 5–9 July 2008; ACM Press: New York, NY, USA, 2008; pp. 120–127. [Google Scholar] [CrossRef]
- Hernández-Rodríguez, S.; Martínez-Trinidad, J.F.; Carrasco-Ochoa, J.A. Fast k most similar neighbor classifier for mixed data (tree k-MSN). Pattern Recognit. 2010, 43, 873–886. [Google Scholar] [CrossRef]
- Zhou, Z.H.; Yu, Y. Ensembling Local Learners Through Multimodal Perturbation. IEEE Trans. Syst. Man Cybern. Part B 2005, 35, 725–735. [Google Scholar] [CrossRef] [PubMed]
- Domeniconi, C.; Yan, B. Nearest neighbor ensemble. In Proceedings of the 17th International Conference on Pattern Recognition, ICPR 2004, Cambridge, UK, 26 August 2004; IEEE: Piscataway, NJ, USA, 2004; Volume 1, pp. 228–231. [Google Scholar] [CrossRef]
- Altınçay, H. Ensembling evidential k-nearest neighbor classifiers through multi-modal perturbation. Appl. Soft Comput. 2007, 7, 1072–1083. [Google Scholar] [CrossRef]
- Yang, J.M.; Yu, P.T.; Kuo, B.C. A Nonparametric Feature Extraction and Its Application to Nearest Neighbor Classification for Hyperspectral Image Data. IEEE Trans. Geosci. Remote Sens. 2010, 48, 1279–1293. [Google Scholar] [CrossRef]
- Subramaniyaswamy, V.; Logesh, R. Adaptive KNN based Recommender System through Mining of User Preferences. Wirel. Pers. Commun. 2017, 97, 2229–2247. [Google Scholar] [CrossRef]
- Zhang, C.; Yu, L.; Wang, Y.; Shah, C.; Zhang, X. Collaborative User Network Embedding for Social Recommender Systems. In Proceedings of the 2017 SIAM International Conference on Data Mining, Society for Industrial and Applied Mathematics, Houston, TX, USA, 27–29 April 2017; pp. 381–389. [Google Scholar] [CrossRef]
- Feng, L.; Zhao, Q.; Zhou, C. Improving performances of Top-N recommendations with co-clustering method. Expert Syst. Appl. 2020, 143, 113078. [Google Scholar] [CrossRef]
- Walek, B.; Fojtik, V. A hybrid recommender system for recommending relevant movies using an expert system. Expert Syst. Appl. 2020, 158, 113452. [Google Scholar] [CrossRef]
- Bathla, G.; Aggarwal, H.; Rani, R. AutoTrustRec: Recommender System with Social Trust and Deep Learning using AutoEncoder. Multimed. Tools Appl. 2020, 79, 20845–20860. [Google Scholar] [CrossRef]
- Alhijawi, B.; Al-Naymat, G.; Obeid, N.; Awajan, A. Novel predictive model to improve the accuracy of collaborative filtering recommender systems. Inf. Syst. 2021, 96, 101670. [Google Scholar] [CrossRef]
- Harper, F.M.; Konstan, J.A. The movielens datasets: History and context. ACM Trans. Interact. Intell. Syst. 2015, 5, 1–19. [Google Scholar] [CrossRef]
- Mican, D.; Sitar-Taut, D.A. The effect of perceived usefulness of recommender systems and information sources on purchase intention. Kybernetes 2023, in press. [Google Scholar] [CrossRef]
- Wang, R.; Wu, Z.; Lou, J.; Jiang, Y. Attention-based dynamic user modeling and Deep Collaborative filtering recommendation. Expert Syst. Appl. 2022, 188, 116036. [Google Scholar] [CrossRef]
- Sitar-Tăut, D.A.; Mican, D. MRS OZ: Managerial recommender system for electronic commerce based on Onicescu method and Zipf’s law. Inf. Technol. Manag. 2019, 21, 131–143. [Google Scholar] [CrossRef]
- Sitar-Tăut, D.A.; Mican, D.; Buchmann, R.A. A knowledge-driven digital nudging approach to recommender systems built on a modified Onicescu method. Expert Syst. Appl. 2021, 181, 115170. [Google Scholar] [CrossRef]
- Koren, Y. Collaborative filtering with temporal dynamics. Commun. ACM 2010, 53, 89–97. [Google Scholar] [CrossRef]
- Huang, Z.; Zeng, D.; Chen, H. A Comparison of Collaborative-Filtering Recommendation Algorithms for E-commerce. IEEE Intell. Syst. 2007, 22, 68–78. [Google Scholar] [CrossRef]
- Zahir, A.; Yuan, Y.; Moniz, K. AgreeRelTrust—A Simple Implicit Trust Inference Model for Memory-Based Collaborative Filtering Recommendation Systems. Electronics 2019, 8, 427. [Google Scholar] [CrossRef]
- Ni, J.; Cai, Y.; Tang, G.; Xie, Y. Collaborative Filtering Recommendation Algorithm Based on TF-IDF and User Characteristics. Appl. Sci. 2021, 11, 9554. [Google Scholar] [CrossRef]
- Guo, F.; Lu, Q. Contextual Collaborative Filtering Recommendation Model Integrated with Drift Characteristics of User Interest. Hum. Cent. Comput. Inf. Sci. 2021, 11, 1–18. [Google Scholar] [CrossRef]
- Widiyaningtyas, T.; Ardiansyah, M.I.; Adji, T.B. Recommendation Algorithm Using SVD and Weight Point Rank (SVD-WPR). Big Data Cogn. Comput. 2022, 6, 121. [Google Scholar] [CrossRef]
- Hasan, M.; Roy, F. An Item-Item Collaborative Filtering Recommender System Using Trust and Genre to Address the Cold-Start Problem. Big Data Cogn. Comput. 2019, 3, 39. [Google Scholar] [CrossRef]
- Koren, Y. Factor in the neighbors. ACM Trans. Knowl. Discov. Data 2010, 4, 1–24. [Google Scholar] [CrossRef]
- George, T.; Merugu, S. A Scalable Collaborative Filtering Framework Based on Co-Clustering. In Proceedings of the Fifth IEEE International Conference on Data Mining (ICDM 05), Houston, TX, USA, 27–30 November 2005; IEEE: Piscataway, NJ, USA, 2005. [Google Scholar] [CrossRef]
- Shani, G.; Gunawardana, A. Evaluating Recommendation Systems. In Recommender Systems Handbook; Springer: Boston, MA, USA, 2010; pp. 257–297. [Google Scholar] [CrossRef]
- Radlinski, F.; Craswell, N. Comparing the sensitivity of information retrieval metrics. In Proceedings of the 33rd International ACM SIGIR Conference on Research and Development in Information Retrieval, Geneva, Switzerland, 19–23 July 2010; ACM: New York, NY, USA, 2010; pp. 667–674. [Google Scholar] [CrossRef]
- Bag, S.; Kumar, S.K.; Tiwari, M.K. An efficient recommendation generation using relevant Jaccard similarity. Inf. Sci. 2019, 483, 53–64. [Google Scholar] [CrossRef]
- Jain, G.; Mahara, T.; Sharma, S.; Sangaiah, A.K. A Cognitive Similarity-Based Measure to Enhance the Performance of Collaborative Filtering-Based Recommendation System. IEEE Trans. Comput. Soc. Syst. 2022, 9, 1785–1793. [Google Scholar] [CrossRef]
- Ayub, M.; Ghazanfar, M.A.; Khan, T.; Saleem, A. An Effective Model for Jaccard Coefficient to Increase the Performance of Collaborative Filtering. Arab. J. Sci. Eng. 2020, 45, 9997–10017. [Google Scholar] [CrossRef]
- Manochandar, S.; Punniyamoorthy, M. A new user similarity measure in a new prediction model for collaborative filtering. Appl. Intell. 2020, 51, 586–615. [Google Scholar] [CrossRef]
MovieLens-100 k | MovieLens-1 M | |
---|---|---|
Number of Users | 943 | 6040 |
Number of Items | 1682 | 3900 |
Ratings | 100,000 | 1,000,209 |
Sparsity | 93.70% | 99.75% |
Rating Range | 1–5 | 1–5 |
Average Rating | 3.53 | 3.61 |
Method | Algorithm Type | Rating Prediction | Advance Features |
---|---|---|---|
KNN-Basic | Memory-based | Weighted Average | |
KNN-w-Baseline | Memory-based | Baseline Estimate | |
KNN-w-Means | Memory-based | Mean-centered | |
Co-Clustering | Model-based | Baseline Estimate | Cluster Analysis |
ExtKNNCF | Model-based | SVD-based | Top-N Recommendations |
MovieLens-100 K | MovieLens-1 M | |||||||
---|---|---|---|---|---|---|---|---|
MAE | RMSE | MAP | NDCG | MAE | RMSE | MAP | NDCG | |
KNN-Basic | 0.856 | 1.087 | 0.107 | 0.136 | 0.803 | 1.009 | 0.127 | 0.149 |
KNN-w-Baseline | 0.843 | 1.077 | 0.112 | 0.143 | 0.794 | 0.974 | 0.142 | 0.161 |
KNN-w-Means | 0.831 | 1.063 | 0.115 | 0.149 | 0.783 | 0.953 | 0.166 | 0.173 |
Co-Clustering | 0.824 | 1.052 | 0.121 | 0.156 | 0.776 | 0.872 | 0.170 | 0.189 |
ExtKNNCF | 0.810 | 1.037 | 0.129 | 0.167 | 0.764 | 0.853 | 0.164 | 0.198 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Nguyen, L.V.; Vo, Q.-T.; Nguyen, T.-H. Adaptive KNN-Based Extended Collaborative Filtering Recommendation Services. Big Data Cogn. Comput. 2023, 7, 106. https://doi.org/10.3390/bdcc7020106
Nguyen LV, Vo Q-T, Nguyen T-H. Adaptive KNN-Based Extended Collaborative Filtering Recommendation Services. Big Data and Cognitive Computing. 2023; 7(2):106. https://doi.org/10.3390/bdcc7020106
Chicago/Turabian StyleNguyen, Luong Vuong, Quoc-Trinh Vo, and Tri-Hai Nguyen. 2023. "Adaptive KNN-Based Extended Collaborative Filtering Recommendation Services" Big Data and Cognitive Computing 7, no. 2: 106. https://doi.org/10.3390/bdcc7020106
APA StyleNguyen, L. V., Vo, Q. -T., & Nguyen, T. -H. (2023). Adaptive KNN-Based Extended Collaborative Filtering Recommendation Services. Big Data and Cognitive Computing, 7(2), 106. https://doi.org/10.3390/bdcc7020106