Cross-domain recommendation method applied to knowledge transfer

By identifying and utilizing similar users in the source domain and target domain to perform knowledge transfer and similarity calculation driven by graph neural networks, it solves the problem of traditional cross-domain recommendation systems ignoring non-overlapping users and improves the performance and accuracy of the recommendation system. Achieved better personalized recommendation effect.

CN118568336APending Publication Date: 2024-08-30YANSHAN UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410518791.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-26
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

When traditional cross-domain recommendation systems utilize the migrated knowledge of shared overlapping users, they may ignore users who are similar to but not overlapping users in the target domain, resulting in limited recommendation effects, and the data sparsity and cold start problems have not yet been fully resolved.

Method used

By identifying similar users in the source domain and target domain, graph neural networks are used for intra-domain knowledge transfer, and user similarity matrices are calculated to promote knowledge transfer between users and combine intra-domain and cross-domain information for personalized recommendations.

Benefits of technology

It improves the performance and accuracy of the recommendation system, reduces the transfer of harmful knowledge, retains the user's interests and interest drift information in specific fields, and improves the recommendation effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568336A
    Figure CN118568336A
Patent Text Reader

Abstract

The invention discloses a cross-domain recommendation method applied to knowledge transfer, which belongs to the field of recommendation systems and comprises the steps of data acquisition, construction of a user-project interaction graph, intra-domain knowledge transfer, calculation of user similarity of a source domain and a target domain, cross-domain knowledge transfer and recommendation for users by utilizing a model. According to the method, information of overlapped users is utilized, knowledge migration is carried out by utilizing non-overlapped users, potential preferences of the users are deeply mined, and the performance of a recommendation system is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of recommendation systems, and in particular to a cross-domain recommendation method for knowledge transfer. Background Art

[0002] Nowadays, the amount of information on the Internet is exploding, and people are facing an unprecedented problem of information overload. In this era of information overload, users often find it difficult to find content of interest from a large amount of information. Therefore, recommendation systems have become an important way to solve the problem of information overload. Recommendation systems use algorithms and technologies to analyze massive amounts of user behavior data and item information to provide users with personalized information recommendations and help users efficiently obtain the content they need. The challenges faced by traditional recommendation systems mainly include data sparsity and cold start problems. In response to these challenges, researchers have proposed various solutions and technical means to improve the performance and effectiveness of recommendation systems.

[0003] Collaborative filtering fills in the gaps in data by analyzing the behavioral similarities between users. In a recommendation system, the behavioral data between users often show certain similarities, that is, if two users show similar preferences and behavior patterns in their past behaviors, they may also have similar preferences in the future. Collaborative filtering algorithms can use this similarity to predict the preferences of target users based on the behaviors of a group of users that are most similar to the target user's behaviors, thereby filling in the gaps in data and improving the accuracy of recommendations. For example, NeuMF (Neural Matrix Factorization) combines the advantages of neural networks and matrix decomposition, uses neural network models to learn the feature representations of users and items, and improves the accuracy and personalization of recommendation systems through the combination of cross-feature learning and model output. However, recommendations based on collaborative filtering still have data coefficient and cold start problems.

[0004] Cross-domain recommendation systems provide an effective way to solve the data sparsity and cold start problems. By integrating data and knowledge from different fields, cross-domain recommendation systems can utilize the correlation information between fields and the idea of ​​transfer learning. When there is a lack of data or information in the target field, the existing knowledge in other fields can be used to improve the recommendation performance. This method can effectively make up for the lack of information caused by data sparsity and provide a more reliable recommendation solution when facing a cold start scenario in a new field. Common cross-domain recommendations span different fields by sharing the behavioral data of overlapping users or the attribute information of items, thereby using existing knowledge to help recommendations in new fields. However, this ability to transfer knowledge that relies on sharing overlapping users is often limited in actual application scenarios because it may ignore users who are similar to users in the target domain but do not overlap. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a cross-domain recommendation method for knowledge transfer, design a new knowledge transfer mechanism, and promote the dual improvement of the recommendation performance of the source domain and the target domain by identifying similar users in the source domain in the target domain and similar users in the target domain in the source domain.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: a cross-domain recommendation method applied to knowledge transfer, the specific steps are as follows:

