Next Article in Journal
Improved YOLOv7 for Small Object Detection Algorithm Based on Attention and Dynamic Convolution
Next Article in Special Issue
A Job Recommendation Method Based on Attention Layer Scoring Characteristics and Tensor Decomposition
Previous Article in Journal
Research on Mechanism of Vortex-Induced Vibration Railing Effect of Double-Deck Large-Span Suspension Bridge
Previous Article in Special Issue
MDAR: A Knowledge-Graph-Enhanced Multi-Task Recommendation System Based on a DeepAFM and a Relation-Fused Multi-Gead Graph Attention Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Multi-Behavior Recommendation Method for Users Based on Graph Neural Networks

1
Guizhou Power Grid Company Limited, Guiyang 550002, China
2
School of Information and Electronic Engineering, Zhejiang University of Science and Technology, Hangzhou 310023, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(16), 9315; https://doi.org/10.3390/app13169315
Submission received: 21 June 2023 / Revised: 25 July 2023 / Accepted: 4 August 2023 / Published: 16 August 2023
(This article belongs to the Special Issue Recommender Systems and Their Advanced Application)

Abstract

:
Most existing recommendation models only consider single user–item interaction information, which leads to serious cold-start or data sparsity problems. In practical applications, a user’s behavior is multi-type, and different types of user behavior show different semantic information. To achieve more accurate recommendations, a major challenge comes from being able to handle heterogeneous behavior data from users more finely. To address this problem, this paper proposes a multi-behavior recommendation framework based on a graph neural network, which captures personalized semantics of specific behavior and thus distinguishes the importance of different behaviors for predicting the target behavior. Meanwhile, this model establishes dependency relationships among different types of interaction behaviors under the graph-based information transfer network, and the graph convolutional network is further used to capture the high-order complexity of interaction graphs. The experimental results of three benchmark datasets show that the proposed graph-based multi-behavior recommendation model displays significant improvements in recommendation accuracy compared to the baseline method.

1. Introduction

Personalized recommendations function to provide users with appropriate products according to user preferences. Determining how to accurately capture user preferences from user behaviors is the core issue of personalized recommendations. Traditional recommendation models [1] usually only rely on a single behavior for a recommendation, which makes them insufficient when extracting complex cooperative signals from users’ multi-type behaviors [2]. Meanwhile, there are serious data sparsity [3,4] and cold-start problems [5,6], especially for certain high-cost and low-frequency behaviors. In the real world, users usually have different types of interactive behaviors. In the face of diversified user behaviors, a big challenge to achieve more accurate recommendations is whether users’ heterostructure behavior data can be processed more finely. The multi-behavior recommendation model jointly considers different types of behavioral semantics, which is of great help to predict the possibility of users adopting target behaviors [7]. For example, on an e-commerce platform, users’ page browsing, shopping-cart additions, and collection behaviors for different items can be used as auxiliary information to help predict users’ purchase intent (target behavior) tasks. Therefore, considering the complex dependencies between multiple behaviors is crucial to accurately predict user preferences.
In order to make full use of dynamic interaction information to better predict user preferences, several multi-behavioral recommendation models have emerged in recent years [2,8]. LightGCN [9] learns user/commodity embeddings via an interaction graph by propagating linearly over the interaction graph, using the weighted sum of the embeddings learned at each layer as the final embedding. This simple, linear, and neat model is easier to implement and train but does not take into account the variability between behaviors. To distinguish the semantics of different behavior types, the KHGT [10] model assigns different learnable weights to different edges in the user–goods heterogeneous graph and clearly distinguishes which type of user–goods interaction is more important to assist in the task of predicting the target behavior. Nowadays, recommendations based on a graph neural network have been used in many real-world scenarios. The NetEase Cloud Music App introduces the graph model architecture, takes a variety of different types of songs as nodes, and constructs a graph relationship network through the multi-type behavior relationship between users and songs. Jingdong Mall also adopts the model based on a graph neural network proposed by the Jingdong platform, and more accurate recommendation results bring huge benefits to the platform.
Despite the success of these approaches in multi-behavior recommendation tasks, there are some limitations:
(1)
Different types of behaviors can characterize user preferences from different dimensions and complement each other for better learning of user preferences. User/commodity embedding is at the core of recommendation systems. Most current user/commodity embedding representations are a fusion of static features and lack the explicit encoding of a synergistic signal, which is hidden in the user–commodity interaction. Therefore, it is challenging and valuable to capture the behavioral diversity and potential dependencies in recommendations. To address this challenge, existing work models behavioral dependencies by generating specific types of behavioral embeddings through different aggregation approaches to enhance the user/goods representation. For example, MATH [11] uses self-attentiveness to encode pairwise correlations between different types of behaviors and make predictions about the target behavior.
(2)
Traditional multi-behavior recommendation models are implemented based on sequential models, which tend to focus more on the local perspective of multiple sequential behaviors of users. In contrast, graph-based multi-behavior recommendation models focus more on the global perspective of all user behaviors. In a heterogeneous graph constructed using multiple types of behavioral data, users/products are represented as nodes and different types of behaviors are represented as edges of the graph. Graph neural networks are also used to explore higher-order complexity in behavioral heterogeneous graphs due to their powerful learning capabilities. A new graph structure-based model for the novel recommender system NGCF [12] models higher-order connectivity representation in user–commodity interaction graphs by inserting collaborative signals explicitly into the embedding process of users (goods). The user–commodity correlation is well-represented in the embedding space.
In summary, this paper proposes multi-behavior recommendations based on the graph information transfer network method, in which a heterogeneous graph composed of users/commodities first obtains the user/commodity information of a specific type from the graph. The first-order neighborhood information of a particular type of user/goods is obtained from the graph, and the graph information transfer network is used to ensure the interaction behaviors of a particular type have their own semantic information. The above process learns the higher-order neighborhood information in the graph for user/product representation. In the target behavior prediction stage, the above process learns specific types of behavioral representations, which not only provide useful external knowledge but also serve as supervised signals for model optimization.

