Course recommendation method and device, equipment and storage medium

By using multi-source domain label association heterogeneous graph and meta-path decomposition technology in the course recommendation system, the problem of poor course recommendation accuracy is solved and a more accurate and personalized recommendation effect is achieved.

CN118779518APending Publication Date: 2024-10-15PICC INFORMATION TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410904126.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing course recommendation methods have poor accuracy, including lack of long text, data sparsity, noise issues, and high node bias, resulting in inaccurate recommendation results.

Method used

Using tag-based cross-domain recommendation technology, we build a heterogeneous graph of tag associations in multiple source domains, and decompose it into heterogeneous subgraphs through meta-paths. Combined with preset aggregation and sorting algorithms, we extract user-course feature vectors to solve the shortage of long texts. and data sparsity issues, reducing the impact of noise and improving recommendation accuracy.

Benefits of technology

Through cross-domain recommendation technology and heterogeneous graph decomposition, we capture complex relationships and semantic information, improve the accuracy and efficiency of course recommendation, alleviate noise and bias problems, and provide more personalized recommendation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779518A_ABST
    Figure CN118779518A_ABST
Patent Text Reader

Abstract

The invention provides a course recommendation method and device, equipment and a storage medium. The method comprises the steps of obtaining multiple pieces of course partner training scene data of a target user; according to a preset field, performing scene segmentation on each course partner training scene data to obtain course partner training scene data corresponding to each preset field, and obtaining a global universal label and a field label corresponding to each preset field; according to a preset field, performing behavior division on the course partner training scene data to obtain a source domain and a target domain; based on the source domain, the target domain, the global universal label and the domain label, establishing a label association heterogeneous graph based on the multi-source domain, and decomposing the label association heterogeneous graph based on the multi-source domain into a plurality of heterogeneous sub-graphs; performing feature aggregation processing on the plurality of heterogeneous sub-graphs by adopting a preset aggregation algorithm to obtain feature vectors of the plurality of target user-course tags; and adopting a preset sorting algorithm to sort the plurality of course feature vectors to obtain a course recommendation list corresponding to the target user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a course recommendation method, device, equipment and storage medium. Background Art

[0002] In the era of big data, Internet users are producing, creating and using data every day. Intelligent course recommendation technology can provide users with targeted course recommendations in massive data. Intelligent course recommendation technology refers to the technology that recommends personalized courses suitable for their own learning to users in the learning management system.

[0003] In the related art, a course recommendation method is as follows: construct a dual-domain user-project interaction heterogeneous network graph, and set the two domains as domain A and domain B respectively; limit the total number of meta-paths participating in the calculation, and sample to generate high-quality meta-paths; construct an intra-domain node embedding mapping layer; aggregate the high-order neighbors of the project nodes and the low-order neighbors of the user nodes respectively to obtain the representation of the user and the project in the two domains; use the hierarchical attention mechanism to fuse the knowledge of domain A and domain B, and dynamically and adaptively control the optimal retention ratio of the user and project features in each domain for final recommendation; after aggregating the information in each meta-path, design the project-semantic level attention layer, combine the semantic information displayed by all meta-paths, and use the attention mechanism to assign different weights to each meta-path; use the graph attention network to perform weighted summation on the intra-domain and inter-domain meta-path representations related to the target project node v; connect the initial explicit representation of the user and the project itself and the fused implicit feature representation of the user and the project into a vector as a whole to balance the results of the dual-target recommendation; optimize the model parameters and embedding, use the cross entropy loss function containing positive and negative samples as the loss function of the model as a whole, and obtain the final cross-domain recommendation result.

[0004] However, the course recommendation methods in the prior art have poor accuracy. Summary of the invention

[0005] The present application provides a course recommendation method, device, equipment and storage medium, thereby solving the problem of poor accuracy of the course recommendation method in the prior art.

[0006] In a first aspect, the present application provides a course recommendation method, comprising:

[0007] Obtain data on multiple course training scenarios for target users;

[0008] According to the preset fields, the training scene data of each course is segmented to obtain the training scene data of each course corresponding to each preset field, and obtain the global universal label and the field label corresponding to each preset field;

[0009] According to the preset domain, the course training scenario data is behaviorally divided to obtain a source domain and a target domain;

[0010] Based on the source domain, the target domain, the global universal label and the domain label, a label association heterogeneous graph based on multiple source domains is established, and the label association heterogeneous graph based on multiple source domains is decomposed into multiple heterogeneous subgraphs;

[0011] Using a preset aggregation algorithm, perform feature aggregation processing on the multiple heterogeneous subgraphs to obtain feature vectors of multiple target user-course labels;

[0012] The plurality of course feature vectors are sorted using a preset sorting algorithm to obtain a course recommendation list corresponding to the target user.

[0013] The present application provides a course recommendation method based on label cross-domain recommendation, which performs cross-domain segmentation and general label collection for course training scenarios, determines the source domain and target domain, constructs a heterogeneous information network, i.e., a label-associated heterogeneous graph based on multiple source domains, and decomposes it into multiple sub-networks containing different semantic information, i.e., heterogeneous sub-graphs, by domain, and uses a preset aggregation algorithm and a preset sorting algorithm for clustering and sorting to obtain a course recommendation list. The present application introduces label-based cross-domain recommendation technology, solves the problem of lack of long texts based on label modeling, solves the cold start problem of lack of interactive data in the target domain and the problem of over-dependence and lack of personalization caused by a single source domain based on multi-source domain cross-domain recommendation, and captures the complex relationships and semantic information between nodes of different types through sub-networks containing different semantic information, alleviates the noise problem and high node deviation problem caused by direct aggregation of neighborhood domains, and improves the accuracy of course recommendations.

