Project recommendation method, device, electronic device and storage medium

By obtaining the feature vector of the investor's work organization and using the knowledge graph to calculate the matching score, the problem of the lack of personal preference information in the investment and financing platform recommendation system is solved, and the effect of project recommendation and user experience are improved.

CN115203532BActive Publication Date: 2024-09-17SHENZHEN ROADSHOW TIME NETWORK DATA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210638800.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-07
Publication Date
2024-09-17
Estimated Expiration
2042-06-07

AI Technical Summary

Technical Problem

In the absence of investors' personal preference information and behavior records, existing investment and financing platform recommendation systems are difficult to effectively recommend projects, resulting in poor recommendation results.

Method used

By obtaining the feature vector of the investor's work organization, the knowledge graph and attention mechanism are used to calculate the matching score and recommend projects that meet the investor's preferences.

Benefits of technology

It improves the effect of project recommendations for investors who lack user-related information, improves user experience, and ensures the accuracy and personalization of recommendations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115203532B
    Figure CN115203532B
Patent Text Reader

Abstract

The present invention relates to a project recommendation method, device, electronic device and storage medium, and belongs to the field of intelligent recommendation technology. The method includes: obtaining a feature vector of a working organization corresponding to an investor, determining the feature vector of the working organization as a target vector, wherein the feature vector of the working organization is used to characterize the investment preference information of the working organization; obtaining feature vectors of each candidate project, wherein, for each candidate project, the feature vector of the candidate project is used to characterize the project information of the candidate project; determining the matching score between each candidate project and the investor based on the feature vector and the target vector of each candidate project; and determining the recommended project corresponding to the investor from each candidate project based on the matching score between each candidate project and the investor. The present invention utilizes the investment preference information of the working organization corresponding to the investor to recommend projects to the investor, which can effectively improve the project recommendation effect for investors who lack user-related information.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the rise of the Internet and big data, many investment and financing platforms have emerged. The recommendation system of the investment and financing platforms will process the project information within the platform to provide project recommendation services to investors.

[0003] In related technologies, recommendation systems usually recommend projects to investors based on their input content and personal behavior tracks such as browsing history, or ask investors to provide personal preference information such as round preferences, regional preferences, and industry preferences, and match these preference information with project information on the platform to recommend projects that investors may be interested in.

[0004] However, newly certified investor users on investment and financing platforms often have no personal behavior records, and many investors will not provide personal preference information to the investment and financing platforms for various reasons, resulting in poor project recommendation effects for investors. Summary of the invention

[0005] In order to solve the defect that the existing project recommendation system has poor project recommendation effect for investors in the absence of personal preference information and personal behavior records of investor users, the present invention provides a project recommendation method, device, electronic device and storage medium.

[0006] In a first aspect, in order to solve the above technical problem, the present invention provides a project recommendation method, comprising:

[0007] S1, obtaining a feature vector of a working organization corresponding to the investor, and determining the feature vector of the working organization as a target vector, wherein the feature vector of the working organization is used to represent the investment preference information of the working organization;

[0008] S2, obtaining a feature vector of each candidate item, wherein for each candidate item, the feature vector of the candidate item is used to represent item information of the candidate item;

[0009] S3, based on the feature vector and target vector of each candidate project, determining the matching score between each candidate project and the investor;

[0010] S4, based on the matching scores between each candidate project and the investor, determining the recommended project corresponding to the investor from each candidate project.

[0011] The beneficial effect of the present invention is that: by using the investment preference information of the working organization corresponding to the investor, project recommendations are made to the investor, which can effectively improve the project recommendation effect for investors who lack user-related information.

[0012] Furthermore, the above-mentioned step of obtaining the feature vector of the working organization corresponding to the investor and determining the feature vector of the working organization as the target vector includes:

[0013] Determine whether the user-related information of the investor is obtained. If the user-related information is obtained, determine the characteristic vector of the investor according to the user-related information, and determine the characteristic vector of the investor as the target vector; if the user-related information is not obtained, obtain the characteristic vector of the working organization, and determine the characteristic vector of the working organization as the target vector;

[0014] The investor's feature vector is used to characterize the investor's investment preference information, and the user-related information includes at least one of personal behavior records and personal preference information.

[0015] The beneficial effect of adopting the above-mentioned improvement scheme is: by utilizing the investment preference information of investors or their corresponding institutions, reasonable project recommendations can be made to investors, and user-related information can be provided by investors at their choice, which can greatly improve the user experience.

[0016] Furthermore, the above S1 to S3, and based on the user-related information, determining the investor's feature vector is obtained by the trained project recommendation model;

[0017] The above project recommendation model is trained in the following way:

[0018] Determine a training sample set through a pre-established knowledge graph, wherein the training sample set includes a positive sample and a negative sample of a project entity corresponding to each organization head entity, and a positive sample and a negative sample of a project entity corresponding to each user head entity;

[0019] The knowledge graph stores various organization head entities, project entities corresponding to each organization head entity, various user head entities, and project entities corresponding to each user head entity. The project entity corresponding to each organization head entity includes a first project entity positive sample and a first project entity negative sample. The project entity corresponding to each user head entity includes a second project entity positive sample and a second project entity negative sample.

[0020] For each organization head entity and each user head entity in the training sample set, the organization head entity and the user head entity are respectively input into the initial project recommendation model to obtain a first matching score corresponding to a positive sample of the first project entity, a second matching score corresponding to a negative sample of the first project entity, a third matching score corresponding to a positive sample of the second project entity, and a fourth matching score corresponding to a negative sample of the second project entity;