[0007] Step 1: Data acquisition: Analyze the historical interaction datasets of the source domain and the target domain respectively, obtain the overlapping users of the two domains, and then extract the user-item interaction data of the two domains based on the overlapping users;

[0008] Step 2: Construct user-item interaction graph: Use the extracted historical user-item interaction data to construct the user-item interaction graph of the source domain and the target domain. If the user and the item have historical interaction records, the edge weight between the user and the item is 1; if there is no historical interaction data between the user and the item, the edge weight between the user and the item is 0.

[0009] Step 3: Intra-domain knowledge transfer: Use graph neural networks to transfer knowledge in the source domain and target domain respectively; that is, transfer project knowledge to user information representation, and transfer user knowledge to project information representation;

[0010] Step 4: Calculate the similarity between source domain and target domain users: Use neural networks to calculate the similarity matrix between source domain and target domain users to prepare for cross-domain knowledge transfer;

[0011] Step 5: Cross-domain knowledge transfer: The source domain-target domain user similarity matrix reflects the similarity between the source domain users and the target domain users. This matrix is ​​used as an intermediary to promote the knowledge transfer between users, and finally the final user representation is obtained by integrating cross-domain information.

[0012] Step 6: Use the model to make recommendations for users: perform dot product calculations on the final user representation and item representation, calculate the user's interest in the item, extract items that the user is more interested in, and make personalized recommendations for the user.

[0013] A further improvement of the technical solution of the present invention is that step 3 is specifically expressed as follows:

[0014]

[0015] In equations (1) to (2), A=A+I represents a user-item interaction matrix containing self-loops, represents the inverse matrix of the degree matrix A, represents the item feature matrix of l-1, represents the user feature matrix after updating at layer l; and Same reason.

[0016] A further improvement of the technical solution of the present invention is that in step 4, a neural network is used to calculate the similarity matrix of the source domain and the target domain users as follows:

[0017]

[0018] In formula (3), f represents a trainable neural network, and They represent the user feature matrices of the source domain and target domain after intra-domain knowledge transfer, respectively.

[0019] 4. According to claim 1, a cross-domain recommendation method for knowledge transfer is characterized in that: the knowledge transfer in step 5 is specifically as follows: using the obtained source domain-target domain user similarity matrix, the knowledge of users in the source domain similar to the target domain is transferred to the target domain to enrich the user representation of the target domain. Similarly, the knowledge of users in the target domain similar to the source domain is transferred to the source domain. The specific aggregation representation is as follows:

[0020]

[0021] In equations (4) and (5), S r and S c They represent the row-based normalized matrix and column-based normalized matrix, respectively. represents the user feature matrix obtained from the source domain after knowledge transfer within the domain, represents the user feature matrix obtained by the target domain after knowledge transfer within the domain, and They are the user feature matrices of the source domain and the target domain obtained through cross-domain knowledge transfer.

[0022] The further improvement of the technical solution of the present invention is that: Step 6 is specifically as follows: dot product calculation is performed on the user representation after intra-domain knowledge transfer and cross-domain knowledge transfer and the project representation after intra-domain knowledge transfer, the user's interest in the project is calculated, and the top-10 projects with high user interest are taken out to recommend the project. The user's interest in each project is expressed as:

[0023]

[0024] In formula (6), r uv represents the true value label, y(u,v) is the user's actual interest in the project, x u is the final user representation after cross-domain knowledge transfer, x vis the item representation after the knowledge transfer in the domain, σ() is the softmax activation function, The result is mapped to (0,1).

[0025] Due to the adoption of the above technical solution, the technical progress achieved by the present invention is: due to the phenomenon of user interest drift, users may show completely different preferences in different fields, resulting in harmful transfer of interests in specific fields to other fields. The present invention uses a neural network to calculate the user similarity of the source domain and the target domain, obtains similar users of the target domain in the source domain, and only transfers similar users when performing cross-domain knowledge transfer, thereby reducing the transfer of harmful knowledge and improving the recommendation effect. By integrating intra-domain user information with cross-domain user information, both the user's interest in a specific field and the user's interest drift information are retained, thereby improving the recommendation effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] 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 only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.