[0014] Optionally, decomposing the label association heterogeneous graph based on multiple source domains into a plurality of heterogeneous subgraphs includes:

[0015] Each domain in the label association heterogeneous graph based on multiple source domains is represented by a meta-path; based on the meta-path, the label association heterogeneous graph based on multiple source domains is decomposed into multiple heterogeneous sub-graphs.

[0016] Among them, there are multiple types of nodes and relationships in the label-associated heterogeneous graph based on multiple source domains, and the interactions between them are complex. Through the guidance of meta-paths, the original heterogeneous graph can be decomposed into multiple heterogeneous sub-graphs. Since different meta-paths contain different interactive relationships and semantics, this decomposition method enables each sub-graph to independently contain corresponding semantic information, making the learning objectives more concise and clear, further improving the accuracy of feature extraction and course-user association learning, and improving the accuracy of course recommendations.

[0017] Optionally, the method of using a preset aggregation algorithm to perform feature aggregation processing on the multiple heterogeneous subgraphs to obtain feature vectors of multiple target user-course labels includes:

[0018] A first preset aggregation algorithm is used to perform layer-by-layer feature aggregation processing within a meta-path on the multiple heterogeneous subgraphs to obtain a plurality of course sub-vectors corresponding to each of the heterogeneous subgraphs; a second preset aggregation algorithm is used to perform inter-meta-path feature aggregation processing on the multiple course sub-vectors of the multiple heterogeneous subgraphs to obtain feature vectors of multiple target user-course labels.

[0019] Here, when performing feature aggregation of heterogeneous subgraphs, the present application first aggregates subgraph features layer by layer within the meta-path for the heterogeneous subgraphs corresponding to each domain, which can accurately capture the structure and semantic information of the nodes in the heterogeneous subgraphs on the specific relationship paths defined by the meta-paths, and then aggregates the subgraph features between the meta-paths. The feature vector of the target user-course label finally obtained integrates the structure and semantic information of the nodes on different relationship paths, and combines the semantic and structural information associated with the subgraphs in each field, which can more comprehensively represent the attributes and characteristics of the nodes, capture and integrate the complex structure and semantic information in the graph data, provide an accurate basic guarantee for the course recommendations for users, and further improve the accuracy of course recommendations.

[0020] Optionally, the first preset aggregation algorithm is used to perform layer-by-layer feature aggregation processing within the meta-path on the multiple heterogeneous subgraphs to obtain multiple course sub-vectors corresponding to each of the heterogeneous subgraphs, including: using a heterogeneous correlation measurement algorithm to calculate the correlation scores between entities on each heterogeneous subgraph; based on the correlation scores, K optimal neighborhood nodes are selected on each heterogeneous subgraph to construct a local influence subgraph; and an embedding method is generated for each of the local influence subgraphs through a convolution module and target node neighborhood information is aggregated to obtain multiple course sub-vectors corresponding to each of the heterogeneous subgraphs.

[0021] Here, this application first uses a heterogeneous correlation measurement algorithm (HeteSim) to calculate the correlation scores between entities on heterogeneous sub-networks in each domain, and then selects K optimal (Top-K) neighborhood nodes to construct a local influence subgraph. The convolution module generates an embedding method for the subgraph nodes and aggregates the target node neighborhood information, filters trivial labels and reduces the impact of noise and high node deviation to a certain extent, further improving the calculation efficiency and accuracy, and improving the efficiency and accuracy of course recommendations.

[0022] Optionally, the use of a second preset aggregation algorithm to perform meta-path feature aggregation processing on multiple course sub-vectors of the multiple heterogeneous sub-graphs to obtain feature vectors of multiple target user-course labels includes: using an attention mechanism adaptive algorithm to perform meta-path feature aggregation processing on multiple course sub-vectors of the multiple heterogeneous sub-graphs to obtain feature vectors of multiple target user-course labels.

[0023] Among them, this application adopts the attention mechanism adaptive algorithm to fuse multi-domain entity representations, so as to further filter out useless tags, reduce the impact of useless tags on course recommendations, and further improve the accuracy of course recommendations.

[0024] Optionally, the method of using a preset sorting algorithm to sort the multiple course feature vectors to obtain a course recommendation list corresponding to the target user includes:

[0025] For the feature vector of the target user-course label, the matrix decomposition algorithm is used to calculate the preference score, and the Bayesian personalized sorting algorithm is combined to perform model optimization to obtain a course recommendation list corresponding to the target user.

[0026] Here, this application adopts a matrix factorization (MF) algorithm to calculate the preference score. The dot product of the latent vectors of the user and course labels is calculated by matrix decomposition to obtain the preference score. The MF algorithm can predict the user's potential interest or preference for unrated items, and provide effective support for the recommendation system. It is combined with the Bayesian Personalized Ranking (BPR) algorithm for model optimization, which directly optimizes the personalized ranking task and effectively processes implicit feedback, which can improve the accuracy of the ranking and further improve the accuracy of the course recommendation.

[0027] Optionally, the course training scenario data is behaviorally divided according to the preset domain to obtain a source domain and a target domain, including:

[0028] Obtain user needs, and determine the preset domain corresponding to the target domain according to the user needs; divide the course training scene data of the preset domain corresponding to the target domain into data in the target domain, and divide the course training scene data of the preset domain not corresponding to the target domain into data in the source domain.

[0029] This application can flexibly adjust the target domain according to user needs, thereby improving the flexibility of course recommendations.

[0030] In a second aspect, the present application provides a course recommendation device, comprising:

[0031] An acquisition module is used to obtain multiple course training scenario data of target users;

