Skip to main content
PLOS ONE logoLink to PLOS ONE
. 2019 Jul 10;14(7):e0218957. doi: 10.1371/journal.pone.0218957

Social recommendation model based on user interaction in complex social networks

Yakun Li 1,2,*, Jiaomin Liu 1, Jiadong Ren 1,2
Editor: Floriana Gargiulo3
PMCID: PMC6619984  PMID: 31291288

Abstract

The user interaction in online social networks can not only reveal the social relationships among users in e-commerce systems, but also imply the social preferences of a target user for recommendation services. However, the current research has rarely explored the impact of social interaction on recommendation performance, especially now that recommender systems face increasing challenges and suffer from poor efficiency due to social data overload. Therefore, applied research on user interaction has become increasingly necessary in the field of social recommendation. In this paper, we develop a novel social recommendation method based on the user interaction in complex social networks, called the SRUI model, to present a basis for improving the efficiency of the recommender systems. Specifically, a weighted social interaction network is first mapped to represent the interactions among social users according to the gathered information about historical user behavior. Thereafter, the complete path set is mined by the complete path mining (CPM) algorithm to find social similar neighbors with tastes similar to those of the target user. Finally, the social similar tendencies of the users on the complete paths are obtained to predict the final ratings of items through the SRUI model. A series of experimental results based on two real public datasets show that our approach performs better than other state-of-the-art methods in terms of recommendation performance.

Introduction

“With the continuous innovation of Internet technology, new media has ushered in the era of ‘social plus’, which allows various users to communicate with each other and share resources, thus achieving multi-wins”, said Sina weibo chairman of Guowei Cao at the Fifth World Internet Conference held in Wuzhen, China. The Internet has become an open and integrated development platform, and one of its most intuitive manifestations is the commercialization of social media and the socialization of e-commerce [1, 2]. Therefore, under the new situation of complex social networks, determining how to make social recommendations for products has become a hot issue in academic and business research [3].

The existing social recommendation technology mainly utilizes the relationship networks among users or communities to identify the interest preferences of target entities for making recommendations, including content recommendations based on social media [4], neighborhood-based collaborative filtering (CF) [5] and friend recommendations [6,7]. Naturally, in contrast to the traditional research on text content [8], content recommendation processes in social platforms introduce content types that are created and shared by the users themselves, gather the feedback information of other users through the articulated relationships in complex networks, and implicitly infer the user preferences and content popularity [9,10]. Another CF technique has been widely used in social systems [11], and the rationale behind it is to use the rating information of other users in social networks to find the neighbors who have similar tastes to the target user and then recommend items to them. It needs to be emphasized that the CF approach can address some of the limitations of content-based recommendation when the content information of the items is difficult to obtain. Furthermore, friend recommendation refers to helping users find friends of interest in social networks and add them to their contact lists. In these methods, the user social information contained in the complex networks plays a key role in obtaining the user’s real demand to search for suitable products for the user [12].

However, although social networks have been extensively applied in various recommender systems, some of which have achieved good recommendation results to some extent, social overload [13] and network complexity still make it challenging for users to find suitable items, such as goods, music, movies etc. This article breaks through the conventional method of item recommendation [14, 15], and explores the social information that is implicit in the interactions among users in social business systems. Specifically, our paper proposes a novel definition of social interaction and builds an interactive network to describe the relationships among social users in complex networks. Furthermore, the complete path containing the original and terminal users was derived to acquire the social similar neighbors of a target user. Finally, the social rating prediction of potential items was calculated using the defined social distance and social similar tendency.

The main innovations in this article are summarized below.

  1. A novel concept of social interaction in complex networks is proposed to construct a weighted social interaction network.

  2. The CPM algorithm is proposed to mine the complete paths of a target user and explore user social preferences.

  3. The proposed SRUI model is presented in detail to predict the user ratings for unrated items and then make effective social recommendations. Moreover, the recommendation performance is verified based on the experimental results in the Douban and Epinions datasets.

  4. Based on the behavioral traces of social users, a new social recommendation model, which is different from the conventional similarity recommendation methods, is designed to improve the accuracy of item recommendations, and also provides diverse support for future research in the field of social recommendations.

The rest of this paper is organized as follows. Section 2 describes the research status of social recommendations and other related work. The related definitions and the framework for SRUI recommendation are presented in Section 3. Section 4 presents the proposed social recommendation model, along with the acquisition of the built social interaction network, the complete path set of the target user, and the final social rating prediction. Experiments on two real datasets are conducted in Section 5. The last section ends the work by summarizing the main contributions of the proposed approach and suggesting future research directions.

Related work