2. Related Work

Most previous recommendation models [13,14,15,16] have been designed for a single type of behavior, and in most cases, behaviors directly related to platform profits were selected for modeling, such as purchase behavior in e-commerce platforms. In practice, however, user behavior is inherently multi-typical (e.g., browsing, favoriting, purchasing, etc.). Different types of user behaviors may exhibit different semantic information to characterize the diverse user–goods interactions. The existing user–commodity interactions are thus coding functions and are not sufficient to comprehensively learn complex user preferences. Moreover, using only a single behavior may lead to severe cold-start or data sparsity problems. For example, on an e-commerce website, it is difficult to construct a recommendation model based on purchase behavior alone to provide a comprehensive learning model for users without historical purchases, and new users with a purchase history can be aptly recommended.
While realizing the importance of leveraging different types of user behavior at the same time, encoding multiple types of behavioral patterns poses a significant challenge. These different types of interaction behaviors may interrelate in complex ways, providing complementary information for learning about user interests. In addition, although several multi-behavioral user modeling techniques have emerged in recent years, some multi-behavioral user modeling techniques [8,11] have emerged for recommendation, but they fail to capture higher-order information in different user–goods relationships. Inspired by this, applying graph neural networks to recommendations [17,18] is beneficial to consider user–goods interactions in the embedding space higher-order relationships between user-goods interactions are considered in the embedding space.
Recently, graph neural networks have achieved promising results in learning dependencies from graph-structured data [17]. Typically, the core of graph neural networks is to aggregate feature information of neighboring nodes on the graph under a message propagation mechanism [18]. This information dissemination mechanism aggregates the information of higher-order neighbors through nodes, which can further capture higher-order interrelationships and achieve representation learning effectively. In other words, graph neural networks can better solve relationship inference problems as an interpretable model. The most representative of these was the Graph Convolutional Network (GCN), which obtains the representation of the current node by combining the weighted values of neighboring nodes’ egress and ingress. Inspired by the effectiveness of graph convolutional networks, recent studies, such as PTGCN [19] and GraphSage [20], utilize graph convolutional networks to explore the user–item interaction graph and aggregate the embeddings of neighboring nodes. These works propagate information among nodes to mine relationships between users and items. Then, graph convolutional networks became a popular research direction, and researchers have conducted a lot of work to study heterogeneous graphs. BiHGH [21] is a new bidirectional heterogeneous graph hashing method. First, it uses heterogeneous graph nodes to initialize then design an Ambigram convolution algorithm to sequentially transfer information, and finally uses Bayesian personalized sorting loss combined with dual similarity preserving regularization to achieve user preference learning. PFCM [22] created a heterogeneous graph that unifies users, items, and attributes and designed a user embedding module based on multimodal content representation to learn user representations. Finally, heterogeneous graph learning was implemented by executing meta path guidance.

3. Methodology

3.1. Problem Statement

Let U and V denote the set of users and goods, respectively, U = { u 1 , u 2 , , u i , , u I } , V = { v 1 , v 2 , , v j , , v J } , where I and J denote the number of users and goods. Considering multiple types of interactions, this paper defines a three-dimensional tensor X R I × J × K   to represent multiple types of interactions (e.g., clicks, favorites, adds, etc.) where K denotes the number of interaction behavior types. A single element x i , j k   ϵ   X with a value of 1 indicates that the k th behavior category is used to interact with user u i and product v j , otherwise x i , j k   = 0. In a multi-behavior recommendation scenario, the interaction category most associated with the platform benefits will be considered the target behavior (e.g., purchase). Other behaviors will be considered contextual behaviors (e.g., click, favorite, add to cart) and used to provide knowledge that aids the target behavior for prediction. Based on the above definitions, the problem studied in this paper is defined as follows:
Input: Multi-behavior interaction tensors X R I × J × K between user set U and item set V under K interaction behavior types.
Output: A prediction function that estimates the likelihood that user u i will adopt target behavior k to interact with good v j is possible.