[0032] The first processing module is used to segment the course training scene data according to the preset fields, so as to obtain the course training scene data corresponding to each preset field, and obtain the global universal label and the field label corresponding to each preset field;

[0033] A second processing module is used to divide the course training scenario data into behaviors according to the preset domain to obtain a source domain and a target domain;

[0034] A third processing module is used to establish a label association heterogeneous graph based on multiple source domains based on the source domain, the target domain, the global universal label and the domain label, and decompose the label association heterogeneous graph based on multiple source domains into multiple heterogeneous subgraphs;

[0035] A fourth processing module is used to perform feature aggregation processing on the multiple heterogeneous subgraphs using a preset aggregation algorithm to obtain feature vectors of multiple target user-course labels;

[0036] The fifth processing module is used to use a preset sorting algorithm to sort the multiple course feature vectors to obtain a course recommendation list corresponding to the target user.

[0037] Optionally, the third processing module is specifically used to:

[0038] Representing each domain in the label association heterogeneous graph based on multiple source domains with a meta-path;

[0039] Based on meta-paths, the label association heterogeneous graph based on multiple source domains is decomposed into multiple heterogeneous sub-graphs.

[0040] Optionally, the fourth processing module is specifically configured to:

[0041] Using a first preset aggregation algorithm, perform layer-by-layer feature aggregation processing within a meta-path on the multiple heterogeneous subgraphs to obtain multiple course sub-vectors corresponding to each of the heterogeneous subgraphs;

[0042] A second preset aggregation algorithm is used to perform inter-meta-path feature aggregation processing on the multiple course sub-vectors of the multiple heterogeneous sub-graphs to obtain feature vectors of multiple target user-course labels.

[0043] Optionally, the fourth processing module is further specifically configured to:

[0044] A heterogeneous correlation measurement algorithm is used to calculate the correlation scores between entities on each heterogeneous subgraph;

[0045] According to the correlation score, K optimal neighbor nodes are selected on each heterogeneous subgraph to construct a local influence subgraph;

[0046] An embedding method is generated for each of the local influence subgraphs through a convolution module, and target node neighborhood information is aggregated to obtain multiple course subvectors corresponding to each of the heterogeneous subgraphs.

[0047] Optionally, the fourth processing module is further specifically configured to:

[0048] An attention mechanism adaptive algorithm is used to perform inter-meta-path feature aggregation processing on multiple course sub-vectors of the multiple heterogeneous sub-graphs to obtain feature vectors of multiple target user-course labels.

[0049] Optionally, the fifth processing module is specifically configured to:

[0050] For the feature vector of the target user-course label, the matrix decomposition algorithm is used to calculate the preference score, and the Bayesian personalized sorting algorithm is combined to perform model optimization to obtain a course recommendation list corresponding to the target user.

[0051] Optionally, the second processing module is specifically configured to:

[0052] Obtaining user needs, and determining a preset field corresponding to the target domain according to the user needs;

[0053] The course training scene data in the preset field corresponding to the target domain is divided into data in the target domain, and the course training scene data in the preset field not corresponding to the target domain is divided into data in the source domain.

[0054] In a third aspect, the present application provides a course recommendation device, comprising: at least one processor and a memory;

[0055] The memory stores computer-executable instructions;

[0056] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the course recommendation method as described in the first aspect and various possible designs of the first aspect.

[0057] In a fourth aspect, the present invention provides a computer-readable storage medium having computer-executable instructions stored therein. When a processor executes the computer-executable instructions, the course recommendation method as described in the first aspect and various possible designs of the first aspect is implemented.

[0058] In a fifth aspect, the present invention provides a computer program product, including a computer program, which, when executed by a processor, implements the course recommendation method as described in the first aspect and various possible designs of the first aspect.

[0059] The course recommendation method, device, equipment and storage medium provided by the present application, wherein the method performs cross-domain segmentation and general label collection for course training scenarios, determines the source domain and the target domain, constructs a heterogeneous information network, i.e., a label-associated heterogeneous graph based on multiple source domains, and decomposes it into multiple sub-networks containing different semantic information, i.e., heterogeneous sub-graphs, by domain, and uses a preset aggregation algorithm and a preset sorting algorithm for clustering and sorting to obtain a course recommendation list. The present application introduces a label-based cross-domain recommendation technology, solves the problem of lack of long texts based on label modeling, solves the cold start problem of the target domain due to lack of interactive data and the problem of over-dependence and lack of personalization caused by a single source domain based on multi-source domain cross-domain recommendation, and captures the complex relationships and semantic information between nodes of different types through sub-networks containing different semantic information, alleviates the noise problem and high node deviation problem caused by direct aggregation of neighborhood domains, and improves the accuracy of course recommendations. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0061] Figure 1 A schematic diagram of a course recommendation system architecture provided in an embodiment of the present application;

[0062] Figure 2 A flowchart of a course recommendation method provided in an embodiment of the present application;

[0063] Figure 3 A schematic diagram of the structure of a label association heterogeneous graph based on multiple source domains provided in an embodiment of the present application;

[0064] Figure 4 A schematic diagram of the structure of a course recommendation device provided in an embodiment of the present application;

[0065] Figure 5 A schematic diagram of the structure of a course recommendation device provided in an embodiment of the present application.

[0066] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0067] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application.

[0068] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0069] First, the nouns that will appear in the embodiments of this application are introduced:

[0070] Generative Adversarial Networks (GAN): It is an important generative model in the field of deep learning, that is, two networks (generator and discriminator) are trained at the same time and compete in the minimax algorithm. This adversarial approach avoids some difficulties in the practical application of some traditional generative models, and cleverly approximates some unsolvable loss functions through adversarial learning. It has a wide range of applications in the generation of data such as images, videos, natural language and music.