Many of the current research methods that are most relevant to this study have been proposed for product or message push in social recommendation. For example, Zhang Z et al. [16] proposed a trust and timing model that could make full use of the trust relationships among users and the time series among items to optimize matrix decomposition and improve the quality of social recommendations. The experimental results showed that the above model performs better than the traditional methods, especially for cold users. Similarly, trust enhancement technology, which combines user feedback and trust relationships, was applied by Deng S et al. [17] in service recommendation based on social networks to alleviate the problem of data sparsity in the similarity calculation. Specifically, this approach used matrix factorization to evaluate the degrees of users in social networks, and the random walk algorithm was utilized for the final social recommendation. With more in-depth research on social trust theory, a series of other classic views [1823]was provided for personalized social recommendations. Additionally, in [24], two novel document-centered methods based on graph partitioning and prototype classification were put forward to sort and select the most relevant social tags from those clusters and classes for social recommender systems. The paper addresses the problem of tag data overload in social media recommendations from the perspective of automatic learning. Chamoso P et al. [25] extracted the relationship information contained in user profiles, job attribute descriptions and user behavior characteristics among users from business- and employment-oriented social networks for job prediction. In order to supply personalized push content for social media sites, Wang G et al. [26] presented a sentiment-aware social media recommendation model that merged the sentiment analysis results of social texts into a collaborative filtering framework, where the inferred sentiment feedback information was classified from the affective texts to improve system performance and increase the recommendation diversity. Nevertheless, these methods still cannot meet the requirements of the rapidly developing recommender systems from the perspective of practical application effects.

In addition, some research on complex social networks is also used in the field of social recommendation. In these studies, the features of the small world [27] and the clustering coefficients [28] in complex networks are exploited to mine the sociality among users and predict the preferences of target users. For instance, Liu G et al. [29] designed an innovative heuristic path mining model based on multiple forecasts that utilized the influence of complex social networks to optimize the user social paths. In the proposed model, the multiple backward local social paths were identified and clustered to generate the final optimal solution with high performance in social service recommendation, and the experimental results indicated that their model was more efficient than the previous algorithms. A novel concept of a hypernetwork with topological features was proposed by Qi Suo et al. [30] to identify users with different roles by analyzing the key attributes of complex social networks. Then, the user rating was re-evaluated based on the similarity of trends in the hypernetwork model, in which users were treated as hyperedges and the products or service as hypernodes. The paper applies the characteristics of a complex network to the field of collaborative recommendation and provides new ideas for social recommendation. Additionally, Fields B et al. [31] adopted complex network technologies to explore the social relevance of musical data for music recommendation and discovery. In addition, although there are some social recommendation models that consider user social information and community structure in social media [3234], the complex social networks and user interactions in networks are rarely studied in social recommendation methods.

Inspired by the above research status and existing problems, our paper pays special attention to the interaction and social information among users in social recommender systems. Specifically, the behavioral information and interaction relationship of social users are exploited to analyze and mine the preferences of a target user, and then the social similarity tendency is calculated to obtain the rating prediction of items. Based on these analyses, we devise a new approach based on user interaction for social recommendation in complex social networks, aiming to improve the performance of recommendations. Extension experiments based on two real data sets indicate that our method outperformed previous algorithms in terms of accuracy, particularly when the system can provide very few user ratings.

Definitions and model

Relevant definitions

Complex networks are suitable for expressing the interactions among social users [35]. Based on the large amount of social data that has grown exponentially [36], this paper defines a complex social interaction network using a directional weighting network. See below for the relevant definitions.

Definition 1 Social interaction is considered to be a social interactive relationship among users in a recommender system, such as, comments, forwards, push messages, blog posts, other social services etc. Thus, interaction represents the links among users in complex networks. Besides, the direction of social interaction is that the initiator of social behavior points to the recipient. For example, if user A comments on Weibo contents posted by user B, the direction of social interaction is from A to B.

Definition 2 Social interaction network(SIN) is a directed relationship network built up through the social interaction among the users in complex networks. Generally, the nodes in a network represent the social users, the edges represent the interactions among the users, and the weights are expressed as the user ratings of interactions. The definition of an SIN is shown below.

SIN={NODES,EDGES,WEIGHTS} (1)

The SIN can be represented as a triple, where NODES is the sequence collection of the users in a complex social network denoted by U = {u1, u2, ⋯, um}, EDGES is the sequence collection of the interaction relationships denoted by I={iu1,u2,iu3,u4,,iuk,uk+1}(ukU), and WEIGHTS is the rating sequence set denoted by R={ru1,u2,ru3,u4,,ruk,uk+1}(ukU). What needs to be explained is that the interaction iuk,uk+1 is not equal to the interaction iuk+1,uk in our paper. That is, the user uk makes an interaction with the user uk+1 called iuk,uk+1, and the user uk+1 also makes an interaction with the user uk called iuk+1,uk; therefore, the iuk,uk+1 and iuk+1,uk are two differentinteractions.

Definition 3 The reachability symbolized by→is the existence of a directional path that can be connected from one user to another in an SIN. For example, in a simple social interaction network, as shown in Fig 1, u1 → u5 and u4 → u7 are both reachable.

Fig 1. A simple social interaction network.

Fig 1

Definition 4 Original users (uo) are those users who have no other user social interaction with them or those whose in-degree is zero in the SIN. For example, in Fig 1, u1 is an original user.