3.2. Model Architecture

In realistic scenarios, often users’ behaviors are complex and diverse, and the model first proposes a meta knowledge learner to encode behavioral embeddings considering users’ personalized feature attributes. Based on this, the graphical volume was combined with an attention mechanism to capture multiple behavioral patterns with high-order connectivity on the user–goods interaction graph. Finally, complex cross-type behavioral dependencies are captured by a prediction layer. Multiple types of user behavior can be used not only to tune the parameters of the graph neural network model but also to guide the prediction phase by injecting monitoring signals. The model architecture is shown in Figure 1.

3.3. Embedding Module Incorporating First-Order Neighborhood Information

In a realistic scenario, the behavior habits of different users are very different. For example, User A is used to collect most of the products in the process of browsing, while User B only collects the products he is most interested in, which shows that the collection behavior has little reference value for User A, while for User B, the collection behavior has little reference value for user A, but has great influence on the products collected by user B. Therefore, the design goal of this module is to capture the first-order neighborhood information of entities in the interaction graph under different behavior categories and inject their corresponding weights into the initial embedding of goods and users, so as to generate a feature representation incorporating the first-order neighborhood information. In the bipartite graph composed of user entities and commodity entities, this module learns the representations of commodity entities and user entities under different behavioral categories, respectively, by combining the initialized IDs of user u i and v j by aggregating the initialized ID embedding representations E i and E j of user u i and commodity v j with the first-order neighborhood information to obtain the fused contextual feature vector.
Given the ID embedding representation E i of the initialized user u i , the following formula is used to learn personalized specific behavior embedding.
P i , k = E i j N i k E j N i k N j k W j , k = M · P j , k + Z E ~ j = W j , k E j
where N i k denotes the set of goods that user u i interacts with under k behavior types, and N j k denotes the set of users that interact with good v j under k behavior types. denotes the splicing operation of the vector. Here, N i k N j k is the normalization factor. P i , k is the interaction pattern of user u i under a specific behavior type k . W i , k is the learned parameter matrix of user u i . W i , k is the parameter matrix of the learned personalization of user u i , which injects a specific type of behavioral context into the user u i representation, and M and Z are transformation parameters. i is the personalized representation of the user u i that incorporates the contexts.
Given the ID embedding representation E j of the initialized good v j , the personalized representation E j of the good v j of the fused context is obtained using the same method of learning as above. The specific formula is as follows:
P j , k = E j i N j k E i N i k N j k W j , k = M · P j , k + Z E ~ j = W j , k E j
where P j , k holds information about the users who interact with commodity v j for a specific type of behavior. W j , k is the learned parameter matrix of the personalization of the commodity v j , which injects a specific type of behavioral context into the representation of the commodity v j , and M and Z are transformation parameters. E ~ j is the personalized representation of the commodity v j incorporating the contexts.

3.4. Representation of Users and Products Based on Single Behavior

In a multi-behavior recommendation scenario, each interaction has its own features and semantic representation. For example, in an e-commerce commerce platform, users’ browsing behavior is more likely to occur than purchasing behavior, and adding to cart and purchasing behavior may occur simultaneously with high probability. Therefore, the proposed module aims to capture personalized behavioral semantic signals. Based on the representation E ~ i of each user u i and the representation E ~ j of each good v j learned by the embedding module, this module designs a messaging strategy to capture the user–goods interaction graph G k = V , ε k under a single behavior, where V denotes the set of user and goods nodes, ε k denotes the set of interaction edges in V , and all the interactions are of type k at this point. The goal of this module is to learn different behavior-specific embedding vectors. The specific formula is as follows:
E ¯ i , k = E ~ i + σ j ϵ N i k α i , j , k E ~ j E ¯ j , k = E ~ j + σ i ϵ N j k α i , j , k E ~ i
where E ¯ i , k and E ¯ j , k are the embeddings of user u i and item v j at behavior type k . Define α i , j , k as standardization factor N i k N j k where N i k denotes the set of goods that user u i interacts with under k behavior types, and N j k denotes the set of users interacting with item v j under behavior type k .

3.5. Representation of Users and Items Integrated with Multiple Behaviors