[0021] Determine the collaborative filtering loss of the organization based on the first matching score corresponding to each organization header entity and the second matching score corresponding to each organization header entity, and determine the collaborative filtering loss of the user based on the third matching score corresponding to each user header entity and the fourth matching score corresponding to each user header entity;

[0022] A model loss value is determined based on the collaborative filtering loss of each organization and the collaborative filtering loss of each user, and the initial project recommendation model is iteratively trained based on the model loss value. The initial project recommendation model at the end of the training is determined as the project recommendation model.

[0023] The beneficial effect of adopting the above-mentioned improved scheme is: the model loss value is determined based on the collaborative filtering loss calculated based on each positive and negative sample, and the model is iteratively trained using the model loss value, so that the trained model can have a good recommendation effect for both the user head entity-based and the institution head entity-based recommendation methods.

[0024] Furthermore, the above knowledge graph is established in the following way:

[0025] Obtaining institution-related information of each of the multiple institutions and user-related information of each of the multiple users, wherein the institution-related information includes historical investment project information of the institution, each institution-related information includes a first project identifier, and each user-related information includes a second project identifier;

[0026] Each organization is identified as an organization head entity, and each user is identified as a user head entity;

[0027] According to each first project identifier and each second project identifier, a plurality of projects are obtained from each institution-related information and each user-related information, and each project is determined as a project header entity;

[0028] Based on the set correspondence relationship of the institution head entity, the correspondence relationship of the user head entity and the correspondence relationship of the project head entity, the institution head entity, the tail entity corresponding to the institution head entity, the user head entity, the tail entity corresponding to the user head entity, the project head entity and the tail entity corresponding to the project head entity are obtained from the institution related information and the user related information, wherein the correspondence relationship is used to characterize the semantic relationship between the head entity and the tail entity, the tail entity corresponding to the institution head entity is used to characterize the investment preference information of the institution head entity, the tail entity corresponding to the user head entity is used to characterize the investment preference information of the user head entity, and the tail entity corresponding to the project head entity is used to characterize the project information of the project head entity;

[0029] A knowledge graph is established based on each organization head entity, each user head entity, each project head entity, each tail entity and each corresponding relationship.

[0030] The beneficial effect of adopting the above-mentioned improvement scheme is that the knowledge graph can be used to associate and store various entities in the institution-related information and user-related information based on the set corresponding relationships, so that the model can determine the investment preference information corresponding to the investor or its corresponding work organization based on the knowledge graph, and then calculate the matching score of each project based on the preference information.

[0031] Furthermore, the corresponding relationship of the above-mentioned institution header entity includes at least one of the institution's investment projects, institution's preferred rounds, institution's preferred regions, and institution's preferred industry labels; the corresponding relationship of the user header entity includes at least one of the user's browsed project records, user's search industry label records, user's preferred rounds, user's preferred industries, and user's preferred regions; the corresponding relationship of the project header entity includes at least one of the project investor, the latest round of the project, the region where the project is located, and the industry where the project is located.

[0032] The beneficial effect of adopting the above-mentioned improvement scheme is that entities used to represent investment preference information or project information can be better extracted by utilizing the set corresponding relationships.

[0033] Furthermore, the above-mentioned step of obtaining the feature vector of the working organization corresponding to the investor and determining the feature vector of the working organization as the target vector includes:

[0034] Acquire multiple target tail entities corresponding to the work organization from a pre-established knowledge graph, wherein the target tail entity is used to represent the investment preference information of the work organization;

[0035] Perform feature extraction on the target tail entity to obtain an initial embedding vector of the target tail entity, wherein the initial embedding vector of the target tail entity is used to represent the semantic information of the target tail entity;

[0036] Based on the attention mechanism, the initial embedding vectors of each target tail entity are weighted summed to obtain the feature vector of the working mechanism, and the feature vector of the working mechanism is determined as the target vector.

[0037] The beneficial effect of adopting the above-mentioned improvement scheme is: using the attention mechanism to set weights for each initial embedding vector, so that the investment preference information corresponding to each initial embedding vector has different degrees of influence on the calculation of the matching score, thereby improving the recommendation effect of the project.

[0038] Furthermore, the matching score between each candidate project and the investor is determined based on the feature vector and target vector of each candidate project, including:

[0039] For each candidate project, the inner product between the feature vector of the candidate project and the target vector is calculated to obtain the matching score between the candidate project and the investor.

[0040] The beneficial effect of adopting the above-mentioned improved solution is that the matching score calculated by using the inner product of the vectors can better describe the matching degree between the candidate project and the investor.

[0041] In a second aspect, the present invention provides a project recommendation device, comprising:

[0042] An acquisition module is used to acquire a feature vector of a working organization corresponding to an investor, and determine the feature vector of the working organization as a target vector, wherein the feature vector of the working organization is used to represent the investment preference information of the working organization;

[0043] A first processing module is used to obtain a feature vector of each candidate item, wherein for each candidate item, the feature vector of the candidate item is used to represent item information of the candidate item;

[0044] The second processing module is used to determine the matching score between each candidate project and the investor based on the feature vector and the target vector of each candidate project;

[0045] The recommendation module is used to determine the recommended projects corresponding to the investors from the various candidate projects based on the matching scores between the various candidate projects and the investors.

[0046] In a third aspect, the present invention provides a computer-readable storage medium having instructions stored therein, which, when executed on a terminal device, causes the terminal device to execute all or part of the steps of the project recommendation method of the first aspect.

