HCoF: Hybrid Collaborative Filtering Using Social and Semantic Suggestions for Friend Recommendation
Abstract
:1. Introduction
Motivation of Research
- The proposed recommendation system of users incorporates both social and collaborative classification approaches;
- The proposed study proposes a list of the most acceptable potential friends based on the user’s profile;
- The proposed work provides a better RS based on hybridizations of collaborative, semantic, and social filtering;
- The amalgamation of semantic as well as social information completely eliminates the problem of a cold start.
2. Related Works
3. Materials and Methods
3.1. Combination of Social and Semantic Filtering
- (1).
- CoF based on user–user
- (2).
- Social Filtering (SocF)
- User’s seniority level is computed as shown in Equation (8) using the date of the user’s social network registration [34];
- User’s competence level: It is estimated in two steps, based on the presumption [35] that “a friend is very competent if only if the friend has accurately evaluated all the resources in comparison to his mean ratings in social networks”.
- (3).
- Semantic Filtering (SemF):
- Sharing of knowledge domains of similar users
- Sharing of preferences of users that are similar
3.2. Combination of Classification Algorithms with Social-Based Collaborative Filtering (SoC-CoF)
- (1).
- Incremental K-means
- (2).
- K-NN algorithm
3.3. Proposed Algorithms for HCoF Recommendation Systems
Algorithm 1 SocCoF recommendation. |
Input required: User Table containing Collaborative and also, users’ social classes Output expected: Recommended Friends list of user “u”. |
Step_1: Step_2: if if if if Step_3: if Add Recommended list to very active users of social network. Step_4: For the remaining users namely u| not friends of who has same CClass and SClass: Calculate credibility: Take 80% of Trust, 20% of Commitment Recommend_val: 80% ofand 20% credibility of user If Recommend_val > threshold value, add u| to the recommended list of user u Step_5: Repeat 2 to 4 for all the users present in user table |
Algorithm 2 SemSocCoF recommendation. |
Input required: Profile of user and rating matrix Output expected: Recommended Friends list of user “u”. |
Step_1: if user “u” is actually a new user of the social network, then add him to the active users of social network. Step_2: if not step 1 and if the user “u” does not have enough rating, combine the Semantic Filtering (SemFL) and the Social filtering (SocFL) values. Step_3:if step 2 is not satisfied, then combine collaborative filtering values with the Semantic Filtering and the Social filtering values. Step_4: Display the Recommended List in sorted order |
- The Sem-based CoF and the Soc-based CoF were created to examine the influence of semantics and social information, respectively, on the CoF suggestions. For the Sem-based CF algorithm, the neighborhood computation in the CoF will be based on the list of semantically close friends, and for the Soc-based CoF method, it will be based on the list of socially close friends;
- Semantics and social information are used in the Sem-Soc-based CoF to examine its impact. In this instance, the list of semantically and socially close friends will serve as the foundation for the neighborhood computation in the CoF.
4. Results and Discussions
- A.
- Evaluation metrics
- B.
- Experimental Results
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Konstan, J.A.; Riedl, J. Recommender systems: From algorithms to user experience. User Model. User-Adapt. Interact. 2012, 22, 101–123. [Google Scholar] [CrossRef] [Green Version]
- Venkatesan, V.K.; Ramakrishna, M.T.; Batyuk, A.; Barna, A.; Havrysh, B. High-Performance Artificial Intelligence Recommendation of Quality Research Papers Using Effective Collaborative Approach. Systems 2023, 11, 81. [Google Scholar] [CrossRef]
- Pu, P.; Chen, L.; Hu, R. A user-centric evaluation framework for recommender systems. In Proceedings of the Fifth ACM Conference on Recommender Systems, Chicago, IL, USA, 23–27 October 2011; pp. 157–164. [Google Scholar]
- Ramakrishna, M.T.; Venkatesan, V.K.; Izonin, I.; Havryliuk, M.; Bhat, C.R. Homogeneous Adaboost Ensemble Machine Learning Algorithms with Reduced Entropy on Balanced Data. Entropy 2023, 25, 245. [Google Scholar] [CrossRef] [PubMed]
- Devarajan, D.; Stalin Alex, D.; Mahesh, T.R.; Vinoth Kumar, V.; Aluvalu, R.; Uma Maheswari, V.; Shitharth, S. Cervical Cancer Diagnosis Using Intelligent Living Behavior of Artificial Jellyfish Optimized with Artificial Neural Network. IEEE Access 2022, 10, 126957–126968. [Google Scholar] [CrossRef]
- Mooney, R.J.; Roy, L. Content-based book recommending using learning for text categorization. In Proceedings of the Fifth ACM Conference on Digital Libraries, San Antonio, TX, USA, 2–7 June 2000; pp. 195–204. [Google Scholar]
- Celdrán, A.H.; Pérez, M.G.; Clemente, F.J.G.; Pérez, G.M. Design of a recommender system based on users’ behavior and collaborative location and tracking. J. Comput. Sci. 2016, 12, 83–94. [Google Scholar] [CrossRef]
- Mahesh, T.R.; Vinoth Kumar, V.; Sivakami, R.; Manimozhi, I.; Krishnamoorthy, N.; Swapna, B. Early Predictive Model for Detection of Plant Leaf Diseases Using MobileNetV2 Architecture. Int. J. Intell. Syst. Appl. Eng. 2023, 11, 46–54. [Google Scholar]
- Adomavicius, G.; Tuzhilin, A. Toward the next generation of recommender systems: A survey of the state-of-the-art and possible extensions. IEEE Trans. Knowl. Data Eng. 2005, 17, 734–749. [Google Scholar] [CrossRef]
- Dharahas, R.T.; Mahesh, T.R. A Pragmatic Approach for Detecting Brain Tumors Using Machine Learning Algorithms. Biosci. Biotechnol. Res. Commun. Spec. Issue 2021, 14, 1–8. [Google Scholar]
- Liu, F.; Lee, H.J. Use of social network information to enhance collaborative filtering performance. Expert Syst. Appl. 2010, 37, 4772–4778. [Google Scholar] [CrossRef]
- Chang, C.-C.; Chu, K.-H. A recommender system combining social networks for tourist attractions. In Proceedings of the 2013 Fifth International Conference on Computational Intelligence, Communication Systems and Networks, Madrid, Spain, 5–7 June 2013; pp. 42–47. [Google Scholar]
- Banati, H.; Mehta, M.; Bajaj, M. Social behaviour based metrics to enhance collaborative filtering. Int. J. Comput. Inf. Syst. Ind. Manag. Appl. 2014, 6, 217–226. [Google Scholar]
- Jha, K.K.; Jha, R.; Jha, A.K.; Hassan, M.A.M.; Yadav, S.K.; Mahesh, T. A Brief Comparison on Machine Learning Algorithms Based on Various Applications: A Comprehensive Survey. In Proceedings of the 2021 IEEE International Conference on Computation System and Information Technology for Sustainable Solutions (CSITSS), Bangalore, India, 16–18 December 2021; pp. 1–5. [Google Scholar] [CrossRef]
- Guo, G.; Zhang, J.; Yorke-Smith, N. Leveraging multiviews of trust and similarity to enhance clustering-based recommender systems. Knowl.-Based Syst. 2015, 74, 14–27. [Google Scholar] [CrossRef]
- Roopashree, S.; Anitha, J.; Mahesh, T.R.; Vinoth Kumar, V.; Viriyasitavat, W.; Kaur, A. An IoT based authentication system for therapeutic herbs measured by local descriptors using machine learning approach. Measurement 2022, 200, 111484. [Google Scholar] [CrossRef]
- Agarwal, V.; Bharadwaj, K.K. A collaborative filtering framework for friends recommendation in social networks based on interaction intensity and adaptive user similarity. Soc. Netw. Anal. Min. 2013, 3, 359–379. [Google Scholar] [CrossRef]
- Vivek, V.; Mahesh, T.R.; Saravanan, C.; Kumar, K.V. A Novel Technique for User Decision Prediction and Assistance Using Machine Learning and NLP: A Model to Transform the E-commerce System. In Big Data Management in Sensing; River Publishers: Aalborg, Denmark, 2022; pp. 61–76. [Google Scholar]
- Zhang, Y.; Tu, Z.; Wang, Q. Temporec: Temporal-topic based recommender for social network services. Mob. Netw. Appl. 2017, 22, 1182–1191. [Google Scholar] [CrossRef]
- Li, Y.-M.; Wu, C.-T.; Lai, C.-Y. A social recommender mechanism for e-commerce: Combining similarity, trust, and relationship. Decis. Support Syst. 2013, 55, 740–752. [Google Scholar] [CrossRef]
- Sharada, K.A.; Sushma, K.S.; Muthukumaran, V.; Mahesh, T.R.; Swapna, B.; Roopashree, S. High ECG diagnosis rate using novel machine learning techniques with Distributed Arithmetic (DA) based gated recurrent units. Microprocess. Microsyst. 2023, 98, 104796. [Google Scholar] [CrossRef]
- Chen, J.; Wang, C.; Shi, Q.; Feng, Y.; Chen, C. Social recommendation based on users’ attention and preference. Neurocomputing 2019, 341, 1–9. [Google Scholar] [CrossRef]
- Lai, C.-H.; Lee, S.-J.; Huang, H.-L. A social recommendation method based on the integration of social relationship and product popularity. Int. J. Hum.-Comput. Stud. 2019, 121, 42–57. [Google Scholar] [CrossRef]
- Zhang, Z.; Liu, Y.; Ding, W.; Huang, W.W. A Friend Recommendation System Using Users’ Information of Total Attributes. In ICDS 2015: Data Science; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2015; pp. 34–41. [Google Scholar] [CrossRef]
- Shahane, A.; Galgali, R. Friend Recommendation System for Social Networks. IOSR J. Comput. Eng. 2016, 18, 3741. [Google Scholar]
- Zheng, H.; Wu, J. Friend Recommendation in Online Social Networks: Perspective of Social Influence Maximization. In Proceedings of the 2017 26th International Conference on Computer Communication and Networks (ICCCN), Honolulu, HI, USA, 3–6 August 2017; pp. 1–9. [Google Scholar] [CrossRef]
- Dhawan, S.; Singh, K.; Gupta, H. User Behavior Based Friend Recommendation in Facebook Social Networks. Int. J. Comput. Sci. Eng. 2018, 6, 69–73. [Google Scholar] [CrossRef]
- Srikantaiah, K.C.; Mewara, S.; Goyal, S.; Subhiksha, S. A Friend Recommendation System using Semantic Based KNN Algorithm. J. Seybold Rep. 2020, 15, 1201–1209. [Google Scholar] [CrossRef]
- Parveen, R.; Sandeep Varma, N. Friend’s recommendation on social media using different algorithms of machine learning. Glob. Transit. Proc. 2021, 2, 273–281. [Google Scholar] [CrossRef]
- Roy, D.; Dutta, M. A systematic review and research perspective on recommender systems. J. Big Data 2022, 9, 59. [Google Scholar] [CrossRef]
- Zhu, J.; Wang, C.; Guo, X.; Ming, Q.; Li, J.; Liu, Y. Friend and POI recommendation based on social trust cluster in location-based social networks. J. Wirel. Commun. Netw. 2019, 2019, 89. [Google Scholar] [CrossRef] [Green Version]
- Zhu, J.; Liu, Y.; Yin, X. A New Structure Hole-based Algorithm for Influence Maximization in Large Online Social Networks. IEEE Access 2017, 5, 23405–23412. [Google Scholar] [CrossRef]
- Berkani, L. Sscf: A semantic and social-based collaborative filtering approach. In Proceedings of the 2015 IEEE/ACS 12th International Conference of Computer Systems and Applications (AICCSA), Marrakech, Morocco, 17–20 November 2015; pp. 1–4. [Google Scholar]
- Berkani, L.; Belkacem, S.; Ouafi, M.; Guessoum, A. Recommendation of users in social networks: A semantic and social based classification approach. Expert Syst. 2021, 38, e12634. [Google Scholar] [CrossRef]
- Sheth, A.; Kapanipathi, P. Semantic filtering for social data. IEEE Internet Comput. 2016, 20, 74–78. [Google Scholar] [CrossRef]
- Wu, Z.; Palmer, M. Verb semantics and lexical selection. arXiv 1994, arXiv:cmp-lg/9406033. [Google Scholar]
- Kesavamoorthy, R.; Anandaraj, S.P.; Mahesh, T.R.; Kumar, V.R.; Srinivasulu, A. Detection of Online Sexual Predatory Chats Using Deep Learning. In Artificial Intelligence and Blockchain in Digital Forensics; River Publishers: Aalborg, Denmark, 2023; pp. 69–80. [Google Scholar]
- Berkani, L. Using a social-based collaborative filtering with classification techniques. In Proceedings of the IFIP International Conference on Computational Intelligence and Its Applications, Organ, Algeria, 8–10 May 2018; Springer: Cham, Switzerland, 2018; pp. 267–278. [Google Scholar]
- Berkani, L. A semantic and social-based collaborative recommendation of friends in social networks. Softw. Pract. Exp. 2020, 50, 1498–1519. [Google Scholar] [CrossRef]
- Abu-Salih, B.; Alsawalqah, H.; Elshqeirat, B.; Issa, T.; Wongthongtham, P. Toward a Knowledge-based Personalised Recommender System for Mobile App Development. J. Univers. Comput. Sci. 2021, 27, 208–229. [Google Scholar] [CrossRef]
- Hazrati, N.; Ricci, F. Recommender systems effect on the evolution of users’ choices distribution. Inf. Process. Manag. 2022, 59, 102766. [Google Scholar] [CrossRef]
- Mol, F.; Neetha, B.S. Friend Recommendation System for Social Networks: A Semantic and Profile based Approach. Int. J. Eng. Res. Technol. 2015, 3, 1–4. [Google Scholar]
- Lyes, B.; Mourad, A.; Djamil, A.; Sofiane, A. P2PCF: A Collaborative Filtering Based Recommender System for Peer to Peer Social Networks. J. High Speed Netw. 2021, 27, 13–31. [Google Scholar]
Sl. No. | Study and Year | Techniques | Remarks |
---|---|---|---|
1 | Zhang, Z et al. (2015) [24] | This approach is based on the law of entire probability and leverages the total characteristics information provided by the user. | The effectiveness of each of these friend referral techniques may vary depending on the quantity of users’ current friends. The performance of Adamic/Adar is inferior, and Jaccard’s coefficient may be unacceptably high when the number of existing friends is fewer than 100. |
2 | Anuja Shahane et al. (2016) [25] | The friend-matching graph is suggested as a measure of similarity. | Recommendations are made only based on users’ lifestyles that are comparable. |
3 | H. Zheng and J. Wu (2017) [26] | A user is provided recommendations for k new acquaintances so that the user might increase his or her social impact through new friends. | Users’ semantic relationships were not taken into account. |
4 | Sanjeev Dhawan et al. (2018) [27] | There were offered recommendations based on both content and location. | All the users’ attributes and semantic information were not considered. |
5 | Srikantaiah K C et al. (2020) [28] | KNN algorithm was used for the recommendation. User preferences are taken for similarity measures. | As a result, the suggested technique only considers the nearest point based on an iterative selection process utilizing a distance vector, rather than considering all nearby points simultaneously in order to bundle a single point. |
6 | Ruksar Parveen and N. Sandeep Varma (2021) [29] | Similarity cosine and Jaccard distances are used to calculate coefficients. Page rank is used to calculate ranking metrics. | Semantic association was not taken into account. |
7 | Roy D and Dutta, M (2022) [30] | The effectiveness of recommender systems cannot be determined using a common metric. In 60 studies, system performance was calculated using 21 recall, 10 MAE, 25 precision, 18 F1 measure, 19 accuracy, and only 7 RMSE. | The authors only examined studies that had been published in management, computer science, and medical journals. Second, they looked at only English-language papers. |
8 | Zhu et al. (2019) [31] | To evaluate the performance of trust-based recommendation method, experiments are conducted on real LBSN datasets. The experiment results show that compared with the existing friend and POI recommendation algorithms, trust co-cluster-based friend recommendation algorithm and hybrid POI recommendation algorithm are more accurate and time efficient. | The authors have to include semantic information in the clustering process to further improve the quality of friend and location recommendations. |
9 | J. Zhu et al. (2017) [32] | Results on Twitter and RayLeague demonstrate that their method can effectively address the influence maximization problem and increase not only the influential range but also time efficiency when compared to existing algorithms. | Social networks are constantly being updated, causing nodes’ structural characteristics to change. In order to scale our technique to large-scale dynamic networks, the authors must expand their influence maximization algorithm based on structure hole theory. |
NubU | NubE | NubDF | K-Means Precision | K-Means Recall | K-Means F1 | Incremental K-Means Precision | Incremental K-Means Recall | Incremental K-Means F1 |
---|---|---|---|---|---|---|---|---|
110 | 2955 | 770 | 0.052 | 0.090 | 0.076 | 0.105 | 0.040 | 0.062 |
120 | 3263 | 801 | 0.124 | 0.045 | 0.120 | 0.120 | 0.044 | 0.066 |
130 | 3346 | 813 | 0.132 | 0.068 | 0.160 | 0.157 | 0.055 | 0.081 |
140 | 3567 | 912 | 0.209 | 0.040 | 0.060 | 0.220 | 0.061 | 0.090 |
150 | 3770 | 1006 | 0.128 | 0.035 | 0.045 | 0.221 | 0.054 | 0.081 |
Algorithm/Metric | CoF | SemCoF | SocCoF | Semantic-Based SocCoF | Social-Based SemF | SemSocCoF |
---|---|---|---|---|---|---|
Mean Precision | 0.430 | 0.170 | 0.200 | 0.334 | 0.330 | 0.503 |
Mean Recall | 0.180 | 0.315 | 0.310 | 0.424 | 0.366 | 0.892 |
Mean F1 | 0.610 | 0.225 | 0.241 | 0.376 | 0.351 | 0.651 |
Study and Year | Methodology | Remarks |
---|---|---|
Fathima Mol et al. (2015) [42] | This system extracts the lifestyle of the user. In order to extract lifestyle, authors considered sensor data, messages, applications installed, and MP3 files stored in the smartphone. The system recommends potential friends if they share similar lifestyles. | This study concentrates only on the semantic approach, and the accuracy claimed is also nominal. |
Srikantaiah K C et al. (2021) [35] | The authors used the KNN algorithm for recommendations. The authors used each user’s personality traits and conduct, which were used to help him/her find new users with the same temperament. | This algorithm does not take into account all neighboring points at the same time in order to bundle a single point. When users are looking for neighbors or other users who have factually demonstrated similar preferences to a certain user, bottlenecks occur. |
Lyes Badis et al. (2021) [43] | The authors used a collaborative filtering approach to recommend content in P2P social networks, claimed P2PCF enables privacy preservation, and tackled the cold start problem for both users and content. | The proposed approach assumes that the rating matrix is distributed among peers, in such a way that each peer only sees interactions made by their friends on their timeline. |
Proposed Model | Social data are merged with the CoF recommendation. In order to improve performance in the recommendation process, two classification techniques—incremental K-means and K-NN algorithms—are also included. | The suggested study improves the recommendation algorithm by fusing together collaborative, semantic, and social filtering techniques (SocF). The results with the Yelp social network indicate that, in comparison to the user-based CoF algorithm, merging semantic and social data with the CoF algorithm enhances recommendation accuracy. |
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
Ramakrishna, M.T.; Venkatesan, V.K.; Bhardwaj, R.; Bhatia, S.; Rahmani, M.K.I.; Lashari, S.A.; Alabdali, A.M. HCoF: Hybrid Collaborative Filtering Using Social and Semantic Suggestions for Friend Recommendation. Electronics 2023, 12, 1365. https://doi.org/10.3390/electronics12061365
Ramakrishna MT, Venkatesan VK, Bhardwaj R, Bhatia S, Rahmani MKI, Lashari SA, Alabdali AM. HCoF: Hybrid Collaborative Filtering Using Social and Semantic Suggestions for Friend Recommendation. Electronics. 2023; 12(6):1365. https://doi.org/10.3390/electronics12061365
Chicago/Turabian StyleRamakrishna, Mahesh Thyluru, Vinoth Kumar Venkatesan, Rajat Bhardwaj, Surbhi Bhatia, Mohammad Khalid Imam Rahmani, Saima Anwar Lashari, and Aliaa M. Alabdali. 2023. "HCoF: Hybrid Collaborative Filtering Using Social and Semantic Suggestions for Friend Recommendation" Electronics 12, no. 6: 1365. https://doi.org/10.3390/electronics12061365
APA StyleRamakrishna, M. T., Venkatesan, V. K., Bhardwaj, R., Bhatia, S., Rahmani, M. K. I., Lashari, S. A., & Alabdali, A. M. (2023). HCoF: Hybrid Collaborative Filtering Using Social and Semantic Suggestions for Friend Recommendation. Electronics, 12(6), 1365. https://doi.org/10.3390/electronics12061365