Document Type : Research Paper
Authors
1 Computer Engineering Faculty, K. N. Toosi University of Technology
2 -
Abstract
Abstract
Recently, the Internet has played a significant and substantial role in people's lives. However, the content available in the global web environment should align with users' daily needs, providing them with useful and up-to-date information tailored to their tastes. In this context, recommender systems assist users by suggesting items that closely match their preferences in less time. Today, with the exponential growth of data, the utilization of recommender systems has surged. Conversely, these systems encounter challenges such as evolving user preferences over time, cold start problem, sparsity within the user-item matrix, the infiltration of fake users in the systems, and their adverse impact on the recommendation lists. The objective of this paper is to propose a recommender system grounded in time and trust factors to enhance the efficiency and precision of system recommendations. Initially, the proposed system addresses the data sparsity dilemma by incorporating reliable implicit ratings into the user-item matrix. Subsequently, it constructs a weighted user-user network based on user rating timestamps and trust relationships among users, thereby mitigating the cold start problem and accounting for changing user preferences over time. The proposed recommender system employs a novel community detection algorithm introduced in this paper to identify the nearest neighbors of active users and recommends the top @k items based on the collaborative filtering approach. Evaluation results of the proposed system, tested on a film recommender system using the Epinions dataset, demonstrate its superior efficiency compared to basic systems.
Introduction
Today, with the increasing tendency of users to use websites for obtaining information, online shopping, and using social networks for expressing personal opinions, the ways of obtaining information and establishing connections among users have undergone significant changes. Consequently, users are confronted with the big of data. Managing this data and selecting the appropriate options from this vast collection and presenting it to users is one of the main reasons for the development of information retrieval systems and search engines. In this regard, Recommendation Systems (RSs) help users choose the best options and recommend items that are closer to their preferences in the shortest possible time. Different models of RS such as collaborative filtering, content-based, knowledge-based, and newly developed context-aware RS, have been presented by researchers (Casillo et al., 2022). Each has its own advantages and disadvantages, which can be combined to create a hybrid RS. It should be noted that RS face challenges, including changes in user preferences over time, cold start for new users or items, sparsity of the user-item matrix, attack by fake users, and their negative impact on the recommendation list. In this paper, a time- and trust-based recommendation system is presented to enhance the performance and accuracy of recommendations. Our proposed system initially solves the data sparsity problem by adding reliable implicit ratings to the user-item rating matrix. It then generates a weighted user-user network based on the time of user feedback on items and trust relationships among users. This approach addresses the cold start problem and the change in user preferences over time. Our system is based on a novel community detection algorithm presented in this article, which identifies the nearest neighboring users with similar tastes to the active user and recommends the top-k items using the collaborative filtering method. The evaluation of the proposed system is performed on an Epinions dataset for a movie recommendation system. The evaluation uses metrics such as accuracy, recall, F1 score, mean absolute error, and root mean square error. The experimental results indicate the superior performance of the proposed system compared to similar systems.
Literature Review
In the recent years, the researchers attempt to improve the accuracy of their recommendation for retaining the users and increasing the profit. Some of the papers has worked on optimizing the performance of their proposed RS using evolutionary algorithms (Tohidi & Dadkhah, 2020) and the others used the additional information such as time, location, etc. Trust-based RSs have been recently introduced to the community of computer science. Recent studies have shown that incorporating social factors or trust statements in RSs leads to the improvement of recommendation quality (P. Moradi & Ahmadian, 2015; S. Ahmadian, M. Meghdadi, & Afsharchi, 2018b). So far, several trust-based CF approaches have been proposed to overcome data sparsity and cold-start problems as well as to increase recommendable items (Ghavipour & Meybodi, 2016; Moradi, Ahmadian, & Akhlaghian, 2015; P. Massa & Avesani, 2007; Ranjbar Kermany & Alizadeh, 2017). Trust statements can be explicitly collected from users or can be implicitly inferred from users behaviors (S. Ahmadian, M. Meghdadi, & Afsharchi, 2018a; S. Ahmadian, P. Moradi, & Akhlaghian, 2014). Liu and Lee proposed a specific approach which does not directly use the trust information; instead they take into account the number of exchanged messages among the users of the system to construct the trust network (Liu & Lee, 2010). Alahmadi and Zeng presented a framework to apply short texts posted by users friends in microblogs as an additional data source to build the trust network (Alahmadi & Zeng, 2015). Since explicit trust statements are directly specified by the users, they are more accurate and reliable than implicit ones in determining social relationships among users (Cho, Kwon, & Park, 2009; Ingoo, Kyong, & Tae, 2003; Lathia, Hailes, & Capra, 2008; Manolopoulus, Nanopoulus, Papadopoulus, & Symeonidis, 2008).
The research In (Abdul-Rahman & Hailes, 2000) has been shown that a user constructs his/her social connections with someone who has similar tastes. Massa and Avesani showed that adding social network data to traditional collaborative filtering improves the recommendation results (P. Massa & Avesani, 2007). Gharibshah and Jalili studied the relation between RSs and connectedness of users-items bipartite interaction network (Gharibshah & Jalili, 2014). Guo et al. proposed a method which merged the ratings of users trusted neighbors with the other information sources to identify their preferences (G. Guo, J. Zhang, & Thalmann, 2014). Yang et al. proposed a Bayesian inference based recommendation method for online social networks (X. Yang, Y. Guo, & Liu, 2013). In this method, the similarity value between each pair of users is measured using a set of conditional probabilities derived from their mutual ratings. Jiang et al. introduced a framework to incorporate interpersonal influences of users in social network with their individual preferences to improve the accuracy of social recommendation (Jiang, Cui, Wang, Zhu, & Yang, 2014).
Purchase/rating time is one of the most important contextual information that can be used to design RSs with high precision (Xiong, Chen, Huang, Schneider, & Carbonell, 2010). The main motivation for time-aware RS is that in realistic scenarios users tastes might change over time.
Methodology
We propose a time and trust-aware RS using a graph-based community detection method consists of four steps: 1: developing a user-item rating matrix, 2: constructing a time weighted user-user network, 3: performing graph- based community detection, 4: recommending Top-N items. In the first step, the user-item rating matrix is developed by adding some implicit ratings and the quality of the implicit ratings is evaluated using a reliability measurement. In the second step, a time-weighted user-user network is constructed based on the combination of trust relationships and similarity between users. Moreover, the timestamps of user-item ratings are considered to calculate the similarity between users. In the third step, a graph-based community detection method classifies similar users into appropriate communities. Finally, in the fourth step, it predicts the rating for each unobserved item and top-N recommendations is generated for the target user.
We proposed a new community detection method that consists of three phases. First, the initial centers of communities are obtained using a sparsest subgraph of weighted user-user network. It should be noted that the initial centers must have the maximum dissimilarities with each other based on the general concept of clustering and community detection algorithms. Then users can be assigned to their nearest communities. For each user proposed system calculated the fitness function. User has associated to community which has high value of fitness function. Then the centers of communities were updated in order to maximize a fitness function. This process is iteratively repeated until members of communities do not change and steady state is achieved. A set of communities are identified where the users are assigned to their corresponding communities. Some of the communities may have overlap and they can be merged. The final communities were used as the nearest neighbors set of the active user in the same community for the recommendation.
Conclusion
Our proposed algorithm solves the sparsity of rating matrix by adding the implicit rating and solved cold-start problem for new users by considering the trust between the users. We applied the proposed algorithm on extended Epinions dataset and compared its performance with similar algorithms. The experimental results showed that our proposed algorithm outperforms the other algorithms according to the accuracy and recommends the top@N items with high precision.
Keywords
Main Subjects
- Abdul-Rahman, A., & Hailes, S. (2000). Supporting trust in virtual communities. Paper presented at the 33th Hawaii International Conference on System Sciences, Hawaii, USA.
- Afsar, M. M., Crump, T., & Far, B. (2022). Reinforcement learning based recommender systems: A survey. ACM Computing Surveys, 55(7), 1-38.
- Aggarwal, C. C. (2016). Recommender systems (Vol. 1): Springer.
- Ahmadian, S., Joorabloo, N., Jalili, M., Ren, Y., Meghdadi, M., & Afsharchi, M. (2020). A social recommender system based on reliable implicit relationships. Knowledge-Based Systems, 192, 105371.
- Alahmadi, D. H., & Zeng, X.-J. (2015). ISTS: Implicit social trust and sentiment based approach to recommender systems. Expert Systems with Applications, 42(22), 8840-8849. doi:http://dx.doi.org/10.1016/j.eswa.2015.07.036
- Bansal, J., Flannery, M. B., & Woolhouse, M. H. (2021). Influence of personality on music-genre exclusivity. Psychology of Music, 49(5), 1356-1371.
- Casillo, M., Gupta, B. B., Lombardi, M., Lorusso, A., Santaniello, D., & Valentino, C. (2022). Context aware recommender systems: A novel approach based on matrix factorization and contextual bias. Electronics, 11(7), 1003.
- Cho, J., Kwon, K., & Park, Y. (2009). Q-rater: a collaborative reputation system based on source credibility theory. Expert Systems with Applications, 36, 3751-3760.
- Daneshmand, S. H., Javari, A., Abtahi, S. E., & Jalili, M. (2015). A time-aware recommender system based on dependency network of items. The Computer Journal, 58(9), 1255-1266.
- Feng, H., Tian, J., Wang, H. J., & Li, M. (2015). Personalized recommendations based on time-weighted overlapping community detection. Information & Management, 52(7), 789-800.
- Guo, J. Zhang, & Thalmann, D. (2014). Merging trust in collaborative filtering to alleviate data sparsity and cold start. Knowledge-Based Systems, 57, 57-68.
- Gharibshah, J., & Jalili, M. (2014). Connectedness of users–items networks and recommender systems. Applied Mathematics and Computation, 243, 578-584.
- Ghavipour, M., & Meybodi, M. R. (2016). An adaptive fuzzy recommender system based on learning automata. Electronic Commerce Research and Applications, 20, 105-115. doi:http://dx.doi.org/10.1016/j.elerap.2016.10.002
- Guo, G., Zhang, J., & Thalmann, D. (2014). Merging trust in collaborative filtering to alleviate data sparsity and cold start. Knowledge-Based Systems, 57, 57-68.
- Hernando, A., Bobadilla, J., Ortega, F., & Tejedor, J. (2013). Incorporating reliability measurements into the predictions of a recommender system. Information Sciences, 218, 1-16.
- Hui, B., Zhang, L., Zhou, X., Wen, X., & Nian, Y. (2022). Personalized recommendation system based on knowledge embedding and historical behavior. Applied Intelligence, 52(1), 954-966.
- Ingoo, H., Kyong, J. O., & Tae, H. R. (2003). The collaborative filtering recommendation based on SOM cluster-indexing CBR. Expert Systems with Applications, 25, 413–423.
- Jiang, M., Cui, P., Wang, F., Zhu, W., & Yang, S. (2014). Scalable Recommendation with Social Contextual Information. IEEE Transactions on Knowledge and Data Engineering, 26(11), 2789-2802. doi:10.1109/TKDE.2014.2300487
- Koren, Y. (2010). Collaborative filtering with temporal dynamics. Communications of the ACM, 53(4), 89-97.
- Lathia, N., Hailes, S., & Capra, L. (2008). Trust-based collaborative filtering. Paper presented at the Proceedings of trust management II.
- Liu, F., & Lee, H. (2010). Use of social network information to enhance collaborative filtering performance. Expert Systems with Applications, 37, 4772–4778.
- Manolopoulus, Y., Nanopoulus, A., Papadopoulus, A. N., & Symeonidis, P. (2008). Collaborative recommender systems: combining effectiveness and efficiency. Expert Systems with Applications, 34, 2995-3013.
- Massa, P., & Avesani, P. (2007). Trust-aware recommender systems. Paper presented at the Proceedings of the 2007 ACM conference on Recommender systems.
- Moradi, P., & Ahmadian, S. (2015). A reliability-based recommendation method to improve trust-aware recommender systems. Expert Systems with Applications, 42(21), 7386-7398.
- Moradi, P., Ahmadian, S., & Akhlaghian, F. (2015). An effective trust-based recommendation method using a novel graph clustering algorithm. Physica A: Statistical Mechanics and its Applications, 436, 462-481. doi:http://dx.doi.org/10.1016/j.physa.2015.05.008
- Massa, & Avesani, P. (2007). Trust-aware recommender systems. Paper presented at the 2007 ACM conference on Recommender systems, Minneapolis, Minnesota, USA.
- Moradi, & Ahmadian, S. (2015). A reliability-based recommendation method to improve trust-aware recommender systems. Expert Systems with Applications, 42(21), 7386-7398. doi:http://dx.doi.org/10.1016/j.eswa.2015.05.027
- Ranjbar Kermany, N., & Alizadeh, S. H. (2017). A hybrid multi-criteria recommender system using ontology and neuro-fuzzy techniques. Electronic Commerce Research and Applications, 21, 50-64. doi:http://dx.doi.org/10.1016/j.elerap.2016.12.005
- Rezaimehr, F., & Dadkhah, C. (2021). A survey of attack detection approaches in collaborative filtering recommender systems. Artificial Intelligence Review, 54(3), 2011-2066.
- Ricci, F. (2010). Mobile recommender systems. Information Technology & Tourism, 12(3), 205-231. doi:https://doi.org/10.3727/109830511X12978702284390
- Ahmadian, M. Meghdadi, & Afsharchi, M. (2018a). Incorporating reliable virtual ratings into social recommendation systems. Applied Intelligence, 48(11), 4448-4469.
- Ahmadian, M. Meghdadi, & Afsharchi, M. (2018b). A social recommendation method based on an adaptive neighbor selection mechanism. Information Processing & Management, 54(4), 707-725.
- Ahmadian, P. Moradi, & Akhlaghian, F. (2014). An improved model of trust-aware recommender systems using reliability measurements. Paper presented at the 2014 6th Conference on Information and Knowledge Technology (IKT).
- Tohidi, N., & Dadkhah, C. (2020). Improving the performance of video Collaborative Filtering Recommender Systems using Optimization Algorithm. International Journal of Nonlinear Analysis and Applications, 11(1), 283-295.
- Wu, S., Sun, F., Zhang, W., Xie, X., & Cui, B. (2022). Graph neural networks in recommender systems: a survey. ACM Computing Surveys, 55(5), 1-37.
- Yang, Y. Guo, & Liu, Y. (2013). Bayesian-Inference-Based Recommendation in Online Social Networks. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 24, 642-651.
- Xiong, L., Chen, X., Huang, T.-K., Schneider, J., & Carbonell, J. G. (2010). Temporal Collaborative Filtering with Bayesian Probabilistic Tensor Factorization. In Proceedings of the 2010 SIAM International Conference on Data Mining (pp. 211-222).
- Yang, X., Guo, Y., & Liu, Y. (2012). Bayesian-inference-based recommendation in online social networks. IEEE Transactions on Parallel and Distributed Systems, 24(4), 642-651.