[0047] In a fourth aspect, the present invention provides an electronic device comprising a memory, a processor, and a program stored in the memory and running on the processor, wherein when the processor executes the program, all or part of the steps of the project recommendation method of the first aspect are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A schematic diagram of a project recommendation method provided by an embodiment of the present invention;

[0049] Figure 2 A schematic diagram of the structure of a project recommendation device provided by an embodiment of the present invention;

[0050] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0051] The following examples are provided to further explain and supplement the present invention and do not constitute any limitation to the present invention.

[0052] A project recommendation method according to an embodiment of the present invention is described below with reference to the accompanying drawings.

[0053] Reference Figure 1 As shown, the present invention provides a project recommendation method, comprising the following steps S1 to S4, wherein:

[0054] In step S1, a feature vector of a working organization corresponding to an investor is obtained, and the feature vector of the working organization is determined as a target vector, wherein the feature vector of the working organization is used to represent the investment preference information of the working organization.

[0055] It should be noted that the working institution corresponding to the above-mentioned investors can be the investment institution where the investors are employed, or it can refer to the investment institution that provides investment projects for the investors. For example, if investor A often invests in projects through investment institution B, that is, the projects invested by investor A are mainly provided by investment institution B, then investment institution B is the working institution corresponding to investor A.

[0056] The investment preference of working institutions for projects will affect the investment preference of individual investors for projects. Therefore, recommending projects to investors based on the investment preference information of working institutions can solve the cold start problem of the recommendation system, so that reasonable project recommendations can still be made for new registered users who lack personal behavior records and users who are unwilling to provide personal behavior records or personal preference information, thereby improving the project recommendation effect.

[0057] In this embodiment, the investment preference information of the institution may include information of multiple dimensions such as historical projects invested by the institution, rounds of investment preferred by the institution, regions preferred by the institution, industries preferred by the institution, etc. The investment preference information of multiple dimensions is represented by feature vectors to facilitate subsequent further processing of the investment preference information. The investment preference information of the institution can be obtained by performing data analysis on institutional information such as past investment records disclosed by the institution.

[0058] As a possible implementation method, a project description text is extracted from the institutional information. The project description text includes the historical investment projects of the institution and the project information corresponding to the historical investment projects. A sequence labeling model based on the BERT architecture is established to extract the investment preference information of the institution from the project description text.

[0059] For example, the investment preference information of an institution includes the industry labels of the institution's preferred investment, and the industry labels can be used to refine the classification of the industry that the institution prefers to invest in. For example, for two institutions that also prefer the new energy vehicle industry, based on the sequence labeling model of the BERT architecture, the industry labels of the project description texts of the two institutions are extracted respectively, and two industry labels of automobile manufacturing and automobile R&D design can be obtained. These two industry labels indicate that one institution prefers to invest in projects in the field of automobile manufacturing, while the other institution prefers to invest in projects in the field of automobile R&D design. Matching recommended projects based on the industry labels can improve the recommendation effect of projects.

[0060] Optionally, in one embodiment, obtaining a feature vector of a working organization corresponding to the investor and determining the feature vector of the working organization as a target vector includes:

[0061] Determine whether the user-related information of the investor is obtained. If the user-related information is obtained, determine the characteristic vector of the investor according to the user-related information, and determine the characteristic vector of the investor as the target vector; if the user-related information is not obtained, obtain the characteristic vector of the working organization, and determine the characteristic vector of the working organization as the target vector;

[0062] The investor's feature vector is used to characterize the investor's investment preference information, and the user-related information includes at least one of personal behavior records and personal preference information.

[0063] In this embodiment, for users who have completed their user-related information on the platform, project recommendations are made based on the user-related information. For users who have not completed their user-related information, such as newly registered users on the platform, project recommendations are made based on the institution-related information of the user's corresponding institution, thereby solving the cold start problem in the recommendation method.

[0064] Optionally, in one embodiment, the process of obtaining the feature vector of the working organization corresponding to the investor and determining the feature vector of the working organization as the target vector includes:

[0065] Acquire multiple target tail entities corresponding to the work organization from a pre-established knowledge graph, wherein the target tail entity is used to represent the investment preference information of the work organization;

[0066] Perform feature extraction on the target tail entity to obtain an initial embedding vector of the target tail entity, wherein the initial embedding vector of the target tail entity is used to represent the semantic information of the target tail entity;

[0067] Based on the attention mechanism, the initial embedding vectors of each target tail entity are weighted summed to obtain the feature vector of the working mechanism, and the feature vector of the working mechanism is determined as the target vector.

[0068] It is understandable that when the computer stores each node (entity) and edge (correspondence between entities) in the knowledge graph, it uses integer IDs such as 1, 2, and 3 to store each node and edge. These integer IDs are discrete and lack semantic information. Therefore, it is necessary to map these discrete integer IDs stored in the knowledge graph to a dense vector space for representation, that is, to convert these nodes and edges into vectors containing semantic information.

[0069] For example, for the text information "Work organization A's preferred city is city B", the semantic information "Work organization A", the semantic information "City B", and the semantic relationship "the organization's preferred city" can be extracted, and the semantic information and semantic relationship in the text information are stored in the knowledge graph, which corresponds to two nodes with integer IDs of 1 and 3 (1 is the head entity, corresponding to "Work organization A"; 3 is the tail entity, corresponding to "City B"), and an edge with an integer ID of 2 (2 is the corresponding relationship, corresponding to "the organization's preferred city"). When performing data analysis on the nodes and edges in the knowledge graph, each integer ID needs to be converted into a vector to restore the semantic information.