[0071] Matrix Factorization (MF): is a commonly used technique in machine learning and data mining. Its basic idea is to decompose a large matrix into the product of two or more small matrices, which contain useful features of the original data.

[0072] Bayesian Personalized Ranking (BPR): Generates personalized item rankings for each user by learning the latent features of users and items.

[0073] Tag-based Cross-Domain Recommendation (TCDR): It uses tags as a bridge to connect users and items in different fields, thereby achieving cross-domain recommendations. It mainly solves the cold start and data sparsity problems in the recommendation system.

[0074] HeteSim: is a path-based correlation measurement algorithm that can effectively capture the subtle semantics of the search path and can evaluate the correlation of objects with the same or different types in the same way.

[0075] Meta-path: Meta-path is a concept used to define and describe the relationships between different types of nodes in heterogeneous information networks.

[0076] Heterogeneous sub-network: A heterogeneous sub-network usually refers to a sub-network composed of different types of nodes and edges in a complex network structure.

[0077] The recommendation system based on graph algorithm is an important direction of current recommendation system research. This method constructs a graph model between users and projects, regards users and projects as nodes in the graph, and represents the relationship between users and projects through edges. The course recommendation system based on graph algorithm uses GCN to build a recommendation engine, models the implicit interaction data between users and courses as a heterogeneous graph, uses the high-order neighborhood information of nodes and nonlinear functions to combine and transform the features of neighborhood nodes, mines the association between users and courses, and makes recommendations based on this.

[0078] The following is a technical solution in the prior art that is close to the proposal of this application: a bidirectional cross-domain recommendation method based on a meta-path enhanced heterogeneous graph neural network, constructing a dual-domain user-project interaction heterogeneous network graph, setting the two domains as domain A and domain B respectively; limiting the total number of meta-paths involved in the calculation, sampling and generating high-quality meta-paths; constructing an intra-domain node embedding mapping layer; respectively aggregating the high-order neighbors of the project nodes and the low-order neighbors of the user nodes to obtain the representation of users and projects in the two domains; using a hierarchical attention mechanism to fuse the knowledge of domain A and domain B, and dynamically and adaptively controlling the optimal retention ratio of user and project features in each domain, for Final recommendation; after aggregating the information in each meta-path, design a project-semantic level attention layer, combine the semantic information displayed by all meta-paths, and use the attention mechanism to assign different weights to each meta-path; use the graph attention network to perform weighted summation of the meta-path representations within and between domains related to the target project node v; connect the initial explicit representation of the user and the project itself and the fused implicit feature representation of the user and the project into a vector as a whole to balance the results of dual-objective recommendation; optimize model parameters and embeddings, use the cross-entropy loss function containing positive and negative samples as the loss function of the entire model, and obtain the final cross-domain recommendation result.

[0079] The above scheme has the following technical problems: 1. Lack of long text description: From the perspective of content modeling, in real course recommendation systems, courses often lack sufficient long text descriptions, and are more lightweight text features, such as a few keywords or tags. 2. Data sparsity problem (cold start): When new users and new courses join the course system, due to the lack of historical interaction data of users / courses, it is difficult for the recommendation system to provide personalized recommendations immediately. 3. Noise problem caused by direct aggregation of neighborhoods: Because traditional heterogeneous networks do not consider the attribute values ​​of links between nodes, and direct aggregation of all fields will introduce some irrelevant information or even noise. 4. High node bias problem: High node bias will cause the recommendations received by users to be concentrated on a few popular courses, making it difficult for courses in the long tail to get enough exposure, while popular courses become more popular because of continuous recommendations, while long-tail projects are further marginalized due to lack of exposure. 5. Cross-domain recommendations from a single source domain cause data mismatch, over-reliance on the source domain, lack of personalization, etc.: Single-source domain recommendation systems usually assume that the user behavior patterns of the source domain and the target domain are similar. If the data distribution difference between the two domains is large, the performance of the recommendation system may be affected; and in single-source cross-domain recommendation, the recommendation results depend largely on the data quality of the source domain. If the source domain data is noisy or unrepresentative, this will have a negative impact on the accuracy of the recommendation results; at the same time, since it mainly relies on user behavior data in the source domain, it may not be able to fully capture the personalized preferences of users in the target domain. Based on the above problems, it can be seen that the existing technology has the technical problem of poor accuracy in course recommendation.

[0080] In order to solve the above problems, the embodiments of the present application provide a course recommendation method, device, equipment and medium, which perform cross-domain segmentation and general label collection for course training scenarios, determine the source domain and the target domain, and construct a heterogeneous information network, that is, a label-associated heterogeneous graph based on multiple source domains, and decompose it into multiple sub-networks containing different semantic information, that is, heterogeneous sub-graphs, according to the domain, and use a preset aggregation algorithm and a preset sorting algorithm for clustering and sorting to obtain a course recommendation list.

[0081] Optionally, the embodiment of the present application proposes a course recommendation method based on a graph algorithm, innovatively introducing a TCDR solution and meta-path correlation theory to improve the accuracy of the course recommendation system.

[0082] Optionally, TCDR technology is introduced to solve the problem of scarcity of long texts based on label modeling, and to solve the cold start problem of lack of interactive data in the target domain and the problem of over-dependence and lack of personalization caused by a single source domain based on multi-source cross-domain recommendation.

[0083] Optionally, a heterogeneous information network is constructed and decomposed into multiple sub-networks containing different semantic information by domain. Then, the HeteSim algorithm is introduced to capture the complex relationships and semantic information between different types of nodes based on the correlation of meta-paths, thereby alleviating the noise problem and high node deviation problem caused by direct aggregation of neighborhoods.

