Domain-adaptive cross-domain data collaborative item recommendation algorithm without overlapping entities
Through the domain-adaptive non-overlapping entity cross-domain collaborative recommendation method, combined with graph regularization and maximum distribution difference regularization terms, the problem of data distribution inconsistency in cross-domain recommendation is solved, and efficient knowledge transfer and recommendation performance improvement are achieved, especially Suitable for scenarios with sparse data.
Patent Information
- Application Number
- CN202210331609.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-03-30
AI Technical Summary
Existing cross-domain recommendation methods fail to effectively consider the inconsistency of data distribution between domains, resulting in inconsistent knowledge transfer. Especially in the case of no overlapping entities, it is difficult to achieve efficient recommendation performance.
A domain-adaptive non-overlapping entity cross-domain collaborative recommendation method is adopted to construct user and item graphs by preprocessing target and auxiliary domain data. Combined with graph regularization terms and maximum distribution difference regularization terms, joint matrix three decompositions are performed to optimize the objective function. In order to obtain the shared cluster-level preference level parameter pattern, reconstruct the user-item matrix of the target field data, and implement recommendations.
In the scenario of non-intersecting users and items, it ensures the consistency of knowledge transfer and improves the recommendation performance of data in the target field. Especially in the case of sparse data, it significantly improves the accuracy and efficiency of recommendations.
Smart Images

