Patent transaction recommendation method based on attribute heterogeneous network representation learning

By using the representation learning method of multi-dimensional Gaussian distribution and KL divergence in heterogeneous information networks, the problem of node representation uncertainty and asymmetry is solved, and the accuracy and diversity of patent transaction recommendations are improved, especially in recommendation small Performance on popular patents.

CN113836398BActive Publication Date: 2024-08-23BEIJING UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111030367.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-29
Publication Date
2024-08-23
Estimated Expiration
2041-08-29

AI Technical Summary

Technical Problem

Existing patent transaction recommendation methods are difficult to effectively integrate attribute information of multiple types of objects in heterogeneous information networks, resulting in insufficient interpretability and accuracy of recommendation results, and uncertainty and asymmetry in node representation.

Method used

Using a representation learning method based on attribute heterogeneous information network, by constructing a multi-dimensional Gaussian distribution and using KL divergence to measure the distance between nodes, combined with neural networks and random walks to generate node sequences, low-dimensional vector representation of nodes is achieved, and through cosine similarity Make Top-k recommendations.

Benefits of technology

The accuracy and diversity of recommendation results are improved, especially in recommending niche and unpopular patents. The accuracy index reaches more than 86%, which is significantly better than other methods, and the recommendation results are more diverse.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113836398B
    Figure CN113836398B
Patent Text Reader

Abstract

The present invention provides a patent transaction recommendation method based on attribute heterogeneous network representation learning. The present invention collects patent data through the IncoPat patent database, constructs an attribute index system that affects patent transactions based on literature research; constructs a patent transaction AHN including three types of nodes, three types of relationships and multiple attributes; obtains a multi-dimensional Gaussian distribution of nodes based on a neural network, generates a node sequence based on a meta-path random walk, and measures the Gaussian distribution difference based on skip-gram and KL divergence to obtain each low-dimensional node vector space; and calculates the similarity between nodes based on cosine similarity to perform Top-k recommendations on target organizations. The present invention solves the problems of insufficient attribute fusion, high computational complexity and low computational accuracy by integrating organizational and patent attributes into the technology transaction AHN. By considering the uncertainty of attribute embedding and the asymmetry of node distance, the problem of low accuracy of patent transaction recommendation results is solved, and the recommendation results are more diverse.
Need to check novelty before this filing date? Find Prior Art

Description

Technical field:

[0001] The present invention can be applied to the field of patent transaction recommendation, including recommending patents and transaction partners for organizations. Background technology:

[0002] Patent transactions are an important way to realize the value of patents, and they play an important role in supporting corporate patent operation strategies, enhancing corporate innovation capabilities, and promoting high-quality industrial development. With the fierce competition for global intellectual property rights, the number of authorized patents continues to increase, but the problem of low patent transaction rates cannot be ignored. Patent transaction recommendation is a complex process that integrates user attributes and user search, transaction and other behavioral information, mines user preferences, and quickly matches patents or trading partners that meet preferences in massive technology supply. It is an important means to promote patent transactions based on multi-source heterogeneous information fusion. Based on massive patent and transaction data, intelligent patent transaction recommendations are of great value to promoting the transformation and application of patent results.

[0003] (1) Patent transaction recommendation method

[0004] Existing patent transaction recommendation methods mainly include two categories: the first category is transaction recommendation based on link prediction of isomorphic information network. This type of method first builds an inter-organizational patent transaction network based on historical transaction data between organizations. Then, link prediction is performed for unconnected organizational pairs, that is, the possibility of generating a link between two nodes in the network that have not yet generated an edge is predicted through known network nodes and structure information, so as to achieve the purpose of recommending transaction partners for organizations. This type of method is difficult to integrate multi-type objects such as patents and organizations and multi-dimensional relationship information between objects, and the interpretability and accuracy of the recommendation results need to be improved.

[0005] The second category is transaction recommendation based on heterogeneous information network (HIN). This type of method first integrates multi-type objects and multi-dimensional relationships between objects, including semantic similarity relationships between patents, historical cooperation relationships between objects, etc., to build a heterogeneous information network. Then, the meta-path is manually planned, and patent transaction recommendations are made through meta-path traversal, embedded representation, and similarity calculation. This type of method can significantly improve the recommendation accuracy, but it often ignores the attribute information of multi-type objects such as organizations and patents, or regards some attributes of the objects as new node types, which greatly increases the complexity of the heterogeneous network topology. Based on this, how to directly integrate the attribute information of multi-type objects in a heterogeneous information network, build an attribute heterogeneous information network, and carry out patent transaction recommendations requires a new solution.

[0006] (2) Learning methods for attribute heterogeneous information network representation