[0070] For example, the node with integer ID 3 is converted into a vector containing the semantic information of "city B", or the node with ID 3 is converted into a vector in the semantic space represented by the edge with integer ID 2, so that the node with integer ID 3 is converted into a vector containing the semantic information of "preferred city is city B", and the vector containing the semantic information such as "city B" is the embedding vector of tail entity 3. In practical applications, the embedding vectors of each node and edge in the graph can be obtained based on the translation mechanism.

[0071] In this embodiment, the initial embedding vectors of different target tail entities represent information of different dimensions in the investment preference information. For example, the initial embedding vectors in each target tail entity can represent project identification, round, region and industry label, etc. In practical applications, information of different dimensions in the investment preference information will have different degrees of influence on the matching degree between the project and the investor. Therefore, by introducing the attention mechanism to learn the importance of information of different dimensions in each investment preference information, by setting weights for each target tail entity and performing weighted sum calculations, it is possible to show that information of different dimensions in reality has different degrees of influence on the matching degree between the project and the investor, thereby improving the recommendation effect of the project.

[0072] In step S2, a feature vector of each candidate item is obtained, wherein for each candidate item, the feature vector of the candidate item is used to represent item information of the candidate item.

[0073] In this embodiment, the feature vector of the candidate project may be used to characterize project information such as the investment institution, latest round, region and industry of the candidate project.

[0074] In step S3, based on the feature vector and target vector of each candidate project, the matching score between each candidate project and the investor is determined.

[0075] In this embodiment, the matching score between the candidate project and the investor can be obtained by calculating the similarity between the feature vector of a single candidate project and the target vector. The matching score is used to indicate the matching degree between the candidate project and the investor.

[0076] Optionally, in one embodiment, the above processing steps S1 to S3, and determining the investor's feature vector based on the user-related information, are obtained through a trained project recommendation model;

[0077] Among them, the project recommendation model is trained in the following way:

[0078] Determine a training sample set through a pre-established knowledge graph, wherein the training sample set includes a positive sample and a negative sample of a project entity corresponding to each organization head entity, and a positive sample and a negative sample of a project entity corresponding to each user head entity;

[0079] The knowledge graph stores various organization head entities, project entities corresponding to each organization head entity, various user head entities, and project entities corresponding to each user head entity. The project entity corresponding to each organization head entity includes a first project entity positive sample and a first project entity negative sample. The project entity corresponding to each user head entity includes a second project entity positive sample and a second project entity negative sample.

[0080] For each organization head entity and each user head entity in the training sample set, the organization head entity and the user head entity are respectively input into the initial project recommendation model to obtain a first matching score corresponding to a positive sample of the first project entity, a second matching score corresponding to a negative sample of the first project entity, a third matching score corresponding to a positive sample of the second project entity, and a fourth matching score corresponding to a negative sample of the second project entity;

[0081] Determine the collaborative filtering loss of the organization based on the first matching score corresponding to each organization header entity and the second matching score corresponding to each organization header entity, and determine the collaborative filtering loss of the user based on the third matching score corresponding to each user header entity and the fourth matching score corresponding to each user header entity;

[0082] A model loss value is determined based on the collaborative filtering loss of each organization and the collaborative filtering loss of each user, and the initial project recommendation model is iteratively trained based on the model loss value. The initial project recommendation model at the end of the training is determined as the project recommendation model.

[0083] In this embodiment, the project entities corresponding to the projects that the investor is not interested in can be marked as negative project entity samples, and the project entities corresponding to the projects that the investor is interested in can be marked as positive project entity samples. For example, for investor A, the project entity corresponding to the project B that he is not interested in is taken as the negative project entity sample B1, and the project entity corresponding to the project C that he is interested in is taken as the positive project entity sample C1.

[0084] For the organization head entity B corresponding to the working organization corresponding to the investor A, the first project entity positive sample corresponding to the organization head entity B is the project entity positive sample C1, and the first project entity negative sample corresponding to the organization head entity B is the project entity negative sample B1.

[0085] For the user header entity A1 corresponding to investor A, the second project entity positive sample and the second project entity negative sample corresponding to the user header entity A1 can also be set as the project entity positive sample C1 and the project entity negative sample B1, and can also be set based on other projects of interest and other projects of no interest to the investor A, even if the project entities corresponding to the institution header entity B and the user header entity A1 are different.

[0086] The above-mentioned setting method for project entity positive samples and project entity negative samples can also be selected or adjusted according to actual needs and is not limited here.

[0087] The collaborative loss function is used to represent the difference between the matching scores predicted by the model for the positive sample of the project entity and the matching scores predicted by the model for the negative sample of the project entity, so that the difference between the matching scores of the positive and negative samples can be increased through iterative training. The model loss value is then constructed based on the collaborative loss function of the organization and the user, so that the trained model has a good recommendation effect on both the project recommendation methods based on the user's feature vector and the project recommendation methods based on the organization's feature vector.

[0088] Exemplarily, the collaborative filtering loss of the above user is expressed as follows:

[0089]

[0090] Among them, L CF-U represents the collaborative filtering loss of the user, M represents the training sample set, u represents any user head entity in the training sample set, i represents the positive sample of the second item entity corresponding to the user head entity, j represents the negative sample of the second item entity corresponding to the user head entity, represents the third matching score corresponding to the positive sample of the second project entity, represents the fourth matching score corresponding to the negative sample of the second project entity, and σ(·) represents the activation function.

[0091] The collaborative filtering loss of the above mechanism is expressed as follows:

[0092]