[0084] Optionally, the present application introduces TCDR technology to specifically solve the problems of data sparsity, lack of personalization and lack of long text descriptions in course recommendation scenarios, and introduces the HeteSim heterogeneous correlation measurement algorithm to strengthen the complex relationships and semantic information between different types of nodes, which reduces the impact of noise and the problem of high node deviation to a certain extent, ensuring that the courses recommended for new users do not deviate from the users' interests, alleviating the situation where popular courses or popular tags are over-recommended, and improving the accuracy of the course recommendation system.

[0085] Optional, Figure 1 A schematic diagram of the course recommendation system architecture provided in the embodiment of the present application. Figure 1 In the above architecture, the above architecture includes at least one of a data acquisition device 101, a processing device 102 and a display device 103.

[0086] It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the course recommendation system architecture. In other feasible implementations of the present application, the above architecture may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently, which can be determined according to the actual application scenario and is not limited here. Figure 1 The components shown may be implemented in hardware, software, or a combination of software and hardware.

[0087] In a specific implementation process, the data acquisition device 101 may include an input / output interface and may also include a communication interface. The data acquisition device 101 may be connected to the processing device via the input / output interface or the communication interface.

[0088] The processing device 102 performs cross-domain segmentation and common label collection for the course training scenario, determines the source domain and the target domain, constructs a heterogeneous information network, i.e., a label-associated heterogeneous graph based on multiple source domains, and decomposes it into multiple sub-networks containing different semantic information, i.e., heterogeneous sub-graphs, according to the domain, and uses a preset aggregation algorithm and a preset sorting algorithm for clustering and sorting to obtain a course recommendation list.

[0089] The display device 103 may also be a touch display screen or a screen of a terminal device, which is used to receive user instructions while displaying the above content to achieve interaction with the user.

[0090] It should be understood that the above-mentioned processing device can be implemented by a processor reading instructions in a memory and executing the instructions, or it can be implemented by a chip circuit.

[0091] In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0092] The technical solution of the present application is described in detail below in conjunction with specific embodiments:

[0093] Optionally, Figure 2 A flow chart of a course recommendation method provided in an embodiment of the present application. The execution subject of the embodiment of the present application can be Figure 1 The specific execution subject can be determined according to the actual application scenario. Figure 2 As shown, the method comprises the following steps:

[0094] S201: Acquire multiple course practice scenario data of the target user.

[0095] Optionally, the course training scenario data is obtained through a course recommendation system.

[0096] Optionally, the course training scenario data may be the historical interaction data of the target user in the course recommendation system, for example, interaction data generated by various interaction behaviors including search behavior, click behavior, learning behavior, and level-clearing behavior.

[0097] Optionally, the course training scene data sent by the user's terminal device or other terminal devices or the system can be received through an input / output device or a communication device.

[0098] S202: According to the preset fields, the training scene data of each course is segmented to obtain the training scene data of the course corresponding to each preset field, and obtain the global universal label and the field label corresponding to each preset field.

[0099] Optionally, the preset fields include at least one of searching, clicking, learning and clearing levels.

[0100] For example, the course training scenario data can be assigned to any one of the fields of search, click, learning and clearance.

[0101] Optionally, the global universal tag and the field tag corresponding to each preset field can be obtained through data stored in a database, or a user input window or input interface can be provided for the user to input the global universal tag and the field tag corresponding to each preset field.

[0102] Optionally, the global universal tags and the field tags corresponding to each preset field are all course-related tags, which can also be called course tags. Each course tag corresponds to at least one course to be recommended.

[0103] In one possible implementation, cross-domain segmentation and universal tag collection are performed for the course training scenario: the actual course training scenario is divided into four areas: search, click, learn, and pass, and universal tags for the entire domain are collected.

[0104] S203: According to the preset domain, the course training scenario data is behaviorally divided to obtain a source domain and a target domain.

[0105] Optionally, according to the preset domain, the course training scenario data is behaviorally divided to obtain the source domain and the target domain, including:

[0106] Obtain user needs, and determine the preset domain corresponding to the target domain according to the user needs; divide the course training scene data of the preset domain corresponding to the target domain into data in the target domain, and divide the course training scene data of the preset domain corresponding to the non-target domain into data in the source domain.

[0107] The embodiment of the present application can flexibly adjust the target domain according to user needs, thereby improving the flexibility of course recommendation.

[0108] In some embodiments, for example, the preset domain corresponding to the user demand is customs clearance, then search, click and learn are determined as source domains, and customs clearance is determined as the target domain.

[0109] In some embodiments, the division is made based on the behavioral interactions between users and courses, where the domain with rich behavioral interactions is defined as the source domain (auxiliary domain), and the domain with insufficient interaction data is defined as the target domain.

[0110] S204: Based on the source domain, the target domain, the global universal label and the domain label, a label association heterogeneous graph based on multiple source domains is established, and the label association heterogeneous graph based on multiple source domains is decomposed into multiple heterogeneous subgraphs.

[0111] Optionally, the label association heterogeneous graph based on multiple source domains is decomposed into multiple heterogeneous subgraphs, including:

[0112] Each domain in the heterogeneous graph of label association based on multiple source domains is represented by a meta-path; based on the meta-path, the heterogeneous graph of label association based on multiple source domains is decomposed into multiple heterogeneous sub-graphs.

[0113] Among them, there are multiple types of nodes and relationships in the label-associated heterogeneous graph based on multiple source domains, and the interactions between them are complex. Through the guidance of meta-paths, the original heterogeneous graph can be decomposed into multiple heterogeneous sub-graphs. Since different meta-paths contain different interactive relationships and semantics, this decomposition method enables each sub-graph to independently contain corresponding semantic information, making the learning objectives more concise and clear, further improving the accuracy of feature extraction and course-user association learning, and improving the accuracy of course recommendations.