[0007] A key technical difficulty in recommending patent transactions based on attributed heterogeneous networks (AHNs) is how to learn network representations, represent the multi-type nodes in the network with a low-dimensional dense vector space, and maintain the structural relationship characteristics of the original network.

[0008] At present, there are relatively rich research results based on HIN representation learning, but fewer results on AHN representation learning. Specifically, there are: an AHN fusion model based on matrix decomposition, which constructs a gene-disease attribute heterogeneous network and decomposes multiple adjacency matrices and attribute matrices of the network into low-rank matrices for disease association prediction; uses AHN to model dark web forum users and relationships, and uses the Player2Vec method to efficiently learn the node representation of AHN to identify key participants in the forum; the Vendor2Vec method learns the node representation of AHN based on random walks of meta-paths combined with deep neural networks (DNNs).

[0009] The above research represents the nodes in AHN as point vectors in low-dimensional continuous space, but due to the complexity and diversity of node attributes, these attributes may conflict or even contradict each other, making the node representation uncertain. For example: in the patent transaction AHN, organization O transfers patents P1 and P2 in technical fields T1 and T2 respectively. When T1 and T2 belong to different technical fields or P1 and P2 have different attributes, different effects will be produced when they are introduced into the representation of organization O respectively. By embedding each node into a Gaussian distribution, the present invention provides a way to solve the problem of uncertainty in node representation in patent transaction AHN, that is, each node is represented by a Gaussian distribution in a low-dimensional latent space, where the mean in the Gaussian distribution reflects the position of the node and the variance reflects the uncertainty of the node. In addition, there is an asymmetric problem in the distance between different types of nodes in the patent transaction AHN. For example, when an organization is mentioned, the technical field it involves will naturally be mentioned, but when a certain technical field is mentioned, the leading enterprise in the field will be thought of, not the organization, that is, the distance between the organization and the technical field is not equal to the distance between the technical field and the organization. Existing studies have mostly used methods such as dot product, cosine distance or Euclidean distance to measure the distance between nodes, but it is difficult to accurately measure the distance between asymmetric nodes. Using KL divergence (Kullback-Leibler divergence) to measure the difference between different Gaussian distributions can solve the problem of asymmetry between nodes.

[0010] In summary, the main problems faced by patent transaction recommendation methods include: how to integrate attribute information in heterogeneous information networks without increasing the complexity of the topological structure; how to achieve representation learning of attribute heterogeneous information networks to solve the problem of node embedding uncertainty and the asymmetry problem between different types of nodes; how to improve the accuracy of recommendation results on the basis of solving the above problems. Summary of the invention:

[0011] 1. The technical problems that the present invention requires and can solve.

[0012] The patent transaction recommendation method based on attribute heterogeneous information network representation learning proposed in the present invention can solve the following problems to a certain extent: first, it integrates attribute information in heterogeneous information networks and conducts transaction recommendations to improve the accuracy of recommendation results; second, it does not convert attributes into nodes and map new relationships, which can reduce the complexity of the network topology; third, it uses multi-dimensional Gaussian distribution to perform representation learning on nodes in the network to solve the uncertainty problem in node embedding, and uses KL divergence to measure the distance between nodes of different types to solve the asymmetric problem of the distance between nodes of different types.

[0013] 2. Specific technical solutions of the present invention:

[0014] To achieve the above-mentioned purpose, the present invention proposes a patent transaction recommendation method based on attribute heterogeneous information network representation learning, which mainly includes the following steps: (1) attribute system construction: collecting patent data based on the IncoPat patent database, and constructing an attribute indicator system that affects patent transactions based on literature research; (2) patent transaction AHN construction: constructing a patent transaction AHN including three types of nodes, three types of relationships and multiple attributes; (3) representation learning of patent transaction AHN: including obtaining a multi-dimensional Gaussian distribution of nodes based on a neural network, generating a node sequence based on a meta-path random walk, and obtaining a low-dimensional vector space of each node based on skip-gram and using KL divergence to measure the difference between Gaussian distributions of different nodes; (4) Top-k recommendation of target organization: calculating the similarity between nodes based on cosine similarity to perform Top-k recommendation of target organization.

[0015] The patent transaction recommendation method based on attribute heterogeneous information network representation learning implemented in the present invention takes into account the attributes of multiple types of nodes, enriches the vector representation of organizations and patents, and improves the interpretability of recommendation results; it uses multi-dimensional Gaussian distribution and KL divergence to solve the uncertainty problem in embedding and the asymmetry problem of distances between nodes of different types, and can achieve accurate recommendation of patent transactions.

[0016] 3. The effects that can be achieved by the present invention:

[0017] First, based on literature review, this paper integrates organizational and patent attributes into patent transaction AHN. Compared with traditional methods metapath2vec and TADW, the recommendation accuracy is greatly improved, indicating that organizational and patent attributes have an important impact on transactions, which makes up for the limitations of insufficient attribute fusion, high computational complexity and low computational accuracy in traditional HIN-based patent transaction recommendations.