[0093] Among them, L CF-O represents the collaborative filtering loss of the organization, M represents the training sample set, o represents any organization head entity in the training sample set, i represents the first project entity positive sample corresponding to the organization head entity, j represents the first project entity negative sample corresponding to the organization head entity, represents the first matching score corresponding to the first project entity positive sample, represents the second matching score corresponding to the negative sample of the first item entity, and σ(·) represents the activation function.

[0094] The loss value of the above model is expressed as follows:

[0095] L CF =0.65*L CF-U +0.35*L CF-O

[0096] Among them, L CF-O Represents the model loss value, L CF-U represents the collaborative filtering loss of the user, L CF-O Indicates the collaborative filtering loss of the organization. 0.65 and 0.35 are the weights of the collaborative filtering loss of the user and the collaborative filtering loss of the organization, respectively. The weights are used to characterize the importance of the collaborative filtering loss of the user and the collaborative filtering loss of the organization. These two weight values ​​can also take other values, 0.65 and 0.35 are just examples.

[0097] It can be understood that by adjusting the weights of the two collaborative filtering losses in the weighted (weight) and, the trained model can have better prediction accuracy for user-based matching score prediction or institution-based matching score prediction.

[0098] As a possible implementation, the project recommendation model includes an embedding layer, an attention propagation layer, and a prediction layer, where:

[0099] In the initial training stage of the model, the embedding layer can be initialized by learning the TransR model, that is, the knowledge graph is learned using the TransR model to obtain the graph embedding of each node and each edge in the knowledge graph, and the graph embedding is used as the initial embedding vector output by the embedding layer, thereby generating a lookup table of the integer ID of the head entity and the initial embedding vector of the corresponding tail entity. The embedding layer can output the initial embedding vector of each tail entity corresponding to the integer ID of the input head entity based on the lookup table, and modify the lookup table in iterative training and subsequent model updates.

[0100] As a possible implementation method, in the iterative training of the model, the parameters of the embedding layer are not updated in the first three iterations, and the parameters of other layers are iteratively updated normally. After three iterative updates, all parameters in the model are iteratively updated to better utilize the graph embedding learned by TransR.

[0101] The attention propagation layer is established based on the attention mechanism, and is used to set weight values ​​for the initial embedding vector output by the embedding layer and perform weighted sum calculations. For example, for a certain institution A, its ID in the graph is 0 (institution head entity), and it has three tail entities with IDs 1, 2, and 3 in the knowledge graph. The embedding layer is used to find the three tail entities corresponding to the institution head entity, and output the initial embedding vector containing the semantic information of the project A, the initial embedding vector containing the semantic information of the round B, and the initial embedding vector containing the semantic information of the region C corresponding to these three tail entities. The attention propagation layer sets weight values ​​for the three initial embedding vectors output by the embedding layer, and performs weighted sum calculations on the three initial embedding vectors based on the weight values, thereby outputting the feature vector of the institution head entity.

[0102] The prediction layer is used to calculate the similarity between the feature vector of each project and the feature vector of the head entity output by the attention propagation layer, and output the matching score between each project and the investor based on the similarity. The feature vector of each project can be calculated using the embedding layer and attention propagation layer in the project recommendation model, and stored in the database for the prediction layer to obtain.

[0103] As a possible implementation method, in each iteration of the model, the model parameters and model loss values ​​can be input into the Adam optimizer, and the model parameters output by the Adam optimizer are used to update the model. After the model is iterated and updated 20 times, a trained project recommendation model is obtained.

[0104] Optionally, in one embodiment, the knowledge graph is established in the following manner:

[0105] Obtaining institution-related information of each of the multiple institutions and user-related information of each of the multiple users, wherein the institution-related information includes historical investment project information of the institution, each institution-related information includes a first project identifier, and each user-related information includes a second project identifier;

[0106] Each organization is identified as an organization head entity, and each user is identified as a user head entity;

[0107] According to each first project identifier and each second project identifier, a plurality of projects are obtained from each institution-related information and each user-related information, and each project is determined as a project header entity;

[0108] Based on the set correspondence relationship of the institution head entity, the correspondence relationship of the user head entity and the correspondence relationship of the project head entity, the institution head entity, the tail entity corresponding to the institution head entity, the user head entity, the tail entity corresponding to the user head entity, the project head entity and the tail entity corresponding to the project head entity are obtained from the institution related information and the user related information, wherein the correspondence relationship is used to characterize the semantic relationship between the head entity and the tail entity, the tail entity corresponding to the institution head entity is used to characterize the investment preference information of the institution head entity, the tail entity corresponding to the user head entity is used to characterize the investment preference information of the user head entity, and the tail entity corresponding to the project head entity is used to characterize the project information of the project head entity;

[0109] A knowledge graph is established based on each organization head entity, each user head entity, each project head entity, each tail entity and each corresponding relationship.

[0110] In this embodiment, for each institution, user and project included in the institution-related information and user-related information, the entities with semantic relationships with the institutions, users and projects in the relevant information are found by analyzing the context, etc. For example, for project A, based on the semantic relationship of the project investor, investment institution B is found, indicating that the project investor of project A is investment institution B, and a knowledge graph is established based on the triple form of <project A (head entity), project investor (corresponding relationship), investment institution B (tail entity)>, where the head entity, corresponding relationship and tail entity are all stored in the knowledge graph in the form of integer IDs.