[0027] Figure 1 It is a flowchart of the cross-domain recommendation method of the present invention;

[0028] Figure 2 It is a schematic diagram of the architecture of the cross-domain recommendation model of the present invention; DETAILED DESCRIPTION

[0029] The present invention is further described in detail below in conjunction with embodiments:

[0030] like Figure 1 As shown, a cross-domain recommendation method for knowledge transfer of the present invention is shown, and the specific steps are as follows:

[0031] Step 1: Data acquisition: Analyze the historical interaction datasets of the source domain and target domain respectively, obtain the overlapping users of the two domains, and then extract the user-item interaction data of the two domains based on the overlapping users; in cross-domain recommendation, the source domain refers to the domain with a large amount of data or features, which is usually used to train the model. The target domain refers to the domain on which we need to make predictions or recommendations, which usually has different data or features from the source domain.

[0032] Step 2: Construct user-item interaction graph: Use the historical user-item interaction data extracted from the user to construct the user-item interaction graph A of the source domain and the target domain respectively. That is, in the user-item interaction graph, if the user and the item have historical interaction records, the edge weight between the user and the item is 1; if there is no historical interaction data between the user and the item, the edge weight between the user and the item is 0;

[0033] Step 3: Intra-domain knowledge transfer: Use graph neural networks to transfer knowledge in the source domain and target domain respectively. Since the model structure of LightGCN is relatively simple and has fewer parameters, it is very fast in training and reasoning. Therefore, the graph neural network architecture of the present invention adopts the LightGCN architecture; that is, the project knowledge is transferred to the user information representation, and the user knowledge is transferred to the project information representation. The specific representation is as follows:

[0034]

[0035] In equations (1) to (2), A=A+I represents a user-item interaction matrix containing self-loops, represents the inverse matrix of the degree matrix A, represents the item feature matrix of l-1, represents the user feature matrix after updating at layer l, represents the user feature matrix of l-1, Represents the item feature matrix after updating at layer l.

[0036] Step 4: Calculate user similarity: Using a neural network, in the present invention, we use a d×d fully connected layer, where d represents the dimension of the user feature matrix, to calculate the similarity matrix S of the source domain and target domain users, as shown in the following formula:

[0037]

[0038] In formula (3), f represents a trainable neural network. Here, f is a d×d fully connected layer. and Respectively represent the user feature matrices of the source domain and the target domain after intra-domain knowledge transfer, preparing for cross-domain knowledge transfer.

[0039] Step 5: Cross-domain knowledge transfer: The source domain-target domain user similarity matrix reflects the similarity between the source domain users and the target domain users. This matrix is ​​used as an intermediary to promote the knowledge transfer of users between domains, and finally the final user representation is obtained by integrating cross-domain information. The specific knowledge transfer is as follows: using the obtained source domain-target domain user similarity matrix S, the knowledge of users in the source domain similar to the target domain is transferred to the target domain to enrich the user representation of the target domain. Similarly, the knowledge of users in the target domain similar to the source domain is transferred to the source domain. The specific aggregation representation is as follows:

[0040]

[0041] In equations (4) and (5), S r and S c They represent the row-based normalized matrix and column-based normalized matrix, respectively. represents the user feature matrix obtained from the source domain after knowledge transfer within the domain, represents the user feature matrix obtained by the target domain after knowledge transfer within the domain, and They are the user feature matrices of the source domain and the target domain obtained through cross-domain knowledge transfer.

[0042] Step 6: Use the model to make recommendations for users. The model structure is as follows: Figure 2 As shown in the figure, the model consists of three parts: intra-domain knowledge transfer, inter-domain knowledge transfer, and model prediction. The user-item interaction graph of the source domain and the target domain is used as input. After intra-domain knowledge transfer and inter-domain knowledge transfer, items are recommended to users: the final user representation and item representation are dot-producted, the user's interest in the item is calculated, and the items with high user interest are taken out to make personalized recommendations for users. The details are as follows: the user representation after intra-domain knowledge transfer and cross-domain knowledge transfer is dot-producted with the item representation after intra-domain knowledge transfer, the user's interest in the item is calculated, and the top-10 items with high user interest are taken out to recommend items. The user's interest in each item is expressed as:

[0043]

[0044] In formula (6), r uv represents the true value label, y(u,v) is the user's actual interest in the project, x u is the final user representation after cross-domain knowledge transfer, x v is the item representation after the knowledge transfer in the domain, σ() is the softmax activation function, The result is mapped to (0,1).

[0045] The embodiments described above are merely descriptions of preferred implementation modes of the present invention, and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. A cross-domain recommendation method for knowledge transfer, characterized in that: The specific steps are as follows: Step 1: Data acquisition: Analyze the historical interaction datasets of the source domain and the target domain respectively, obtain the overlapping users of the two domains, and then extract the user-item interaction data of the two domains based on the overlapping users; Step 2: Construct user-item interaction graph: Use the extracted historical user-item interaction data to construct user-item interaction graphs for the source domain and target domain respectively. If a user has a historical interaction record with an item, the edge weight between the user and the item is 1; if there is no historical interaction data between the user and the item, the edge weight between the user and the item is 0. Step 3: Intra-domain knowledge transfer: Use graph neural networks to transfer knowledge in the source domain and target domain respectively; that is, transfer project knowledge to user information representation, and transfer user knowledge to project information representation; Step 4: Calculate the similarity between source domain and target domain users: Use neural networks to calculate the similarity matrix between source domain and target domain users to prepare for cross-domain knowledge transfer; Step 5: Cross-domain knowledge transfer: The source domain-target domain user similarity matrix reflects the similarity between source domain users and target domain users. This matrix is ​​used as an intermediary to promote the knowledge transfer between domains. Finally, the final user representation is obtained by integrating intra-domain information and cross-domain information. Step 6: Use the model to make recommendations for users: perform dot product calculations on the final user representation and item representation, calculate the user's interest in the item, extract items that the user is more interested in, and make personalized recommendations for the user.

2. The cross-domain recommendation method for knowledge transfer according to claim 1, characterized in that: The step 3 is specifically expressed as follows: In equations (1) to (2), A=A+I represents a user-item interaction matrix containing self-loops, represents the inverse matrix of the degree matrix A, represents the item feature matrix of l-1, represents the user feature matrix after updating at layer l; represents the user feature matrix of l-1, Represents the item feature matrix after updating at layer l.

3. The cross-domain recommendation method for knowledge transfer according to claim 1, characterized in that: In step 4, a neural network is used to calculate the similarity matrix of the source domain and the target domain users as follows: In formula (3), f represents a trainable neural network, and They represent the user feature matrices of the source domain and target domain after intra-domain knowledge transfer, respectively.

4. The cross-domain recommendation method for knowledge transfer according to claim 1, characterized in that: The knowledge transfer in step 5 is specifically as follows: using the similarity matrix of the source domain and the target domain users, the knowledge of users in the source domain similar to the target domain is transferred to the target domain to enrich the user representation of the target domain. Similarly, the knowledge of users in the target domain similar to the source domain is transferred to the source domain. The specific aggregation representation is as follows: In equations (4) and (5), S r and S c They represent the row-based normalized matrix and column-based normalized matrix, respectively. represents the user feature matrix obtained from the source domain after knowledge transfer within the domain, represents the user feature matrix obtained by the target domain after knowledge transfer within the domain, and They are the user feature matrices of the source domain and the target domain obtained through cross-domain knowledge transfer.

5. The cross-domain recommendation method for knowledge transfer according to claim 1, characterized in that: The step 6 is specifically as follows: dot product calculation is performed on the user representation after intra-domain knowledge transfer and cross-domain knowledge transfer and the project representation after intra-domain knowledge transfer, the user's interest in the project is calculated, and the top 10 projects with high user interest are taken out to recommend the project. The user's interest in each project is expressed as: In formula (6), r uv represents the true value label, y(u,v) is the user's actual interest in the project, x u is the final user representation after cross-domain knowledge transfer, x v is the item representation after the knowledge transfer in the domain, σ() is the softmax activation function, The result is mapped to (0,1).

Citation Information

Cited By

  • Cross-domain recommendation method based on adaptive deentanglement

    CN120166141A

  • A Cross-Domain Recommendation Method Based on Adaptive Deentanglement

    CN120166141B