Definition 5 Terminal users (uT) are those who have not made social interactions with any other users or those whose out-degree is zero in the SIN. As shown in Fig 1, u7 is a terminal user.

Definition 6 The complete path (CP) refers to a directed sequence path containing the target user in the SIN, where the first user is the original user and the last user is the terminal user and each user can only appear once. In this case, the target user u belongs to U.

cpk(u)={uO,u,uT} (2)

For example, in Fig 1, for the user u5, cp1(u5) = {u1, u5, u4, u6, u7}, cp2(u5) = {u1, u5, u2, u6, u7} and cp3(u5) = {u1, u5, u4, u3, u2, u6, u7} are all complete paths. In addition, two different users can have the same complete path.

Definition 7 Complete path set refers to the collection of all complete paths of the target user in the SIN. The specific definition is as follows. N is the number of all the complete paths of the target user u.

CP(u)=k=1Ncpk(u)={cp1(u),cp2(u),,cpN(u)} (3)

Definition 8 Social similar neighbors are users in the complete path set of the target user.

Definition 9 Social distance (SD) is the distance between any two reachable users and includes the number of interactive edges on some complete path. K is the kth complete path of the target user u (k ∈ Z+). |iu,v| is the number of interactive edges between users u and v on the complete path. If users u and v are adjacent users on some complete path, then the value of |iu,v| is 1.

sdu,v=|iu,v|(vcpk(u)) (4)

Definition 10 Social similar tendency (SST) refers to the degree of social similarity of a user to the target user in some complete path. It expresses the similar preferences between another user and the target user through user interactions. The SST value is proportional to the weight ratings of the interactive edges and inversely proportional to the social distance between two users.

SSTu,v=1kCP(u)r~u,v1+sdu,v (5)

In the above definition, sdu,v is the social distance between user u and user v, k is the number of complete paths containing user u and user v, and r~u,v is the sum of weight ratings for the interactive edges between user u and user v on the complete path. It is defined as follows.

r~u,v=cpk(u,v)rum,vn(um,vncpk(u)) (6)

After obtaining the social similar tendency between two users, this paper can predict the items or products for the target user in the model. The social rating prediction is the predicted rating value of theuser items or products and is obtained by using the mean of the social similar tendency and weight ratings.

SRPu,v=SSTu,v*|SSTu,v-r-u,v| (7)

Specifically, in the formula, r-u,v means the average of all the weight ratings for the interactive edges between user u and user v on the complete path of the target user. With the social rating predictions of all the items, inspired by the user-based recommendation method [37], our paper sorts the predictions through the Top-N algorithm [38] and then recommends the corresponding items to the target user.

For example, in Fig 1, we assume that u4 is the target user and there are two complete paths, cp1(u4) = {u1, u4, u6, u7} and cp2(u4) = {u1, u4, u3, u2, u6, u7} respectively. These paths form the complete path set for the target user u4, known as CP(u4) = {cp1(u4), cp2(u4)}.

Next, we use the previous definition in formulas (4) and (6) to calculate the social distance sdu4,v and the sum of the weight rating r~u4,v between the target user u4 and other users v(u1, u2, u3, u6, u7) on each complete path, as shown in the second and third columns of Table 1.

Table 1. The recommendation instance of target user u4.

(sdu4,v,r~u4,v)cp1(u4) (sdu4,v,r~u4,v)cp2(u4) SSTu4,v r-u4,v SRPu4,v
u1 (1,2) (1,2) 1 2 1
u2 (2,6) 2 3 2
u3 (1,1) 0.5 1 0.25
u6 (1,4) (3,9) 2.125 3.25 2.391
u7 (2,6) (4,11) 2.1 2.833 1.539

Finally, SSTu4,v,r-u4,v and the final social rating prediction SRPu4,v are calculated separately based on what has been obtained and formulas (5) and (7). The detailed results are shown in Table 1 below.

Framework of SRUI recommendation

The framework of SRUI recommendation is mainly completed in three stages. These stages are collaborative to analyze the user interaction in social media and obtain the social preferences of the target user so as to make effective item recommendations. The framework description of the SRUI model is presented in Fig 2. In the initial stage, we preprocess the source datasets to structure the interaction information. Based on the social interaction network mapping algorithm, the interaction information among social users can be mapped into different sequence sets. Then, through analyzing and leveraging the social interaction networks, this article explores the complete paths of the target user to further learn about his potential social preferences. Finally through recommendation processing, the proposed SRUI algorithm calculates the social similar tendency and social rating prediction of the target user to generate the recommendation result.

Fig 2. Framework of SRUI recommendation.

Fig 2

In summary, the main contribution of the proposed framework is to model the user interaction network by analyzing and utilizing the social user’s behavioral records (comments, retweets, sharing, etc.) in the recommendation system, and to define some novel networking concepts such as social interaction, complete path, etc. Based on the proposed SRUI model, highly rated items are selected to form the final recommendation lists. Moreover, our approach realizes significant improvements in term of accuracy and efficiency in complex networks, and also enriches the diversity of research on the application of recommendation systems.