[0111] Optionally, the corresponding relationship of the institution header entity includes at least one of the institution's investment projects, institution's preferred rounds, institution's preferred regions, and institution's preferred industry labels; the corresponding relationship of the user header entity includes at least one of the user's browsed project records, user's search industry label records, user's preferred rounds, user's preferred industries, and user's preferred regions; the corresponding relationship of the project header entity includes at least one of the project investor, the latest round of the project, the region where the project is located, and the industry where the project is located.

[0112] It can be understood that in the knowledge graph, each head entity can have multiple corresponding relationships, and each corresponding relationship points to at least one tail entity.

[0113] Taking institution A as the institution head entity, when it has a corresponding relationship with the institution's investment projects, the tail entity corresponding to the institution's head entity is the institution's investment projects; when it has a corresponding relationship with the institution's preferred rounds, the tail entity corresponding to the institution's head entity is the institution's preferred rounds; when it has a corresponding relationship with the institution's preferred regions, the tail entity corresponding to the institution's head entity is the institution's preferred region; when it has an institution's preferred industry label, the tail entity corresponding to the institution's head entity is the institution's preferred industry label.

[0114] Similarly, by setting reasonable correspondence between the institution head entity, user head entity and project head entity, the tail entities corresponding to the head entity can represent the characteristic information of the head entity in multiple dimensions. For example, by setting the correspondence between the institution's investment projects, institution's preferred rounds, institution's preferred regions and institution's preferred industry labels for the institution's head entity, the tail entity of the institution's head entity can represent the institution's investment preference information.

[0115] Optionally, in one embodiment, determining a matching score between each candidate project and the investor based on the feature vector and the target vector of each candidate project includes:

[0116] For each candidate project, the inner product between the feature vector of the candidate project and the target vector is calculated to obtain the matching score between the candidate project and the investor.

[0117] In step S4, based on the matching scores between each candidate project and the investor, a recommended project corresponding to the investor is determined from each candidate project.

[0118] In this embodiment, the matching scores between each candidate project and the investor are sorted from high to low according to the numerical value, and the k candidate projects with the highest matching scores are selected as the recommended projects for the current investor, where k can be freely set according to business needs.

[0119] The project recommendation method provided in the above embodiment utilizes the investment preference information of the working organization corresponding to the investor to recommend projects to the investor, which can effectively improve the project recommendation effect for investors who lack user-related information.

[0120] In the above embodiments, although the steps are numbered, such as S1, S2, etc., these are only specific embodiments given in the present application. Those skilled in the art may adjust the execution order of S1, S2, etc. according to actual conditions, which is also within the scope of protection of the present invention. It can be understood that in some embodiments, some or all of the above embodiments may be included.

[0121] like Figure 2 As shown, an embodiment of the present invention provides a project recommendation device, comprising:

[0122] An acquisition module 20 is used to acquire a feature vector of a working organization corresponding to an investor, and determine the feature vector of the working organization as a target vector, wherein the feature vector of the working organization is used to represent the investment preference information of the working organization;

[0123] A first processing module 30 is used to obtain a feature vector of each candidate item, wherein for each candidate item, the feature vector of the candidate item is used to represent item information of the candidate item;

[0124] The second processing module 40 is used to determine the matching score between each candidate project and the investor based on the feature vector and the target vector of each candidate project;

[0125] The recommendation module 50 is used to determine the recommended project corresponding to the investor from each candidate project based on the matching score between each candidate project and the investor.

[0126] Optionally, the acquisition module 20 is also used to determine whether the user-related information of the investor is obtained. If the user-related information is obtained, the characteristic vector of the investor is determined based on the user-related information, and the characteristic vector of the investor is determined as the target vector; if the user-related information is not obtained, the characteristic vector of the working organization is obtained, and the characteristic vector of the working organization is determined as the target vector; wherein the characteristic vector of the investor is used to characterize the investment preference information of the investor, and the user-related information includes at least one of personal behavior records and personal preference information.

[0127] Optionally, the recommendation module 50 is also used to determine a training sample set through a pre-established knowledge graph, wherein the training sample set includes a positive sample of a project entity and a negative sample of a project entity corresponding to each organization head entity, and a positive sample of a project entity and a negative sample of a project entity corresponding to each user head entity; wherein the knowledge graph stores each organization head entity, a project entity corresponding to each organization head entity, each user head entity, and a project entity corresponding to each user head entity, wherein the project entity corresponding to each organization head entity includes a positive sample of a first project entity and a negative sample of a first project entity, and the project entity corresponding to each user head entity includes a positive sample of a second project entity and a negative sample of a second project entity; for each organization head entity and each user head entity in the training sample set, the organization head entity and the user head entity are respectively input into the initial The initial project recommendation model is used to obtain a first matching score corresponding to the positive sample of the first project entity, a second matching score corresponding to the negative sample of the first project entity, a third matching score corresponding to the positive sample of the second project entity, and a fourth matching score corresponding to the negative sample of the second project entity; the collaborative filtering loss of the organization is determined based on the first matching score corresponding to each organization head entity and the second matching score corresponding to each organization head entity, and the collaborative filtering loss of the user is determined based on the third matching score corresponding to each user head entity and the fourth matching score corresponding to each user head entity; the model loss value is determined based on the collaborative filtering loss of each organization and the collaborative filtering loss of each user, the initial project recommendation model is iteratively trained based on the model loss value, and the initial project recommendation model at the end of the training is determined as the project recommendation model.