Figure CN114707078B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of cross-domain recommendation algorithms and is a method for recommending cross-domain data, and in particular, relates to a domain-adaptive cross-domain data collaborative item recommendation algorithm without overlapping entities. Background Art
[0002] With the rapid development of information technology, the content on e-commerce websites (such as Amazon, JD.com, and Taobao), online video websites (such as Tencent Video, iQiyi, and Youku), music websites (such as NetEase Cloud Music and QQ Music), and news websites (such as Toutiao and Tencent News) has grown exponentially, and people's demand for efficient and real-time recommendations has become increasingly strong. Personalized recommendation systems aim to provide users with personalized online product or service recommendations to solve the increasingly serious problem of information overload. Collaborative filtering technology is one of the most popular methods in recommendation systems due to its simplicity and efficiency. It predicts the preference level parameters of test users for new items based on the preference level parameters collected from other like-minded users. Matrix decomposition has become one of the most popular methods in collaborative filtering technology because it can learn the potential characteristics of users and items.
[0003] However, it also suffers from the problem of data sparsity. The data scarcity problem arises because most users tend to give preference rating parameters to only a small number of the items they like. As a solution, cross-domain recommendation systems transfer knowledge from auxiliary domain data with relatively rich data to assist recommendations in target domain data. Most existing cross-domain recommendation methods assume that overlapping entities are shared between domains and use this as a bridge for cross-domain knowledge transfer. However, this assumption is not universally true. For example, the items on movie websites and book websites are completely different, and they are also difficult to share overlapping users due to commercial privacy policies. In this scenario, existing cross-domain recommendation methods rarely consider the inconsistency of data distribution between domains, but directly transfer the cluster-level knowledge learned from the auxiliary domain data to the target domain data, which cannot guarantee the consistency of knowledge transfer. For example, codebook transfer (CBT) directly transfers the cluster-level preference rating parameter pattern (i.e., codebook) extracted from the auxiliary domain data to the target domain data. The Rating Matrix Generative Model (RMGM)
[15] extends the CBT method by relaxing the hard membership constraints of user / item groups into soft membership constraints, thereby avoiding the full matrix restriction. Cluster-Level based Latent Factor Model (CLFM) assumes that some cluster-level user-item preference rating parameter patterns can be shared across multiple related domains. This method can transfer knowledge from multiple different auxiliary domain data to target domain data.
[0004] However, none of these methods consider the inconsistency of data distribution between domains, which may lead to inconsistent knowledge transfer. Therefore, how to achieve consistent knowledge transfer when there are no overlapping entities shared between domains is a problem faced by cross-domain recommendation systems. Summary of the invention
[0005] In order to solve the problems existing in the background, the present invention provides a cross-domain collaborative recommendation method based on domain adaptation without overlapping entities, aiming at the problem of inconsistent knowledge transfer caused by the fact that the current cross-domain recommendation method does not consider the data distribution differences between domains. The present invention does not require the intersection between users or items of the auxiliary and target domain data, and can still obtain higher recommendation performance when the target domain data is extremely sparse.
[0006] The technical solution adopted by the present invention to solve the technical problem is as follows:
[0007] 1) Obtain the user-item preference matrix R of the target domain data by preprocessing the target domain data t and the user-item indicator matrix Yt , select the domain associated with the target domain data as the auxiliary domain data, and obtain the user-item preference matrix R of the auxiliary domain data by preprocessing the auxiliary domain data a and the user-item indicator matrix Y a ;
[0008] The target domain data and the auxiliary domain data both contain preference data between users and items, and have the same category for the classification of items. The auxiliary domain data and the target domain data are obtained and established in different fields or different scenarios, and the auxiliary domain data is associated with the target domain data, which means that they have the same category for the classification of items.
[0009] For example, the target domain data is a preference database between a user and a book item, and the auxiliary domain data is a preference database between a user and a movie item. The book items and the movie items have similar categories such as adventure, life story, etc. But it is not limited thereto.
[0010] User-item preference matrix R t It contains the preference level parameters of each user for each item, which represents the user's preference for the item. Usually, different values of the preference level parameters are set according to the user's preference priority for the item. The larger the value of the preference level parameter, the higher the user's preference for the item.
[0011] User-item indicator matrix Y t The preference setting state parameter of each user for each item is included, which indicates whether the user has set the preference for the item. Generally, if the user has set the preference for the item, the preference setting state parameter is 1; if the user has not set the preference for the item, the preference setting state parameter is 0.
[0012] 2) Based on the user-item preference matrix R of the target domain data t and the user-item preference matrix R of auxiliary domain data a , process to obtain the similarity matrix between users and items in the target domain data and And the similarity matrix between users and items in the auxiliary domain data and
[0013] 3) Construct the user graph of the target domain data based on the similarity matrices obtained in step 2) and item map and user graphs for auxiliary domain data and item map
[0014] 4) Based on the user graph and item graph of the target domain data and the auxiliary domain data, an objective function with a graph regularization term is established. The objective function is solved to obtain the joint matrix three-factorization optimization framework that integrates domain adaptive processing and graph regularization terms, and the optimal cluster-level preference level parameter pattern matrix S shared between domain data and the user implicit preference matrix U of the target domain data are obtained. t , the user implicit preference matrix U of auxiliary domain data a The three parameter matrices of ;
[0015] 5) The product of the three parameter matrices obtained in step 4) To reconstruct the user-item preference matrix R of the target domain data t Obtain the user-item recommendation matrix and realize the user-item preference matrix R for the target domain data t The missing values in are predicted, and finally the elements in the user-item recommendation matrix are used to recommend items to users.
[0016] The step 2) is specifically as follows:
[0017] 2.1) User-item preference matrix R for target domain data t , use its row vector and column vector to calculate the cosine similarity matrix between users The cosine similarity matrix between As shown below:
[0018]
[0019]
[0020] Among them, ⊙ represents the element-wise multiplication of matrices, Indicates element-wise division of matrices, I m,n represents an m×n matrix where every element is 1, M t Represents the number of users in the target domain data (i.e., R t The number of rows), N t Represents the number of items in the target domain data (i.e., R t The number of columns), T represents the matrix transpose;
[0021] 2.2) User-item preference matrix R for auxiliary domain data a , use its row vector and column vector to calculate the cosine similarity matrix between users The cosine similarity matrix between As shown below:
[0022]
[0023]
[0024] Among them, (R a ) ik Represents the user-item preference matrix R a The element in the i-th row and k-th column in , that is, the preference level parameter of the i-th user for the k-th item in the auxiliary domain data.
[0025] The step 3) specifically includes:
[0026] 3.1) The user graph of the target domain data is obtained according to the following formula:
[0027]
[0028] In the above formula, is the diagonal matrix of the user graph of the target domain data, which is the cosine similarity matrix between users of the target domain data The row-wise sum is obtained as the diagonal elements;
[0029] Diagonal Matrix The i-th diagonal element of is obtained by the following formula:
[0030]
[0031] in,() ij Represents the element in the i-th row and j-th column of the matrix.
[0032] 3.2) The item graph of the target domain data is obtained according to the following formula:
[0033]
[0034] In the above formula, is the diagonal matrix of the object graph of the target domain data, which is the cosine similarity matrix between the objects in the target domain data The row-wise sum is obtained as the diagonal elements;
[0035] Diagonal Matrix The i-th diagonal element of is obtained by the following formula:
[0036]
[0037] in,() ij Represents the element in the i-th row and j-th column of the matrix.
[0038] 3.3) The user graph of auxiliary domain data is obtained according to the following formula:
[0039]
[0040] In the above formula, is the diagonal matrix of the user graph of the auxiliary domain data, which is the cosine similarity matrix between users of the auxiliary domain data The row-wise sum is obtained as the diagonal elements;
[0041] Diagonal Matrix The i-th diagonal element of is obtained by the following formula:
[0042]
[0043] in,() ij Represents the element in the i-th row and j-th column of the matrix.
[0044] 3.4) The item graph of auxiliary field data is obtained according to the following formula:
[0045]
[0046] In the above formula, is the diagonal matrix of the item graph of the auxiliary domain data, which is the cosine similarity matrix between the items in the auxiliary domain data The row-wise sum is obtained as the diagonal elements.
[0047] Diagonal Matrix The i diagonal elements of are obtained by processing according to the following formula:
[0048]
[0049] in,() ij Represents the element in the i-th row and j-th column of the matrix.
[0050] The step 4) is specifically as follows:
[0051] 4.1) The target domain data and auxiliary domain data share the cluster-level preference level parameter model to optimize the target preference matrix R t and the auxiliary preference matrix R a Perform a joint matrix tri-decomposition, add a graph regularization term for the user graph and item graph of the target domain data and the auxiliary domain data, integrate it into the objective function, and then establish the following objective function to avoid negative transfer, which is expressed as follows:
[0052]
[0053] In the above formula, J represents the objective function, S is the cluster-level preference level parameter pattern matrix shared between domain data, and U t Represents the user implicit preference matrix of the target domain data, U a Represents the user implicit preference matrix of auxiliary domain data, V tRepresents the implicit feature matrix of the items in the target domain data, V a Represents the item implicit feature matrix of auxiliary domain data; α U and α V are the user regularization parameter and item regularization parameter of the alignment domain distribution, Y t and Y a The user-item preference matrix R represents the target domain data and auxiliary domain data respectively t and R a The indicator matrix of whether the preference level parameter in is observed, ⊙ represents the element-wise multiplication of the matrix, λ is the trade-off parameter used to represent the confidence of the auxiliary data, ||·|| F is the Frobenius norm, β U and β V are the user graph regularization parameters and item graph regularization parameters respectively, MMD(U a ,U t ) is the difference in feature distribution between auxiliary and target domain data, MMD(V a ,V t ) is the difference in feature distribution of items between auxiliary and target domain data; represents the graph regularization term of the target domain data user graph, represents the graph regularization term of the target domain data item graph, represents the graph regularization term of the auxiliary domain data user graph, A graph regularization term representing the auxiliary domain data item graph;
[0054] 4.2) The alternating minimization algorithm is used to optimize the objective function and obtain the optimal cluster-level preference level parameter pattern matrix S shared between domain data and the user implicit preference matrix U of the target domain data. t , the user implicit preference matrix U of auxiliary domain data a , the implicit feature matrix V of the target domain data t And the item implicit feature matrix V of auxiliary domain data a .
[0055] In the present invention, u represents a user, v represents an object, t represents target domain data, and a represents auxiliary domain data.
[0056] The objective function established by the present invention can reduce the distribution differences between fields, ensure the consistency of data migration, and avoid negative migration.
[0057] The user's feature distribution difference MMD (U a ,U t ) is calculated according to the following formula:
[0058]
[0059]
[0060]
[0061] In the above formula, M t and M a Represent the number of users in the target domain data and auxiliary domain data, U a,t Represents the user implicit preference matrix U of the target domain data t and the user implicit preference matrix U of auxiliary domain data a Vertical connection, H u is the user's maximum mean discrepancy matrix MMD (Maximum Mean Discrepancy), I m,n represents an m×n matrix whose elements are all 1, ()i represents the i-th row of the matrix, ||·|| 2 represents the square of the vector's two-norm;
[0062] The feature distribution difference MMD (V a ,V t ) is calculated according to the following formula:
[0063]
[0064]
[0065]
[0066] In the above formula, N a and N t Respectively represent the number of items in the target domain data and the auxiliary domain data, V a,t Represents the implicit feature matrix V of the items in the target domain data t And the item implicit feature matrix V of auxiliary domain data a Vertical connection, H v is the item MMD matrix.
[0067] The characteristic distribution difference MMD (U a ,U t ) and feature distribution difference MMD(V a ,V t ) can also be calculated using block matrix multiplication as follows:
[0068]
[0069]
[0070] Here, tr(·) represents the trace of the matrix.
[0071] The graph regularization term of the user graph of the target domain data and the graph regularization term for the item graph Graph regularization term for user graph with auxiliary domain data and the graph regularization term for the item graph The build is as follows:
[0072]
[0073]
[0074]
[0075]
[0076] In the above formula, tr(·) represents the trace of the matrix; U t is the user implicit preference matrix in the target domain data, V t is the implicit feature matrix of items in the target domain data, U a is the user implicit preference matrix in the auxiliary domain data, V a is the implicit feature matrix of items in the auxiliary domain data.
[0077] In the above 4.2), specifically, MMD(U a ,U t )、MMD(V a ,V t ), and The specific expression of is brought into the objective function, and the final optimization objective function is as follows:
[0078]
[0079] In the above formula, η is a regularization parameter used to control overfitting.
[0080] Then, the alternating minimization algorithm is used to optimize the optimal objective function. The cluster-level preference level parameter pattern matrix S shared between domain data and the user implicit preference matrix U of the target domain data are t , the user implicit preference matrix U of auxiliary domain data a , the implicit feature matrix V of the target domain data t And the item implicit feature matrix V of auxiliary domain data aAmong the five parameter matrices, each iteration optimizes and updates all element values of one of the parameter matrices while fixing all element values of the remaining parameter matrices, and repeats the cycle until convergence.
[0081] The iterative optimization update formula of the five parameter matrices is as follows:
[0082]
[0083]
[0084]
[0085]
[0086]
[0087]
[0088]
[0089]
[0090]
[0091]
[0092]
[0093]
[0094]
[0095] In the above formula, represents element-wise division, represents the target domain user graph, It represents the absolute value of the target domain user graph and half of the sum of the target domain user graph. It represents half of the difference between the absolute value of the target domain user graph and the target domain user graph; represents the absolute value of the auxiliary domain user graph and half of the sum of the auxiliary domain user graph. It represents half of the difference between the absolute value of the auxiliary domain user graph and the auxiliary domain user graph; It represents the absolute value of the target domain item map and half of the sum of the target domain item map. It represents half the difference between the absolute value of the target domain item map and the target domain item map; It represents the absolute value of the auxiliary field item map and half of the sum of the auxiliary field item map. It represents half the difference between the absolute value of the auxiliary field item map and the auxiliary field item map;
[0096] Target domain user map May contain any symbol, the target area user map Decompose into Represents auxiliary domain user graph, auxiliary domain user graph May contain any symbols that will assist users in figuring out the domain Decompose into Target area item map May contain any symbol, the target area item map Decompose into Auxiliary Field Item Map May contain any symbol, which will assist the field item map Decompose into
[0097] Continuously update the parameter matrix S, U in turn t , U a , V t and V a , until convergence or reaching the preset maximum number of iterations, then the obtained S, U t , U a , V t and V a This is the optimal solution.
[0098] The step 5) is specifically as follows:
[0099] According to step 4), the cluster-level preference level parameter pattern matrix S shared between domain data and the user implicit preference matrix U of the target domain data t , the implicit feature matrix V of the target domain data a , reconstruct the user-item recommendation matrix of the target domain data according to the following formula
[0100]
[0101] In the formula, Represents the user-item preference matrix R t The reconstruction matrix of
[0102] Finally, according to the user-item recommendation matrix The predicted preference level parameter results in , that is, the element values therein, recommend the first several items with the highest element values to the user.
[0103] Before being processed by the method of the present invention, the target domain data is incomplete and is missing many preference parameters between users and items. After being processed by the method of the present invention using auxiliary domain data, the target domain data is reconstructed into complete data and the corrected prediction improves the accuracy of the data, thereby achieving more accurate and effective recommendations.
[0104] The present invention aims at the cross-domain recommendation scenario where there is no intersection between users and items in the auxiliary and target domain data. The existing cross-domain recommendation methods do not consider the problem of inconsistent knowledge transfer caused by the data distribution differences between domains. The data distribution between domains is aligning by incorporating the maximum distribution difference regularization term into the joint matrix decomposition framework, and negative transfer is avoided by further incorporating graph regularization terms of the user graph and the item graph. Finally, a unified optimization objective function is obtained. By solving the objective function, the target domain data preference matrix is reconstructed to achieve recommendation.
[0105] The present invention mainly recommends items based on data in different fields on online platforms such as e-commerce websites, online video websites, and music websites.
[0106] The beneficial effects of the present invention are:
[0107] The present invention uses domain adaptation technology to align data distribution between domains, ensures the consistency of knowledge transfer, and can improve the recommendation performance in the target domain data.
[0108] The present invention is particularly suitable for newly launched recommendation systems, because their data sparsity problem is particularly serious, and there is often no intersection between users or items in auxiliary field data, and they are in urgent need of benefiting from a mature recommendation system.
[0109] The advantages of the present invention are that there is no need for the intersection between users or items in the auxiliary and target domain data, and when the target domain data is extremely sparse (density is less than 0.1%), good recommendation performance can still be obtained. In terms of cross-domain recommendation, the present invention can achieve higher prediction performance than other methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0110] Figure 1 is a flowchart of the implementation steps of the present invention, by t and the auxiliary preference matrix R a A joint matrix tri-factorization is performed, while constraining the shared cluster-level preference level parameter mode S between domains and using the maximum mean difference regularization term MMD to align the data distribution between domains, so that consistent knowledge can be transferred to the target domain data. In addition, the graph regularization of the user graph and the item graph is used to maintain the geometric structure within the domain and avoid negative transfer. By solving this optimization problem, the user preference matrix U of the target domain data is obtained.t , the implicit feature matrix V of the target domain data items t , auxiliary domain data user implicit preference matrix U a , the implicit feature matrix V of auxiliary domain data items a and the cluster-level preference level parameter pattern S shared between domains. Then, using To target domain data preference matrix R t Refactor and modify R t The missing preference level parameters in are predicted. Finally, the items with high predicted preference level parameters and which the user has not purchased are recommended to the user.
[0111] Figure 2 Goodreads is used as auxiliary data, Netflix movies are used as target data, and the MAE (mean absolute error) comparison result of the CCR-DA method of the present invention and other methods is shown in the figure;
[0112] Figure 3 The RMSE comparison result of the CCR-DA method of the present invention and other methods is shown in the figure with Goodreads as auxiliary data and Netflix movies as target data;
[0113] Figure 4 The MAE comparison result of the CCR-DA method of the present invention and other methods is shown in the figure, with AmazonBook books as auxiliary data and DoubanBook books as target data;
[0114] Figure 5 The AmazonBook books are used as auxiliary data, the DoubanBook books are used as target data, and the RMSE comparison result of the CCR-DA method of the present invention and other methods is shown in the figure;
[0115] Figure 6 It is a graph showing the effect of the change of parameter α on RMSE in the CCR-DA framework of the method of the present invention;
[0116] Figure 7 It is a graph showing the effect of parameter β change on RMSE in the CCR-DA framework of the method of the present invention;
[0117] Figure 8 It is a diagram showing the influence of the change of parameter η on RMSE in the CCR-DA framework of the method of the present invention. DETAILED DESCRIPTION
[0118] The following is combined with Figure 1 The present invention is further described in detail with reference to specific examples.
[0119] like Figure 1 As shown, the embodiment and process of the complete method implemented according to the content of the invention are as follows:
[0120] 1) Select auxiliary domain data related to the target domain data according to the target domain data. For example, if the target domain data is the movie domain, the book domain or the music domain can be selected as the auxiliary domain data.
[0121] 2) By preprocessing the user behavior data in the target domain data and auxiliary domain data, the target domain data preference matrix R is obtained t and the auxiliary domain data preference matrix R a . Target preference matrix R t The dataset is randomly split into training set and test set according to a certain ratio.
[0122] 3) Calculate the similarity matrix between users of target domain data and the similarity matrix between items And the similarity matrix between auxiliary domain data users and the similarity matrix between items Then build the target domain data user graph and item map and auxiliary domain data user graph and item map
[0123] 4) Determine R t The number of users in M t and the number of items N t , and R a The number of users in M a and the number of items N a Randomly initialize the target domain data user implicit preference matrix U t And the item implicit feature matrix V t , the cluster-level preference level parameter pattern matrix S shared between domains, and the auxiliary domain data user implicit preference matrix U a And the item implicit feature matrix V a .
[0124] 5) Solve the optimization problem objective and update variables S, U in sequence t , U a , V t and V a , until convergence or reaching the preset maximum number of iterations, then the obtained S, U t , U a , V t and V a This is the optimal solution to the optimization problem.
[0125] 6) Utilize To target domain data preference matrix R t Refactor and modify R tThe missing preference level parameters in are predicted, and items with high predicted preference level parameters and which the user has not purchased are recommended to the user.
[0126] 7) Figure 2 and Figure 3 The preference level parameters of 4000 users for 2000 movies in the Netflix movie preference level parameter dataset are taken as the target domain data, and the preference level parameters of 4000 users for 2000 books in the Goodreads book preference level parameter dataset are taken as the auxiliary domain data. When the density of the preference matrix of the target domain data is different, the MAE (mean absolute error) comparison results and RMSE (root mean square error) comparison results of the CCR-DA method of the present invention and other methods are compared. Figure 4 and Figure 5 The preference level parameters of 4000 users for 2000 movies in the AmazonBook book preference level parameter data set are taken as the target domain data, and the preference level parameters of 4000 users for 2000 books in the DoubanBook book preference level parameter data set are taken as the auxiliary domain data. When the density of the preference matrix of the target domain data is different, the MAE (mean absolute error) and RMSE (root mean square error) comparison results of the CCR-DA method of the present invention are compared with other methods. Figure 6 to Figure 8 The parameter α in the CCR-DA method of the present invention is shown U =α V =α,β U =β V =The impact of changes in β and η on RMSE.
[0127] From this implementation, we can see that the CCR-DA method of the present invention has the best MAE and RMSE results at all densities in the two cross-domain recommendation tasks. In particular, when the density is lower, the performance improvement of the method of the present invention is more obvious compared with other methods. This proves that integrating the MMD regularization term into the joint matrix three-factorization can effectively reduce the data distribution between domains and achieve consistent knowledge transfer, thereby greatly improving the recommendation performance, especially when the target domain is very sparse.
Claims
1. A domain-adaptive cross-domain data collaborative item recommendation algorithm with no overlapping entities, characterized by: The algorithm steps are as follows: 1) Obtain the user-item preference matrix R of the target domain data by preprocessing the target domain data t and the user-item indicator matrix Y t , select the domain associated with the target domain data as the auxiliary domain data, and obtain the user-item preference matrix R of the auxiliary domain data by preprocessing the auxiliary domain data a and the user-item indicator matrix Y a ; 2) Based on the user-item preference matrix R of the target domain data t and the user-item preference matrix R of auxiliary domain data a , process to obtain the similarity matrix between users and items in the target domain data and And the similarity matrix between users and items in the auxiliary domain data and 3) Construct the user graph of the target domain data based on the similarity matrices obtained in step 2) and item map and user graphs for auxiliary domain data and item map 4) Based on the user graph and item graph of the target domain data and auxiliary domain data, an objective function with a graph regularization term is established, and the objective function is solved to obtain the optimal three parameter matrices; 5) The product of the three parameter matrices obtained in step 4) To reconstruct the user-item preference matrix R of the target domain data t Obtain the user-item recommendation matrix and realize the user-item preference matrix R for the target domain data t Predict the missing values in , and finally use the user-item recommendation matrix to recommend items to users; The step 4) is specifically as follows: 4.1) Target preference matrix R between target domain data and auxiliary domain data t and the auxiliary preference matrix R a Perform the joint matrix tri-decomposition, and then add the graph regularization term for the user graph and item graph of the target domain data and the auxiliary domain data, and then establish the following objective function, which is expressed as follows: In the above formula, J represents the objective function, S is the cluster-level preference level parameter pattern matrix shared between domain data, and U t Represents the user implicit preference matrix of the target domain data, U a Represents the user implicit preference matrix of auxiliary domain data, V t Represents the implicit feature matrix of the items in the target domain data, V a Represents the item implicit feature matrix of auxiliary domain data; α U and α V are the user regularization parameter and item regularization parameter of the alignment domain distribution, Y t and Y a The user-item preference matrix R represents the target domain data and auxiliary domain data respectively t and R a The indicator matrix of whether the preference level parameter in is observed, e represents the element-wise multiplication of the matrix, λ is the trade-off parameter, which is used to indicate the confidence of the auxiliary data, ‖·‖ F is the Frobenius norm, β U and β V are the user graph regularization parameters and item graph regularization parameters respectively, MMD(U a ,U t ) is the difference in feature distribution between auxiliary and target domain data, MMD(V a ,V t ) is the difference in feature distribution of items between auxiliary and target domain data; represents the graph regularization term of the target domain data user graph, represents the graph regularization term of the target domain data item graph, represents the graph regularization term of the auxiliary domain data user graph, A graph regularization term representing the auxiliary domain data item graph; 4.2) The alternating minimization algorithm is used to optimize the objective function and obtain the optimal cluster-level preference level parameter pattern matrix S shared between domain data and the user implicit preference matrix U of the target domain data. t , the user implicit preference matrix U of auxiliary domain data a , the implicit feature matrix V of the target domain data t And the item implicit feature matrix V of auxiliary domain data a ; The user's feature distribution difference MMD (U a ,U t ) is calculated according to the following formula: In the above formula, M t and M a Represent the number of users in the target domain data and auxiliary domain data, U a,t Represents the user implicit preference matrix U of the target domain data t and the user implicit preference matrix U of auxiliary domain data a Vertical connection, H u is the user maximum mean difference matrix, I m,n represents an m×n matrix whose elements are all 1, ()i represents the i-th row of the matrix, ||·|| 2 represents the square of the vector's two-norm; The feature distribution difference MMD (V a ,V t ) is calculated according to the following formula: In the above formula, N t and N a Respectively represent the number of items in the target domain data and the auxiliary domain data, V a,t Represents the implicit feature matrix V of the items in the target domain data t And the item implicit feature matrix V of auxiliary domain data a Vertical connection, H v is the item MMD matrix; The graph regularization term of the user graph of the target domain data and the graph regularization term for the item graph Graph regularization term for user graph with auxiliary domain data and the graph regularization term for the item graph The build is as follows: In the above formula, tr(·) represents the trace of the matrix; U t is the user implicit preference matrix in the target domain data, V t is the implicit feature matrix of items in the target domain data, U a is the user implicit preference matrix in the auxiliary domain data, V a is the implicit feature matrix of items in the auxiliary domain data.
2. The domain-adaptive cross-domain data collaborative item recommendation algorithm without overlapping entities according to claim 1, characterized in that: The step 2) is specifically as follows: 2.1) User-item preference matrix R for target domain data t , respectively calculate the cosine similarity matrix between users and the cosine similarity matrix between items As shown below: Among them, e represents the element-wise multiplication of the matrix, Indicates element-wise division of matrices, I m,n represents an m×n matrix where every element is 1, M t Represents the number of users in the target domain data, N t represents the number of items in the target domain data, and T represents the matrix transpose; 2.2) User-item preference matrix R for auxiliary domain data a , respectively calculate the cosine similarity matrix between users and the cosine similarity matrix between items As shown below: Among them, (R a ) ik Represents the user-item preference matrix R a The element in the i-th row and k-th column of .
3. The domain-adaptive cross-domain data collaborative item recommendation algorithm without overlapping entities according to claim 1, characterized in that: The step 3) specifically includes: 3.1) The user graph of the target domain data is obtained according to the following formula: In the above formula, is the diagonal matrix of the user graph of the target domain data, which is the cosine similarity matrix between users of the target domain data The row-wise sum is obtained as the diagonal elements; 3.2) The item graph of the target domain data is obtained according to the following formula: In the above formula, is the diagonal matrix of the object graph of the target domain data, which is the cosine similarity matrix between the objects in the target domain data The row-wise sum is obtained as the diagonal elements; 3.3) The user graph of auxiliary domain data is obtained according to the following formula: In the above formula, is the diagonal matrix of the user graph of the auxiliary domain data, which is the cosine similarity matrix between users of the auxiliary domain data The row-wise sum is obtained as the diagonal elements; 3.4) The item graph of auxiliary field data is obtained according to the following formula: In the above formula, is the diagonal matrix of the item graph of the auxiliary domain data, which is the cosine similarity matrix between the items in the auxiliary domain data The row-wise sum is obtained as the diagonal elements.
4. The domain-adaptive cross-domain data collaborative item recommendation algorithm without overlapping entities according to claim 1, characterized in that: The step 5) is specifically as follows: According to step 4), the cluster-level preference level parameter pattern matrix S shared between domain data and the user implicit preference matrix U of the target domain data t , the implicit feature matrix V of the target domain data a , reconstruct the user-item recommendation matrix of the target domain data according to the following formula In the formula, Represents the user-item preference matrix R t The reconstruction matrix of Finally, according to the user-item recommendation matrix The predicted preference level parameter results in , that is, the element values therein, recommend the first several items with the highest element values to the user.
