The exploitation of social relations for recommender systems has attracted increasing attention in recent years (Ma et al., 2011; Tang et al., 2013b, 2016b). These social recommender systems have been developed based on the phenomenon that users usually acquire and disseminate information through those around them, such as classmates, friends, or colleagues, implying that the underlying social relations of users can play a significant role in helping them filter information (Resnick and Varian, 1997). Hence, social relations have been proven to be helpful in boosting the recommendation performance (Fan et al., 2018; Tang et al., 2013a).
Recent years have witnessed great developments in deep neural network techniques for graph data (Kipf and Welling, 2017). These deep neural network architectures are known as Graph Neural Networks (GNNs) (Hamilton et al., 2017; Defferrard et al., 2016; Ma et al., 2019), which have been proposed to learn meaningful representations for graph data. Their main idea is how to iteratively aggregate feature information from local graph neighborhoods using neural networks. Meanwhile, node information can be propagated through a graph after transformation and aggregation. Hence, GNNs naturally integrate the node information as well as the topological structure and have been demonstrated to be powerful in representation learning (Kipf and Welling, 2017; Defferrard et al., 2016; Derr et al., 2018). On the other hand, data in social recommendation can be represented as graph data with two graphs. As demonstrated in Figure 1, these two graphs include a social graph denoting the relationships between users, and a user-item graph denoting interactions between users and items. Users are simultaneously involved in both graphs, who can bridge them. Moreover, the natural way of social recommendation is to incorporate the social network information into user and item latent factors learning (Yang et al., 2017). Learning representations of items and users is the key to build social recommender systems. Thus, given their advantages, GNNs provide unprecedented opportunities to advance social recommendation.
Meanwhile, building social recommender systems based on GNNs faces challenges. The social graph and the user-item graph in a social recommender system provide information about users from different perspectives. It is important to aggregate information from both graphs to learn better user representations. Thus, the first challenge is how to inherently combine these two graphs. Moreover, the user-item graph not only contains interactions between users and items but also includes users’ opinions on items. For example, as shown in Figure 1, the user interacts with the items of “trousers” and “laptop”; and the user likes “trousers” while disliking “laptop”. Therefore, the second challenge is how to capture interactions and opinions between users and items jointly. In addition, the low cost of link formation in online worlds can result in networks with varied tie strengths (e.g., strong and weak ties are mixed together) (Xiang et al., 2010). Users are likely to share more similar tastes with strong ties than weak ties. Considering social relations equally could lead to degradation in recommendation performance. Hence, the third challenge is how to distinguish social relations with heterogeneous strengths.
In this paper, we aim to build social recommender systems based on graph neural networks. Specially, we propose a novel graph neural network GraphRec for social recommendations, which can address three aforementioned challenges simultaneously. Our major contributions are summarized as follows:
We propose a novel graph neural network GraphRec, which can model graph data in social recommendations coherently;
We provide a principled approach to jointly capture interactions and opinions in the user-item graph;
We introduce a method to consider heterogeneous strengths of social relations mathematically; and
We demonstrate the effectiveness of the proposed framework on various real-world datasets.
The remainder of this paper is organized as follows. We introduce the proposed framework in Section 2. In Section 3, we conduct experiments on two real-world datasets to illustrate the effectiveness of the proposed method. In Section 4, we review work related to our framework. Finally, we conclude our work with future directions in Section 5.
2. The Proposed Framework
In this section, we will first introduce the definitions and notations used in this paper, next give an overview about the proposed framework, then detail each model component and finally discuss how to learn the model parameters.
|Symbols||Definitions and Descriptions|
|The rating value of item by user|
|The embedding of item|
|The embedding of user|
The length of embedding vector
|The set of items which user interacted with|
|The set of users who have interacted the item|
|The item latent factor of item|
|The predicted rating value of item by user|
|The concatenation operator of two vectors|
|The user-user social graph|
|The user-item rating matrix (user-item graph)|
|The weight and bias in neural network|
2.1. Definitions and Notations
Let and be the sets of users and items respectively, where is the number of users, and is the number of items. We assume that is the user-item rating matrix, which is also called the user-item graph. If gives a rating to , is the rating score, otherwise we employ to represent the unknown rating from to , i.e., . The observed rating score can be seen as user ’s opinion on the item . Let be the set of known ratings and be the set of unknown ratings. Let be the set of users whom directly connected with, be the set of items which have interacted with, and be the set of users who have interacted with . In addition, users can establish social relations to each other. We use to denote the user-user social graph, where if has a relation to and zero otherwise. Given the user-item graph and social graph , we aim to predict the missing rating value in . Following (He et al., 2017), we use an embedding vector to denote a user and an embedding vector to represent an item , where is the length of embedding vector. More details will be provided about these embedding vectors in the following subsections. The mathematical notations used in this paper are summarized in Table 1.
2.2. An Overview of the Proposed Framework
The architecture of the proposed model is shown in Figure 2. The model consists of three components: user modeling, item modeling, and rating prediction. The first component is user modeling, which is to learn latent factors of users. As data in social recommender systems includes two different graphs, i.e., a social graph and a user-item graph, we are provided with a great opportunity to learn user representations from different perspectives. Therefore, two aggregations are introduced to respectively process these two different graphs. One is item aggregation, which can be utilized to understand users via interactions between users and items in the user-item graph (or item-space). The other is social aggregation, the relationship between users in the social graph, which can help model users from the social perspective (or social-space). Then, it is intuitive to obtain user latent factors by combining information from both item space and social space. The second component is item modeling, which is to learn latent factors of items. In order to consider both interactions and opinions in the user-item graph, we introduce user aggregation, which is to aggregate users’ opinions in item modeling. The third component is to learn model parameters via prediction by integrating user and item modeling components. Next, we will detail each model component.
2.3. User Modeling
User modeling aims to learn user latent factors, denoted as for user . The challenge is how to inherently combine the user-item graph and social graph. To address this challenge, we first use two types of aggregation to learn factors from two graphs, as shown in the left part in Figure 2. The first aggregation, denoted as item aggregation, is utilized to learn item-space user latent factor from the user-item graph. The second aggregation is social aggregation where social-space user latent factor is learned from the social graph. Then, these two factors are combined together to form the final user latent factors . Next, we will introduce item aggregation, social aggregation and how to combine user latent factors from both item-space and social-space.
Item Aggregation. As user-item graph contains not only interactions between users and items but also users’ opinions (or rating scores) on items, we provide a principled approach to jointly capture interactions and opinions in the user-item graph for learning item-space user latent factors , which is used to model user latent factor via interactions in the user-item graph.
The purpose of item aggregation is to learn item-space user latent factor by considering items a user has interacted with and users’ opinions on these items. To mathematically represent this aggregation, we use the following function as:
where is the set of items user has interacted with (or ’s neighbors in the user-item graph), is a representation vector to denote opinion-aware interaction between and an item , and is the items aggregation function. In addition,and are the weight and bias of a neural network. Next we will discuss how to define opinion-aware interaction representation and the aggregation function .
A user can express his/her opinions (or rating scores), denoted as , to items during user-item interactions. These opinions on items can capture users’ preferences on items, which can help model item-space user latent factors. To model opinions, for each type of opinions , we introduce an opinion embedding vector that denotes each opinion as a dense vector representation. For example, in a 5-star rating system, for each , we introduce an embedding vector . For an interaction between user and item with opinion , we model opinion-aware interaction representation as a combination of item embedding and opinion embedding
via a Multi-Layer Perceptron (MLP). It can be denoted asto fuse the interaction information with the opinion information as shown in Figure 2. The MLP takes the concatenation of item embedding and its opinion embedding as input. The output of MLP is the opinion-aware representation of the interaction between and , , as follows:
where denotes the concatenation operation between two vectors.
One popular aggregation function for is the mean operator where we take the element-wise mean of the vectors in . This mean-based aggregator is a linear approximation of a localized spectral convolution (Kipf and Welling, 2017), as the following function:
where is fixed to for all items in the mean-based aggregator. It assumes that all interactions contribute equally to understand the user . However, this may not be optimal, due to the fact that the influence of interactions on users may vary dramatically. Hence, we should allow interactions to contribute differently to a user’s latent factor by assigning each interaction a weight.
To alleviate the limitation of mean-based aggregator, inspired by attention mechanisms (Chen et al., 2018; Yang et al., 2016), an intuitive solution is to tweak to be aware of the target user , i.e., assigning an individualized weight for each pair,
where denotes the attention weight of the interaction with in contributing to user ’s item-space latent factor when characterizing user ’s preference from the interaction history . Specially, we parameterize the item attention with a two-layer neural network, which we call as the attention network. The input to the attention network is the opinion-aware representation of the interaction and the target user ’s embedding . Formally, the attention network is defined as,
The final attention weights are obtained by normalizing the above attentive scores using Softmax function, which can be interpreted as the contribution of the interaction to the item-space user latent factor of user as:
Social Aggregation. Due to the social correlation theories (McPherson et al., 2001; Marsden and Friedkin, 1993), a user’s preference is similar to or influenced by his/her directly connected social friends. We should incorporate social information to further model user latent factors. Meanwhile, tie strengths between users can further influence users’ behaviors from the social graph. In other words, the learning of social-space user latent factors should consider heterogeneous strengths of social relations. Therefore, we introduce an attention mechanism to select social friends that are representative to characterize users social information and then aggregate their information.
In order to represent user latent factors from this social perspective, we propose social-space user latent factors, which is to aggregate the item-space user latent factors of neighboring users from the social graph. Specially, the social-space user latent factor of , , is to aggregate the item-space user latent factors of users in ’s neighbors , as the follows:
where denotes the aggregation function on user’s neighbors.
One natural aggregation function for is also the mean operator which take the element-wise mean of the vectors in , as the following function:
where is fixed to for all neighbors for the mean-based aggregator. It assumes that all neighbors contribute equally to the representation of user . However, as mentioned before, strong and weak ties are mixed together in a social network, and users are likely to share more similar tastes with strong ties than weak ties. Thus, we perform an attention mechanism with a two-layer neural network to extract these users that are important to influence , and model their tie strengths, by relating social attention with and the target user embedding , as below,
where the can be seen as the strengths between users.
Learning User Latent Factor. In order to learn better user latent factors, item-space user latent factors and social-space user latent factors are needed to be considered together, since the social graph and the user-item graph provide information about users from different perspectives. We propose to combine these two latent factors to the final user latent factor via a standard MLP where the item-space user latent factor and the social-space user latent factor are concatenated before feeding into MLP. Formally, the user latent factor is defined as,
where is the index of a hidden layer.
2.4. Item Modeling
As shown in the right part of Figure 2, item modeling is used to learn item latent factor, denoted as , for the item by user aggregation. Items are associated with the user-item graph, which contains interactions as well as user’s opinions. Therefore, interactions and opinions in the user-item graph should be jointly captured to further learn item latent factors.
User Aggregation. Likewise, we use a similar method as learning item-space user latent factors via item aggregation. For each item , we need to aggregate information from the set of users who have interacted with , denoted as .
Even for the same item, users might express different opinions during user-item interactions. These opinions from different users can capture the characteristics of the same item in different ways provided by users, which can help model item latent factors. For an interaction from to with opinion , we introduce an opinion-aware interaction user representation , which is obtained from the basic user embedding and opinion embedding via a MLP, denoted as . is to fuse the interaction information with the opinion information, as shown in Figure 2:
Then, to learn item latent factor , we also propose to aggregate opinion-aware interaction representation of users in for item . The users aggregation function is denoted as , which is to aggregate opinion-aware interaction representation of users in as:
In addition, we introduce an attention mechanism to differentiate the importance weight of users with a two-layer neural attention network, taking and as the input,
This user attention is to capture heterogeneous influence from user-item interactions on learning item latent factor.
2.5. Rating Prediction
In this subsection, we will design recommendation tasks to learn model parameters. There are various recommendation tasks such as item ranking and rating prediction. In this work, we apply the proposed GraphRec model for the recommendation task of rating prediction. With the latent factors of users and items (i.e., and ), we can first concatenate them and then feed it into MLP for rating prediction as:
where is the index of a hidden layer, and is the predicted rating from to .
2.6. Model Training
To estimate model parameters of GraphRec, we need to specify an objective function to optimize. Since the task we focus on in this work is rating prediction, a commonly used objective function is formulated as,
where is the number of observed ratings , and is the ground truth rating assigned by the user on the item .
To optimize the objective function, we adopt the RMSprop(Tieleman and Hinton, 2012) as the optimizer in our implementation, rather than the vanilla SGD. At each time, it randomly selects a training instance and updates each model parameter towards the direction of its negative gradient. There are three embedding in our model, including item embedding , user embedding , and opinion embedding . They are randomly initialized and jointly learned during the training stage. We do not use one-hot vectors to represent each user and item, since the raw features are very large and highly sparse. By embedding high-dimensional sparse features into a low-dimensional latent space, the model can be easy to train (He et al., 2017). Opinion embedding matrix depends on the rating scale of the system. For example, for a 5-star rating system, opinion embedding matrix contains 5 different embedding vectors to denote scores in . Overfitting is a perpetual problem in optimizing deep neural network models. To alleviate this issue, the dropout strategy (Srivastava et al., 2014)
has been applied to our model. The idea of dropout is to randomly drop some neurons during the training process. When updating parameters, only part of them will be updated. Moreover, as dropout is disabled during testing, the whole network is used for prediction.
3.1. Experimental Settings
In our experiments, we choose two representative datasets Ciao and Epinions111http://www.cse.msu.edu/tangjili/index.html, which are taken from popular social networking websites Ciao (http://www.ciao.co.uk) and Epinions (www.epinions.com). Each social networking service allows users to rate items, browse/write reviews, and add friends to their ‘Circle of Trust’. Hence, they provide a large amount of rating information and social information. The ratings scale is from 1 to 5. We randomly initialize opinion embedding with 5 different embedding vectors based on 5 scores in . The statistics of these two datasets are presented in Table 2.
|# of Users||7,317||18,088|
|# of Items||10,4975||261,649|
|# of Ratings||283,319||764,352|
|# of Density (Ratings)||0.0368%||0.0161%|
|# of Social Connections||111,781||355,813|
|# of Density (Social Relations)||0.2087%||0.1087%|
3.1.2. Evaluation Metrics
In order to evaluate the quality of the recommendation algorithms, two popular metrics are adopted to evaluate the predictive accuracy, namely Mean Absolute Error (MAE) and Root Mean Square Error (RMSE) (Wang et al., 2018). Smaller values of MAE and RMSE indicate better predictive accuracy. Note that small improvement in RMSE or MAE terms can have a significant impact on the quality of the top-few recommendations (Koren, 2008).
To evaluate the performance, we compared our GraphRec with three groups of methods including traditional recommender systems, traditional social recommender systems, and deep neural network based recommender systems. For each group, we select representative baselines and below we will detail them.
SoRec (Ma et al., 2008): Social Recommendation performs co-factorization on the user-item rating matrix and user-user social relations matrix.
SoReg (Ma et al., 2011): Social Regularization models social network information as regularization terms to constrain the matrix factorization framework.
SocialMF (Jamali and Ester, 2010): It considers the trust information and propagation of trust information into the matrix factorization model for recommender systems.
TrustMF (Yang et al., 2017): This method adopts matrix factorization technique that maps users into two low-dimensional spaces: truster space and trustee space, by factorizing trust networks according to the directional property of trust.
NeuMF (He et al., 2017): This method is a state-of-the-art matrix factorization model with neural network architecture. The original implementation is for recommendation ranking task and we adjust its loss to the squared loss for rating prediction.
DeepSoR (Fan et al., 2018): This model employs a deep neural network to learn representations of each user from social relations, and to integrate into probabilistic matrix factorization for rating prediction.
GCMC+SN (Berg et al., 2017): This model is a state-of-the-art recommender system with graph neural network architecture. In order to incorporate social network information into GCMC, we utilize the (Grover and Leskovec, 2016) to generate user embedding as user side information, instead of using the raw feature social connections () directly. The reason is that the raw feature input vectors is highly sparse and high-dimensional. Using the network embedding techniques can help compress the raw input feature vector to a low-dimensional and dense vector, then the model can be easy to train.
PMF and NeuMF are pure collaborative filtering model without social network information for rating prediction, while the others are social recommendation. Besides, we compared GraphRec with two state-of-the-art neural network based social recommender systems, i.e., DeepSoR and GCMC+SN.
3.1.4. Parameter Settings
We implemented our proposed method on the basis of Pytorch222https://pytorch.org/, a well-known Python library for neural networks. For each dataset, we used % as a training set to learning parameters, as a validation set to tune hyper-parameters, and as a testing set for the final performance comparison, where was varied as . For the embedding size
, we tested the value of [ 8, 16, 32, 64, 128, 256 ]. The batch size and learning rate was searched in [ 32, 64, 128, 512 ] and [ 0.0005, 0.001, 0.005, 0.01, 0.05, 0.1 ], respectively. Moreover, we empirically set the size of the hidden layer the same as the embedding size and the activation function as ReLU. Without special mention, we employed three hidden layers for all the neural components. The early stopping strategy was performed, where we stopped training if the RMSE on validation set increased for 5 successive epochs. For all neural network methods, we randomly initialized model parameters with a Gaussian distribution, where the mean and standard deviation is 0 and 0.1, respectively. The parameters for the baseline algorithms were initialized as in the corresponding papers and were then carefully tuned to achieve optimal performance.
3.2. Performance Comparison of Recommender Systems
We first compare the recommendation performance of all methods. Table 3 shows the overall rating prediction error RMSE and MAE among the recommendation methods on Ciao and Epinions datasets. We have the following main findings:
SoRec, SoReg, SocialMF, and TrustMF always outperform PMF. All of these methods are based on matrix factorization. SoRec, SoReg, SocialMF, and TrustMF leverage both the rating and social network information; while PMF only uses the rating information. These results support that social network information is complementary to rating information for recommendations.
NeuMF obtains much better performance than PMF. Both methods only utilize the rating information. However, NeuMF is based on neural network architecture, which suggests the power of neural network models in recommender systems.
DeepSoR and GCMC+SN perform better than SoRec, SoReg, SocialMF, and TrustMF. All of them take advantage of both rating and social network information. However, DeepSoR and GCMC+SN are based on neural network architectures, which further indicate the power of neural network models in recommendations.
Among baselines, GCMC+SN shows quite strong performance. It implies that the GNNs are powerful in representation learning for graph data, since it naturally integrates the node information as well as topological structure.
Our method GraphRec consistently outperforms all the baseline methods. Compared to DeepSoR and GCMC+SN, our model provides advanced model components to integrate rating and social network information. In addition, our model provides a way to consider both interactions and opinions in the user-item graph. We will provide further investigations to better understand the contributions of model components to the proposed framework in the following subsection.
To sum up, the comparison results suggest (1) social network information is helpful for recommendations; (2) neural network models can boost recommendation performance and (3) the proposed framework outperforms representative baselines.
3.3. Model Analysis
In this subsection, we study the impact of model components and model hyper-parameters.
3.3.1. Effect of Social Network and User Opinions
In the last subsection, we have demonstrated the effectiveness of the proposed framework. The proposed framework provides model components to (1) integrate social network information and (2) incorporate users’ opinions about the interactions with items. To understand the working of GraphRec, we compare GraphRec with its two variants: GraphRec-SN, and GraphRec-Opinion. These two variants are defined in the following:
GraphRec-SN: The social network information of GraphRec is removed . This variant only uses the item-space user latent factor to represent user latent factors ; while ignoring the social-space user latent factors .
GraphRec-Opinion: For learning item-space user latent factor and item latent factor, the opinion embedding is removed during learning and . This variant ignores the users’ opinion on the user-item interactions.
The performance of GraphRec and its variants on Ciao and Epinions are given in Figure 3. From the results, we have the following findings:
Social Network Information. We now focus on analyzing the effectiveness of social network information. GraphRec-SN performs worse than GraphRec. It verifies that social network information is important to learn user latent factors and boost the recommendation performance.
Opinions in Interaction. We can see that without opinion information, the performance of rating prediction is deteriorated significantly. For example, on average, the relative reduction on Ciao and Epinions is 3.50% and 2.64% on RMSE metric, and 5.84% and 5.02% on MAE metric, respectively. It justifies our assumption that opinions on user-item interactions have informative information that can help to learn user or item latent factors and improve the performance of recommendation.
3.3.2. Effect of Attention Mechanisms
To get a better understanding of the proposed GraphRec model, we further evaluate the key components of GraphRec - Attention mechanisms. There are three different attention mechanisms during aggregation, including item attention , social attention , and user attention . We compare GraphRec with its four variants: GraphRec-, GraphRec-, GraphRec-, and GraphRec-. These four variants are defined in the following:
GraphRec-: The item attention of GraphRec is eliminated during aggregating the opinion-aware interaction representation of items. This variant employs the mean-based aggregation function on item aggregation for modeling item-space user latent factors.
GraphRec-: The social attention is to model users’ tie strengths. The social attention of GraphRec in this variant is eliminated during aggregating user’s neighbors. This variant employs the mean-based aggregation function on social aggregation for modeling social-space user latent factors.
GraphRec-: This variant eliminates two attention mechanisms (item attention and social attention ) on item aggregation and social aggregation for modeling user latent factors.
GraphRec-: The user attention of GraphRec is eliminated during aggregating opinion-aware interaction user representation. This variant employs the mean-based aggregation function on user aggregation for modeling item latent factors.
The results of different attention mechanisms on GraphRec are shown in Figure 4. From the results, we have the following findings,
Not all interacted items (purchased history) of one user contribute equally to the item-space user latent factor, and not all interacted users (buyers) have the same importance to learning item latent factor. Based on these assumptions, our model considers these difference among users and items by using two different attention mechanisms ( and ). From the results, we can observe that GraphRec- and GraphRec- obtain worse performance than GraphRec. These results demonstrate the benefits of the attention mechanisms on item aggregation and user aggregation.
As mentioned before, users are likely to share more similar tastes with strong ties than weak ties. The attention mechanism at social aggregation considers heterogeneous strengths of social relations. When the attention mechanism is removed, the performance of GraphRec- is dropped significantly. It justifies our assumption that during social aggregation, different social friends should have different influence for learning social-space user latent factor. It’s important to distinguish social relations with heterogeneous strengths.
To sum up, GraphRec can capture the heterogeneity in aggregation operations of the proposed framework via attention mechanisms, which can boost the recommendation performance.
3.3.3. Effect of Embedding Size
In this subsection, to analyze the effect of embedding size of user embedding , item embedding , and opinion embedding , on the performance of our model.
Figure 5 presents the performance comparison the length of embedding of our proposed model on Ciao and Epinions datasets. In general, with the increase of the embedding size, the performance first increases and then decreases. When increasing the embedding size from 8 to 64 can improve the performance significantly. However, with the embedding size of 256, GraphRec degrades the performance. It demonstrates that using a large number of the embedding size has powerful representation. Nevertheless, if the length of embedding is too large, the complexity of our model will significantly increase. Therefore, we need to find a proper length of embedding in order to balance the trade-off between the performance and the complexity.
4. Related work
In this section, we briefly review some related work about social recommendation, deep neural network techniques employed for recommendation, and the advanced graph neural networks.
Exploiting social relations for recommendations has attracted significant attention in recent years (Tang et al., 2016a, 2013b; Yang et al., 2017). One common assumption about these models is that a user’s preference is similar to or influenced by the people around him/her (nearest neighbours), which can be proven by social correlation theories (Marsden and Friedkin, 1993; McPherson et al., 2001). Along with this line, SoRec (Ma et al., 2008) proposed a co-factorization method, which shares a common latent user-feature matrix factorized by ratings and by social relations. TrustMF (Yang et al., 2017) modeled mutual influence between users, and mapped users into two low-dimensional spaces: truster space and trustee space, by factorizing social trust networks. SoDimRec (Tang et al., 2016b) first adopted a community detection algorithm to partition users into several clusters, and then exploited the heterogeneity of social relations and weak dependency connections for recommendation. Comprehensive overviews on social recommender systems can be found in surveys (Tang et al., 2013a).
In recent years, deep neural network models had a great impact on learning effective feature representations in various fields, such as speech recognition (Hinton et al., 2012)
, Computer Vision (CV)(Karimi et al., 2018)
and Natural Language Processing (NLP)(Chen et al., 2017). Some recent efforts have applied deep neural networks to recommendation tasks and shown promising results (Zhao et al., 2018b), but most of them used deep neural networks to model audio features of music (Van den Oord et al., 2013), textual description of items (Wang et al., 2015; Chen et al., 2018), and visual content of images (Zhao et al., 2016). Besides, NeuMF (He et al., 2017) presented a Neural Collaborative Filtering framework to learn the non-linear interactions between users and items.
However, the application of deep neural network in social recommender systems is rare until very recently. In particular, NSCR (Wang et al., 2017) extended the NeuMF (He et al., 2017) model to cross-domain social recommendations, i.e., recommending items of information domains to potential users of social networks, and presented a neural social collaborative ranking recommender system. However, the limitation is NSCR requires users with one or more social networks accounts (e.g., Facebook, Twitter, Instagram), which limits the data collections and its applications in practice. SMR-MNRL (Zhao et al., 2018a)
developed social-aware movie recommendation in social media from the viewpoint of learning a multimodal heterogeneous network representation for ranking. They exploited the recurrent neural network and convolutional neural network to learn the representation of movies’ textual description and poster image, and adopted a random-walk based learning method into multimodal neural networks. In all these works(Wang et al., 2017) (Zhao et al., 2018a), they addressed the task of cross-domain social recommendations for ranking metric, which is different from traditional social recommender systems.
Most related to our task with neural networks includes DLMF (Deng et al., 2017) and DeepSoR (Fan et al., 2018). DLMF (Deng et al., 2017) used auto-encoder on ratings to learn representation for initializing an existing matrix factorization. A two-phase trust-aware recommendation process is proposed to utilize deep neural networks in matrix factorization’s initialization and to synthesize the user’s interests and their trust friends’ interests together with the impact of community effect based on matrix factorization for recommendations. DeepSoR (Fan et al., 2018) integrated neural networks for user’s social relations into probabilistic matrix factorization. They first represented users using pre-trained node embedding technique, and further exploited k-nearest neighbors to bridge user embedding features and neural network.
More recently, Graph Neural Networks (GNNs) have been proven to be capable of learning on graph structure data (Shuman et al., 2013; Kipf and Welling, 2017; Defferrard et al., 2016; Derr et al., 2018; Bronstein et al., 2017). In the task of recommender systems, the user-item interaction contains the ratings on items by users, which is a typical graph data. Therefore, GNNs have been proposed to solve the recommendation problem (Monti et al., 2017; Berg et al., 2017; Ying et al., 2018). sRMGCNN (Monti et al., 2017) adopted GNNs to extract graph embeddings for users and items, and then combined with recurrent neural network to perform a diffusion process. GCMC (Berg et al., 2017) proposed a graph auto-encoder framework, which produced latent features of users and items through a form of differentiable message passing on the user-item graph. PinSage (Ying et al., 2018) proposed a random-walk graph neural network to learn embedding for nodes in web-scale graphs. Despite the compelling success achieved by previous work, little attention has been paid to social recommendation with GNNs. In this paper, we propose a graph neural network for social recommendation to fill this gap.
5. Conclusion and Future work
We have presented a Graph Network model (GraphRec) to model social recommendation for rating prediction. Particularly, we provide a principled approach to jointly capture interactions and opinions in the user-item graph. Our experiments reveal that the opinion information plays a crucial role in the improvement of our model performance. In addition, our GraphRec can differentiate the ties strengths by considering heterogeneous strengths of social relations. Experimental results on two real-world datasets show that GraphRec can outperform state-of-the-art baselines.
Currently we only incorporate the social graph into recommendation, while many real-world industries are associated rich other side information on users as well as items. For example, users and items are associated with rich attributes. Therefore, exploring graph neural networks for recommendation with attributes would be an interesting future direction. Beyond that, now we consider both rating and social information static. However, rating and social information are naturally dynamic. Hence, we will consider building dynamic graph neural networks for social recommendations with dynamic.
Acknowledgements.The work described in this paper has been supported, in part, by a general research fund from the Hong Kong Research Grants Council (project PolyU 1121417/17E), and an internal research grant from the Hong Kong Polytechnic University (project 1.9B0V). Yao Ma and Jiliang Tang are supported by the National Science Foundation (NSF) under grant numbers IIS-1714741, IIS-1715940 and CNS-1815636, and a grant from Criteo Faculty Research Award.
- Berg et al. (2017) Rianne van den Berg, Thomas N Kipf, and Max Welling. 2017. Graph convolutional matrix completion. arXiv preprint arXiv:1706.02263 (2017).
Bronstein et al. (2017)
Michael M Bronstein, Joan
Bruna, Yann LeCun, Arthur Szlam, and
Pierre Vandergheynst. 2017.
Geometric deep learning: going beyond euclidean data.IEEE Signal Processing Magazine 34, 4 (2017), 18–42.
- Chen et al. (2018) Chong Chen, Min Zhang, Yiqun Liu, and Shaoping Ma. 2018. Neural Attentional Rating Regression with Review-level Explanations. In Proceedings of the 27th International Conference on World Wide Web. 1583–1592.
- Chen et al. (2017) Hongshen Chen, Xiaorui Liu, Dawei Yin, and Jiliang Tang. 2017. A survey on dialogue systems: Recent advances and new frontiers. ACM SIGKDD Explorations Newsletter 19, 2 (2017), 25–35.
- Defferrard et al. (2016) Michaël Defferrard, Xavier Bresson, and Pierre Vandergheynst. 2016. Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems. 3844–3852.
- Deng et al. (2017) Shuiguang Deng, Longtao Huang, Guandong Xu, Xindong Wu, and Zhaohui Wu. 2017. On deep learning for trust-aware recommendations in social networks. IEEE transactions on neural networks and learning systems 28, 5 (2017), 1164–1177.
- Derr et al. (2018) Tyler Derr, Yao Ma, and Jiliang Tang. 2018. Signed Graph Convolutional Networks. In 2018 IEEE International Conference on Data Mining (ICDM). IEEE, 929–934.
- Fan et al. (2018) Wenqi Fan, Qing Li, and Min Cheng. 2018. Deep Modeling of Social Relations for Recommendation. In AAAI.
- Grover and Leskovec (2016) Aditya Grover and Jure Leskovec. 2016. node2vec: Scalable feature learning for networks. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM, 855–864.
- Hamilton et al. (2017) Will Hamilton, Zhitao Ying, and Jure Leskovec. 2017. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems. 1024–1034.
- He et al. (2017) Xiangnan He, Lizi Liao, Hanwang Zhang, Liqiang Nie, Xia Hu, and Tat-Seng Chua. 2017. Neural Collaborative Filtering. In Proceedings of the 26th International Conference on World Wide Web, WWW. 173–182.
- Hinton et al. (2012) Geoffrey Hinton, Li Deng, Dong Yu, George E Dahl, Abdel-rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara N Sainath, et al. 2012. Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal Processing Magazine 29, 6 (2012), 82–97.
- Jamali and Ester (2010) Mohsen Jamali and Martin Ester. 2010. A matrix factorization technique with trust propagation for recommendation in social networks. In Proceedings of the fourth ACM conference on Recommender systems. ACM, 135–142.
- Karimi et al. (2018) Hamid Karimi, Jiliang Tang, and Yanen Li. 2018. Toward End-to-End Deception Detection in Videos. In 2018 IEEE Big Data. IEEE, 1278–1283.
- Kipf and Welling (2017) Thomas N. Kipf and Max Welling. 2017. Semi-Supervised Classification with Graph Convolutional Networks. In International Conference on Learning Representations (ICLR).
- Koren (2008) Yehuda Koren. 2008. Factorization meets the neighborhood: a multifaceted collaborative filtering model. In Proceedings of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining. ACM, 426–434.
- Ma et al. (2008) Hao Ma, Haixuan Yang, Michael R Lyu, and Irwin King. 2008. Sorec: social recommendation using probabilistic matrix factorization. In Proceedings of the 17th ACM conference on Information and Knowledge Management. ACM, 931–940.
- Ma et al. (2011) Hao Ma, Dengyong Zhou, Chao Liu, Michael R Lyu, and Irwin King. 2011. Recommender systems with social regularization. In Proceedings of the fourth ACM international conference on Web Search and Data Mining. ACM, 287–296.
- Ma et al. (2019) Yao Ma, Suhang Wang, Charu C. Aggarwal, Dawei Yin, and Jiliang Tang. 2019. Multi-dimensional Graph Convolutional Networks. In Proceedings of the 2019 SIAM International Conference on Data Mining(SDM).
- Marsden and Friedkin (1993) Peter V Marsden and Noah E Friedkin. 1993. Network studies of social influence. Sociological Methods & Research 22, 1 (1993), 127–151.
- McPherson et al. (2001) Miller McPherson, Lynn Smith-Lovin, and James M Cook. 2001. Birds of a feather: Homophily in social networks. Annual review of sociology 27, 1 (2001), 415–444.
- Monti et al. (2017) Federico Monti, Michael Bronstein, and Xavier Bresson. 2017. Geometric matrix completion with recurrent multi-graph neural networks. In Advances in Neural Information Processing Systems. 3700–3710.
- Resnick and Varian (1997) Paul Resnick and Hal R Varian. 1997. Recommender systems. Commun. ACM 40, 3 (1997), 56–58.
- Salakhutdinov and Mnih (2007) Ruslan Salakhutdinov and Andriy Mnih. 2007. Probabilistic Matrix Factorization. In 21th Conference on Neural Information Processing Systems, Vol. 1. 2–1.
Shuman et al. (2013)
David I Shuman, Sunil K
Narang, Pascal Frossard, Antonio Ortega,
and Pierre Vandergheynst.
The emerging field of signal processing on graphs: Extending high-dimensional data analysis to networks and other irregular domains.IEEE Signal Processing Magazine 30, 3 (2013), 83–98.
Srivastava et al. (2014)
Geoffrey Hinton, Alex Krizhevsky,
Ilya Sutskever, and Ruslan
Dropout: a simple way to prevent neural networks
The Journal of Machine Learning Research15, 1 (2014), 1929–1958.
- Tang et al. (2016a) Jiliang Tang, Charu Aggarwal, and Huan Liu. 2016a. Recommendations in signed social networks. In Proceedings of the 25th International Conference on World Wide Web. International World Wide Web Conferences Steering Committee, 31–40.
- Tang et al. (2013b) Jiliang Tang, Xia Hu, Huiji Gao, and Huan Liu. 2013b. Exploiting local and global social context for recommendation.. In IJCAI, Vol. 13. 2712–2718.
- Tang et al. (2013a) Jiliang Tang, Xia Hu, and Huan Liu. 2013a. Social recommendation: a review. Social Network Analysis and Mining 3, 4 (2013), 1113–1133.
- Tang et al. (2016b) Jiliang Tang, Suhang Wang, Xia Hu, Dawei Yin, Yingzhou Bi, Yi Chang, and Huan Liu. 2016b. Recommendation with Social Dimensions. In AAAI. 251–257.
- Tieleman and Hinton (2012) Tijmen Tieleman and Geoffrey Hinton. 2012. Lecture 6.5-RMSProp, COURSERA: Neural networks for machine learning. University of Toronto, Technical Report (2012).
- Van den Oord et al. (2013) Aaron Van den Oord, Sander Dieleman, and Benjamin Schrauwen. 2013. Deep content-based music recommendation. In Advances in neural Information Processing Systems. 2643–2651.
- Wang et al. (2015) Hao Wang, Naiyan Wang, and Dit-Yan Yeung. 2015. Collaborative deep learning for recommender systems. In Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM, 1235–1244.
- Wang et al. (2018) Suhang Wang, Jiliang Tang, Yilin Wang, and Huan Liu. 2018. Exploring Hierarchical Structures for Recommender Systems. IEEE Transactions on Knowledge and Data Engineering 30, 6 (2018), 1022–1035.
- Wang et al. (2017) Xiang Wang, Xiangnan He, Liqiang Nie, and Tat-Seng Chua. 2017. Item silk road: Recommending items from information domains to social users. In Proceedings of the 40th International ACM SIGIR conference on Research and Development in Information Retrieval. ACM, 185–194.
- Xiang et al. (2010) Rongjing Xiang, Jennifer Neville, and Monica Rogati. 2010. Modeling relationship strength in online social networks. In Proceedings of the 19th international conference on World wide web. ACM, 981–990.
- Yang et al. (2017) Bo Yang, Yu Lei, Jiming Liu, and Wenjie Li. 2017. Social collaborative filtering by trust. IEEE transactions on pattern analysis and machine intelligence 39, 8 (2017), 1633–1647.
- Yang et al. (2016) Zichao Yang, Diyi Yang, Chris Dyer, Xiaodong He, Alex Smola, and Eduard Hovy. 2016. Hierarchical attention networks for document classification. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. 1480–1489.
- Ying et al. (2018) Rex Ying, Ruining He, Kaifeng Chen, Pong Eksombatchai, William L. Hamilton, and Jure Leskovec. 2018. Graph Convolutional Neural Networks for Web-Scale Recommender Systems. In KDD ’18. ACM, 974–983.
- Zhao et al. (2016) Lili Zhao, Zhongqi Lu, Sinno Jialin Pan, and Qiang Yang. 2016. Matrix Factorization+ for Movie Recommendation. In IJCAI. 3945–3951.
et al. (2018b)
Xiangyu Zhao, Liang
Zhang, Zhuoye Ding, Long Xia,
Jiliang Tang, and Dawei Yin.
Recommendations with Negative Feedback via Pairwise Deep Reinforcement Learning. InKDD’18. ACM, 1040–1048.
- Zhao et al. (2018a) Zhou Zhao, Qifan Yang, Hanqing Lu, Tim Weninger, Deng Cai, Xiaofei He, and Yueting Zhuang. 2018a. Social-aware movie recommendation via multimodal network learning. IEEE Transactions on Multimedia 20, 2 (2018), 430–440.