[0114] In some embodiments, a label-related heterogeneous subnetwork, i.e., a label-related heterogeneous graph based on multiple source domains, is constructed by extracting entity features, establishing a label-related heterogeneous graph to model multi-attribution behavior, where each domain is represented by a meta-path, and decomposing it into multiple heterogeneous sub-graphs based on the meta-path.

[0115] Demonstratively, Figure 3 A structural diagram of a label association heterogeneous graph based on multiple source domains provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, query, course cover title, course content and examination questions are exemplary field labels corresponding to each preset field. The field labels corresponding to each preset field provide labels for their corresponding preset fields, and the labels (words\phrases) that can provide labels for all preset fields are universal labels. Figure 3 As shown in the figure, any meta-path, such as user-level clearance-examination question-label, constitutes a heterogeneous subgraph.

[0116] S205: Using a preset aggregation algorithm, perform feature aggregation processing on multiple heterogeneous subgraphs to obtain feature vectors of multiple target user-course labels.

[0117] Optionally, a preset aggregation algorithm is used to perform feature aggregation processing on multiple heterogeneous subgraphs to obtain feature vectors of multiple target user-course labels, including:

[0118] A first preset aggregation algorithm is used to perform layer-by-layer feature aggregation within a meta-path on multiple heterogeneous subgraphs to obtain multiple course sub-vectors corresponding to each heterogeneous subgraph; a second preset aggregation algorithm is used to perform inter-meta-path feature aggregation on multiple course sub-vectors of multiple heterogeneous subgraphs to obtain feature vectors of multiple target user-course labels.

[0119] Here, when performing feature aggregation of heterogeneous subgraphs, the embodiment of the present application first aggregates subgraph features layer by layer within the meta-path for the heterogeneous subgraphs corresponding to each domain, which can accurately capture the structure and semantic information of the nodes in the heterogeneous subgraphs on the specific relationship paths defined by the meta-paths, and then aggregates the subgraph features between the meta-paths. The feature vector of the target user-course label finally obtained integrates the structure and semantic information of the nodes on different relationship paths, and combines the semantic and structural information associated with the subgraphs in each field, so as to more comprehensively represent the attributes and characteristics of the nodes, capture and integrate the complex structure and semantic information in the graph data, provide an accurate basic guarantee for the course recommendations for users, and further improve the accuracy of the course recommendations.

[0120] Optionally, a first preset aggregation algorithm is used to perform layer-by-layer feature aggregation processing within a meta-path on multiple heterogeneous subgraphs to obtain multiple course sub-vectors corresponding to each heterogeneous subgraph, including: using a heterogeneous correlation measurement algorithm to calculate the correlation scores between entities on each heterogeneous subgraph; based on the correlation scores, K optimal neighborhood nodes are selected on each heterogeneous subgraph to construct a local influence subgraph; and an embedding method is generated for each local influence subgraph through a convolution module and target node neighborhood information is aggregated to obtain multiple course sub-vectors corresponding to each heterogeneous subgraph.

[0121] Here, the embodiment of the present application first uses a heterogeneous correlation measurement algorithm (HeteSim) to calculate the correlation scores between entities on heterogeneous sub-networks of each domain, and then selects K optimal (Top-K) neighborhood nodes to construct a local influence subgraph. The convolution module generates an embedding method for the subgraph nodes and aggregates the target node neighborhood information, filters trivial labels and reduces the impact of noise and high node deviation to a certain extent, further improving the calculation efficiency and accuracy, and improving the efficiency and accuracy of course recommendations.

[0122] Optionally, a second preset aggregation algorithm is used to perform meta-path feature aggregation processing on multiple course sub-vectors of multiple heterogeneous sub-graphs to obtain feature vectors of multiple target user-course labels, including: using an attention mechanism adaptive algorithm to perform meta-path feature aggregation processing on multiple course sub-vectors of multiple heterogeneous sub-graphs to obtain feature vectors of multiple target user-course labels.

[0123] Among them, the embodiment of the present application adopts an attention mechanism adaptive algorithm to fuse entity representations of multiple domains, thereby further filtering out useless tags, reducing the impact of useless tags on course recommendations, and further improving the accuracy of course recommendations.

[0124] In one possible implementation, the specific method of aggregating subgraph features layer by layer within the meta-path is as follows: first, based on the HeteSim heterogeneous correlation measurement algorithm, the correlation scores between entities are calculated on the heterogeneous sub-networks of each domain; then, the Top-K neighborhood nodes are selected to construct a local influence subgraph, and the convolution module is used to generate embedding methods for the subgraph nodes and aggregate the neighborhood information of the target nodes, filter out trivial labels and reduce the impact of noise and high node deviation to a certain extent.

[0125] The HeteSim formula is as follows: Given an association path Two objects s ​​and t (s∈R1, t∈R l ) are:

[0126]

[0127] Where O(s|R1) is s based on relation R1, I(t|R l ) is based on the relationship R l The nearest neighbors of t.

[0128] When s does not have any external neighbors (i.e. ) or t does not have any inner neighbors (i.e., ), we cannot infer any association between s and t, so we define their association value to be 0.

[0129] In one possible implementation, the way to aggregate subgraph features between meta-paths is as follows: each domain subgraph is associated with exclusive semantic and structural information, and different subgraphs have different weights for user-course label type entities. The attention mechanism is used to adaptively fuse entity representations of multiple domains, thereby further filtering out useless labels.

[0130] S206: Using a preset sorting algorithm, sorting the multiple course feature vectors to obtain a course recommendation list corresponding to the target user.