Proposed social recommendation model

Traditional social recommendation methods mostly use user trust networks to push information to target groups timely and accurately [39]. Most of these methods are based on the collaborative filtering algorithms or their variations, requiring the systems to provide sufficient rating information. However, in the complex environment of social networks, many users regard their personal information as private, and it is difficult for recommender systems to obtain user trust networks and interest preferences, which leads directly to a dramatic reduction in recommendation efficiency [40]. Therefore, this article proposes a novel social recommendation method that builds a new user relationship network by leveraging the interaction relationships among social users in complex networks. Moreover, this method acquires users’ preferences to the maximum extent to draw on all of the useful social information in the social network and obtain a better estimate of the real preferences of the target user. The proposed model breaks through the inherent bottleneck in the traditional recommender systems, and establishes a novel networking model to provide recommendations. The experiments in the next section also verify that our algorithm alleviates the data sparsity problem to some extent and improves the recommendation accuracy. The interactive networks are mapped through a depth-first search for the adjacent nodes of the original user. The detailed pseudocode of the social interaction network establishment (SINE) algorithm is shown below.

Algorithm 1: The social interaction network establishment (SINE) algorithm

Input: Original social interaction datasets D.

Output: SIN(US, IS, RS): user sequence US; interaction sequence IS; rating sequence RS.

Process:

(1) Initial User sequence US = {uo}; Interaction sequence IS = ∅;

 Rating sequence RS = ∅   // uo is any original user in the datasets

(2) For each element ek ∈ D, do

(3)  While (isUserNode(ek) ⩵ true)

(4)   If (ek.isNextAdjacentUser(un))   //un ∈ US

(5)    For (theinteractioniun,ek!=)

(6)     iun,ek.addToSequence(IS);run,ek.addToSequence(RS)

(7)    End for

(8)   ek.addToSequence(US); k++

(9) End for

In the first line of the algorithm three sequence sets are initialized, namely the user sequence, interaction sequence and rating sequence, where the user sequence is initialized to any original user. In lines 2 to 9, the mapping process is based on the initialized original user uo, and deeply traverses the data sets D to build the user interactive network. Specifically, if the data element ek in the data sets is nonempty, lines 2 to 4 of the algorithm will determine whether it is an adjacent user to one of the users in the set of user sequence US. As shown in lines 5–7, if there is an interaction between the two users, the edge and weight in the social interaction network are separately constructed and added to the corresponding sequence set. Finally, the adjacent user is added to the user sequence set, and the next loop continues to map the network.

To locate the target user’s preference information, we analyze their social situation across the interactive network. Mining the complete path of the target user in an interactive network, which provides a lot of implicit feedback about the user’s personalized social characteristics, has become one of the key steps in social recommendation. Therefore, this paper proposes a CPM algorithm to excavate the complete path of the target user. In detail, the CPM algorithm is mainly composed of three parts. First, the method traverses the interactive network to obtain the original and terminal user sequence sets. Then, the users on the path are stored in the user list by marking a directed path from the original user to the terminal user. Finally, if the target user is in this user list, then this path is the complete path. Otherwise, the algorithm starts searching again. The specific process of the CPM algorithm is described as follows.

Algorithm 2: CPM algorithm

Input: SIN(US, IS, RS); The target user u.

Output: Complete path set of the target user uCP(u).

Process:

(1) Initial UserList UL; Original user set UO = ∅; Terminal user set UT = ∅; cpn(u, v) = ∅

(2) For (each uk in US)

(3)  If (Indegre(uk) ⩵ 0)

(4)   uk.addUser(UO)

(5)  If (Outdegre(uk) ⩵ 0)

(6)   uk.addUser(UT)

(7) End for

(8) For (each original user uo ∈ UO)

(9)  uo.insertList (UL);

(10)   For (each uk not in UO)

(11)   uo.depthTraverse(SIN)

(12)   If uk.isNextAdjacentUser(uo))

(13)    uk.insertList (UL))

(14)   If (uk in UT)

(15)    uk.insertList (UL)); break

(16)   End for

(17)  If (u isExsitIn(UL))

(18) cpn(u) = UL.traverseList()

(19)  Form(CP(u))

(20) End for

The relevant variables are initialized by the algorithm in the first line. In lines 2 to 7, according to the in-degree and out-degree of the user nodes in the interactive network, the algorithm saves the original and terminal users to the corresponding UO and UT sets respectively. For one original user in UO, lines 8–9 insert the user into the user list UL. From lines 10 to 16, the algorithm deeply traverses the interactive network from the original user to the terminal user, and then inserts the users on the path into the UL. Line 17 determines whether the given target user is in the list UL, and the complete path is obtained in line 18. Finally, lines 19–20 form the complete path set for the target user u, and end the algorithm.

During the entire process described above, the social interaction network and the complete path set of the target user are obtained. Then, on the basis of the previous definitions and analyses, we propose a novel SRUI method to obtain the rating prediction value for the recommendation, of which the algorithm description is presented as follows.