In e-commerce platforms, different types of interactions are intertwined, and they are related to each other in a complex way, which is a great challenge for modeling multi-behavioral interaction patterns of users. In order to model the potential relationships between different behavior types, this module designs a multi-behavior relationship learning function, which obtains a more accurate representation of a specific behavior type by injecting information about the interrelationships between different behaviors. The relationship learning function is based on the attention network and is represented as follows:
α ^ k , k h = Q h E ¯ i , k T K h E ¯ i , k d / H α k , k h = s o f t m a x α ^ k , k h = exp α ^ k , k h k = 1 K e x p α ^ k , k h   B i , k = | | h = 1 H k = 1 K α k , k h V h · E ¯ i , k E ¯ i , K + 1 = k = 1 K B i , k
The module uses multiple potential spaces h H to perform the embedding projection process, thereby mining the interaction behavior from different hidden dimensions to mine the degree of association between interactions k and k from different hidden dimensions, where E ¯ i , K + 1 denotes the global user representation considering all behavior types. B i , k redefines a particular type of behavioral embedding by connecting feature representations from different learning subspaces, which encodes the degree of influence of other interaction behaviors on the behavior, considering the correlation between interaction behaviors. α ^ k , k h is the computed correlation between the interaction behavior k and k′ is the degree of correlation between the computed interaction behavior k and k . W h is the transformation matrix that transforms the vectors into h projection space, which realizes the transformation of Q , K vector dimensions in the attention mechanism.
During the training process, to alleviate overfitting, E ¯ i , k is partitioned into H feature vectors of the size d / H dimension, corresponding to the H head, and the multi-head attention mechanism processes these segments in parallel before applying the splicing operation. E ¯ i , k h denotes the h-th slice of E ¯ i , k .

3.6. User and Item Representations Infused with Higher-Order Neighborhood Information

In order to capture the higher-order complexity of the interaction graph and study the higher-order interactions between user interaction behaviors, this module integrates the vector representation obtained from the behavioral semantic learning module to learn the higher-order embedding propagation paradigm. The higher-order information is injected into the user u i embedding by the following equation:
E ¯   i , k l + 1 = G C N E ¯ i , k ( l ) ,   k = 1,2 , , K A t t E ¯   i , 1 ( l + 1 ) , , E ¯   i , K + 1 ( l + 1 ) ,   k = K + 1
The higher-order feature representation of the commodity v j is processed using the same network as the user representation above, where GCN is the graph convolutional network that defines the behavioral semantic learner. Att denotes the interconnected learning function between behaviors. By L operations, the model learns the connection relations between nodes for L -hops. To obtain a higher-order information representation, the feature vectors of the L + 1 layer network are stitched to obtain the final user and commodity representations.
E ^ , k = E ¯   k 1   E ¯   k 2   E ¯   k L + 1   k = 1,2 , , K + 1
where ∗ denotes the final user embedding when ∗ is i and ∗ is j denotes the final product embedding.

3.7. Target Behavior Prediction

Based on the prediction sub-network learned above, the contextual behavioral information (page view, favorite, add to cart) not only provides useful external knowledge in the target behavior (purchase) prediction phase but also serves as a supervisory signal for model optimization. Based on the above learned feature representations E ^ * , k of users and goods under specific behavior types, the prediction network proposed in this model uses non-target behaviors as supervisory signals to obtain personalized meta-knowledge based on the target behavior k . This process is defined as follows:
P i , j k = σ W 2 · E ^ i , k , E ^ j , k D i , j k , k = σ W 1 · P i , j k , P i , j k  
Of this, v 1 , v 2 = v 1 v 2 v 1 v 2 , where denotes the multiplication of the corresponding elements of two vectors and denotes the splicing between the elements. D i , j k , k encode the meta-knowledge between user u i and commodity v j , that is, the dependency between target behavior k and context behavior k k K + 1 , k K . P i , j k is the projective quantity under the behavior k .
Based on the above learned dependencies between interaction behaviors, the parameters of the prediction network are learned by the following equation.
M 1 = W 1 D   i , j k , k + m 1 p 1 = W 2 D   i , j k , k + m 2 p 2 = W 3 D   i , j k , k + m 3
Ultimately, the model predicts the interaction between user u i and commodity v j under target behavior k , using the feature vector of non-target behavior k as a supervised signal. The specific formula is as follows:
η = σ M 1 · E ^ i , k , E ^ j , k + p 1 X i , j , k k = η p 2
where X i , j , k k is the predicted likelihood of user u i interacting with good v j under target behavior k . η is the intermediate feature vector.

3.8. Optimization Strategy

