A patent recommendation method and terminal based on graph neural network
Through the patent transaction recommendation method based on graph neural network, a knowledge graph of institutions and patents is constructed, which solves the problems of high-dimensional feature small sample learning and relationship network modeling, achieves accurate patent matching and privacy protection, and improves the accuracy of the recommendation system. Sex and privacy security.
Patent Information
- Application Number
- CN202111152619.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-09-29
AI Technical Summary
Existing patent transaction recommendation systems are difficult to achieve accurate matching and recommendation, mainly due to the problem of small sample learning of high-dimensional features, the inability to effectively model the relationship network between buyers and sellers, and the insufficient consideration of privacy protection requirements, resulting in low recommendation accuracy and obstacles to data transactions.
Adopting a patent recommendation method based on graph neural network, by constructing a knowledge graph of institutions and patents, using the graph neural network model for pre-training and fine-tuning, and combining natural language processing and secure aggregation technology to achieve effective modeling of buyer-seller relationship information and Privacy protection and accurate patent matching.
It improves the accuracy and success rate of patent transaction recommendations, improves NDCG and MRR indicators, ensures the security of private data, is suitable for device-edge cloud architecture, and covers the computing power of different participants.
Smart Images

Figure CN113902522B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information processing technology, and in particular to a patent recommendation method, terminal and computer-readable storage medium based on graph neural network. Background Art
[0002] With the continuous deepening of economic globalization and information globalization in today's era, the importance of "intellectual property" has become increasingly prominent. Intellectual property is an indispensable strategic resource for enhancing the core competitiveness and sustainable development of an enterprise or even a country. The emerging industry patent navigation decision-making mechanism based on industrial data and patent data has been adopted as an important reform measure. It aims to use patent navigation methods to accurately grasp the technology and market competition situation in the field of strategic emerging industries and regional key industries through industrial data and patent data analysis, and reasonably promote the layout and structural optimization of regional emerging industries. Intellectual property can only better reflect its significance through transformation and investment in the industry. In order to effectively integrate patents into the industry and let patent results effectively solve practical problems in the industry, a perfect patent trading mechanism is indispensable. However, in the process of patent transactions, there are huge challenges in the accurate matching and recommendation of buyers and sellers (such as a patent purchasing agency as a buyer and a patent seller as a seller).
[0003] The first challenge is that the transaction data of patent transactions is small, and learning and information mining from small samples have great limitations. The reasons can be attributed to the following three points: 1) Patents are highly scarce. From the perspective of application motivation, the proportion of right holders who apply for intellectual property rights for the pursuit of commercial profits is relatively large, while the proportion of right holders who simply carry out intellectual property layout for transactions is relatively small. Therefore, the proportion of patents that can enter the trading platform in the successful application of patents is very small. 2) Patent transactions are the delivery of intangible asset rights, and the transaction only displays the certificate of rights. Compared with ordinary goods, the transaction process brings higher communication costs. 3) Patent transactions require participants to have strong professionalism. Participants in intellectual property transactions need to have a deeper understanding or research on the ownership information, value content and market application prospects of intellectual property rights. At the same time, they also need to have certain basic knowledge and practical experience in the technical fields involved in the patents, so as to judge the gold content of the patent, and then realize the valuation of the patent and complete the transaction.
[0004] The second challenge is that the current mainstream recommendation models, such as factorization machines and convolutional neural networks, only use the attribute information of the buyer and seller (such as technical fields, regions, etc.), but it is difficult to model and learn the relationship information that affects the transaction (such as cooperative relationships between companies, citation relationships between patents, etc.). In fact, the relationship information between buyers and sellers and their patents plays a key role in patent transactions. However, since this key information cannot be effectively abstracted and expressed, the recommendation accuracy of the current patent recommendation system is difficult to guarantee. How to use relationship information to improve the success rate of patent transactions is a difficulty that needs to be solved urgently.
[0005] The third challenge is that both buyers and sellers in patent transactions have their own privacy protection needs. Buyers are reluctant to disclose their purchase needs and specific application scenarios of the purchased intellectual property; sellers are reluctant to disclose the specific products, business scenarios, and data in the development process of the intellectual property to be sold. The lack of data transparency between buyers and sellers has added obstacles to large-scale patent data transactions and has become a difficulty in patent transactions.
[0006] With the goal of improving the matchmaking rate of patent transaction recommendations, the current patent recommendation technology mainly has the following bottleneck problems:
[0007] 1. Overfitting problem of small sample learning of high-dimensional features: The proportion of patents that can be successfully traded in the total number of patents is extremely small. How to use a small part of patent transaction information to find suitable buyers for the massive amount of untraded patents to maximize their market value is a difficulty in the current patent transaction recommendation. In addition, the information contained in each patent is very rich. For example, a patent contains information about the inventor, the applicant unit, and the technical details contained in the patent. Under the condition of a small sample, it is undoubtedly more difficult to screen and mine potential attributes that are positively correlated with transactions from massive amounts of information.
[0008] Traditional recommendation systems mostly use machine learning algorithms, and mainstream machine learning algorithms usually require a large amount of data for training in order to build a prediction model with high generalization ability. In the case of high-dimensional features and small sample data, these machine learning algorithms are prone to overfitting problems. The problem of learning high-dimensional features with small samples is a bottleneck problem in patent recommendation, and new methods are needed to solve the defect that traditional models cannot effectively learn high-dimensional features with small samples.
[0009] 2. The relationship network between buyers and sellers cannot be effectively modeled: Patent information, such as title, abstract, technical field, etc., is an important attribute in patent transactions. Similarly, the market value, financing situation, credit situation, etc. of the enterprise also play a key role in transactions as important attributes. In addition to the attribute information of the buyer and seller, each buyer and seller also constitutes its own unique relationship network. This relationship network contains rich information such as the competitive and cooperative relationship between the buyer and seller’s institutions in their industry, the talent flow relationship, and the citation relationship between patents.
[0010] Traditional recommendation algorithms extract and concatenate relatively independent attribute information of buyers and sellers, and use it as feature input to the recommendation model for result prediction. However, these traditional recommendation algorithms cannot effectively model the relationship network between buyers and sellers. In addition to the attribute information of the buyers and sellers, the relationship information built by the buyers and sellers also plays an important role in the successful transaction of patents. Therefore, new methods are needed to introduce the relationship network into the recommendation and effectively model it, so as to utilize the rich relationship information between buyers and sellers to improve the quality of recommendations.
[0011] 3. Privacy protection needs of buyers and sellers: Buyers and sellers have strong privacy protection needs during the transaction process. The party making the patent demand is reluctant to reveal too much about the purpose of purchasing the patent, while the patent holder is reluctant to mention too much about the core content of its patent protection. Under the premise of privacy and security protection, accurate matching of patent buyers and sellers is an urgent need for patent transactions.
[0012] 4. End-edge-cloud architecture collaborative design: The participants in patent transactions can be patent agencies, which hold a large number of patents and have strong computing power, and can act as cloud platforms; the participants in patent transactions can also be small institutions and companies, which have published some relevant patents and have certain computing power, and act as edge devices; in addition, the main participants in patent transactions are individual users, who own a small number of patents but do not have strong computing power, and act as end devices. The current patent transaction recommendations do not consider the collaborative design of the end-edge-cloud architecture, making it difficult for patent transactions to be popularized on a large scale.
[0013] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0014] The main purpose of the present invention is to provide a patent recommendation method, terminal and computer-readable storage medium based on graph neural network, aiming to solve the problem in the prior art that accurate matching and recommendation cannot be achieved during patent transactions.
[0015] To achieve the above object, the present invention provides a patent recommendation method based on graph neural network, and the patent recommendation method based on graph neural network includes the following steps:
[0016] Obtaining institutional information and patent information, and constructing a knowledge graph of the relationship between institutions and patents based on the institutional information and the patent information;
[0017] According to the knowledge graph of the relationship between the institutions and patents, a list of buyer institutions with the highest patent matching degree is recommended to the seller institution based on the graph neural network model, and a list of seller patents with the highest matching degree with the patent requirements proposed by the buyer institution is recommended to the buyer institution based on the graph neural network model.
[0018] Optionally, in the patent recommendation method based on graph neural network, the relationship between institutions and patents includes: the relationship between institutions and patent applications, the relationship between institutions and patent transactions, the relationship between individuals and patent inventions, the relationship between patents and patent citations, the relationship between patents belonging to fields, the relationship between patents belonging to national economic classifications, the relationship between institutions and regions, the relationship between individuals and fields, and the relationship between field hierarchies.
[0019] Optionally, in the patent recommendation method based on graph neural network, the graph neural network model includes a training phase and a prediction phase;
[0020] The training phase includes a pre-training phase and a fine-tuning phase.
[0021] Optionally, in the patent recommendation method based on graph neural network, the pre-training stage includes:
[0022] The pre-training party constructs a knowledge graph of the relationship between institutions and patents based on the institutions and patent information it has, and encodes and transforms the information of each node in the knowledge graph of the relationship between institutions and patents;
[0023] Converting the knowledge graph of the relationship between institutions and patents into graph data suitable for the graph neural network model;
[0024] Wherein, the encoding and conversion include:
[0025] Use the natural language processing model to embed text information into words for text data;
[0026] Categorical data of non-text classes will be encoded using one-hot encoding.
[0027] Optionally, in the patent recommendation method based on graph neural network, the fine-tuning stage includes:
[0028] Send the graph neural network model and recommendation model that have completed the pre-training phase to the buyer and seller institutions;
[0029] Buyer and seller institutions build small-scale institutional and patent knowledge graphs based on their own data through the same knowledge graph construction method;
[0030] The buy-side and sell-side institutions use their respective data to fine-tune the graph neural network model and recommendation model, and the buy-side and sell-side institutions average the model parameters with the assistance of the pre-training party.
[0031] Optionally, in the patent recommendation method based on graph neural network, the prediction stage includes:
[0032] The buyer and seller organizations construct knowledge graphs based on their respective patents and transaction data, encode and transform the graph information, and input it into the graph neural network pre-training model as graph data samples to obtain graph embedding representations of the buyer organization's needs and the patents to be recommended as intermediate results.
[0033] Noise protection is added to the embedding representation of the initiator and sent to the responding party;
[0034] After receiving the noise-protected graph embedding representation of the buyer organization, the participants input it into the downstream recommendation model together with the patented graph embedding representation;
[0035] The downstream recommendation model uses a fully connected network to transform the graph embedding representation, and then uses cosine similarity to find the matching degree between the buyer organization and the patent, sorts the matching results, and uses the patent with the highest matching score as the recommendation information, which is encrypted and transmitted to the initiator;
[0036] The initiator decrypts the recommendation result and obtains the recommendation list.
[0037] Optionally, in the patent recommendation method based on graph neural network, the initiator decrypts the recommendation result to obtain a recommendation list, including:
[0038] If the initiator is a seller organization, the recommendation result is a list of buyer organizations with the highest matching degree with the patent;
[0039] If the initiator is a buyer organization, the recommendation result is a list of seller patents that best matches the patent requirements proposed by the buyer organization.
[0040] Optionally, the patent recommendation method based on graph neural network, wherein the patent recommendation method based on graph neural network further includes:
[0041] During the pre-training phase, the cloud server is used to perform local training of the model;
[0042] During the fine-tuning phase, a secure aggregation method is used. During the fine-tuning phase of model aggregation, only the gradient information of the model is transmitted without transmitting the training data. At the same time, during the transmission of the gradient information, a mask is added to the gradient information so that the aggregation coordinator cannot obtain accurate gradient information.
[0043] During the prediction phase, interaction is performed through the graph embedding representation, and noise is added to the graph embedding representation during its transmission.
[0044] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a patent recommendation program based on a graph neural network stored on the memory and executable on the processor, wherein the patent recommendation program based on a graph neural network implements the steps of the patent recommendation method based on a graph neural network as described above when executed by the processor.
[0045] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a patent recommendation program based on a graph neural network, and when the patent recommendation program based on a graph neural network is executed by a processor, the steps of the patent recommendation method based on a graph neural network as described above are implemented.
[0046] The present invention obtains institutional information and patent information, and constructs a knowledge graph of the relationship between institutions and patents based on the institutional information and the patent information; based on the knowledge graph of the relationship between institutions and patents, a list of buyer institutions with the highest degree of match with patents is recommended to the seller institution based on a graph neural network model, and a list of seller patents with the highest degree of match with the patent requirements proposed by the buyer institution is recommended to the buyer institution based on a graph neural network model. The present invention extracts patent and institutional information in the form of a graph, encodes and transforms it into a graph data sample of a graph neural network, uses a graph neural network to implement graph embedding of nodes, adopts a pre-training and fine-tuning mechanism, and implements matching between demand institutions and patents for sale through a recommendation model. Under the premise of privacy and security protection, accurate matching of patent buyers and sellers is performed to improve the quality of recommendations. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a flow chart of a preferred embodiment of the patent recommendation method based on graph neural network of the present invention;
[0048] Figure 2 It is a schematic diagram of a knowledge graph of the relationship between institutions and patents constructed in a preferred embodiment of the patent recommendation method based on graph neural network of the present invention;
[0049] Figure 3 It is a schematic diagram of the principle of the training phase (pre-training phase and fine-tuning phase) in a preferred embodiment of the patent recommendation method based on graph neural network of the present invention;
[0050] Figure 4 It is a schematic diagram of the principle of the prediction stage in a preferred embodiment of the patent recommendation method based on graph neural network of the present invention;
[0051] Figure 5 It is a schematic diagram of a signal-to-noise ratio-NDCG curve under noise protection in a preferred embodiment of the patent recommendation method based on graph neural network of the present invention;
[0052] Figure 6 It is a schematic diagram of the change in the cosine similarity amplitude of each group of samples before and after adding noise in a preferred embodiment of the patent recommendation method based on graph neural network of the present invention;
[0053] Figure 7 Schematic diagram of the operating environment of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0055] The patent recommendation method based on graph neural network described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the patent recommendation method based on graph neural network includes the following steps:
[0056] Step S10: Obtain institution information and patent information, and construct a knowledge graph of the relationship between institutions and patents (i.e., institution-patent knowledge graph) based on the institution information and the patent information.
[0057] Among them, the relationship between institutions and patents includes: the relationship between institutions and patent applications, the relationship between institutions and patent transactions, the relationship between people and patent inventions, the relationship between patents and patent citations, the relationship between patents belonging to fields, the relationship between patents belonging to national economic classifications, the relationship between institutions and regions, the relationship between people and fields, and the relationship between field hierarchies.
[0058] Specifically, Figure 2 As shown, Figure 2 The following relationships are covered:
[0059] Institution-patent application relationship: indicates which institution the patent inventor relies on to apply for the patent;
[0060] Institution-patent transaction relationship: indicates which institution purchased the patent, indicating the change relationship of the final patent owner;
[0061] Person-patent invention relationship: indicates which inventor invented and applied for the patent;
[0062] Patent-patent citation relationship: indicates which patents are cited in the patent claims;
[0063] Patent affiliation: Indicates which International Patent Classification (IPC) category the patent belongs to;
[0064] Patent belongs to national economic classification: indicates which national economic classification category the patent belongs to;
[0065] Institution-region affiliation: indicates the region where the institution is located, such as province or city;
[0066] Person-field correlation: indicates which International Patent Classification (IPC) categories the patents invented by the person are related to;
[0067] Domain hierarchical relationship: Further hierarchical division is carried out according to the IPC sub-domains.
[0068] Step S20: Based on the knowledge graph of the relationship between the institution and the patent, a list of buyer institutions with the highest patent matching degree is recommended to the seller institution based on the graph neural network model; and based on the graph neural network model, a list of seller patents with the highest matching degree with the patent requirements proposed by the buyer institution is recommended to the buyer institution.
[0069] Specifically, the graph neural network model in the present invention needs to be trained in advance, that is, the graph neural network model includes a training stage and a prediction stage; wherein the training stage includes a pre-training stage and a fine-tuning stage.
[0070] like Figure 3 As shown in the figure, in the pre-training stage, the pre-training party is usually the owner of large-scale institution-patent data. This party acts as a cloud server to complete the pre-training of the large-scale graph neural network model. The pre-training party first constructs the institution-patent relationship knowledge graph based on the large amount of institution and patent information it owns, and encodes and transforms the information of each node. The specific content of the encoding and transformation includes (1) for text data, a natural language processing model, such as BERT, is used to represent the text information by word embedding; (2) for non-text classified data, one-hot coding is used for encoding. The various encoded information of the nodes of the graph are spliced together as the attributes of the nodes; the relationship between the nodes constitutes a directed edge, thereby converting the institution-patent knowledge graph into graph data suitable for graph neural networks. By constructing the institution and patent information into a knowledge graph, the transaction information can be structured in the form of edges, and the attribute information of the institution or patent itself can be represented as the attribute of the node (the attribute refers to the institution, such as the name of the institution, the date of establishment, etc.). The use of graph neural networks can effectively learn both the attribute information and the structural information, thereby improving the accuracy of patent recommendations.
[0071] Since the proportion of successfully traded patents to the total number of patents is relatively small, it is necessary to introduce self-supervised learning during the training process to alleviate the problem of sparse label data. Based on this, the present invention adopts a generative graph neural network pre-training framework GPT-GNN. GPT-GNN divides the training task into two subtasks: node attribute prediction and edge prediction. By masking and predicting the attributes of the nodes and the edge information, self-supervised learning is achieved (that is, when training the model, it is divided into two tasks: one is to mask the attributes of a certain node, and the model predicts the attribute value of the node according to the attributes and edge relationships of other nodes connected to the node; the other is to mask the edge between two nodes, and then predict whether there is an edge and edge value between the two nodes according to the attributes of the two nodes). These two subtasks are not independent of each other. GPT-GNN takes into account the dependency between the network structure and the node attributes during the training process, that is, the attribute information of the node is generated using the structural information, and vice versa, the predicted node information is further used to generate other structural information. Due to the introduction of the self-supervision mechanism, GPT-GNN provides an effective solution to the challenge of sparse label data in large-scale graph mining applications. Therefore, the present invention uses GPT-GNN to train and predict large-scale institution-patent transactions.
[0072] Furthermore, the output result of GPT-GNN is the graph embedding representation of each node, that is, the attributes of the nodes and their edge relationships are uniformly represented by a vector. According to the actual scenario of patent recommendation, the present invention aims to recommend the corresponding buyer organization to the patent and the corresponding patent to the buyer organization, constructs the link prediction problem between the buyer organization and the patent, and further iterates and updates the pre-trained model as a downstream task.
[0073] Specifically, the present invention adopts a similarity matching method to recommend corresponding buyer organizations to patents and corresponding patents to buyer organizations according to the matching degree between buyer organizations and patents. For example, it is a common practice in recommendation systems to recommend based on the similarity of node embedding representations. The assumption here is that the more similar the buyer and seller are, the more useful the recommendation results are. For example, an organization holds many semiconductor patents, and the possibility of purchasing semiconductor patents is higher than the possibility of purchasing food patents. In this case, the graph embedding similarity between semiconductor patents and semiconductor organizations is relatively high. The present invention uses the graph embedding representation of nodes as features, performs a one-step linear transformation on the graph embedding representation of buyer organization nodes through a fully connected layer, and then calculates the cosine similarity with the graph embedding representation of patent nodes. Specifically, given a patent (seller), it is matched one by one with many company organizations (buyers) to calculate the cosine similarity. Finally, it is sorted according to similarity, and a certain number of company organizations ranked high are used as recommendation results. In the iterative update of the pre-trained model by downstream tasks, the present invention adopts Normalized Discounted Cumulative Gain (NDCG) as an evaluation indicator.
[0074] like Figure 3As shown, in the fine-tuning stage, after completing the model pre-training stage, the model pre-training party distributes the pre-trained model, including the graph neural network and the recommendation model, to multiple buyer organizations and seller organizations. The buyer and seller (buyer organization and seller organization) build a small-scale institution-patent knowledge graph based on the data they hold through the same knowledge graph construction method. After that, the buyer and seller use their own data to fine-tune the model, and then the buyer and seller average the model parameters with the assistance of the pre-training party (the fine-tuning training and model parameter averaging here refer to training based on a small number of samples owned by the organization on the basis of the original model, which refers to further adjusting the parameters slightly on the existing model with a small number of samples. Model parameter averaging refers to multiple parties using their own data to fine-tune their respective models, but the parameters of each model are not uniform after fine-tuning. In order to use a unified model, model parameter averaging is required). Since the buyer and seller introduce their own privacy data during the training process, in order to protect their respective privacy data from being leaked during the model parameter averaging process, the present invention uses secure aggregation to update the model parameters. Specifically, the buyer and seller add masks to the parameters to protect the privacy of their own models. The secure aggregation technology is used here. The general principle is that party A adds a mask (+X) to the parameters, and party B subtracts the mask (-X) from the parameters. The coordinator adds and averages the AB parameters, and the masks cancel each other out in the process. This is a simple example of two parties, which can be expanded to multiple parties. In the process of adding masks, the masks added by each party meet the conditions of canceling each other out. After that, the buyer and seller send the masked parameters to the pre-training party, average the model parameters, and finally send the model parameters to each participant.
[0075] It is worth noting that the above fine-tuning is optional. Buyers and sellers can decide whether to participate in fine-tuning training based on the amount of data and computing power they have. If they choose not to participate, they can directly use the pre-trained model for patent recommendation.
[0076] In addition, this solution is applicable to the end-edge-cloud architecture: cloud participants can use a large amount of computing power to pre-train the graph neural network model, and edge participants can use a certain amount of computing power to fine-tune the model. When end participants lack computing power resources, they can choose not to participate in pre-training and fine-tuning, and directly use the models trained by the cloud and edge participants to make recommendations.
[0077] like Figure 4 As shown, in the prediction stage, Figure 4The recommendation process of buyers and sellers is shown. The buyers and sellers construct a knowledge graph with their patents and transaction data, encode and transform the graph information, and input it into the graph neural network pre-training model as a graph data sample to obtain the graph embedding representation of the buyer's organization's needs and the patents to be recommended as the intermediate result of the model. This transaction example adds noise protection to the embedding representation of the initiator (e.g., the buyer, i.e., the patent demand organization) and sends it to another responding participant (e.g., the seller, i.e., the patent holder). After receiving the noise-protected embedding representation of the buyer's organization graph, the seller inputs it into the downstream recommendation model together with the patent graph embedding representation obtained through the local model. The downstream recommendation model uses a fully connected network to transform the embedding representation, and then uses cosine similarity to find the degree of match between the buyer organization and the patent. Finally, the matching results are sorted, and the patent with the highest matching score is used as the recommendation information and encrypted and transmitted to the initiator. The initiator decrypts the result to obtain a recommendation list. If the initiator is a seller organization, the recommendation result is a list of buyer organizations with the highest degree of match with the patents. Conversely, if the initiator is a buyer organization, the recommendation result is a list of seller patents with the highest degree of match with the patent requirements proposed by the buyer organization.
[0078] In the prediction phase, the main operation of the participants is to use the language model and graph neural network for forward propagation to obtain the graph embedding representation of the node. In the selection of language models, lightweight language models such as TinyBert are used to enable word embedding representation to run efficiently on end-edge-cloud devices. In addition, since graph neural networks are usually 2 to 5 layers and their parameter scale is small, they can be applied to all three architectures of end-edge-cloud at the same time, and graph embedding representation can be obtained through graph neural networks. In addition to graph neural networks, the recommendation also includes a similarity matching stage, which can be performed on the cloud and edge device participants, thereby reducing the amount of computation for the end device participants.
[0079] Furthermore, the present invention introduces security protection for the privacy of both buyers and sellers in patent transactions. In both the training and prediction stages, the principle of data not leaving the local area is strictly followed, and only model parameters and intermediate results are interacted. The present invention proposes that in patent transaction recommendations, the local training of the pre-trained model is completed by using a cloud server, the fine-tuning of the model is completed by using a cloud or edge device, and the model prediction is implemented by using an end-edge cloud device to complete patent recommendations. In the pre-training process, the model is trained locally by using a cloud server, and no training data is interacted with other participants in this process, so that the privacy data is protected. In the fine-tuning stage, the present invention adopts a secure aggregation method. In the fine-tuning stage of model aggregation, only the gradient information of the model is transmitted without transmitting the training data; at the same time, in the transmission process of the gradient information, a mask is added to the gradient information, so that the aggregation coordinator cannot obtain accurate gradient information, thereby further protecting the model information of the participants. In the prediction stage, the present invention interacts through a graph embedding representation (i.e., the output result of the graph neural network), avoiding the transmission of the original data; at the same time, in the transmission of the graph embedding representation, noise is added to the graph embedding representation, so that the graph embedding information is further protected without affecting the recommendation results.
[0080] In the entire process of patent recommendation based on graph neural network proposed by the present invention, there is no transmission of original data. At the same time, in the interaction process of intermediate results that may contain privacy information, the intermediate results are concealed through security aggregation or noise protection, thereby further realizing an effective privacy protection mechanism.
[0081] Using the patent recommendation method based on graph neural network proposed in the present invention, the present invention constructs a large-scale institution-patent knowledge graph with more than 4.4 million nodes and more than 63 million edges. Based on this actual knowledge graph, a patent transaction recommendation platform is realized. In the experiment, the present invention collected a total of 45,056 transaction information as positive samples, and generated 99 negative samples for each positive sample by random sampling. The 100 samples obtained in this way are used as a group of samples for recommendation and result evaluation. The specific test indicators are shown in Table 1. The present invention compares the proposed graph neural network pre-training and fine-tuning method with the traditional method, that is, the method of directly performing similarity matching by processing text-type data in a natural language processing manner and combining other information as features. The indicators of the comparative test are the normalized discounted cumulative gain NDCG and the mean reciprocal ranking MRR, which are important indicators in the recommendation system. In terms of NDCG indicator, the method proposed in the present invention is improved by 41% compared with the traditional method; in terms of MRR indicator, the method proposed in the present invention is improved by up to 80% compared with the traditional method.
[0082] Methods used NDCG MRR The present invention proposes a method 0.861 0.759 Traditional methods 0.608 0.421
[0083] Table 1 Comparison of experimental results between the solution proposed by the present invention and the traditional solution
[0084] The present invention proposes to add noise to the graph embedding representation to be transmitted during the prediction stage to protect it. The present invention conducts an experimental evaluation on the impact of adding noise on the recommendation performance. The results are as follows Figure 5 As shown. Figure 5 In the , the signal-to-noise ratio (SNR) is used to measure the effect of noise on the original signal, which is defined as:
[0085]
[0086] Among them A signal Represents the amplitude of the transmitted signal, A noise represents the amplitude of the noise signal. When the SNR value is 1, the noise signal has the same amplitude as the original signal, which is a strong noise. In this case, the NDCG value is 0.855, which is only 0.70% lower than the case without adding noise (NDCG value is 0.861). It can be seen that when adding strong noise to protect the graph embedding representation, the patent recommendation system proposed in this invention still maintains high performance. In addition, from Figure 5 It can also be seen that when the SNR is greater than 1, the NDCG remains basically constant.
[0087] Figure 6 This explains why the performance recommended by the patent is maintained when strong noise is added. Figure 6 In the experiment, for each group of 100 samples (consisting of 1 positive sample and 99 negative samples), the similarity between the buyer organization and the patent to be recommended after adding noise is calculated. This value represents the matching degree between the patent and the buyer organization, which is an important indicator used for recommendation sorting. The similarity difference before and after adding noise is calculated, and 0.01 is used as the observation granularity to count the frequency of the same similarity difference in each group of positive and negative samples. Figure 6 (a) shows the distribution of the highest frequency of similarity differences in each group of samples.
[0088] from Figure 6 From the distribution diagram of (a), we can see that after adding noise, the change values of the similarity between buyer organizations and patents in each group of samples tend to be consistent. Figure 6 (b) It can be further seen that after adding noise, in each group of 100 similarity measurements, at least 40% of the similarities show the same change value. This conclusion applies to more than 87% of the samples. Since the recommendation results are sorted according to similarity, it can be seen that the relative change value of the similarity does not affect the recommendation results. Therefore, the impact of noise on the recommendation results is small. Adding noise to protect the graph embedding representation can further improve the strength of privacy protection while maintaining high recommendation performance.
[0089] To sum up: the present invention completes the extraction of patent and institution information in the form of a graph, which is encoded and converted into graph data samples of a graph neural network, uses a graph neural network to implement graph embedding of nodes, adopts a pre-training plus fine-tuning mechanism, and realizes the matching between the demand institution and the patents to be sold through a recommendation model.
[0090] In order to meet the privacy protection needs of both buyers and sellers, the present invention adopts a pre-training plus fine-tuning mechanism in the model training stage, so that the data of both buyers and sellers can be updated in the form of local data, ensuring that the user's privacy data is not leaked; in fine-tuning, a secure aggregation form is used to realize the joint update of multiple fine-tuning models, further protect the model parameters, and prevent the risk of inferring user data through the obtained model parameters. In addition, in the prediction stage, the present invention protects the graph embedding representation (intermediate result) output by the local graph neural network model of both buyers and sellers by introducing noise, avoiding the transmission of user privacy data, and protecting the privacy of the intermediate results that need to be transmitted, thereby realizing the protection of user privacy data in the prediction stage.
[0091] The present invention proposes a patent transaction recommendation model under the edge-cloud architecture and its corresponding system implementation: using cloud servers to realize large-scale patent transaction knowledge graph construction and graph neural network pre-training model construction; using cloud and edge devices to realize graph neural network federation fine-tuning; using edge-cloud devices to realize intellectual property transaction recommendation under the noise protection mechanism. The system can cover most of the use cases in patent transaction recommendation (patent agencies with strong computing power, small enterprises with partial computing power, individual retail investors with a small amount of computing power, etc.).
[0092] Furthermore, the graph neural network model used in the present invention is GPT-GNN, which can also be replaced by other mainstream graph neural network models, such as GCN, GraphSAGE, GAT and GIN. The recommendation model used in the present invention is a fully connected network plus cosine similarity calculation, which can also be replaced by other mainstream machine learning classification models, such as factor decomposition machines, decision trees, etc. The above is an alternative to the implementation of this solution.
[0093] Furthermore, if Figure 7 As shown, based on the above-mentioned patent recommendation method based on graph neural network, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Figure 7 Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0094] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Furthermore, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed on the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a patent recommendation program 40 based on a graph neural network is stored on the memory 20, and the patent recommendation program 40 based on a graph neural network can be executed by the processor 10, thereby realizing the patent recommendation method based on a graph neural network in the present application.
[0095] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the patent recommendation method based on graph neural network.
[0096] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.
[0097] In one embodiment, when the processor 10 executes the patent recommendation program 40 based on the graph neural network in the memory 20, the following steps are implemented:
[0098] Obtaining institutional information and patent information, and constructing a knowledge graph of the relationship between institutions and patents based on the institutional information and the patent information;
[0099] According to the knowledge graph of the relationship between the institutions and patents, a list of buyer institutions with the highest patent matching degree is recommended to the seller institution based on the graph neural network model, and a list of seller patents with the highest matching degree with the patent requirements proposed by the buyer institution is recommended to the buyer institution based on the graph neural network model.
[0100] Among them, the relationship between institutions and patents includes: the relationship between institutions and patent applications, the relationship between institutions and patent transactions, the relationship between people and patent inventions, the relationship between patents and patent citations, the relationship between patents belonging to fields, the relationship between patents belonging to national economic classifications, the relationship between institutions and regions, the relationship between people and fields, and the relationship between field hierarchies.
[0101] Wherein, the graph neural network model includes a training phase and a prediction phase;
[0102] The training phase includes a pre-training phase and a fine-tuning phase.
[0103] Wherein, the pre-training stage includes:
[0104] The pre-training party constructs a knowledge graph of the relationship between institutions and patents based on the institutions and patent information it has, and encodes and transforms the information of each node in the knowledge graph of the relationship between institutions and patents;
[0105] Converting the knowledge graph of the relationship between institutions and patents into graph data suitable for the graph neural network model;
[0106] Wherein, the encoding and conversion include:
[0107] Use the natural language processing model to embed text information into words for text data;
[0108] Categorical data of non-text classes will be encoded using one-hot encoding.
[0109] The fine-tuning stage includes:
[0110] Send the graph neural network model and recommendation model that have completed the pre-training phase to the buyer and seller institutions;
[0111] Buyer and seller institutions build small-scale institutional and patent knowledge graphs based on their own data through the same knowledge graph construction method;
[0112] The buy-side and sell-side institutions use their respective data to fine-tune the graph neural network model and recommendation model, and the buy-side and sell-side institutions average the model parameters with the assistance of the pre-training party.
[0113] The prediction stage includes:
[0114] The buyer and seller organizations construct knowledge graphs based on their respective patents and transaction data, encode and transform the graph information, and input it into the graph neural network pre-training model as graph data samples to obtain graph embedding representations of the buyer organization's needs and the patents to be recommended as intermediate results.
[0115] Noise protection is added to the embedding representation of the initiator and sent to the responding party;
[0116] After receiving the noise-protected graph embedding representation of the buyer organization, the participants input it into the downstream recommendation model together with the patented graph embedding representation;
[0117] The downstream recommendation model uses a fully connected network to transform the graph embedding representation, and then uses cosine similarity to find the matching degree between the buyer organization and the patent, sorts the matching results, and uses the patent with the highest matching score as the recommendation information, which is encrypted and transmitted to the initiator;
[0118] The initiator decrypts the recommendation result and obtains the recommendation list.
[0119] The initiator decrypts the recommendation result to obtain a recommendation list, including:
[0120] If the initiator is a seller organization, the recommendation result is a list of buyer organizations with the highest matching degree with the patent;
[0121] If the initiator is a buyer organization, the recommendation result is a list of seller patents that best matches the patent requirements proposed by the buyer organization.
[0122] Among them, the patent recommendation method based on graph neural network also includes:
[0123] During the pre-training phase, the cloud server is used to perform local training of the model;
[0124] During the fine-tuning phase, a secure aggregation method is used. During the fine-tuning phase of model aggregation, only the gradient information of the model is transmitted without transmitting the training data. At the same time, during the transmission of the gradient information, a mask is added to the gradient information so that the aggregation coordinator cannot obtain accurate gradient information.
[0125] During the prediction phase, interaction is performed through the graph embedding representation, and noise is added to the graph embedding representation during its transmission.
[0126] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a patent recommendation program based on a graph neural network, and when the patent recommendation program based on a graph neural network is executed by a processor, the steps of the patent recommendation method based on a graph neural network as described above are implemented.
[0127] In summary, the present invention provides a patent recommendation method, terminal and computer-readable storage medium based on graph neural network, the method comprising: obtaining institutional information and patent information, constructing a knowledge graph of the relationship between institutions and patents based on the institutional information and the patent information; based on the knowledge graph of the relationship between institutions and patents, recommending a list of buyer institutions with the highest degree of match with patents to seller institutions based on the graph neural network model, and recommending a list of seller patents with the highest degree of match with patent requirements proposed by the buyer institutions based on the graph neural network model. The present invention extracts patent and institutional information in the form of a graph, encodes and transforms it into a graph data sample of a graph neural network, uses a graph neural network to implement graph embedding of nodes, adopts a pre-training and fine-tuning mechanism, and implements matching between demand institutions and patents for sale through a recommendation model. Under the premise of privacy and security protection, accurate matching of patent buyers and sellers is performed to improve the quality of recommendations.
[0128] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0129] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.
[0130] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A patent recommendation method based on graph neural network, characterized in that: The patent recommendation method based on graph neural network includes: Obtaining institutional information and patent information, and constructing a knowledge graph of the relationship between institutions and patents based on the institutional information and the patent information; Based on the knowledge graph of the relationship between the institution and the patent, the graph neural network model is used to recommend to the seller institution a list of buyer institutions with the highest degree of match with the patents, and based on the graph neural network model, the graph neural network model is used to recommend to the buyer institution a list of seller patents with the highest degree of match with the patent requirements proposed by the buyer institution; The graph neural network model includes a training phase and a prediction phase; the training phase includes a pre-training phase and a fine-tuning phase; The pre-training stage includes: The pre-training party constructs a knowledge graph of the relationship between institutions and patents based on the institutions and patent information it has, and encodes and transforms the information of each node in the knowledge graph of the relationship between institutions and patents; Converting the knowledge graph of the relationship between institutions and patents into graph data suitable for the graph neural network model; Wherein, the encoding and conversion include: Use the natural language processing model to embed text information into words for text data; The categorical data of non-text categories will be encoded using one-hot encoding; The fine-tuning phase includes: Send the graph neural network model and recommendation model that have completed the pre-training phase to the buyer and seller institutions; Buyer and seller institutions build small-scale institutional and patent knowledge graphs based on their own data through the same knowledge graph construction method; The buyer and seller institutions use their own data to fine-tune the graph neural network model and recommendation model, and the buyer and seller institutions average the model parameters with the assistance of the pre-training party; The prediction stage includes: The buyer and seller organizations construct knowledge graphs based on their respective patents and transaction data, encode and transform the graph information, and input it into the graph neural network pre-training model as graph data samples to obtain graph embedding representations of the buyer organization's needs and the patents to be recommended as intermediate results. Noise protection is added to the embedding representation of the initiator and sent to the responding party; After receiving the noise-protected graph embedding representation of the buyer organization, the participants input it into the downstream recommendation model together with the patented graph embedding representation; The downstream recommendation model uses a fully connected network to transform the graph embedding representation, and then uses cosine similarity to calculate the matching degree between the buyer organization and the patent, sorts the matching results, and uses the patent with the highest matching score as the recommendation information, which is encrypted and transmitted to the initiator; The initiator decrypts the recommendation result and obtains the recommendation list.
2. The patent recommendation method based on graph neural network according to claim 1 is characterized in that: The relationship between institutions and patents includes: the relationship between institutions and patent applications, the relationship between institutions and patent transactions, the relationship between individuals and patent inventions, the relationship between patents and patent citations, the relationship between patents belonging to fields, the relationship between patents belonging to national economic classifications, the relationship between institutions and regions, the relationship between individuals and fields, and the relationship between field hierarchies.
3. The patent recommendation method based on graph neural network according to claim 1 is characterized in that: The initiator decrypts the recommendation result to obtain a recommendation list, including: If the initiator is a seller organization, the recommendation result is a list of buyer organizations with the highest matching degree with the patent; If the initiator is a buyer organization, the recommendation result is a list of seller patents that best matches the patent requirements proposed by the buyer organization.
4. The patent recommendation method based on graph neural network according to claim 1 or 3, characterized in that: The patent recommendation method based on graph neural network also includes: During the pre-training phase, the cloud server is used to perform local training of the model; During the fine-tuning phase, a secure aggregation method is used. During the fine-tuning phase of model aggregation, only the gradient information of the model is transmitted without transmitting the training data. At the same time, during the transmission of the gradient information, a mask is added to the gradient information so that the aggregation coordinator cannot obtain accurate gradient information. During the prediction phase, interaction is performed through the graph embedding representation, and noise is added to the graph embedding representation during its transmission.
5. A terminal, characterized in that: The terminal includes: a memory, a processor, and a patent recommendation program based on a graph neural network stored in the memory and executable on the processor. When the patent recommendation program based on a graph neural network is executed by the processor, the steps of the patent recommendation method based on a graph neural network as described in any one of claims 1 to 4 are implemented.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a patent recommendation program based on a graph neural network, and when the patent recommendation program based on a graph neural network is executed by a processor, the steps of the patent recommendation method based on a graph neural network as described in any one of claims 1 to 4 are implemented.