[0131] Optionally, a preset sorting algorithm is used to sort multiple course feature vectors to obtain a course recommendation list corresponding to the target user, including:

[0132] For the feature vector of target user-course label, the matrix decomposition algorithm is used to calculate the preference score, and the Bayesian personalized sorting algorithm is combined to optimize the model to obtain the course recommendation list corresponding to the target user.

[0133] In one possible implementation, based on the low-dimensional representation of the user-course label type entity finally generated in S205, the MF algorithm is used to calculate the preference score, and the BPR algorithm is combined to optimize the model, and the user's relative ranking score for the course is calculated, and finally several courses with the highest ranking scores are selected as the user recommendation list output.

[0134] Here, the embodiment of the present application adopts a matrix factorization (MF) algorithm to calculate the preference score. The dot product of the latent vectors of the user and course labels is calculated by matrix decomposition to obtain the preference score. The MF algorithm can predict the user's potential interest or preference for unrated items, and provide effective support for the recommendation system. It is combined with the Bayesian Personalized Ranking (BPR) algorithm for model optimization, directly optimizing the personalized ranking task and effectively processing implicit feedback, which can improve the accuracy of the ranking and further improve the accuracy of the course recommendation.

[0135] Figure 4 A structural diagram of a course recommendation device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the device of the embodiment of the present application includes: an acquisition module 401, a first processing module 402, a second processing module 403, a third processing module 404, a fourth processing module 405 and a fifth processing module 406. The course recommendation device here can be the above-mentioned processing device, the processor itself, or a chip or integrated circuit that implements the function of the processor. It should be noted here that the division of the acquisition module 401, the first processing module 402, the second processing module 403, the third processing module 404, the fourth processing module 405 and the fifth processing module 406 is only a division of logical functions. Physically, the two can be integrated or independent.

[0136] Among them, the acquisition module is used to obtain multiple course training scenario data of the target user;

[0137] The first processing module is used to segment the course training scene data according to the preset fields, so as to obtain the course training scene data corresponding to each preset field, and obtain the global universal label and the field label corresponding to each preset field;

[0138] The second processing module is used to divide the course training scenario data into behavior according to the preset domain to obtain the source domain and the target domain;

[0139] The third processing module is used to establish a label association heterogeneous graph based on multiple source domains based on the source domain, the target domain, the global universal label and the domain label, and decompose the label association heterogeneous graph based on multiple source domains into multiple heterogeneous subgraphs;

[0140] A fourth processing module is used to perform feature aggregation processing on multiple heterogeneous subgraphs using a preset aggregation algorithm to obtain feature vectors of multiple target user-course labels;

[0141] The fifth processing module is used to use a preset sorting algorithm to sort multiple course feature vectors to obtain a course recommendation list corresponding to the target user.

[0142] Optionally, the third processing module is specifically used for:

[0143] Each domain in the label association heterogeneous graph based on multiple source domains is represented by a meta-path;

[0144] Based on meta-paths, the label association heterogeneous graph based on multiple source domains is decomposed into multiple heterogeneous subgraphs.

[0145] Optionally, the fourth processing module is specifically used for:

[0146] Using a first preset aggregation algorithm, perform layer-by-layer feature aggregation processing within a meta-path on multiple heterogeneous subgraphs to obtain multiple course sub-vectors corresponding to each heterogeneous subgraph;

[0147] A second preset aggregation algorithm is used to perform inter-meta-path feature aggregation processing on multiple course sub-vectors of multiple heterogeneous sub-graphs to obtain feature vectors of multiple target user-course labels.

[0148] Optionally, the fourth processing module is further specifically configured to:

[0149] A heterogeneous correlation measurement algorithm is used to calculate the correlation scores between entities on each heterogeneous subgraph;

[0150] According to the correlation score, K optimal neighbor nodes are selected on each heterogeneous subgraph to construct a local influence subgraph;

[0151] The convolution module is used to generate an embedding for each local influence subgraph and aggregate the target node neighborhood information to obtain multiple course subvectors corresponding to each heterogeneous subgraph.

[0152] Optionally, the fourth processing module is further specifically configured to:

[0153] An attention mechanism adaptive algorithm is used to perform inter-path feature aggregation on multiple course sub-vectors of multiple heterogeneous sub-graphs to obtain feature vectors of multiple target user-course labels.

[0154] Optionally, the fifth processing module is specifically configured to:

[0155] For the feature vector of target user-course label, the matrix decomposition algorithm is used to calculate the preference score, and the Bayesian personalized sorting algorithm is combined to optimize the model to obtain the course recommendation list corresponding to the target user.

[0156] Optionally, the second processing module is specifically used for:

[0157] Obtain user needs and determine the preset fields corresponding to the target domain based on the user needs;

[0158] The course training scene data in the preset field corresponding to the target domain is divided into the data in the target domain, and the course training scene data in the preset field corresponding to the non-target domain is divided into the data in the source domain.

[0159] refer to Figure 5 , which shows a schematic diagram of the structure of a course recommendation device 500 suitable for implementing the embodiment of the present disclosure, and the course recommendation device 500 may be a terminal device or a server. The terminal device may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The course recommendation device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0160] like Figure 5 As shown, the course recommendation device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 to a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the course recommendation device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0161] Typically, the following devices may be connected to the I / O interface 505: input devices 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 508 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 509. The communication device 509 may allow the course recommendation device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The course recommendation device 500 having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0162] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0163] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0164] The computer-readable medium may be included in the course recommendation device; or may exist independently without being incorporated into the course recommendation device.

[0165] The computer-readable medium carries one or more programs. When the one or more programs are executed by the course recommendation device, the course recommendation device executes the method shown in the above embodiment.