The model is optimized by using each pair of non-target and target behaviors for prediction. For user u i and target behavior k , the model samples S positive samples and S negative samples. In the training process, we use the Adam algorithm [23] for optimization, which is defined by the following equation:
L = i = 1 N k = 1 K + 1 k = 1 K s = 1 S m a x 0,1 X ^ i , p s , k k + X ^ i , n s , k k + λ Θ F 2
where k denotes thenon-target behavior, k denotes the target behavior, and p s and n s denote positive and negative samples, respectively.
In the multi-behavior pattern modeling, the model can learn the personalized semantics of specific behaviors and establish the dependency relationship between different types of behaviors, thus effectively improving the accuracy of recommendation. The model adopts lightweight graph convolutional architecture which costs only 𝑂 (𝐿 × 𝐾 × 𝑑 × | ε |) across 𝐿 layers, 𝐾 behavior types, 𝑑 latent factors and | ε | edges. The behavior relation learning costs extra 𝑂 (𝐿 × 𝐾 ×𝑑 × (𝐾 + 𝑑) × (𝑁 + 𝑀)). As 𝑂 (𝑑 × |E|) is comparable with 𝑂 ((𝐾 + 𝑑) × (𝑁 + 𝑀)) in our case, the complexity does not increase. The prediction network costs 𝑂 (𝑆 ×   d 2 ) computations for each user. In conclusion, our model could achieve comparable time complexity with some graph convolution-based models.

4. Experiments

4.1. Datasets

Taobao, one of the largest e-commerce platforms in China, contains four types of user interactions, namely, page view, add to cart, favorite, and purchase. Each row of the dataset represents a user behavior, consisting of user ID, product ID, product category ID, behavior type, and timestamp, and is separated by commas.
Beibei is one of the largest online retail websites for baby products in China, and it involves three types of user interaction behaviors, including page browsing, adding to cart, and purchasing.
The JDATA dataset is from JD.com, a famous e-commerce website in China, and contains two months of user behavior data from JD.com’s website. The types of actions are browse, order, follow, comment, and add to cart.

4.2. Evaluation Metrics

To verify the performance of the proposed model, we employ a variety of evaluation metrics, including the Hit Ratio (HR@10) and Normalized Discounted Cumulative Gain (NDCG@10).
H R @ K = N u m b e r   o f   H i t s @ K G T  
where GT is all items in the test set, and the numerator is the sum of the number of items hit in the given Top-k recommendation list.
N D C G @ K = Z k i = 1 K 2 r i 1 l g ( 1 + i )  
where Z k   is a normalization factor to ensure the presence of a normalized representation with a value of 1 in the list; r i indicates the predicted relevance of the i th item, represented by 0 and 1; and lg (1 + i) is the location decay function. The larger the NDCG and HR values of the user to be recommended, the more the recommendation list matches the user’s preference and the better the recommendation effect of the algorithm. In order to compare the performance of different models fairly, NDCG used the above calculation method in the experiment. The experimental results obtained are different from those in the references, but the trend of the experimental results is the same.

4.3. Compared Methods and Implementation Details

4.3.1. Recommendation Model Based on Graph Neural Network

ST-GCN [24]: This method is a convolution-based graph neural network model that generates user embeddings through an encoder–decoder coder framework to generate user embeddings.
SR-GNN [25]: A session-based graph neural network model is proposed, which establishes complex dependencies of the session order between interaction items, which is difficult to achieve using previous traditional sequential approaches.
NGCF [12]: This is a message-passing architecture for user commodity interaction graphs on information aggregation, thus exploiting the higher-order relationships in the interaction graph.

4.3.2. Recommendation Models for Multi-Behavioral Categories

NMTR [8]: This approach proposes a new solution for learning recommender systems from user multi-behavior data, and the model considers cascading relationships between different types of behaviors, while cascading predictions for different types of behaviors based on a multi-task learning framework.
MATN [11]: This method preserves cross-type behavioral synergy signals and type-specific behavioral contextual information by explicitly encoding multi-behavioral relational structures. The model transforms each type of behavioral feature through a designed memory unit, generating a specific behavioral representation through this type-specific transformation process.
MBGCN [2]: This approach proposes a multi-behavior graph convolutional network-based model that learns behavior intensity through the user–goods propagation layer and captures behavior semantics through the goods–goods propagation layer, which better addresses the limitations of existing work.

4.4. Experimental Results and Analysis