Algorithm 3: The SRUI algorithm

Input: SIN(US, IS, RS); target user ut

Output: The social rating prediction SRP

Process:

(1) Initial CP(ut) = {∅}; Array temp_sd; Array temp_r~

(2) For target user ut ∈ US

(3)  CPM(SIN, ut)   //CP(ut) is obtained

(4)   For (int j=1; j<=CP(ut).Count; j++)  //j is the jth complete path cpj(ut)

(5)    Array temp_sd[j]=|iut,uk|  // uk is the user on complete path cpj(ut)

(6)    Arraytemp_r~[j].sumRate(ut, uk)

(7)   End for

(8)  For any user up ∈ cpn(ut)

(9)   SSTut,up=calculate_SST(temp_sd[j],temp_r~[j]) // social similar tendency is obtained

(10)   SRPut,up=compute_IRP(SSTut,up,r-ut,up)  // the item rating prediction

(11)  End for

(12) End for

In line 1, the algorithm initializes the complete path set CP(ut), social distance array temp_sd and weight ratings array temp_r~. Lines 2–7 of the algorithm acquire the social distance and weight ratings between the target user ut and any user uk on the complete path, wherein line 3 calls the CPM algorithm to obtain their complete path set CP(ut). In the end, the social similar tendency and item rating prediction are calculated successively according to formulas (5) and (7) in lines 8–12.

As we can see from the above algorithms that differ from the conventional similarity recommendation methods, the fundamental principle of the proposed model can make full use of the user’s comments, retweets and other online behavioral information in complex networks to map the target user’s social interactive network. Then, based on this information, our method can gather more similar neighbors by mining the complete paths of the target user to better model and locate the user’s interests and preferences and improve the prediction accuracy of the products. Obviously, according to the previous analysis, each process of the social recommendation model is a significant part of the recommendation framework, especially the SRUI algorithm, which plays a key role.

Experiments and analysis

In this section, a series of experiments was conducted to verify the effectiveness of the proposed method with two real datasets. Then, we adopted two commonly used evaluation metrics to compare the performance of the recommendation in our approach with that of other advanced methods. The experiments were performed on a computer with an Intel(R) Core(TM) i5-4590 CPU @3.30GHz and 4.00GB of RAM operating under the 32 bit Windows 10 Professional operating system, and the algorithm was implemented in the Java language and the Eclipse programming environment.

Experimental datasets

In accordance with the method proposed in this paper, we use the Douban and Epinions datasets as our experimental data sets. Both datasets were generated in social networking environments. The data sets were preprocessed to remove some unnecessary and useless information. The description of the datasets is introduced in detail below.

Douban is a Chinese social service website that integrates a taste system, expression system and communication system and is dedicated to discovering useful things in people’s lives. In the Douban dataset, all the content, classification, filtering and sorting tasks are generated and determined by social users. You can freely issue and search for comments and recommendations for items in this system. The open source Douban dataset [41] was collected by the LibRec team in the java-based cross-platform recommendation tool library and specifically contains 16,830,839 ratings for 58,541 items by 129,490 users.

Epinions is a social review site where users are free to comment on items by specifying a positive integer rating in the range of 1–5. The publicly available Epinions dataset [42]was collected by P. Massa and P. Avesani. The dataset we employed consisted of 49,000 users who generated 664,000 ratings of 139,000 different items and some other interactive information.

Baseline methods and evaluation metrics

In order to evaluate the effectiveness of the proposed method and the recommendation results, several state-of-the-art algorithms were compared with our approach, including user-based collaborative filtering (UCF) [43], social network-based recommendation (SNR) [17], multi-view user preference learning (MVUPL) [44], joint social and content recommendation (JSCR) [45] and graph-regularized matrix completion (GRMC) [46]. Specifically, the basic principle of UCF recommendation is to first find the neighbor set similar to the target user’s tastes and preferences according to all the users’ rating information on items. Then, based on the historical preference information of K neighbor users, a recommendation is made for the target user. Another idea of the comparative SNR method described above is to use matrix decomposition to measure the trust value among the users in the social network, and generate the final recommendation by the random walk algorithm. The MVUPL method has provided a multi-view user preference learning mechanism that takes advantage of user social relationships, rating information, item side information and tagging information to present social recommendations. In addition, a JSCR framework is designed to construct a user-content matrix and fill in the cold user-video entries to provide the foundation for a recommendation in an online social network. The GRMC algorithm utilizes user social networks and graph-regularized matrix completion to infer the user models and thus solves the optimization problem to improve the performance of recommender systems.

For the sake of evaluating the prediction accuracy of all the algorithms in the experiment, the dataset is divided into a training set and a testing set. Then, the root mean square error (RMSE) and mean absolute error (MAE) are adopted to measure the accuracy of the rating prediction in the recommender system. These two evaluation metrics are currently the most popular in the rating prediction field. The RMSE between the predicted rating and the true rating is defined by the following formula.

RMSE=u,vφ(SRPu,v-ru,v)2|φ| (8)