[0018] Second, through the accuracy index evaluation, it is found that the five accuracy index values ​​of the present invention are all above 86%, and are higher than the other four methods compared. This shows that in the representation learning of patent transaction AHN, considering the uncertainty of attribute embedding and the asymmetric performance of node distance can improve the recommendation accuracy.

[0019] Third, through the evaluation of non-accuracy indicators, it was found that the recommendation results of the present invention are more diverse and have advantages in recommending niche and unpopular patents. Description of the drawings:

[0020] Figure 1 A flow chart of a patent transaction recommendation method based on attribute heterogeneous information network representation learning according to an embodiment of the present invention;

[0021] Figure 2 To construct a patent transaction attribute heterogeneous information network model according to an embodiment of the present invention;

[0022] Figure 3 This is a patent transaction AHN representation learning example diagram of an embodiment of the present invention;

[0023] Figure 4 Schematic diagram of a neural network processing node attributes in step S102 according to an embodiment of the present invention. Specific implementation method:

[0024] The following describes a patent transaction recommendation method based on attribute heterogeneous information network representation learning proposed according to an embodiment of the present invention with reference to the accompanying drawings. Figure 1 The following is a flow chart of a patent transaction recommendation method according to an embodiment of the present invention, comprising the following steps:

[0025] In step S101, patent and organization information is obtained based on the patent database. First, the valid invention patents in a Greater Bay Area from 2003 to 2019 are searched based on the IncoPat patent database. Since there is no specific city information of the transferor and transferee in the patent transfer records of IncoPat, the "transfer or transferee's region is a city in the Bay Area" is restricted, and a fuzzy matching search is performed through the applicant address, transferee address, and current patent owner address of the transferred patent. The preliminary information obtained is: 48,640 patents were transferred and 71,272 were not transferred. The data processing process is as follows:

[0026] (1) For a transfer record with multiple transferor or transferee organizations, the O1→O2O3 structure is split into O1→O2 and O1→O3; the O1O2→O3 structure is split into O1→O3 and O2→O3 (where O1, O2, O3 represent patent transferor and transferee organizations, and → represents the transfer direction). After the data is split, the organization list is extracted and the records where the transferor or transferee is an individual are deleted.

[0027] (2) Using JavaScript to connect to Baidu Map API and Google Map API, we performed a fuzzy query on the city to which the organization belongs. On this basis, we deleted the transfer records where neither the transferor nor the transferee was in the Bay Area city. Finally, we obtained 32,304 transferred patents.

[0028] (3) Remove 3553 patents whose current patent rights belong to individuals and 35061 records with missing fields, and you will get 32658 untransferred patents. The statistical data set contains 64962 items in total (32304 transferred and 32658 untransferred).

[0029] Based on literature review, an indicator system of patent and organizational attributes that affect patent transactions is constructed, as shown in Table 1.

[0030] Table 1 Attribute index system

[0031]

[0032] The core idea of ​​the patent competitiveness calculation method is to characterize patent competitiveness through patent applicants, that is, applicants who are involved in more technical fields or have more patents in a certain technical field have more competitive patents in the trading market. The calculation process is: the applicant set of patent P is PA, the number of applicants is |PA|, and the IPC set is PI. The IPC set of all patents owned by the applicant set of patent P is recorded as S IPC , the quantity is |S IPC |. Construct the applicant-IPC vector Among them, IPC j Indicates S IPC The jth IPC in, j = 1, 2, ..., |S IPC |, Indicates applicant a i IPC has all the patents j The competitiveness of patent P is the average number of combinations of its applicant set and IPC set, and the formula is as follows:

[0033]

[0034] For example, the applicant set of patent P1 is PA1 = {a1, a2}, a1 owns patents P1 and P2, a2 ​​owns patent P1, the IPC set of P1 is PI1 = {IPC1, IPC2}, the IPC set of P2 is PI2 = {IPC1, IPC3}, then the IPC set of all patents owned by the applicant set of patent P1 is S IPC ={IPC1,IPC2,IPC3}, then

[0035] In addition, the calculation method of novelty is characterized by the similarity of patent abstracts, and the formula is as follows:

[0036]

[0037] pm represents the number of patents in the database whose application time is before patent P and whose similarity with P is greater than or equal to the similarity level α, where α=0.2.

[0038] For the above data set, the attribute indicators are calculated and the classification labels are marked. If the transfer occurs, it is marked as 1, and if the transfer does not occur, it is marked as 0; the continuous indicators are normalized.

[0039] In step S102, a patent transaction AHN is constructed and the following definition is given:

[0040] Definition 1 (Attribute Heterogeneous Network, AHN), Given an AHN, G = {V, E, A}, where V represents the node set, |V| is the number of nodes, E is the set of edges in the network, and A is the attribute matrix of the node. E only exists between nodes, that is, Represents node v i The attribute vector of

[0041] In the patent transaction AHN constructed by the present invention, the node set is represented by V = {v1, v2, ..., v O ,v O+1 ,…,v P ,v P+1 ,…,v T}, mapped to a node type set V Type ={O,P,T}, O represents organization, P represents patent, and T represents IPC. |O| represents the number of organization nodes. E={E1,E2,E3} is a set of relationship types, where E1 represents patents transferred out by an organization, E2 represents patents transferred in by an organization, and E3 represents the affiliation between patents and IPC. Ao represents the set of organizational attributes, Ap represents the set of patent attributes, Figure 2 The network model of patent transaction AHN. Assume Ao = {Ao1, Ao2}, Ap = {Ap1, Ap2}, for each node vi ∈V, and its attribute vector can be represented as A vi ={Ao i,1 , Ao i,2 , Ap i,1 , Ap i,2},then the attribute matrix can be represented as

[0042] Definition 2 (Meta path): It is a path on the network pattern T G ={V, E}, defined as: a path composed of a series of relationship sequences between different types of nodes. For example: represents the composite relationship between O and T

[0043] Definition 3 (AHN representation learning): Given AHN, G = {V, E, A}, A ∈ R m×n is the attribute matrix, where m is the number of nodes, m = |V|, n is the number of attributes, and the goal is to learn the mapping function f: V → R d , mapping each node in G to a d-dimensional vector, and d << m, n. In the present invention, d takes the value of 200.

[0044] Figure 3 is an example of AHN representation learning for patent transactions. On the left side of the figure is the AHN for patent transactions, including the topological structure of the network and the attribute information of the nodes. On the right side is the representation of the nodes of this network in the low-dimensional space. Nodes with direct connections, i.e., explicit relationships, in the topological structure have similar representations in the low-dimensional space, such as the node pair (P1, T1); the node pair (P2, P3) has no explicit relationship, but they are both connected to the node O3, i.e., there is an implicit relationship, so they are close in the low-dimensional space; the node pair (O2, O4) is not directly connected, but they are close in the low-dimensional space because of their similar attributes.

[0045] In step S103, the representation learning process of the AHN for patent transactions includes: obtaining the multi-dimensional Gaussian distribution of the nodes based on the neural network; traversing the AHN by random walk based on the meta path to generate a node sequence; and obtaining the low-dimensional vector space of each node based on skip-gram and using the KL divergence to measure the difference between the Gaussian distributions of different nodes. Specifically as follows:

[0046] (1) First, input the patent attribute matrix into the neural network, process the node attributes through the first-layer neural network and output the intermediate hidden representation; then, output the mean and covariance matrix of the nodes through the second-layer neural network. The formula is as follows:

[0047]

[0048] where is the node vi The attribute vector of is the intermediate hidden representation of the first layer output, W and b are the weight matrix and bias vector of this layer respectively, and Respectively represent the output node v i The mean and covariance matrix, W μ and b μ Represent the weight matrix and bias vector of the mean, W ∑ and b ∑ They are the weight matrix and bias vector of the covariance matrix respectively, and relu and elu are two activation functions.

[0049] (2) The present invention adopts The meta-path is a random walk, which means that when the patents transferred out by one organization belong to the same technical field as the patents transferred in by another organization, transactions between organizations are more likely to occur. Given the patent transaction AHN and meta-path, the transition probability at the k+1th step of the random walk is:

[0050]

[0051] The formula means that it is known that the kth step walks to the node v i , and the predefined meta path path is known. First get the node v i If the node v i is of type P, then according to the relationship paths between nodes of different types in the above meta-path, v i The type of neighbor nodes should be O type or T type. Similarly, if node v i If it is of type O, then its neighbor node should be of type P. Then the k+1th step walks to node v j Two conditions need to be met: node v i 、v j There is a connection between them, that is, (v i ,v j )∈E, and node v j The type of node v i The neighbor node type t type, that is, φ(v j )=t, t is v i The types corresponding to all neighbor nodes in the meta-path. At this time, the k+1th step walks to the node v j The probability is: N t (v i ) represents node v i The set of neighbor nodes of type t in the neighbors of . i 、v j There is a connection between them, that is, (v i ,vj )∈E, but v j Does not belong to node v i The neighbor node type t type, that is, φ(v j )≠t, the transition probability is 0. i 、v j There is no connection between Its transition probability is also 0.