[0128] Optionally, the recommendation module 50 is further used to obtain institution-related information of each of the multiple institutions and user-related information of each of the multiple users, wherein the institution-related information includes historical investment project information of the institution, each institution-related information includes a first project identifier, and each user-related information includes a second project identifier; each institution is identified as an institution header entity, and each user is identified as a user header entity; according to each first project identifier and each second project identifier, multiple projects are obtained from each institution-related information and each user-related information, and each project is identified as a project header entity; based on the set correspondence between the institution header entity, the user header entity, and the project header entity The corresponding relationship between the entities is used to obtain the institution head entity, the tail entity corresponding to the institution head entity, the user head entity, the tail entity corresponding to the user head entity, the project head entity and the tail entity corresponding to the project head entity from the institution related information and the user related information, wherein the corresponding relationship is used to characterize the semantic relationship between the head entity and the tail entity, the tail entity corresponding to the institution head entity is used to characterize the investment preference information of the institution head entity, the tail entity corresponding to the user head entity is used to characterize the investment preference information of the user head entity, and the tail entity corresponding to the project head entity is used to characterize the project information of the project head entity; based on each institution head entity, each user head entity, each project head entity, each tail entity and each corresponding relationship, a knowledge graph is established.

[0129] Optionally, the acquisition module 20 is also used to obtain multiple target tail entities corresponding to the working organization from a pre-established knowledge graph, wherein the target tail entity is used to characterize the investment preference information of the working organization; perform feature extraction on the target tail entity to obtain an initial embedding vector of the target tail entity, wherein the initial embedding vector of the target tail entity is used to characterize the semantic information of the target tail entity; based on the attention mechanism, perform weighted summation on the initial embedding vectors of each target tail entity to obtain a feature vector of the working organization, and determine the feature vector of the working organization as the target vector.

[0130] Optionally, the recommendation module 50 is specifically configured to calculate, for each candidate project, an inner product between a feature vector of the candidate project and a target vector to obtain a matching score between the candidate project and the investor.

[0131] An embodiment of the present invention provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the steps of the item recommendation method of any of the above embodiments.

[0132] like Figure 3As shown, an electronic device 500 provided by an embodiment of the present invention includes a memory 510, a processor 520, and a program 530 stored in the memory 510 and running on the processor 520. When the processor 520 executes the program 530, the steps of the project recommendation method of any of the above embodiments are implemented.

[0133] Among them, the electronic device 500 can be a computer, a mobile phone, etc. Correspondingly, its program 530 is computer software or a mobile phone app, etc., and the above-mentioned parameters and steps in an electronic device 500 of the present invention can refer to the parameters and steps in the embodiment of the project recommendation method above, and will not be repeated here.

[0134] Those skilled in the art know that the present invention can be implemented as a system, method or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: it can be complete hardware, it can be complete software (including firmware, resident software, microcode, etc.), and it can also be a combination of hardware and software, which is generally referred to as "circuit", "module" or "system" herein. In addition, in some embodiments, the present invention can also be implemented in the form of a computer program product in one or more computer-readable media, and the computer-readable medium contains computer-readable program code.

[0135] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0136] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A project recommendation method, characterized in that: include: S1, obtaining a feature vector of a working organization corresponding to an investor, and determining the feature vector of the working organization as a target vector, wherein the feature vector of the working organization is used to represent the investment preference information of the working organization; S2, obtaining a feature vector of each candidate item, wherein, for each candidate item, the feature vector of the candidate item is used to represent item information of the candidate item; S3, determining a matching score between each candidate project and the investor based on the feature vector of each candidate project and the target vector; S4, determining a recommended project corresponding to the investor from among the candidate projects based on the matching scores between the candidate projects and the investor; The step of obtaining a feature vector of a working unit corresponding to the investor and determining the feature vector of the working unit as a target vector includes: Determine whether the user-related information of the investor is obtained, if the user-related information is obtained, determine the feature vector of the investor according to the user-related information, and determine the feature vector of the investor as the target vector; if the user-related information is not obtained, obtain the feature vector of the working organization, and determine the feature vector of the working organization as the target vector; The investor's feature vector is used to characterize the investor's investment preference information, and the user-related information includes at least one of personal behavior records and personal preference information; S1 to S3, and determining the feature vector of the investor based on the user-related information, are obtained through a trained project recommendation model; The project recommendation model is trained in the following way: Determine a training sample set through a pre-established knowledge graph, wherein the training sample set includes a positive sample and a negative sample of a project entity corresponding to each organization head entity, and a positive sample and a negative sample of a project entity corresponding to each user head entity; The knowledge graph stores the organization head entities, the project entities corresponding to each organization head entity, the user head entities, and the project entities corresponding to each user head entity. The project entities corresponding to each organization head entity include a first project entity positive sample and a first project entity negative sample. The project entities corresponding to each user head entity include a second project entity positive sample and a second project entity negative sample. For each of the organization head entities and each of the user head entities in the training sample set, the organization head entity and the user head entity are respectively input into the initial project recommendation model to obtain a first matching score corresponding to the first project entity positive sample, a second matching score corresponding to the first project entity negative sample, a third matching score corresponding to the second project entity positive sample, and a fourth matching score corresponding to the second project entity negative sample; Determine the collaborative filtering loss of the organization based on the first matching score corresponding to each of the organization header entities and the second matching score corresponding to each of the organization header entities, and determine the collaborative filtering loss of the user based on the third matching score corresponding to each of the user header entities and the fourth matching score corresponding to each of the user header entities; A model loss value is determined based on the collaborative filtering loss of each of the institutions and the collaborative filtering loss of each of the users, and the initial item recommendation model is iteratively trained based on the model loss value, and the initial item recommendation model at the end of the training is determined as the item recommendation model.