Where |φ| is the number of predicted ratings in the test set φ, ru,v represents the true rating of item iu,v, and SRPu,v denotes the predicted rating of item iu,v. The MAE is another commonly used evaluation metric, as shown below.

MAE=1|φ|u,vφ|SRPu,v-ru,v| (9)

Compared to the MAE, the RMSE can punish large errors in different proportions, but they both reflect the prediction accuracy of items in different ways; obviously, the higher the values are, the lower the performance of the recommendation system. Therefore, in our experiment, we can use both the MAE and RMSE to evaluate the recommendation results.

Experimental results and analysis

Based on the above analysis of social interaction, contrast experiments are conducted to compare the performance of these six methods based on two datasets. Moreover, in order to obtain the experimental results more accurately, the number of social similar neighbors (SSN) is set from small to large as 5, 15, 25, 35, 45, 55, 65, 75, 85 and 95. In addition, the experiments were carried out under the same environment, and the specific results and analyses are as follows.

The recommendation performance of the six methods based on the Douban dataset is illustrated in Figs 3 and 4. The results show that as the number of SSN increases, the values of the MAE and RMSE gradually decrease and the rating prediction becomes closer to the real value. When the SSN reaches approximately 25, the performance of the recommender system reaches a maximum and then steadily stabilizes. Furthermore, the UCF method consistently performs the worst in our comparative experiments, and the proposed method performs significantly better than other advanced approaches based on the prediction accuracy.

Fig 3. Prediction accuracy of all the comparison methods for different numbers of social similar neighbors based on the Douban dataset (MAE).

Fig 3

Fig 4. Prediction accuracy of all the comparison methods for different numbers of social similar neighbors based on the Douban dataset (RMSE).

Fig 4

Figs 5 and 6 show the comparative results for the MAE and RMSE of the six methods based on the Epinions dataset. From Figs 5 and 6, we can find that the recommendation performance of three methods is relatively stable and that the SRUI and JSCR perform better than most other social recommendation approaches with increasing number of social similar neighbors. When the number of SSN is approximately 35, the accuracy of the rating prediction for all six methods reaches the highest value. Moreover, the analysis based on the above Figs 5 and 6 suggests that the proposed method maintains the best performance throughout the experiment.

Fig 5. Prediction accuracy of all the comparison methods for different numbers of social similar neighbors based on the Epinions dataset (MAE).

Fig 5

Fig 6. Prediction accuracy of all the comparison methods for different numbers of social similar neighbors based on the Epinions dataset (RMSE).

Fig 6

In summary, these experimental results indicate that compared with the rating predictions of existing methods, the recommendation results obtained through the proposed social recommendation model based on user interaction are more accurate for both datasets, especially when the number of SSN is between 25 and 35. Therefore, our approach is proved to be an effective recommendation service that meets the personalized needs of users by utilizing and analyzing the user interaction information in complex social networks.

Conclusion and future work

In many recommender system methods, the similarity calculation is frequently used. In contrast to most of the current similarity recommendation methods, a novel social recommendation model based on user interaction is proposed to improve the accuracy of the social recommender system in this article. The main innovation of our model is obtaining the user social similar tendency by proposing the new concept of social interaction and an interaction network model in which user social preferences are learned by grouping similar users along the complete paths of the target user in complex social networks. Specifically, the interactive network is first mapped to define and express the social interaction among users, and the SINE algorithm is exploited to obtain the user, rating and interaction sequence sets. Second, the CPM method is presented to search and generate a complete path set for the target user, which can provide and find social neighbors with similar tastes. Finally, the proposed social recommendation model makes predictions for the item ratings. In addition, along with the experiments, an empirical evaluation of our approach was conducted to compare to several state-of-the-art methods using the Douban and Epinions datasets. The results indicate that the performance of the SRUI algorithm is superior to that of the previous methods. However, the social recommendations based on user interaction may change significantly in different time periods. Therefore, in the near future, we will focus on the dynamic learning of user behavior that changes over time.

Acknowledgments

The authors are grateful to the valuable comments and suggestions of the reviewers.

Data Availability

The Douban and Epinion data sets analyzed in this study are third-party data sets which are available on request from the owners. The Douban data were collected by: Ma H, Zhou D, Liu C, Lyu MR, King I. Recommender systems with social regularization. Proceedings of the Forth International Conference on Web Search and Web Data Mining, WSDM 2011, Hong Kong, China, February 9-12, 2011. DBLP. To request access to Douban data, contact [113333244@qq.com]. The Epinions data were collected by: Massa P, Avesani P. Trust-aware collaborative filtering for recommender systems. On the Move to Meaningful Internet System Coopis Doa & Odbase. To request access to Epinions data, contact [15033564136@163.com]. The authors of the present study had no special access privileges in requesting data which other independent researchers would not have.

Funding Statement

The authors received no specific funding for this work.