[0052] In the embodiment of the present invention, each node randomly walks 50 times with a walking length of 10 steps, and finally a node sequence is obtained (the values ​​of the number of random walks and the step length obtained by the present invention can ensure that each node in the network is covered. If the network scale changes, the values ​​should also change).

[0053] (3) The skip-gram model is used to train the patent transaction AHN network. Skip-gram is a mainstream neural network language model. The core idea is to use the current word to predict the surrounding words. In the network, the current node is used to predict its surrounding neighbor nodes. The nodes are regarded as words, and the node sequence is equivalent to a sentence. The specific steps are as follows:

[0054] The skip-gram model maximizes the probability of observing neighboring nodes based on the embedding of the central node. The objective function is

[0055]

[0056] Among them, V Type Represents the type set of nodes, N t (v i ) represents node v i The set of neighbor nodes of type t among the neighbors of is a mapping function that maps nodes into vectors. It means that in a random walk, when a node v is given i The probability of a node of type t appearing within its window range when . Based on the conditional independence assumption, the conditional probability in the above formula is approximated as follows:

[0057]

[0058] Among them, v j ∈N t (v i ) represents node v j Belongs to node v i t type neighbors.

[0059] Use Softmax function for node v j Normalize the node type. Given v i After that, the neighbor vj The probability of occurrence is:

[0060]

[0061] Among them, the function exp(x) represents the natural logarithm e to the power of x, and denote the embedding of the central node and its neighbors, respectively. represents the embedding of any node in the network, that is, is the dot product of the two, which can be regarded as a measure of similarity between them. However, the dot product only considers the mean and does not consider the merging of covariances. Considering that the "distance" between different types of nodes may be asymmetric, the Kullback-Leibler (KL) divergence is used to merge the covariance matrix into the model. KL divergence is also called relative entropy or information divergence, which is an asymmetric measure of the difference between two probability distributions. The formula is as follows:

[0062]

[0063] in, and Represent the multidimensional Gaussian distribution of two nodes respectively, Represents the KL divergence of two distributions. The smaller the value, the more similar the two distributions are. and represent the means of the two distributions, and They represent the determinants of the two covariance matrices, R represents the vector, l represents the dimension of embedding, and tr(·) represent the inverse and trace of the covariance matrix, respectively. In this way, formula (7) can be rewritten as:

[0064]

[0065] However, the above method is inefficient due to the existence of summation terms. In order to improve the calculation speed, the loss function is redefined using negative sampling. Similar to word embedding, in the training of each central node, it is not necessary to perform Softmax calculation on all nodes. Instead, the nodes are randomly sampled. Therefore, each time a positive sample is selected, K negative samples are randomly generated, and a total of K+1 samples are trained. Compared with the Hierarchical softmax model, the performance can be greatly improved. After the optimization target changes, Softmax is no longer suitable, so the sigmoid function is used for normalization. The loss function is calculated as shown in formula (10):

[0066]

[0067] Among them, σ is the sigmoid function, that is Represented as node v j Embedding of node v j Belongs to node v i The t-type neighbor, that is, v j ∈N t (v i ). Negative samples are not included in N t (v i ), Represents the negative sample node v k The embedding of k The type and v j Same. neg (v) represents the central node The noise distribution of E follows a normal distribution with a specified mean and deviation under E restrictions. The initial mean and deviation are randomly generated. The negative sample node v k is the vector obtained from the distribution, that is, v k ~P neg (v), K is the number of neg (v) is the total number of negative samples collected. Specifically, we first initialize the node vector, and initialize a low-dimensional vector for each node in the positive and negative samples as the vector representation of the node. Then, we use the gradient descent method to minimize the loss function, which is essentially to maximize The node vector is continuously updated until convergence or the training phase ends. First, the epoch parameter value in the skip-gram model is randomly set between 5 and 100. If the number of training times is less than the epoch value and the loss function has reached the convergence condition, the training is terminated in advance. Otherwise, the training is terminated when the number of training times, i.e., the epoch parameter value, is reached.

[0068] In step S104, the node similarity is calculated based on the cosine similarity, and the similarity values ​​are sorted into Top-k order to obtain the Top-k patents as the recommendation results for the target organization.

[0069] After the representation learning training is completed, the representation vectors of organizations and patents are extracted, such as Huawei Technologies Co., Ltd.: [-0.2869007, -0.45726693, 0.08010134, 0.96499217, 0.65272784, ...], Patent CN101813636B: [0.6562854, 0.77058595, 0.910496, 0.02038962, ...]. The length of each vector is 200, and the cosine similarity is used to measure the similarity between two nodes. The larger the cosine similarity of two vectors, the more similar they are. Calculate the organization o i and patent p j The cosine similarity between them is as follows:

[0070]

[0071] Where l is the length of the vector, Representing organizations i and patent p j The calculated cosine values ​​are sorted in descending order to obtain the Top-k patent transaction recommendation results.