2. The method according to claim 1, characterized in that The knowledge graph is established in the following way: Acquire institution-related information of each of the multiple institutions and user-related information of each of the multiple users, wherein the institution-related information includes historical investment project information of the institution, each of the institution-related information includes a first project identifier, and each of the user-related information includes a second project identifier; Determine each of the organizations as an organization head entity, and determine each of the users as a user head entity; According to each of the first project identifiers and each of the second project identifiers, a plurality of projects are acquired from each of the institution-related information and each of the user-related information, and each of the projects is determined as a project header entity; Based on the set correspondence relationship of the institution header entity, the correspondence relationship of the user header entity and the correspondence relationship of the project header entity, the institution header entity, the tail entity corresponding to the institution header entity, the user header entity, the tail entity corresponding to the user header entity, the project header entity and the tail entity corresponding to the project header entity are obtained from the institution-related information and the user-related information, wherein the correspondence relationship is used to characterize the semantic relationship between the head entity and the tail entity, the tail entity corresponding to the institution head entity is used to characterize the investment preference information of the institution head entity, the tail entity corresponding to the user header entity is used to characterize the investment preference information of the user header entity, and the tail entity corresponding to the project header entity is used to characterize the project information of the project header entity; The knowledge graph is established based on each of the organization head entities, each of the user head entities, each of the project head entities, each of the tail entities and each of the corresponding relationships.

3. The method according to claim 2, characterized in that The corresponding relationship of the institution header entity includes at least one of the institution's investment projects, institution's preferred rounds, institution's preferred regions, and institution's preferred industry labels; the corresponding relationship of the user header entity includes at least one of the user's browsed project records, user's search industry label records, user's preferred rounds, user's preferred industries, and user's preferred regions; the corresponding relationship of the project header entity includes at least one of the project investor, the latest round of the project, the region where the project is located, and the industry where the project is located.

4. The method according to claim 1, characterized in that: The step of obtaining a feature vector of a working unit corresponding to the investor and determining the feature vector of the working unit as a target vector includes: Acquire multiple target tail entities corresponding to the working organization from a pre-established knowledge graph, wherein the target tail entities are used to represent the investment preference information of the working organization; Performing feature extraction on the target tail entity to obtain an initial embedding vector of the target tail entity, wherein the initial embedding vector of the target tail entity is used to represent semantic information of the target tail entity; Based on the attention mechanism, the initial embedding vectors of each target tail entity are weightedly summed to obtain the feature vector of the working mechanism, and the feature vector of the working mechanism is determined as the target vector.

5. The method according to any one of claims 1 to 4, characterized in that The determining, based on the feature vectors of each candidate project and the target vector, a matching score between each candidate project and the investor includes: For each of the candidate projects, the inner product between the feature vector of the candidate project and the target vector is calculated to obtain a matching score between the candidate project and the investor.

6. A project recommendation device, characterized in that: include: An acquisition module, used for acquiring a feature vector of a working organization corresponding to an investor, and determining the feature vector of the working organization as a target vector, wherein the feature vector of the working organization is used for representing the investment preference information of the working organization; A first processing module is used to obtain a feature vector of each candidate item, wherein for each candidate item, the feature vector of the candidate item is used to represent item information of the candidate item; A second processing module, configured to determine a matching score between each candidate project and the investor based on the feature vector of each candidate project and the target vector; A recommendation module, configured to determine a recommended project corresponding to the investor from among the candidate projects based on a matching score between the candidate projects and the investor; The acquisition module is further used to determine whether the user-related information of the investor is obtained. If the user-related information is obtained, the characteristic vector of the investor is determined according to the user-related information, and the characteristic vector of the investor is determined as the target vector; if the user-related information is not obtained, the characteristic vector of the working organization is obtained, and the characteristic vector of the working organization is determined as the target vector; wherein the characteristic vector of the investor is used to characterize the investment preference information of the investor, and the user-related information includes at least one of personal behavior records and personal preference information; The recommendation module is also used to determine a training sample set through a pre-established knowledge graph, wherein the training sample set includes a positive sample of a project entity and a negative sample of a project entity corresponding to each organization head entity, and a positive sample of a project entity and a negative sample of a project entity corresponding to each user head entity; wherein the knowledge graph stores each organization head entity, a project entity corresponding to each organization head entity, each user head entity, and a project entity corresponding to each user head entity, wherein the project entity corresponding to each organization head entity includes a positive sample of a first project entity and a negative sample of a first project entity, and the project entity corresponding to each user head entity includes a positive sample of a second project entity and a negative sample of a second project entity; for each organization head entity and each user head entity in the training sample set, the organization head entity and the user head entity are respectively input into the initial project entity. A project recommendation model is constructed to obtain a first matching score corresponding to the positive sample of the first project entity, a second matching score corresponding to the negative sample of the first project entity, a third matching score corresponding to the positive sample of the second project entity, and a fourth matching score corresponding to the negative sample of the second project entity; based on the first matching score corresponding to each institution head entity and the second matching score corresponding to each institution head entity, the collaborative filtering loss of the institution is determined, and based on the third matching score corresponding to each user head entity and the fourth matching score corresponding to each user head entity, the collaborative filtering loss of the user is determined; based on the collaborative filtering loss of each institution and the collaborative filtering loss of each user, a model loss value is determined, and based on the model loss value, the initial project recommendation model is iteratively trained, and the initial project recommendation model at the end of the training is determined as the project recommendation model.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the steps of the item recommendation method according to any one of claims 1 to 5.

8. An electronic device comprising a memory, a processor, and a program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the steps of the item recommendation method according to any one of claims 1 to 5 are implemented.