Abstract
Feature vectors and similarity measures are the two key issues of most existing collaborative filtering (CF) algorithms. In item-based CF algorithms, the feature vector is often defined as the ratings of all users for a given item. For a recommender system with n users, m items, and c ratings, the length of the feature vector is n; hence, the time complexity of the similarity computation is O(n). Consequently, the overall time complexity is \(O(m^2n^2)\), which may be computationally prohibitive for recommender systems with millions of users. In this paper, we define the multi-channel feature vector (MCFV), which is a vector of channel length c, and calculate the similarity between items using the respective MCFVs. Each element of an MCFV corresponds to the number of users with respective ratings for the item. The time complexity for the similarity computation is O(c), and the overall time complexity is \(O(m^2nc)\) when the k-nearest neighbors and weighted average algorithms are used. Experiments were conducted on four movie recommender systems, where n ranges from a few hundred to half a million, and c is five. Results show that the recommendation algorithms using our new similarity measure are significantly faster than their counterparts without sacrificing prediction accuracy in terms of mean absolute error and root mean square error.
Similar content being viewed by others
References
Bobadilla J, Ortega F, Hernando A, Gutiérrez A (2013) Recommender systems survey. Knowl Based Syst 46:109–132
Schafer JB, Frankowski D, Herlocker J, Sen S (2007) Collaborative filtering recommender systems. In: The adaptive web. Springer, pp 291–324
Zhan JP, Hsieh CL, Wang IC, Hsu TS, Liau CJ, Wang DW (2010) Privacy-preserving collaborative recommender systems. IEEE Trans Syst Man Cyber Part C Appl Rev 40(4):472–476
Zhou T, Ren J, Medo M, Zhang YC (2007) Bipartite network projection and personal recommendation. Phys Rev E 76(4):046115
Shang MS, Jin CH, Zhou T, Zhang YC (2009) Collaborative filtering based on multi-channel diffusion. Phys A Stat Mech Appl 388(23):4867–4871
Cover TM, Hart PE (1967) Nearest neighbor pattern classification. IEEE Trans Inf Theory 13(1):21–27
Wang JG, Huang JZ, Guo JF, Lan YY (2015) Query ranking model for search engine query recommendation. Int J Mach Learn Cyber 8:1–20
Zhang HR, Min F (2016) Three-way recommender systems based on random forests. Knowl Based Syst 91:275–286
Zhang ZK, Zhou T, Zhang YC (2010) Personalized recommendation via integrated diffusion on user-item-tag tripartite graphs. Phys A Stat Mech Appl 389(1):179–186
Bobadilla J, Hernando A, Ortega F, Bernal J (2011) A framework for collaborative filtering recommender systems. Expert Syst Appl 38(12):14609–14623
Said A, Bellogín A (2014) Comparative recommender system evaluation: benchmarking recommendation frameworks. In: Proceedings of the 8th ACM Conference on Recommender systems, ACM, pp 129–136
Breese JS, Heckerman D, Kadie C (1998) Empirical analysis of predictive algorithms for collaborative filtering. In: Proceedings of the 14th conference on Uncertainty in artificial intelligence, Morgan Kaufmann Publishers Inc. pp 43–52
Baltrunas L, Makcinskas T, Ricci F (2010) Group recommendations with rank aggregation and collaborative filtering. In: Proceedings of the 4th ACM conference on Recommender systems, ACM, pp 119–126
Barragáns-Martínez AB, Costa-Montenegro E, Burguillo JC, Rey-López M, Mikic-Fonte FA, Peleteiro A (2010) A hybrid content-based and item-based collaborative filtering approach to recommend tv programs enhanced with singular value decomposition. Inf Sci 180(22):4290–4311
Gao M, Wu ZF, Jiang F (2011) Userrank for item-based collaborative filtering recommendation. Inf Process Lett 111(9):440–446
Gemmell J, Schimoler T, Ramezani M, Christiansen L, Mobasher B (2009) Improving folkrank with item-based collaborative filtering. Recommender Systems and the Social Web
Yao YY (1995) Measuring retrieval effectiveness based on user preference of documents. J Am Soc Inf Sci 46(2):133–145
Liu NH (2013) Comparison of content-based music recommendation using different distance estimation methods. Appl Intell 38(2):160–174
Chowdhury GG (2010) Introduction to modern information retrieval. Facet Publishing
Adomavicius G, Tuzhilin A (2005) Toward the next generation of recommender systems: a survey of the state-of-the-art and possible extensions. IEEE Trans Knowl Data Eng 17(6):734–749
Candillier L, Meyer F, Boullé M (2007) Comparing state-of-the-art collaborative filtering systems. In: Machine Learning and Data Mining in Pattern Recognition. Springer, pp 548–562
Cremonesi P, Koren Y, Turrin R (2010) Performance of recommender algorithms on top-n recommendation tasks. In: Proceedings of the 4th ACM Conference on Recommender Systems, ACM, pp 39–46
Miles JA, Ezzell JR (1980) The weighted average cost of capital, perfect capital markets, and project life: a clarification. J Financ Quant Anal 15(03):719–730
Gedikli F, Jannach D (2010) Rating items by rating tags. In: Proceedings of the 2010 Workshop on Recommender Systems and the Social Web at ACM RecSys, pp 25–32
Gemmell J, Schimoler T, Ramezani M, Christiansen L, Mobasher B (2010) Resource recommendation for social tagging: a multi-channel hybrid approach. Recommender Systems and the Social Web, Barcelona, Spain
Miller BN, Albert I, Lam SK, Konstan JA, Riedl J (2003) Movielens unplugged: experiences with an occasionally connected recommender system. In: Proceedings of the 8th international conference on Intelligent user interfaces, ACM, pp 263–266
Koenigstein N, Dror G, Koren Y (2011) Yahoo! music recommendations: modeling music ratings with temporal dynamics and item taxonomy. In: Proceedings of the 5th ACM conference on Recommender systems, ACM, pp 165–172
Bouras C, Tsogkas V (2014) Improving news articles recommendations via user clustering. Int J Mach Learn Cybern 8:1–15
Amazon: recommender system for books of amazon. Website (2015) http://www.amazon.com/
Resnick P, Varian HR (1997) Recommender systems. Commun ACM 40(3):56–58
Harper FM, Konstan JA (2016) The movielens datasets: history and context. ACM Trans Interact Intell Syst 5(4):19
Ma H, Zhou D, Liu C, Lyu MR, King I (2011) Recommender systems with social regularization. In: Proceedings of the 4th ACM international conference on Web search and data mining. WSDM ’11, Hong Kong, China, pp 287–296
Gomez-Uribe CA, Hunt N (2016) The netflix recommender system: algorithms, business value, and innovation. ACM Trans Manag Inf Syst 6(4):13
Sarwar B, Karypis G, Konstan J, Riedl J (2001) Item-based collaborative filtering recommendation algorithms. In: Proceedings of the 10th international conference on World Wide Web, ACM, pp 285–295
Ekstrand MD, Riedl JT, Konstan JA et al (2011) Collaborative filtering recommender systems. Foundations and trends\({\textregistered }\). Hum Comput Interact 4(2):81–173
Zhang HR, Min F, Shi B (2017) Regression-based three-way recommendation. Inf Sci 378:444–461
Herlocker JL, Konstan JA, Terveen LG, Riedl JT (2004) Evaluating collaborative filtering recommender systems. ACM Trans Inf Syst 22(1):5–53
Linden G, Smith B, York J (2003) Amazon. com recommendations: item-to-item collaborative filtering. IEEE Internet Comput 7(1):76–80
Wang J, De Vries AP, Reinders MJ (2006) Unifying user-based and item-based collaborative filtering approaches by similarity fusion. In: Proceedings of the 29th annual international ACM SIGIR conference on Research and development in information retrieval, ACM, pp 501–508
Jiang LX, Cai ZH, Wang DH, Zhang H (2014) Bayesian citation-knn with distance weighting. Int J Mach Learn Cybern 5(2):193–199
Foote JT (1997) Content-based retrieval of music and audio. In: Voice, Video, and Data Communications, International Society for Optics and Photonics, pp 138–147
Afify YM, Moawad IF, Badr NL, Tolba MF (2016) An enhanced distance based similarity measure for user based recommendations. In: International Conference on Advanced Intelligent Systems and Informatics, Springer, pp 42–52
Nathanson T, Bitton E, Goldberg K (2007) Eigentaste 5.0: constant-time adaptability in a recommender system using item clustering. In: Proceedings of the 2007 ACM conference on Recommender systems, ACM, pp 149–152
Xu WH, Li WT (2016) Granular computing approach to two-way learning based on formal concept analysis in fuzzy datasets. IEEE Trans Cybern 46(2):366–379
Li WT, Xu WH (2015) Double-quantitative decision-theoretic rough set. Inf Sci 316(5):54–67
Zhang F, Gong T, Lee VE, Zhao G, Rong C, Qu G (2016) Fast algorithms to evaluate collaborative filtering recommender systems. Knowl Based Syst 96:96–103
Desrosiers C, Karypis G (2011) A comprehensive survey of neighborhood-based recommendation methods. In: Ricci F, Rokach L, Shapira B (eds) Recommender systems handbook. Springer, Boston, pp 107–144
Author information
Authors and Affiliations
Corresponding author
Additional information
This work is supported in part by the National Natural Science Foundation of China (Grants 61379089, 41604114), the Innovation and Entrepreneurship Foundation of Southwest Petroleum University (Grant SWPUSC16-003) and the Natural Science Foundation of the Department of Education of Sichuan Province (Grant 16ZA0060).
Rights and permissions
About this article
Cite this article
Zhang, HR., Min, F., Zhang, ZH. et al. Efficient collaborative filtering recommendations with multi-channel feature vectors. Int. J. Mach. Learn. & Cyber. 10, 1165–1172 (2019). https://doi.org/10.1007/s13042-018-0795-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13042-018-0795-8