[0072] The present invention adopts 7 indicators to evaluate the performance of the recommendation algorithm, including five accuracy indicators (Accuracy, Precision, Recall, F1 and AUC) and two non-accuracy indicators (IntraSim and Popularity).

[0073] (1) Accuracy: For a given test set, the ratio of the number of samples correctly recommended by the recommendation model to the total number of samples:

[0074]

[0075] (2) Precision: indicates the proportion of transaction records that have occurred in the recommended results:

[0076]

[0077] (3) Recall: indicates the proportion of recommended transaction records to actual transactions:

[0078]

[0079] (4) F1: The harmonic mean of Precision and Recall:

[0080]

[0081] Among them, NR represents the number of correct recommendations, NS represents the total number of samples, and NR tran Indicates the number of correctly recommended patents in transactions, NM tran Indicates the number of possible transactions recommended, NA tran Indicates the number of transactions that actually occurred.

[0082] (5) AUC: The area under the ROC curve (AUC) is used to evaluate the performance of the recommendation system. In order to reduce the computational complexity, the following formula is used:

[0083]

[0084] Organizations with transaction relationships with patents are considered as positive sample sets, and the rest are considered as negative sample sets. pos Represents the ranking value of the positive sample pos in the positive sample set, ∑ pos∈POS rank pos is the sum of the rank values ​​of all positive samples, n p Represents the number of positive samples, n n The number of negative samples. The closer the AUC value is to 1, the better the effect.

[0085] (6) IntraSim: This indicator originates from user-product recommendation in e-commerce and measures the diversity of recommendation results. This invention introduces it into patent transaction recommendation. For the patent recommendation list of organization o∈O, if the similarity between patents is greater, it means that the patents recommended to the organization are relatively simple and the recommendation algorithm is difficult to recommend new patents; on the contrary, if the value is smaller, it means that the recommended patents are richer and the recommendation diversity is higher:

[0086]

[0087] Among them, O represents the set of all organizations, |O| represents the number of all organizations, Indicates organization i The first c patent recommendation result sets, p i 、p j Represents two patents, and their cosine similarity is (Refer to formula (11) for the calculation formula).

[0088] (7) Popularity: This indicator also originates from user-product recommendations and is intended to measure the ability of the recommendation algorithm to produce novel (less popular) and unexpected results. The present invention introduces it into the evaluation of patent transaction recommendations to evaluate the popularity of the recommendation results. If the value is higher, it means that the recommendation algorithm tends to recommend patents with higher transaction "popularity", which are popular recommendations; conversely, it tends to recommend niche or unpopular patents with lower "popularity" but in line with the organization's preferences.

[0089]

[0090] Among them, O represents the set of all organizations, |O| represents the number of all organizations, Indicates organization i The first c patent recommendation result sets, Indicates patent p i The number of transactions represents the popularity of the patent.

[0091] The present invention selects different baseline methods for performance comparison: ①metapath2vec: only uses network structure information, obtains node sequence based on metapath random walk, and does not consider attributes; ②TADW: a representation learning method based on AHN matrix decomposition; ③AHNvec-PTR: a variant method of the present invention, which represents network nodes as point vectors rather than Gaussian distribution in latent space; ④AHNsy-PTR: a variant method of the present invention, which uses symmetric inner product to measure node distance instead of KL divergence. The comparison results are shown in Table 2.

[0092] Table 2 Comparison of recommended methods

[0093]

[0094] In Table 2, through the accuracy index evaluation, it is found that the five accuracy index values ​​of AHNRL-PTR of the present invention are all above 86%, and four indicators are higher than the other four methods. In addition, the IntraSim and Popularity index values ​​of AHNRL-PTR are smaller than those of metapath2vec, AHNvec-PTR and AHNsy-PTR methods, indicating that the recommendation results of this invention are more diverse and have advantages in recommending niche and unpopular patents. At the same time, it also shows that in the representation learning of patent transaction AHN, considering the uncertainty of attribute embedding and the asymmetric performance of node distance can improve the recommendation accuracy. Based on this model, the calculation of inaccuracy indicators is shown in the following table.

[0095] Table 3 Performance of the present invention (non-accuracy index)

[0096]

[0097] In Table 3, by changing the length of the recommendation list, it is found that the IntraSim index value is around 2, indicating that the patents recommended to the organization are relatively rich, but as the length of the recommendation list increases, a small growth trend appears, indicating that the more patents are recommended, the lower the diversity. As the length of the recommendation list increases, the Popularity index value decreases significantly, indicating that the more patents are recommended, the more the present invention tends to recommend less active patents or unpopular patents. It can be seen that the present invention has advantages in mining users' potential patent technology transaction interests.

