A recommendation method and system based on heterogeneous information network and adaptive denoising
By adopting heterogeneous information networks and adaptive denoising methods in the recommendation system, and using meta-path and graph convolution networks to process complex data sets, the problem of existing systems being unable to adapt to the real world and noise is solved, and higher recommendation accuracy is achieved. and efficiency.
Patent Information
- Application Number
- CN202111627159.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-28
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-12-28
AI Technical Summary
Existing recommendation systems mainly focus on recommendation accuracy, but fail to effectively handle complex data sets and noise issues, resulting in inability to adapt to the diversity of the real world and degradation of data quality.
An adaptive denoising method based on heterogeneous information networks is used to generate homogeneous graphs through meta-path random walks. Combined with a three-layer stacked graph convolution network and a matrix decomposition model, the truncation loss function is used to remove noisy data and improve the recommendation accuracy and model. efficiency.
It significantly improves the accuracy and adaptability of the recommendation system, effectively removes noise data, reduces time complexity, and makes the model more suitable for complex real-world data sets.
Smart Images

Figure CN114372206B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of recommendation systems, and relates to a recommendation method and system based on heterogeneous information networks and adaptive denoising. Background Art
[0002] In recent years, recommender systems have played an increasingly important role in different online services, helping users discover items of interest in huge data sources.
[0003] In the field of recommendation systems, many previous studies are based on homogeneous information networks. One advantage of this is that modeling is more convenient, there is no need to consider different types of nodes and edges, and the implementation of the algorithm is more natural.
[0004] However, in the real world, the types and relationships of information networks are diverse, and various forms of auxiliary information such as entity information such as users, products, directors, and starring actors can be used in recommendation systems. It is difficult to model more complex graph networks by relying solely on homogeneous networks. Summary of the invention
[0005] In view of this, the present invention provides a recommendation system based on heterogeneous information networks and adaptive denoising, which solves the problem that most current recommendation systems only focus on recommendation accuracy. Only focusing on recommendation accuracy without considering the diversity of data sets, such as homogeneous graphs and heterogeneous graphs, will lead to the inability to adapt to more complex data sets, and the inability to better simulate the real world, and the resulting embedding will also be greatly reduced. At the same time, compared with the existing heterogeneous information network recommendation system, the present invention designs a better meta-path model and integrates a better adaptive denoising mechanism, which can obtain better recommendation effects, and solves the problems of low accuracy and inability to effectively extract embeddings in data sets containing a large amount of noise in the existing heterogeneous information network recommendation system. Not only can the recommendation effect of the model be changed from the perspective of the data set, but also due to the addition of the denoising module, the time complexity of the model becomes lower, and it can be effectively applied in actual industrial environments.
[0006] To this end, the present invention provides the following technical solutions:
[0007] In one aspect, the present invention provides a recommendation method based on a heterogeneous information network and adaptive denoising, the method comprising:
[0008] S1, preprocessing heterogeneous information network datasets to obtain homogeneous graphs;
[0009] S2, input the homogeneous graph obtained after S1 preprocessing into the three-layer stacked graph convolutional network to learn node embedding, and use the fusion function to fuse the node embeddings of multiple meta-paths;
[0010] S3, input the node embedding output by S2 into the matrix decomposition model for training, and use the truncation loss function to adaptively denoise the node embedding output by S2 during the training process to remove the noise data contained in the node embedding; the truncation loss function ignores the noise samples with dynamic thresholds, and the dynamic thresholds are automatically updated during the training process;
[0011] S4: After S3, embeddings of all users and items are obtained. Through dot product operation, the predicted scores of users for items are obtained, and items are recommended to users based on the predicted scores.
[0012] Furthermore, preprocessing the heterogeneous information network dataset includes:
[0013] Using meta-paths, by randomly walking on the heterogeneous graph, a path based on the semantics of the meta-paths is extracted;
[0014] Delete the remaining nodes that are different from the first node type to obtain a path containing only one type of nodes, forming a homogeneous graph.
[0015] Furthermore, the homogeneous graph obtained after S1 preprocessing is input into a three-layer stacked graph convolutional network to learn the embedding of users and items including:
[0016] Calculate the graph Laplacian matrix of the homogeneous graph obtained by S1;
[0017] Input the graph Laplacian matrix into a three-layer stacked graph convolutional network, and obtain an embedding from each layer;
[0018] The embeddings obtained at each layer are concatenated so that the final set of embeddings contains the information of each convolutional layer.
[0019] Furthermore, the fusion function is:
[0020]
[0021] Where σ(·) is a nonlinear function, l represents different meta-paths, P is the number of meta-paths, and b (l) is the node transformation matrix and bias vector of the lth element path, is the embedding of the node.
[0022] Furthermore, the loss function used when the node embedding output by S2 is input into the matrix decomposition model for training is:
[0023]
[0024] in, is the predicted rating of user u for item i, λ is the regularization parameter, Θ (U) and θ (I)are all the parameters in the embedding fusion function g(·) for users and items, respectively.
[0025] Furthermore, the truncation loss function is:
[0026]
[0027] Among them, τ(T) is the dynamic threshold, u and i represent the user-item pair consisting of user u and user i, and L oss(u,i) is the loss value; L oss(u,i) is the discard rate function ∈(T), the discard rate function ∈(T) is as follows:
[0028] ∈(T)=min(αT,∈ max )
[0029] Among them, ∈ max is the upper bound of the drop rate, that is, the maximum drop rate; T is the number of iterations; α is a hyperparameter to adjust the speed at which the maximum drop rate is reached.
[0030] In another aspect, the present invention further provides a recommendation system based on heterogeneous information network and adaptive denoising, the system comprising:
[0031] Model input module, used to preprocess heterogeneous information network datasets to obtain homogeneous graphs;
[0032] An embedding module, used to input the homogeneous graph obtained by the model input module into a three-layer stacked graph convolutional network to learn the embedding of users and items, and fuse the node embeddings of multiple meta-paths using a fusion function;
[0033] An embedding optimization module, used for inputting the node embedding output by the embedding module into a matrix decomposition model for training, and adaptively denoising the node embedding output by the embedding module using a truncation loss function during the training process to remove noise data contained in the node embedding; the truncation loss function ignores noise samples with a dynamic threshold, and the dynamic threshold is automatically updated during the training process;
[0034] The recommendation module is used to perform a dot product operation on the embeddings of all users and items optimized by the embedding optimization module to obtain the predicted scores of the users for the items, and recommend items to the users based on the predicted scores.
[0035] On the other hand, the present invention also provides a computer-readable storage medium, which stores a computer instruction set. When the computer instruction set is executed by a processor, the above-mentioned recommendation method based on heterogeneous information network and adaptive denoising is implemented.
[0036] Compared with the prior art, the present invention has the following beneficial effects:
[0037] In the present invention, the use of heterogeneous information networks as the input of the model can better handle complex inputs, better model the real world, solve the reality that homogeneous information networks cannot simulate, and greatly improve the accuracy of recommendations. At the same time, the present invention adds an adaptive denoising module, which can effectively remove noise in the data set and better retain the valid data of the heterogeneous information network data set. At the same time, with the help of deep graph convolutional neural networks, the accuracy of the recommendation model can be effectively improved, while adapting to a more complex real world. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0039] Figure 1 A schematic diagram of a flow chart of a recommendation method based on a heterogeneous information network and adaptive denoising in an embodiment of the present invention;
[0040] Figure 2 A schematic diagram of a heterogeneous information network data set in an embodiment of the present invention;
[0041] Figure 3 The figure is a schematic diagram of the structure of a recommendation system based on a heterogeneous information network and adaptive denoising in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0043] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0044] The present invention provides a recommendation method and system based on heterogeneous information networks and adaptive denoising. For heterogeneous information networks, a strategy based on metapath random walk is adopted to generate a node network, and then a graph neural network is used to learn the embedding of nodes for the generated node network. Through a graph convolution network with three layers superimposed, the embedding of different nodes can be accurately learned. At the same time, a denoising strategy is creatively added to the training, and a denoising strategy that does not require the introduction of additional data is added to the training of heterogeneous information networks, achieving better performance.
[0045] like Figure 1 As shown, it shows a flowchart of a recommendation method based on a heterogeneous information network and adaptive denoising in an embodiment of the present invention, the method comprising the following steps:
[0046] S1. Preprocessing heterogeneous information network dataset:
[0047] Examples of heterogeneous information network datasets include Figure 2 As shown in FIG. 1 , the heterogeneous information network has many different types of objects: users, books, years, authors, publishers, and the relationships between these objects. For example, users Bob and LIMing belong to Group 1, and users LIMing and Mark belong to Group 2. Bob and LIMing have an association relationship and may be friends or colleagues. LIMing and Mark both like a certain book. The year, author, and publisher of this book are all relevant information.
[0048] Preprocess heterogeneous information network datasets, that is, convert raw data into inputs that can be accepted by deep learning network models, construct new data inputs under meta-paths (i.e., homogeneous graphs), and prepare for embedding generation.
[0049] In the specific implementation, the heterogeneous information network is processed by using the meta-path method, and the heterogeneous information network can be converted into a homogeneous information network through the meta-path. Figure 2In the paper, the UBU (user-book-user) meta-path is used. By randomly walking on the heterogeneous graph, a path based on the semantics of this meta-path can be extracted, such as u1→b1→u2→b2→u4→b3. Then, the remaining nodes that are different from the first node type are deleted, and a path containing only one type of node, u1→u2→u4, can be obtained. This path then contains the semantic information and implicit feedback contained in the UBU meta-path: that is, users who like the same book are likely to have the same hobbies. The essence of the connection between homogeneous nodes is created through heterogeneous neighborhood nodes.
[0050] S2. Node embedding under the generator path:
[0051] Node embedding is a process of mapping graph data (usually high-dimensional sparse matrices) into low-dimensional dense vectors, which can effectively solve the problem that graph data is difficult to efficiently input into machine learning algorithms. The goal of heterogeneous graph embedding is to learn a mapping function Φ∶V→R d , embed all nodes v∈V in the heterogeneous graph into a low-dimensional Euclidean space, where d<<<|V|.
[0052] The homogeneous graph obtained after preprocessing in step S1 is input into a three-layer stacked graph convolutional network to learn the embedding of nodes and output a vector.
[0053] In the specific implementation, the graph Laplacian method is used to learn node embedding from the graph structure. The graph Laplacian method is used to learn the embedding of users and items from the homogeneous graph obtained through the meta-path. Assuming that the homogeneous graph obtained through the UBU meta-path is H, we first need to calculate the graph Laplacian matrix L of the graph H c :
[0054]
[0055] Get L c After the matrix is constructed, the core embedding update function of the HIN embedding part can be given:
[0056] E (m) =σ((L c +I)E (m-1) W o (m) +L c E (m-1) ⊙E (m-1) W n (m) )
[0057] Among them, L c is the input of the model, E (m)is the embedding of users and items after m graph convolution layers, σ(·) is the LeakyReLU activation function often used in graph-based recommendation systems, and I is the identity matrix. W o (m) and W n (m) is a trainable weight matrix, where W o (m) Keep the original information of each user and item embedding, W n (m) Aggregate information from their neighbors. Through a multi-layer graph convolutional network, an embedding is obtained from each layer, and then each E (m) Connect them together so that the final embedding set contains the information of each convolutional layer. Taking the UBU meta-path as an example, assuming that the final embedding of the UBU meta-path is e (1) , after three layers of graph convolution, we get three embeddings: E (1) 、E (2) and E (3) , then we have the following formula:
[0058] e (1) =[E (1) E (2) E (3) ]
[0059] After obtaining the embeddings of users and items of different meta-paths, how to fuse the obtained embeddings is a crucial issue. The fusion function used can directly affect the performance of the final model. Existing studies usually use a linear weighting mechanism to combine information mined from heterogeneous information networks (for example, based on the similarity of meta-paths), which may not be able to obtain effective information representation for recommendation. To this end, a general function g(·) is used in the embodiment of the present invention to fuse the learned node embeddings of users and items:
[0060]
[0061] in and are the final representations of user U and project I, respectively, which are called heterogeneous information network embedding. Since users and projects are the focus of the present invention, only the embedding of users and projects is learned in the present invention. Taking users as an example, the embedding function of projects is similar, and the fusion function g(·) is as follows:
[0062]
[0063] Where σ(·) is a nonlinear function, namely the LeakyReLU function, l represents different meta-paths, and P is the number of meta-paths. and b (l)are the transformation matrix and bias vector of the lth element path. Although only two nonlinear transformations are used in the embodiment of the present invention, it can be flexibly extended to multiple nonlinear layers.
[0064] S3. Optimize embedding using adaptive denoising:
[0065] After passing through the three-layer graph convolutional network, the embedding is then input into the adaptive denoising module, which, combined with the matrix decomposition algorithm, can remove most of the noise data contained in the embedding.
[0066] Adaptive denoising module, which automatically reduces the impact of noise interactions without using any additional data. The characteristics of noise and its impact on the recommendation system are studied by observing the normal training process of different recommendation systems on different datasets. An important observation is that the loss value of noise interactions is larger than that of normal interactions in the early stage of training, while their loss values drop to the same range at the end of training. These results show that: 1) Noise interactions are difficult to adapt to the recommendation system and largely mislead the training objectives in the early stage. One of the reasons is that noise interactions represent items that users actually don’t like, so they are similar to negative samples; 2) The recommendation system eventually fits the noise interactions because of its large capacity and may overfit. In order to reduce the impact of noise interactions, the idea of adaptive denoising is to adaptively prune interactions with large loss values along the training process. Considering that the training process is affected by multiple factors such as model, dataset and initialization, the present invention proposes an adaptive denoising training strategy suitable for recommendation systems, which dynamically reduces large loss interactions during the training process. In order to avoid loss of generality, only the method of calculating loss is corrected. In particular, the present invention designs a truncation loss method to dynamically discard large loss interactions. For each training iteration, the truncated loss ignores large loss samples (i.e., noise samples) with a dynamic threshold that is automatically updated during the training process.
[0067] In order to better build a suitable heterogeneous information network recommendation system, the present invention combines a fusion function, an adaptive denoising strategy and a matrix decomposition framework to learn the parameters of the proposed model, which can effectively improve the accuracy of the recommendation system. The fusion function fuses multiple meta-path embeddings, and then inputs the obtained embeddings into the matrix decomposition model for training. The adaptive denoising strategy is adopted in the training process. The adaptive denoising strategy is a very effective denoising strategy. It has been proved by experiments that the strategy can effectively remove the noise in the data set. Since the noise data generally has a large loss, through this feature, the noise can be selectively removed from the data set. In the embodiment of the present invention, a truncated cross entropy loss function (Truncated Cross-Entropy Loss) is used. The truncated loss is different from the loss function. The truncated loss plays a role in the denoising strategy to remove noise interactions, while the loss function plays a role in training embeddings, and further optimizes the embeddings through the content of the data set. Functionally speaking, the truncated loss (T-Loss for short) discards a larger part of the total loss, and is defined as follows:
[0068]
[0069] Among them, τ is a predefined threshold, u and i represent the user-item pair consisting of user u and user i. Although this simple T-Loss loss is easy to explain and implement, the fixed threshold may not work properly throughout the training process. This is because the loss value decreases with the increase of the number of training iterations. In order to adapt to the overall trend of training loss, a dynamic threshold function τ(T) is used instead of the fixed threshold in the embodiment of the present invention, and the threshold is dynamically changed with the help of the number of iterations T. In addition, since the loss value varies for different data sets, it is more flexible to design it as a discard rate function ∈(T). It should be noted that there is a bijection between the discard rate and the truncation threshold, that is, for any training iteration, once the discard rate is known, the threshold can be calculated to filter out the samples. The discard rate function is as follows:
[0070] ∈(T)=min(αT,∈ max )
[0071] Among them, ∈ max is the upper bound of the drop rate, that is, the maximum drop rate; T is the number of iterations; α is a hyperparameter to adjust the speed of reaching the maximum drop rate. Please note that in the embodiment of the present invention, the drop rate is increased linearly instead of more complex functions such as polynomial functions or logarithmic functions. Although these functions have stronger expressiveness, they will inevitably increase the number of hyperparameters and increase the cost of model tuning.
[0072] Since the embodiment of the present invention focuses on implicit feedback, the fusion function and the matrix decomposition method are combined, and the loss function is defined as follows:
[0073]
[0074] in, is the predicted rating of user u for item i. λ is the regularization parameter, Θ (U) and θ (I) are all parameters in the embedding fusion function g(·) of the user and the item respectively. In the embodiment of the present invention, stochastic gradient descent is used to optimize the loss function.
[0075] S4. Recommend to each user:
[0076] After S3, we get the embeddings of all users and items. Through a simple dot product operation, we can get the predicted score of user u for item i, so as to make effective recommendations.
[0077] In the embodiment of the present invention, a heterogeneous information network is used as the input of the model, which can better handle complex inputs, better model the real world, solve the reality that homogeneous information networks cannot simulate, and greatly improve the accuracy of recommendations. The addition of an adaptive denoising module can effectively remove the noise in the data set and better retain the valid data of the heterogeneous information network data set. At the same time, with the assistance of a deep graph convolutional neural network, the accuracy of the recommendation model can be effectively improved while adapting to a more complex real world. It solves the problem that most current recommendation systems only focus on recommendation accuracy. It can not only change the recommendation effect of the model from the perspective of the data set, but also because the denoising module is added, the time complexity of the model becomes lower, and it can be effectively applied in actual industrial environments.
[0078] Corresponding to the recommendation method based on heterogeneous information network and adaptive denoising in the present invention, the present invention also provides a recommendation system based on heterogeneous information network and adaptive denoising, such as Figure 3 As shown, the system includes:
[0079] Model input module, used to preprocess heterogeneous information network datasets to obtain homogeneous graphs;
[0080] An embedding module, used to input the homogeneous graph obtained by the model input module into a three-layer stacked graph convolutional network to learn the embedding of users and items, and fuse the node embeddings of multiple meta-paths using a fusion function;
[0081] An embedding optimization module, used for inputting the node embedding output by the embedding module into a matrix decomposition model for training, and adaptively denoising the node embedding output by the embedding module using a truncation loss function during the training process to remove noise data contained in the node embedding; the truncation loss function ignores noise samples with a dynamic threshold, and the dynamic threshold is automatically updated during the training process;
[0082] The recommendation module is used to perform a dot product operation on the embeddings of all users and items optimized by the embedding optimization module to obtain the predicted scores of the users for the items, and recommend items to the users based on the predicted scores.
[0083] For a recommendation system based on a heterogeneous information network and adaptive denoising in an embodiment of the present invention, since it corresponds to a recommendation method based on a heterogeneous information network and adaptive denoising in the above embodiment, the description is relatively simple. For relevant similarities, please refer to the description of a recommendation method based on a heterogeneous information network and adaptive denoising in the above embodiment, which will not be described in detail here.
[0084] An embodiment of the present invention further discloses a computer-readable storage medium, which stores a computer instruction set. When the computer instruction set is executed by a processor, it implements the recommendation method based on heterogeneous information network and adaptive denoising as provided in any of the above embodiments.
[0085] In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0086] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0087] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0088] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0089] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A recommendation method based on heterogeneous information network and adaptive denoising, It is characterized in that The method comprises: S1. Preprocess the heterogeneous information network dataset to obtain a homogeneous graph, including: Using meta-paths, by randomly walking on the heterogeneous graph, a path based on the semantics of the meta-paths is extracted; Delete the remaining nodes that are different from the first node type, and obtain a path containing only one type of nodes, forming a homogeneous graph; S2, input the homogeneous graph obtained after S1 preprocessing into the three-layer stacked graph convolutional network to learn node embedding, and use the fusion function to fuse the node embeddings of multiple meta-paths; S3, input the node embedding output by S2 into the matrix decomposition model for training, and use the truncation loss function to adaptively denoise the node embedding output by S2 during the training process to remove the noise data contained in the node embedding; the truncation loss function ignores the noise samples with dynamic thresholds, and the dynamic thresholds are automatically updated during the training process; the truncation loss function is: in, is the dynamic threshold, and Representative User and users The user-item pairs are composed of is the loss value; is the discard rate function , the discard rate function as follows: in, It is the upper bound of the discard rate, that is, the maximum discard rate; is the number of iterations; is a hyperparameter that adjusts how quickly the maximum dropout rate is reached; S4: After S3, embeddings of all users and items are obtained. Through dot product operation, the predicted scores of users for items are obtained, and items are recommended to users based on the predicted scores.
2. A recommendation method based on heterogeneous information network and adaptive denoising according to claim 1, It is characterized in that The homogeneous graph obtained after S1 preprocessing is input into a three-layer stacked graph convolutional network to learn the embedding of users and items including: Calculate the graph Laplacian matrix of the homogeneous graph obtained by S1; Input the graph Laplacian matrix into a three-layer stacked graph convolutional network, and obtain an embedding from each layer; The embeddings obtained at each layer are concatenated so that the final set of embeddings contains the information of each convolutional layer.
3. A recommendation method based on heterogeneous information network and adaptive denoising according to claim 2, It is characterized in that The fusion function is: in is a nonlinear function, Represents different meta-paths, is the number of meta-paths, and For the The node transformation matrix and bias vector of the element path, is the embedding of the node.
4. The recommendation method based on heterogeneous information network and adaptive denoising according to claim 1, It is characterized in that The loss function used when the node embedding output by S2 is input into the matrix decomposition model for training is: in, Is a user About Project The prediction score of is the regularization parameter, and are the embedding fusion functions of users and items respectively. All parameters in .
5. A recommendation system based on heterogeneous information network and adaptive denoising, It is characterized in that The system comprises: The model input module is used to preprocess the heterogeneous information network data set to obtain a homogeneous graph, including: Using meta-paths, by randomly walking on the heterogeneous graph, a path based on the semantics of the meta-paths is extracted; Delete the remaining nodes that are different from the first node type, and obtain a path containing only one type of nodes, forming a homogeneous graph; An embedding module, used to input the homogeneous graph obtained by the model input module into a three-layer stacked graph convolutional network to learn the embedding of users and items, and fuse the node embeddings of multiple meta-paths using a fusion function; The embedding optimization module is used to input the node embedding output by the embedding module into the matrix decomposition model for training. During the training process, the node embedding output by the embedding module is adaptively denoised using a truncation loss function to remove the noise data contained in the node embedding. Noise samples with a dynamic threshold are ignored in the truncation loss function, and the dynamic threshold is automatically updated during the training process. The truncation loss function is: in, is the dynamic threshold, and Representative User and users The user-item pairs are composed of is the loss value; is the discard rate function , the discard rate function as follows: in, It is the upper bound of the discard rate, that is, the maximum discard rate; is the number of iterations; is a hyperparameter that adjusts how quickly the maximum dropout rate is reached; The recommendation module is used to perform a dot product operation on the embeddings of all users and items optimized by the embedding optimization module to obtain the predicted scores of the users for the items, and recommend items to the users based on the predicted scores.
6. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer instruction set, and when the computer instruction set is executed by the processor, the recommendation method based on heterogeneous information network and adaptive denoising as provided in any one of claims 1 to 4 is implemented.