We evaluate the performance of all baseline methods on different datasets, and the results are shown in Table 1, which summarizes the following observations: The MK-GCN model in this article significantly improves the recommendation performance. This performance gap can be attributed to the effective personalized multi-behavior pattern modeling and the rich context information of user and item representations obtained under the meta-learning paradigm. Most studies ignore the different behavior habits of different users and simply assign different weights to different behaviors. In this paper, we learn user personalized behavior feature representations from interaction graphs according to user behavior habits.
MK-GCN consistently achieves better performance than the baseline models, but these baseline models have different degrees of limitations. SR-GNN and ST-GCN models do not consider the specific operation behavior of users, and only model and extract features based on the products that users interact with. The NMTR model only models the cascading relationships between multiple types of interaction behaviors and cannot explore the high-order behavior dependencies in the interaction graph. The MATN model aggregates different types of behavior patterns by weighted summation, which cannot comprehensively capture the complex interdependence between different types of interaction behaviors.
MK-GCN consistently obtains better performance than the baseline models, which all have different degrees of the SR-GNN and ST-GCN models and do not consider the specific operational behavior of the user and only model and extract features based on the goods that the user interacts with. The NMTR model only models the cascading relationships between multiple types of interactions and cannot explore the higher-order behavioral dependencies in the interaction graph. The MATN model aggregates different types of behavioral patterns through weighted summation, which cannot fully capture the complex interdependencies between different types of interactions.
Furthermore, the comparison between MK-GCN and the multi-behavior graph neural model MBGCN demonstrates the proposed method’s advantages of multi-behavior dependency modeling. Among the various baseline methods, it can be observed that, compared to other single-row-for-model recommendation methods that do not distinguish between intersection types, the injection of multi-behavior information into the recommendation framework (i.e., NMTR, MATN, MBGCN) into multi-behavior information improves the performance. This result confirms the role of exploring multi-behavioral patterns for recommendation improvement.

4.5. Ablation Experiments

In order to explore the effect of each module in the model, the variant models shown in Table 2 were set up for the experiment. The result of the melting experiments is shown in Table 3. Based on the experimental results, we draw the following conclusions.
(1)
Behavioral relational learning plays an active role in capturing higher-order information during message passing in graph neural networks. This suggests that the model uses attention layers under multiple representation subspaces to capture the pairwise correlations between various interaction behavior. It is reasonable that the model uses the attention layer to capture pairwise correlations between various interaction types in multiple representation subspaces.
(2)
The results demonstrate the necessity of learning the parameters of the prediction network using the dependencies between interaction behaviors of the network. This suggests that behavioral relationships can not only provide external knowledge in the process of multi-behavior aggregation but can also serve as a supervisory signal for model optimization.
(3)
MK-GCN outperforms -metaEncoder and -metaPred because they do not incorporate a meta knowledge learner, which indicates the importance of user-specific behavior modeling through the meta-learning paradigm.

5. Conclusions and Future Work

In this paper, a multi-behavior augmented recommendation framework based on graph neural networks is studied and designed to address the heterogeneity and diversity of user interaction behaviors. The model first encodes user and product feature vectors fusing contextual information according to a custom meta-learning paradigm, explores the dependencies between multiple behavior types by learning the semantic features of different behaviors, and uses graph convolutional networks and attention networks to obtain higher-order association information in the user–commodity interaction graph through multiple operations learning. Finally, the feature vectors of non-target behaviors are used as supervised signals to predict the likelihood of user u interacting with product j using target behavior k. Experimental validation is conducted on three large e-commerce datasets, and the results show that the model performs better compared to other baseline models. The drawback of this model is that it cannot deal with real-time user behavior data stream and can only make recommendations through the collected historical behavior data. Future work hopes to further investigate time-sensitive models that can leverage newly arrived user behavior data to facilitate real-time recommendations.
This model can be widely used in multi-behavior scenarios, such as shopping mall recommendation, music, books, movies, and so on. In a real scenario, we will model the complex relationship as a heterogeneous graph, which contains multiple types of nodes and edges. Then this model simulates the user’s behavior pattern by learning the dependencies between different types of behaviors, so as to obtain more accurate recommendation results, which is more conducive to the platform to make wise decisions and adjust in time.

Author Contributions

Conceptualization, R.L.; methodology, R.L. and Y.L.; software, Y.L.; validation, J.L.; resources, R.L. and J.L.; Investigation, Y.L.; data curation, S.Y.; writing—original draft preparation, R.L. and Y.L.; writing—review and editing, R.L., Y.L. and S.Y. All authors have read and agreed to the published version of the manuscript.

Funding

R.L. was employed by the company Guizhou Power Grid Company Limited. Y.L., J.L. and S.Y. were employed by Zhejiang University of Science and Technology. The authors declare that this study received funding from Guizhou Power Grid Co. Ltd. (No. 066700KK52180021) and the National Natural Science Foundation of China (No. 61972357). The funder Guizhou Power Grid Co. Ltd. (No. 066700KK52180021) had the following involvement with the study: Study design, data collection, analysis, interpretation of data, the writing of this article. The funder National Natural Science Foundation of China (No. 61972357) had the following involvement with the study: Interpretation of data, the writing of this article, decision to publish, and preparation of the manuscript.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data are available upon request.

Acknowledgments

We sincerely thank the editors and the reviewers for their valuable comments in improving this paper. The author is thankful to Liya Huang and Yuan Ji who contributed to this study.

Conflicts of Interest

The authors declare that they have no conflict of interest to report regarding the present study.