References

  • 1.Zeng D, Chen H, Lusch R, Li S. Social Media Analytics and Intelligence. IEEE Intelligent Systems. 2010, 25(6):13–16. [Google Scholar]
  • 2.Jansen BJ, Sobel K, Cook G. Classifying ecommerce information sharing behaviour by youths on social networking sites. Journal of Information Science. 2011, 37(2):120–136. [Google Scholar]
  • 3.Liu G, Wang Y, Orgun M A. Trust transitivity in complex social networks// Aaai Conference on Artificial Intelligence. AAAI Press, 2011.
  • 4.Li Q, Wang J, Chen YP, Lin Z. User comments for news recommendation in forum-based social media. Information Sciences. 2010, 180(24):4929–4939. [Google Scholar]
  • 5.Herlocker J, Konstan JA, Riedl J. An empirical analysis of design choices in neighborhood based collaborative filtering algorithms. Information Retrieval. 2002, 5(4):287–310. [Google Scholar]
  • 6.Huang S, Zhang J, Wang L, Hua XS. Social Friend Recommendation Based on Multiple Network Correlation. IEEE Transactions on Multimedia. 2016, 18(2):287–299. [Google Scholar]
  • 7.Huang G. New Friend Recommendation with User Interest and Socialization. Journal of Information & Computational Science. 2015, 12(11):4253–4262. [Google Scholar]
  • 8.Andreasen T, Jensen PA, Nilsson JF, Paggio P, Pedersen BS, Thomsen HE. Content-based text querying with ontological descriptors. Data & Knowledge Engineering. 2004, 48(2):199–219. [Google Scholar]
  • 9.Lee S, Koubek RJ. The effects of usability and web design attributes on user preference for e-commerce web sites. Computers in Industry. 2010, 61(4):329–341. [Google Scholar]
  • 10.Szabo G, Huberman BA. Predicting the popularity of online content. Communications of the Acm. 2010, 53(8):80–88. [Google Scholar]
  • 11.Espejo R, Holten R, Rosenkranz C. Designing viable social systems. Kybernetes. 2011, 40(3/4):559–580. [Google Scholar]
  • 12.Lerman K. Social Information Processing in News Aggregation. IEEE Internet Computing. 2007, 11(6):16–28. [Google Scholar]
  • 13.Maier C, Laumer S, Eckhardt A, Weitzel T. Giving too much social support: social overload on social networking sites. European Journal of Information Systems. 2015, 24(5):447–464. [Google Scholar]
  • 14.Sun J, Wang G, Cheng X, Fu Y. Mining affective text to improve social media item recommendation. Information Processing & Management. 2015, 51(4):444–457. [Google Scholar]
  • 15.Weijie C, Guisheng Y, Yuxin D, Hongbin D, Wansong Z, Wenbo D. Collaborative Filtering Recommendation on Users’ Interest Sequences. PLoS ONE. 2016, 11(5):e0155739 10.1371/journal.pone.0155739 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Zhang Z, Liu H. Social recommendation model combining trust propagation and sequential behaviors. Applied Intelligence. 2015, 43(3):695–706. [Google Scholar]
  • 17.Deng S, Huang L, Xu G. Social network-based service recommendation with trust enhancement. Expert Systems with Applications. 2014, 41(18):8075–8084. [Google Scholar]
  • 18.Golbeck JA. COMPUTING AND APPLYING TRUST IN WEB-BASED SOCIAL NETWORKS. University of Maryland at College Park; 2005. [Google Scholar]
  • 19.Chow WS, Chan LS. Social network, social trust and shared goals in organizational knowledge sharing. Information & Management. 2008, 45(7):458–465. [Google Scholar]
  • 20.Koohborfardhaghighi S, Kim J. Using structural information for distributed recommendation in a social network. Applied Intelligence. 2013, 38(2):255–266. [Google Scholar]
  • 21.Alahmadi DH, Zeng XJ. ISTS: Implicit social trust and sentiment based approach to recommender systems. Expert Systems with Applications. 2015, 42(22):S0957417415004960. [Google Scholar]
  • 22.Guo G, Zhang J, Zhu F, Wang X. Factored similarity models with social trust for top-N item recommendation. Knowledge-Based Systems. 2017, 122:17–25. [Google Scholar]
  • 23.Wang R, Li Y. Merging into social trust personalized friend recommendation algorithm. Journal of Computational Information Systems, 2014, 10(23):10003–10012. [Google Scholar]
  • 24.Song Y, Zhang L, Giles CL. Automatic Tag Recommendation Algorithms for Social Recommender Systems. Acm Transactions on the Web. 2011, 5(1):1–31. [Google Scholar]
  • 25.Chamoso P, Rivas A, Rodríguez Sara, Bajo J. Relationship recommender system in a business and employment-oriented social network. Information Sciences. 2018, s 433–434:204–220. [Google Scholar]
  • 26.Sun J, Wang G, Cheng X, Fu Y. Mining affective text to improve social media item recommendation. Information Processing & Management. 2015, 51(4):444–457. [Google Scholar]
  • 27.Yuan W, Guan D, Lee YK, Lee S. The small-world trust network. Applied Intelligence. 2011, 35(3):399–410. [Google Scholar]
  • 28.Li Y, Shang Y, Yang Y. Clustering coefficients of large networks. Information Sciences. 2017, s382-383:350–358. [Google Scholar]
  • 29.Liu G, Wang Y, Orgun MA, Lim EP. Finding the Optimal Social Trust Path for the Selection of Trustworthy Service Providers in Complex Social Networks. IEEE Transactions on Services Computing. 2013, 6(2):152–167. [Google Scholar]
  • 30.Suo Qi, Sun Shiwei, Hajli Nick, Love Peter E.D. User ratings analysis in social networks through a hypernetwork method. Expert Systems With Applications. 2015,42(21). [Google Scholar]
  • 31.Fields B, Jacobson K, Rhodes C, Inverno M, Sanler M, Casey M. Analysis and Exploitation of Musician Social Networks for Recommendation and Discovery. IEEE Transactions on Multimedia. 2011, 13(4):674–686. [Google Scholar]
  • 32.Corbellini A, Mateos C, Godoy D, Zunino A, Schiaffino S. An architecture and platform for developing distributed recommendation algorithms on large-scale social networks. Journal of Information Science. 2015, 41(5):686–704. [Google Scholar]
  • 33.Huang S, Zhang J, Wang L, Hua XS. Social Friend Recommendation Based on Multiple Network Correlation. IEEE Transactions on Multimedia. 2016, 18(2):287–299. [Google Scholar]
  • 34.Rojas G, Garrido I. Toward a rapid development of social network-based recommender systems. IEEE Latin America Transactions. 2017, 15(4):753–759. [Google Scholar]
  • 35.Zhang X, Zhu J, Wang Q, Zhao H. Identifying influential nodes in complex networks with community structure. Knowledge-Based Systems. 2013, 42(2):74–84. [Google Scholar]
  • 36.Bello-Orgaz G, Jung JJ, Camacho D. Social big data: Recent achievements and new challenges. Information Fusion. 2016, 28:45–59. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Papagelis M, Plexousakis D. Qualitative analysis of user-based and item-based prediction algorithms for recommendation agents. Engineering Applications of Artificial Intelligence. 2005, 18(7):781–789. [Google Scholar]
  • 38.Haruna K, Ismail MA, Damiasih D, Sutopo J, Herawan T. A collaborative approach for research paper recommender system. Plos One. 2017, 12(10):e0184516 10.1371/journal.pone.0184516 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Park C, Kim D, Oh J, Yu H. Using User Trust Network to Improve Top-k Recommendation. Information Sciences. 2016:S0020025516308301. [Google Scholar]
  • 40.Lisovich MA, Mulligan DK, Wicker SB. Inferring Personal Information from Demand-Response Systems. IEEE Security & Privacy. 2010, 8(1):11–20. [Google Scholar]
  • 41.Guo G, Zhang J, Sun Z, Yorke-Smith N. LibRec: A Java Library for Recommender Systems. In: Proceedings of the 23rd Conference on User Modelling, Adaptation and Personalization (UMAP2015);2015.
  • 42.P. Massa, P. Avesani. Trust-aware recommender systems, in: Proceedings of the 2007 ACM Conference on Recommender Systems. 2007, pp. 17–24.
  • 43.Shi Y, Larson M, Hanjalic A. Exploiting user similarity based on rated-item pools for improved user-based collaborative filtering// ACM Conference on Recommender Systems, Recsys 2009, New York, Ny, Usa, October. DBLP. 2009:125–132.
  • 44.Lu H, Chen C, Ming K, Zhang H, Zhao Z. Social recommendation via multi-view user preference learning. Neurocomputing. 2016, 216:61–71. [Google Scholar]
  • 45.Zhi W, Sun L, Zhu W, Yang S, Li H, Wu D. Joint Social and Content Recommendation for User-Generated Videos in Online Social Network. IEEE Transactions on Multimedia. 2013, 15(3):698–709. [Google Scholar]
  • 46.Zhou Z, Zhang L, He X, Ng W. Expert Finding for Question Answering via Graph Regularized Matrix Completion. IEEE Transactions on Knowledge & Data Engineering. 2015, 27(4):993–1004. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The Douban and Epinion data sets analyzed in this study are third-party data sets which are available on request from the owners. The Douban data were collected by: Ma H, Zhou D, Liu C, Lyu MR, King I. Recommender systems with social regularization. Proceedings of the Forth International Conference on Web Search and Web Data Mining, WSDM 2011, Hong Kong, China, February 9-12, 2011. DBLP. To request access to Douban data, contact [113333244@qq.com]. The Epinions data were collected by: Massa P, Avesani P. Trust-aware collaborative filtering for recommender systems. On the Move to Meaningful Internet System Coopis Doa & Odbase. To request access to Epinions data, contact [15033564136@163.com]. The authors of the present study had no special access privileges in requesting data which other independent researchers would not have.


Articles from PLoS ONE are provided here courtesy of PLOS

RESOURCES