Claims

1. A patent transaction recommendation method based on attribute heterogeneous network representation learning, characterized in that: The following steps are involved: In step S101, an attribute system affecting patent transactions is constructed, and patent and organization information is obtained based on the patent database; Based on literature review, we constructed an index system of patent and organizational attributes that affect patent transactions, as shown in Table 1; Table 1 Attribute index system The calculation process of patent competitiveness is as follows: the applicant set of patent P is PA, the number of applicants is |PA|, and the IPC set is PI; the IPC set of all patents owned by the applicant set of patent P is recorded as S IPC , the quantity is |S IPC |; Construct the applicant's IPC vector Among them, IPC j Indicates S IPC The jth IPC in, j = 1, 2, ..., |S IPC |, Indicates applicant a i IPC has all the patents j The competitiveness of patent P is the average number of combinations of the applicant set and the IPC set, and the formula is as follows: In addition, the calculation method of novelty is characterized by the similarity of patent abstracts, and the formula is as follows: pm represents the number of patents in the database whose application time is before patent P and whose similarity with patent P is greater than or equal to the similarity level α, α = 0.2; The initial data acquisition process is as follows: searching for valid invention patents based on the patent database, and performing fuzzy matching searches through the applicant address, assignee address, and current patent owner address of the transferred patents; The data processing process is as follows: (1) For a transfer record with multiple transfer or transferee organizations, split the O1→O2O3 structure into O1→O2 and O1→O3; split the O1O2→O3 structure into O1→O3 and O2→O3, where O1, O2, O3 represent the patent transfer and transferee organizations, → represents the transfer direction, extract the organization list after data splitting, and delete the records where the transferor and transferee are individuals; (2) Delete the transfer records where both the transferor and the transferee are not subject to the address restriction conditions; (3) Obtain the number of unassigned patents; (4) For the above data set, the classification labels are marked, with transfers marked as 1 and no transfers marked as 0; and the attribute index is calculated. For continuous indexes, the formula is used Perform normalization processing; use One-Hot to encode the organizational type attributes and organizational region attributes, and represent the organizational attributes as vectors; use TF-IDF to represent the patent text attributes as vectors, and combine with other patent attribute information encoding vectors to form an attribute matrix; In step S102, a patent transaction AHN is constructed and the following definition is given: Definition 1 Attribute Heterogeneous Network, AHN. Given an AHN, G = {V, E, A}, where V represents the node set, |V| is the number of nodes, E is the set of edges in the network, and A is the attribute matrix of the node; E only exists between nodes, that is, Represents node v i The attribute vector of In the patent transaction AHN, the node set is represented by V = {v1,v2,2,v O ,v O+1 ,2,v P ,v P+1 ,2,v T }, mapped to a node type set V Type ={O,P,T}, O represents organization, P represents patent, and T represents IPC; |O| represents the number of organization nodes; E = {E1,E2,E3} is a set of relationship types, E1 represents the patent transferred out by the organization, E2 represents the patent transferred in by the organization, and E3 represents the affiliation between the patent and IPC; Ao represents the set of organizational attributes, and Ap represents the set of patent attributes, which respectively represent the organizational attributes and patent attributes listed in Table 1; Assuming Ao = {Ao1,Ao2}, Ap = {Ap1,Ap2}, for each node v i ∈V, its attribute vector is expressed as The attribute matrix is ​​expressed as Define a 2-element path as a network pattern T G = A path on {V,E} is defined as a path consisting of a series of relationship sequences between nodes of different types; Represents a composite relationship between O and T Definition 3 AHN representation learning. Given AHN, G = {V, E, A}, A ∈ R m×n is the attribute matrix, where m is the number of nodes, m = |V|, and n is the number of attributes. The goal is to learn the mapping function f:V→R d , map each node in G to a d-dimensional vector, where d is 200; In step S103, the representation learning process of the patent transaction AHN includes: obtaining a multi-dimensional Gaussian distribution of nodes based on a neural network; traversing the AHN to generate a node sequence based on a meta-path random walk; and measuring the difference between Gaussian distributions of different nodes based on skip-gram and using KL divergence to obtain a low-dimensional vector space for each node; specifically as follows: (1) First, the patent attribute matrix is ​​input into the neural network, and the node attributes are processed by the first layer of the neural network and the intermediate hidden representation is output; then, the mean and covariance matrices of the nodes are obtained through the output of the second layer of the neural network; the formula is as follows: in, is node v i The attribute vector of is the intermediate hidden representation of the first layer output, W and b are the weight matrix and bias vector of this layer respectively, and Respectively represent the output node v i The mean and covariance matrix, W μ and b μ Represent the weight matrix and bias vector of the mean, W ∑ and b ∑ They are the weight matrix and bias vector of the covariance matrix respectively, relu and elu are two activation functions; (2) Adoption The meta-path is a random walk, which means that when the patents transferred out by one organization belong to the same technical field as the patents transferred in by another organization, transactions between organizations are more likely to occur. Given the patent transaction AHN and meta-path, the transition probability at the k+1th step of the random walk is: The formula means that the kth step walks to the node v i , and the predefined meta path path is known; first get the node v i If the node v i is of type P, then according to the relationship paths between nodes of different types in the above meta-path, v i The type of neighbor nodes should be O type or T type. Similarly, if node v i If it is of type O, then its neighbor node should be of type P; then the k+1th step walks to node v j Two conditions need to be met: node v i 、v j There is a connection between them, that is, (v i ,v j )∈E, and node v j The type of node v i The neighbor node type t type, that is, φ(v j )=t, t is v i The types corresponding to all neighbor nodes in the meta-path; at this time, the k+1th step walks to the node v j The probability is: N t (v i ) represents node v i The set of neighbor nodes of type t among the neighbors of i 、v j There is a connection between them, that is, (v i ,v j )∈E, but v j Does not belong to v i The neighbor node type t type, that is, φ(v j )≠t, the transition probability is 0; when node v i 、v j There is no connection between Its transition probability is also 0; Each node randomly walks 50 times, with a walking length of 10 steps, and the values ​​of the number of random walks and the step length can ensure that every node in the network is covered; finally, the node sequence is obtained. (3) The skip-gram model is used to train the patent transaction AHN network. Skip-gram is a mainstream neural network language model. The core idea is to use the current word to predict the surrounding words. In the network, the current node is used to predict its surrounding neighbor nodes. The nodes are regarded as words, and the node sequence is equivalent to a sentence. The specific steps are as follows: The skip-gram model maximizes the probability of observing neighboring nodes based on the embedding of the central node. The objective function is Among them, V Type Represents the type set of nodes, N t (v i ) represents node v i The set of neighbor nodes of type t, is a mapping function that maps nodes into vectors. It means that in a random walk, when a node v is given i , the probability of a node of type t appearing within its window range; based on the conditional independence assumption, the conditional probability in the above formula is as follows: Among them, v j ∈N t (v i ) represents node v j Belongs to node v i t-type neighbor; Use Softmax function for node v j Normalize the node type; given v i After that, the neighbor v j The probability of occurrence is: Among them, the function exp(x) represents the natural logarithm e to the power of x, and denote the embedding of the central node and its neighbors, respectively. represents the embedding of any node in the network, that is, It is the dot product of the two. KL divergence is also called relative entropy or information divergence. It is an asymmetric measure of the difference between two probability distributions. The formula is as follows: in, and Represent the multidimensional Gaussian distribution of two nodes respectively, represents the KL divergence of two distributions, and represent the means of the two distributions, and They represent the determinants of the two covariance matrices, R represents the vector, l represents the dimension of embedding, and tr(·) represent the inverse and trace of the covariance matrix, respectively; in this way, formula (7) can be rewritten as: Use sigmoid function for normalization; the loss function is as shown in formula (10): Among them, σ is the sigmoid function, that is Represented as node v j Embedding of node v j Belongs to node v i The t-type neighbor, that is, v j ∈N t (v i ); negative samples are not included in N t (v i ), Represents the negative sample node v k The embedding of k The node type and v j Same; P neg (v) represents the central node The noise distribution of , in the case of E restriction, obeys the normal distribution with the specified mean and deviation. The initial mean and deviation are randomly generated. The negative sample node v k is the vector obtained from the distribution, that is, v k ~P neg (v), K is the number of neg (v) is the total number of negative samples collected; specifically, we first initialize the node vector, and initialize a low-dimensional vector for each node in the positive and negative samples as the vector representation of the node, and then use the gradient descent method to minimize the loss function, which is essentially to maximize Continuously update the node vector until convergence or the end of the training phase; first, randomly set the epoch parameter value in the skip-gram model between 5 and 100. If the number of training times is less than the epoch parameter value and the loss function has converged, end the training early. Otherwise, end the training when the number of training times, i.e., the epoch parameter value, is reached; In step S104, the node similarity is calculated based on the cosine similarity, and the similarity values ​​are sorted into Top-k order to obtain the Top-k patents as the recommendation results of the target organization; After the representation learning training is completed, the representation vectors of the organization and patent are extracted, and the cosine similarity is used to measure the similarity between two nodes. The larger the cosine similarity of the two vectors, the more similar they are. i and patent p j The cosine similarity between them is as follows: Where l is the length of the vector, Representing organizations i and patent p j The calculated cosine values ​​are sorted in descending order to obtain the Top-k patent transaction recommendation results.