References

  1. Sun, F.; Liu, J.; Wu, J.; Pei, C.; Lin, X.; Ou, W.; Jiang, P. BERT4Rec: Sequential recommendation with bidirectional encoder representations from transformer. In Proceedings of the 28th ACM International Conference on Information and Knowledge Management, Beijing, China, 3–7 November 2019; pp. 1441–1450. [Google Scholar]
  2. Jin, B.; Gao, C.; He, X.; Jin, D.; Li, Y. Multi-behavior recommendation with graph convolutional networks. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval, New York, NY, USA, 25–30 July 2020; pp. 659–668. [Google Scholar]
  3. Singh, A.P.; Gordon, G.J. Relational learning via collective matrix factorization. In Proceedings of the 14th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Las Vegas, NV, USA, 24–27 August 2008; pp. 650–658. [Google Scholar]
  4. Pan, W.; Xiang, E.; Liu, N.; Yang, Q. Transfer learning in collaborative filtering for sparsity reduction. In Proceedings of the AAAI Conference on Artificial Intelligence, Atlanta, GA, USA, 11–15 July 2010; Volume 24, pp. 230–235. [Google Scholar]
  5. Xie, R.; Qiu, Z.; Rao, J.; Liu, Y.; Zhang, B.; Lin, L. Internal and Contextual Attention Network for Coldstart Multi-channel Matching in Recommendation. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, Yokohama, Japan, 11–17 July 2020; pp. 2732–2738. [Google Scholar]
  6. Zhu, Y.; Ge, K.; Zhuang, F.; Xie, R. Transfer-meta framework for cross-domain recommendation to cold-start users. In Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval, Virtual, 11–15 July 2021; pp. 1813–1817. [Google Scholar]
  7. Guo, L.; Hua, L.; Jia, R.; Zhao, B.; Wang, X.; Cui, B. Buying or browsing: Predicting real-time purchasing intent using attention-based deep network with multiple behavior. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, New York, NY, USA, 4–8 August 2019; pp. 1984–1992. [Google Scholar]
  8. Gao, C.; He, X.; Gan, D.; Chen, X.; Feng, F.; Li, Y.; Chua, T.; Yao, L.; Song, Y.; Jin, D. Neural multi-task recommendation from multi-behavior data. In Proceedings of the 2019 IEEE 35th International Conference on Data Engineering (ICDE), Macao, China, 8–11 April 2019; pp. 1554–1557. [Google Scholar]
  9. He, X.; Deng, K.; Wang, X.; Li, Y.; Zhang, Y.; Wang, M. Lightgcn: Simplifying and powering graph convolution network for recommendation. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval, New York, NY, USA, 25–30 July 2020; pp. 639–648. [Google Scholar]
  10. Xia, L.; Huang, C.; Xu, Y.; Dai, P.; Zhang, X.; Yang, H.; Pei, J.; Bo, L. Knowledge-enhanced hierarchical graph transformer network for multi-behavior recommendation. In Proceedings of the AAAI Conference on Artificial Intelligence, Virtually, 2–9 February 2021; Volume 35, pp. 4486–4493. [Google Scholar]
  11. Xia, L.; Huang, C.; Xu, Y.; Dai, P.; Zhang, B.; Bo, L. Multiplex behavioral relation learning for recommendation via memory augmented transformer network. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval, New York, NY, USA, 25–30 July 2020; pp. 2397–2406. [Google Scholar]
  12. Wang, X.; He, X.; Wang, M.; Feng, F.; Chua, T.-S. Neural graph collaborative filtering. In Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval, Paris, France, 21–25 July 2019; pp. 165–174. [Google Scholar]
  13. Kabbur, S.; Ning, X.; Karypis, G. Fism: Factored item similarity models for top-n recommender systems. In Proceedings of the 19th ACM SIGKDD international conference on Knowledge discovery and data mining, Chicago, IL, USA, 11–13 August 2013; pp. 659–667. [Google Scholar]
  14. Koren, Y. Factorization meets the neighborhood: A multifaceted collaborative filtering model. In Proceedings of the 14th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Las Vegas, NV, USA, 24–27 August 2008; pp. 426–434. [Google Scholar]
  15. Ning, X.; Karypis, G. Slim: Sparse linear methods for top-n recommender systems. In Proceedings of the 2011 IEEE 11th International Conference on Data Mining, Vancouver, BC, Canada, 11–14 December 2011; pp. 497–506. [Google Scholar]
  16. Rendle, S.; Freudenthaler, C.; Gantner, Z.; Schmidt-Thieme, L. BPR: Bayesian personalized ranking from implicit feedback. arXiv 2012, arXiv:1205.2618. [Google Scholar]
  17. Wu, Z.; Pan, S.; Chen, F.; Long, G.; Zhang, C.; Yu, P.S. A comprehensive survey on graph neural networks. IEEE Trans. Neural Netw. Learn. Syst. 2020, 32, 4–24. [Google Scholar] [CrossRef] [PubMed]
  18. Ying, R.; He, R.; Chen, K.; Eksombatchai, P.; Hamilton, W.L.; Leskovec, J. Graph convolutional neural networks for web-scale recommender systems. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, London, UK, 19–23 August 2018; pp. 974–983. [Google Scholar]
  19. Huang, L.; Ma, Y.; Liu, Y.; Du, B.; Wang, S.; Li, D. Position-enhanced and time-aware graph convolutional network for sequential recommendations. ACM Trans. Inf. Syst. 2023, 41, 1–32. [Google Scholar] [CrossRef]
  20. Hamilton, W.; Ying, Z.; Leskovec, J. Inductive representation learning on large graphs. Adv. Neural Inf. Process. Syst. 2017, 30, 1–11. [Google Scholar]
  21. Guan, W.; Song, X.; Zhang, H.; Liu, M.; Yeh, C.-H.; Chang, X. Bi-directional heterogeneous graph hashing towards efficient outfit recommendation. In Proceedings of the 30th ACM International Conference on Multimedia, Lisboa, Portugal, 10–14 October 2022; pp. 268–276. [Google Scholar]
  22. Guan, W.; Jiao, F.; Song, X.; Wen, H.; Yeh, C.-H.; Chang, X. Personalized fashion compatibility modeling via metapath-guided heterogeneous graph learning. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, New York, NY, USA, 11–15 July 2022; pp. 482–491. [Google Scholar]
  23. Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
  24. Zheng, Y.; Gao, C.; He, X.; Li, Y.; Jin, D. Price-aware Recommendation with Graph Convolutional Networks. In Proceedings of 2020 IEEE 36th International Conference on Data Engineering, Dallas, TX, USA, 20–24 April 2020; pp. 133–144. [Google Scholar]
  25. Wu, S.; Tang, Y.; Zhu, Y.; Wang, L.; Xie, X.; Tan, T. Session-based recommendation with graph neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA, 27 January–1 February 2019; Volume 33, pp. 346–353. [Google Scholar]