[0166] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0167] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0168] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0169] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0170] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0171] The course recommendation device of the embodiment of the present application can be used to execute the technical solutions in the above-mentioned method embodiments of the present application. Its implementation principles and technical effects are similar and will not be repeated here.

[0172] An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement any of the above-mentioned course recommendation methods.

[0173] An embodiment of the present application also provides a computer program product, including a computer program, which is used to implement any of the above-mentioned course recommendation methods when executed by a processor.

[0174] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0175] In addition, each functional unit in each embodiment of the present application 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.

[0176] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0177] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A course recommendation method, characterized in that: include: Obtain data on multiple course training scenarios for target users; According to the preset fields, the training scene data of each course is segmented to obtain the training scene data of each course corresponding to each preset field, and obtain the global universal label and the field label corresponding to each preset field; According to the preset domain, the course training scenario data is behaviorally divided to obtain a source domain and a target domain; Based on the source domain, the target domain, the global universal label and the domain label, a label association heterogeneous graph based on multiple source domains is established, and the label association heterogeneous graph based on multiple source domains is decomposed into multiple heterogeneous subgraphs; Using a preset aggregation algorithm, perform feature aggregation processing on the multiple heterogeneous subgraphs to obtain feature vectors of multiple target user-course labels; The plurality of course feature vectors are sorted using a preset sorting algorithm to obtain a course recommendation list corresponding to the target user.

2. The method according to claim 1, characterized in that The step of decomposing the label association heterogeneous graph based on multiple source domains into a plurality of heterogeneous subgraphs includes: Representing each domain in the label association heterogeneous graph based on multiple source domains with a meta-path; Based on meta-paths, the label association heterogeneous graph based on multiple source domains is decomposed into multiple heterogeneous sub-graphs.

3. The method according to claim 2, characterized in that The method of using a preset aggregation algorithm to perform feature aggregation processing on the multiple heterogeneous subgraphs to obtain feature vectors of multiple target user-course labels includes: Using a first preset aggregation algorithm, perform layer-by-layer feature aggregation processing within a meta-path on the multiple heterogeneous subgraphs to obtain multiple course sub-vectors corresponding to each of the heterogeneous subgraphs; A second preset aggregation algorithm is used to perform inter-meta-path feature aggregation processing on the multiple course sub-vectors of the multiple heterogeneous sub-graphs to obtain feature vectors of multiple target user-course labels.

4. The method according to claim 3, characterized in that The first preset aggregation algorithm is used to perform layer-by-layer feature aggregation processing within the meta-path on the multiple heterogeneous subgraphs to obtain multiple course sub-vectors corresponding to each of the heterogeneous subgraphs, including: A heterogeneous correlation measurement algorithm is used to calculate the correlation scores between entities on each heterogeneous subgraph; According to the correlation score, K optimal neighbor nodes are selected on each heterogeneous subgraph to construct a local influence subgraph; An embedding method is generated for each of the local influence subgraphs through a convolution module, and target node neighborhood information is aggregated to obtain multiple course subvectors corresponding to each of the heterogeneous subgraphs.

5. The method according to claim 3, characterized in that: The second preset aggregation algorithm is used to perform inter-element path feature aggregation processing on the multiple course sub-vectors of the multiple heterogeneous sub-graphs to obtain feature vectors of multiple target user-course labels, including: An attention mechanism adaptive algorithm is used to perform inter-meta-path feature aggregation processing on multiple course sub-vectors of the multiple heterogeneous sub-graphs to obtain feature vectors of multiple target user-course labels.

6. The method according to any one of claims 1 to 5, characterized in that: The method of using a preset sorting algorithm to sort the plurality of course feature vectors to obtain a course recommendation list corresponding to the target user includes: For the feature vector of the target user-course label, the matrix decomposition algorithm is used to calculate the preference score, and the Bayesian personalized sorting algorithm is combined to perform model optimization to obtain a course recommendation list corresponding to the target user.

7. The method according to any one of claims 1 to 5, characterized in that: According to the preset domain, the course training scenario data is divided into behavior to obtain a source domain and a target domain, including: Obtaining user needs, and determining a preset field corresponding to the target domain according to the user needs; The course training scene data in the preset field corresponding to the target domain is divided into data in the target domain, and the course training scene data in the preset field not corresponding to the target domain is divided into data in the source domain.

8. A course recommendation device, characterized in that: include: An acquisition module is used to obtain multiple course training scenario data of target users; The first processing module is used to segment the course training scene data according to the preset fields, so as to obtain the course training scene data corresponding to each preset field, and obtain the global universal label and the field label corresponding to each preset field; A second processing module is used to divide the course training scenario data into behaviors according to the preset domain to obtain a source domain and a target domain; A third processing module is used to establish a label association heterogeneous graph based on multiple source domains based on the source domain, the target domain, the global universal label and the domain label, and decompose the label association heterogeneous graph based on multiple source domains into multiple heterogeneous subgraphs; A fourth processing module is used to perform feature aggregation processing on the multiple heterogeneous subgraphs using a preset aggregation algorithm to obtain feature vectors of multiple target user-course labels; The fifth processing module is used to use a preset sorting algorithm to sort the multiple course feature vectors to obtain a course recommendation list corresponding to the target user.

9. A course recommendation device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.

Citation Information

Patent Citations

  • Course recommendation method and device based on transfer learning, equipment and medium

    CN112231586A

  • Personalized decoration scheme recommendation method and system based on deep learning, and medium

    CN116842267A

  • Model training method and device, equipment, storage medium and computer program product

    CN117217326A

  • Cold start user employment unit recommendation method based on cross-domain recommendation and related device

    CN117541207A

  • Commodity recommendation method, system and equipment based on graph convolutional network, and medium

    CN117635265A