Figure 1. Model architecture diagram of multi-behavior perception.
Figure 1. Model architecture diagram of multi-behavior perception.
Applsci 13 09315 g001
Table 1. Overall performance of the model on the Beibei, Taobao, and JDATA datasets.
Table 1. Overall performance of the model on the Beibei, Taobao, and JDATA datasets.
TaobaoBeibeiJDATA
HR@10NDCG@10HR@10NDCG@10HR@10NDCG@10
SR-GNN0.3210.1810.5910.3260.4320.263
ST-GCN0.3470.2060.6090.3430.4520.285
NGCF0.3020.1850.6110.3750.4610.292
NMTR0.3320.1790.6130.3490.4810.304
MATN0.3540.2090.6260.3850.4890.309
MBGCN0.3690.2220.6420.3760.4630.277
MK-GCN0.4720.3000.6830.4050.5120.316
Table 2. Description of the model variants.
Table 2. Description of the model variants.
Model VariantsNotes
-relationRemove the multi-behavior relational learning function
-metaEncoderRemove the Meta knowledge encoder
-metaPredNo longer rely on the meta-knowledge encoder to learn the parameters of the prediction layer
Table 3. Results of ablation experiment.
Table 3. Results of ablation experiment.
TaobaoBeibeiJDATA
HR@10NDCG@10HR@10NDCG@10HR@10NDCG@10
-relation0.68130.40490.38780.23150.48650.3138
-metaEncoder0.67910.40460.46470.28520.50260.3199
-metaPred0.66050.40360.48680.29680.53020.3399
MK-GCN0.69070.41030.49060.29970.53190.3447
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, R.; Li, Y.; Lei, J.; Yang, S. A Multi-Behavior Recommendation Method for Users Based on Graph Neural Networks. Appl. Sci. 2023, 13, 9315. https://doi.org/10.3390/app13169315

AMA Style

Li R, Li Y, Lei J, Yang S. A Multi-Behavior Recommendation Method for Users Based on Graph Neural Networks. Applied Sciences. 2023; 13(16):9315. https://doi.org/10.3390/app13169315

Chicago/Turabian Style

Li, Ran, Yuexin Li, Jingsheng Lei, and Shengying Yang. 2023. "A Multi-Behavior Recommendation Method for Users Based on Graph Neural Networks" Applied Sciences 13, no. 16: 9315. https://doi.org/10.3390/app13169315

APA Style

Li, R., Li, Y., Lei, J., & Yang, S. (2023). A Multi-Behavior Recommendation Method for Users Based on Graph Neural Networks. Applied Sciences, 13(16), 9315. https://doi.org/10.3390/app13169315

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop