Intelligent patent literature retrieval method and system based on knowledge graph
By establishing a patent knowledge graph and using similarity algorithms and iterative genetic algorithms, the problem of low precision and efficiency in patent document retrieval in the existing technology is solved, and more efficient and accurate patent information retrieval and relationship display are achieved.
Patent Information
- Application Number
- CN202410636322.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-06
AI Technical Summary
Existing patent document retrieval methods rely on keyword matching, resulting in low retrieval accuracy and low efficiency. It is difficult to discover the inherent relationship between patents, and the operation is cumbersome and requires professionals to conduct multiple screenings.
Using an intelligent retrieval method based on knowledge graphs, a patent knowledge graph is established through data collection and preprocessing, similarity algorithms and iterative genetic algorithms are used to match entities and relationships, and the search results with the highest similarity to the retrieved information are output.
It improves the efficiency and accuracy of patent document retrieval, lowers the search threshold, can more intuitively display the hierarchical relationship between patent data, and provides more accurate and reliable search results.
Smart Images

Figure CN118606483A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intellectual property technology, and in particular to a patent document intelligent retrieval method based on a knowledge graph and a system thereof. Background Art
[0002] Patent documents are documents that record various relevant documents generated during the patent application, examination and approval process. In the modern information age, with the continuous increase of patent documents, the explosion and dispersion of patent document information has become a problem that needs to be solved urgently.
[0003] At present, the traditional patent search method is that before applying for a patent, the applicant searches for relevant patent documents based on technical keywords and technical fields to evaluate whether the invention has novelty, creativity and practicality, so as to avoid not being able to obtain patent rights after applying. However, the method of searching content by keyword matching is easy to match a large amount of invalid patent data with low correlation, and the search accuracy is low. Professionals are required to conduct more than two searches to screen out the patent data with the highest correlation. The operation is cumbersome and requires high professionalism of technical personnel. The search of existing technologies requires professional personnel to extract keywords and search patent documents multiple times. It is difficult for ordinary R&D personnel to search, the accuracy of the retrieved information is not enough, and there is a large amount of missed search or useless information. The search efficiency of existing technologies is low, and a lot of time is wasted on the search. Secondly, the current search method usually directly lists a large number of patents, which cannot intuitively discover the internal relationship between patents, inventors and applicants. It is difficult to make the predicate relationship sparse, which is not conducive to the training of the graph model and subsequent automatic completion.
[0004] Therefore, there is an urgent need to design an intelligent patent document retrieval method that, in addition to considering keyword factors, can also use knowledge graphs for data association matching, so as to provide more accurate retrieval results. Summary of the invention
[0005] In order to overcome the defects of the prior art, the technical problem to be solved by the present invention is to propose a patent document intelligent retrieval method and system based on knowledge graph, which improves the retrieval efficiency of patent documents, lowers the patent retrieval threshold, and ensures that the retrieval results are more accurate, reliable, efficient and convenient through data collection and processing and knowledge graph.
[0006] To achieve this object, the present invention adopts the following technical solutions:
[0007] The present invention provides a patent document intelligent retrieval method based on knowledge graph, the method comprising:
[0008] S10: Collect patent document data from various data sources, obtain patent application text information and patent attribute information, and establish a patent database;
[0009] S20: performing preprocessing operations on the patent document data in the patent database, including text cleaning, text segmentation, part-of-speech tagging and model training;
[0010] S30: Performing standardization processing on the text data after preprocessing to obtain entity types, entity attributes, and entity relationships of the data, storing the identified entities, relationships, and attributes in a graph database, and building a patent knowledge graph system;
[0011] S40: According to the keywords and other query conditions of the search information, the search information is matched with the entities and relationships in the patent knowledge graph system, and the search result with the highest similarity to the search information is output as the optimal search result using a similarity algorithm and an iterative genetic algorithm.
[0012] The preferred technical solution of the present invention is that the standardization operation is performed on the text data after the preprocessing operation, including:
[0013] Perform text cleaning, text segmentation, part-of-speech tagging, stop word removal and model training on patent document data to obtain pre-processed text data after eliminating useless text, clean and construct data and separate the data according to the similarity algorithm;
[0014] A named entity recognition model is used on the preprocessed text data to identify the entity types and entity attributes in the patent knowledge graph. An entity linking algorithm is used to link the identified entities to the corresponding entity nodes in the knowledge graph to obtain the attribute and relationship information of the entities in the knowledge graph.
[0015] Use a relationship extraction model to extract the relationships between entities from patent document data, and compare the extracted relationship information with the relationships in the knowledge graph to verify whether the relationships are accurate and complete;
[0016] Use the loss function to embed entities and relationships and build a patent knowledge graph system.
[0017] The preferred technical solution of the present invention is that the loss function is used to embed entities and relationships to build a patent knowledge graph system, including:
[0018] The graph elements, relations and result graph elements in the patent knowledge graph are defined as the triples (h, r, t) of the patent knowledge graph, and the entities and relations in the knowledge graph are embedded using the loss function. The loss function is:
[0019]
[0020] Among them, the head entity h is the graph element, the relationship r is the description of the relationship between the graph elements, the tail entity t is the result graph element, S is the positive sample set, S' is the negative sample set, d represents the distance function, [] + It means taking the positive part, and γ is the interval parameter.
[0021] The preferred technical solution of the present invention is that the similarity algorithm is used, including:
[0022] A convolutional neural network model is used to perform similarity analysis on the semantics of entities and relationships that match the search information. The keywords and query conditions of the search information are used as the initial input of the convolutional neural network, and the patent names, graph level nodes, and search keywords generated by the fuzzy search are traversed;
[0023] The similarity of each layer of the network is calculated based on the similarity matching scoring function. If the similarity is greater than a preset threshold, it is used as the input of the next level of network. After multiple iterations, the search result with the highest similarity to the search information is output as the optimal search result.
[0024] The preferred technical solution of the present invention is that the convolutional neural network model is used to perform similarity analysis on the semantics of entities and relationships matching the search information, including:
[0025] Locating the patent technology field and patent classification number associated with the search information through the patent knowledge graph system, and classifying the searched entities according to different patent technology fields and patent classification numbers;
[0026] Performing similarity evaluation on the patent names and patent abstracts of the entity objects classified by the search and the keywords of the search information;
[0027] If the similarity is less than the preset threshold, the patent search result is discarded;
[0028] If the similarity is greater than the preset threshold, it will be used as the relevant input for the next node level network.
[0029] The preferred technical solution of the present invention is that the identified entities, relationships and attributes are stored in a graph database to build a patent knowledge graph system, including:
[0030] Taking patent basic information, patent inventors, and patent applicants as entities, relationships between entities are established based on the attribute information of the entities to form the patent knowledge graph system including entity nodes and entity node relationships.
[0031] A preferred technical solution of the present invention is that the entity node relationship includes node relationships between entities of the same type and node relationships between entities of different types;
[0032] The node relationships between entities of the same type include node relationships between patents, node relationships between inventors, and node relationships between applicants;
[0033] The node relationships between the different types of entities include the node relationship between the patent and the inventor, the node relationship between the patent and the applicant, and the node relationship between the inventor and the applicant.
[0034] The preferred technical solution of the present invention is to calculate the similarity between two patent texts by using a cosine similarity algorithm to establish a node relationship between the patents, including:
[0035] The calculation formula of the cosine similarity algorithm is:
[0036]
[0037] Define word segmentation vectors K = {k1, k2, ..., kn} and K' = {k'1, k'2, ..., k'm} to represent the word segmentation vectors of patent A and patent B respectively, where ki and k'i represent the word frequencies of words in the keyword set in patent A and patent B respectively. By calculating the cosine similarity, the similarity value between patent A and patent B is obtained;
[0038] If the similarity between patent A and patent B is greater than a preset threshold, a node relationship between patent A and patent B is established.
[0039] The preferred technical solution of the present invention is to introduce an attention mechanism algorithm into the convolutional neural network model to focus on entities and relationships with high weight values in patent documents, wherein the entities with high weight values are set patent keywords.
[0040] The preferred technical solution of the present invention is that the iterative genetic algorithm comprises:
[0041] Using the search conditions, a new fictitious individual is created and placed in the patent knowledge graph branch with the highest similarity value. The number of iteration layers and termination conditions are set, and the optimal individual is output, so that each individual passing through the iterative genetic algorithm meets the set search target.
[0042] The present invention provides a system using the patent document intelligent retrieval method based on knowledge graph, comprising:
[0043] A data collection unit, used to obtain patent document data from various data sources and establish a patent database;
[0044] A data processing unit, used to process the patent document data to obtain the entity type, entity attribute and entity relationship of the data;
[0045] The knowledge graph construction unit is used to store the identified entities, relationships and attributes into the graph database to build a patent knowledge graph system;
[0046] The intelligent retrieval unit is used to use a similarity algorithm to output a retrieval result with the highest similarity to the retrieval information as an optimal retrieval result.
[0047] The beneficial effects of the present invention are:
[0048] Through data collection and knowledge graphs, the correlation between patents is effectively identified, and the search between related patent contents is realized with the help of graph matching methods, which reduces the difficulty and steps of traditional search methods such as keyword-based methods, and then uses similarity calculation to give the similarity between related patents, making the patent search process efficient. Through similarity threshold calculation and evaluation, the search results are more accurate, and the hierarchical relationship between patent data entities can be more intuitively displayed, which is convenient for users to find relevant information and ensure that the search results are more accurate, reliable, efficient and convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a flow control diagram of the patent document intelligent retrieval method based on knowledge graph provided in the specific implementation mode of the present invention.
[0050] Figure 2 It is a schematic diagram of the module architecture of a system using a knowledge graph-based intelligent retrieval method for patent documents provided in a specific embodiment of the present invention.
[0051] In the figure:
[0052] 1. Data collection unit; 2. Data processing unit; 3. Knowledge graph construction unit; 4. Intelligent retrieval unit. DETAILED DESCRIPTION
[0053] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.
[0054] Embodiment 1
[0055] like Figure 1 As shown, in order to make the patent search process more accurate and efficient, and to more intuitively display the hierarchical relationship between patent data entities, so as to facilitate users to find relevant information and ensure that the search results are more accurate, reliable, efficient and convenient, further, a patent document intelligent search method based on knowledge graph is provided in this embodiment, and the method includes:
[0056] S10: Collect patent document data from various data sources, obtain patent application text information and patent attribute information, and establish a patent database;
[0057] S20: performing preprocessing operations on the patent document data in the patent database, including text cleaning, text segmentation, part-of-speech tagging and model training;
[0058] S30: Performing standardization processing on the text data after preprocessing to obtain entity types, entity attributes, and entity relationships of the data, storing the identified entities, relationships, and attributes in a graph database, and building a patent knowledge graph system;
[0059] S40: According to the keywords and other query conditions of the search information, the search information is matched with the entities and relationships in the patent knowledge graph system, and the search result with the highest similarity to the search information is output as the optimal search result using a similarity algorithm and an iterative genetic algorithm.
[0060] In this application, patent documents can be obtained from multiple channels such as patent offices and patent databases as data sources. The collected patent document data includes patent application text information and patent attribute information. Among them, the patent application text information includes patent name, patent abstract, claims, instructions, etc., and the patent attribute information includes application number, authorization number, validity period, keywords, main classification number, publication number, publication date, IPC classification number, applicant information, inventor information, etc.
[0061] During the data processing process, the collected patent documents are preprocessed and standardized through data format conversion, including entity recognition and extraction, relationship extraction, patent similarity evaluation, etc. Through the above data processing, the patent knowledge graph can be further constructed in the future.
[0062] The collected patent documents are processed for entity disambiguation, and the text is deduplicated after similarity comparison. The data after entity extraction is further optimized. For example, the knowledge graph and convolutional neural network are used to optimize patent retrieval, and the attention mechanism is introduced into the convolutional neural network model to optimize the retrieval efficiency and accuracy. The multi-level information fusion mechanism is introduced into the model to optimize the ability to understand the content of the document. Finally, the cleaned and standardized patent documents are distributedly stored in the database, and the identified entities, relationships and attributes are stored in the graph database to build a patent knowledge graph system for subsequent processing and retrieval. This application uses a graph database to store and manage knowledge graphs, which has efficient graph query and graph analysis capabilities.
[0063] When conducting a patent search, the user enters a query request, and the intelligent retrieval system will parse the query request, identify the query keywords and query conditions, and match the query request with the entities and relationships in the patent knowledge graph to find the entities and relationships related to the query request. Finally, the intelligent retrieval system displays the query results to the user, including patent documents, patent classifications, inventors, applicants and other information related to the query request, and can also display the search results in a graphical manner, including graph display, relationship display, etc. Furthermore, the present application can also use tensor decomposition algorithms for automatic learning and reasoning, mine target information from the currently retrieved knowledge graph, and store the target information as part of the knowledge feedback in the knowledge graph.
[0064] Preferably, performing a standardization operation on the text data after the preprocessing operation includes:
[0065] Perform text cleaning, text segmentation, part-of-speech tagging, stop word removal and model training on patent document data to obtain pre-processed text data after eliminating useless text, clean and construct data and separate the data according to the similarity algorithm;
[0066] A named entity recognition model is used on the preprocessed text data to identify the entity types and entity attributes in the patent knowledge graph. An entity linking algorithm is used to link the identified entities to the corresponding entity nodes in the knowledge graph to obtain the attribute and relationship information of the entities in the knowledge graph.
[0067] Use a relationship extraction model to extract the relationships between entities from patent document data, and compare the extracted relationship information with the relationships in the knowledge graph to verify whether the relationships are accurate and complete;
[0068] Use the loss function to embed entities and relationships and build a patent knowledge graph system.
[0069] First, the collected patent document data is preprocessed, including text cleaning, word segmentation, part-of-speech tagging, and stop word removal. These preprocessing operations can improve the accuracy and efficiency of subsequent processing. Then, the data is standardized and converted, including entity recognition and extraction, relationship extraction, and other operations.
[0070] When performing named entity recognition, a named entity recognition (NER) model is used to identify entities in the patent knowledge graph from the preprocessed text, such as inventors, applicants, patent classification numbers, technical fields, etc. The named entity recognition (NER) model links the identified entities to the corresponding entity nodes in the knowledge graph through the entity linking algorithm to obtain the attribute and relationship information of the entity in the knowledge graph. The calculation formula of the entity linking algorithm is:
[0071] score(e,c)=sim(f(e),g(c));
[0072] Among them, e is the entity in the knowledge graph, c is the context in the document, f(e) and g(c) are the representation functions of the entity and context respectively, and sim(.) is the similarity function.
[0073] After identifying the entities, the present invention uses a relationship extraction model to extract the relationships between entities from the patent document data. For example, the relationship between the inventor and the patent document, the relationship between the technical fields, the possible cooperation relationship between the inventor and the applicant, the possible hierarchical relationship between the patent classification number and the technical field, etc. The extracted relationship information is compared with the relationship in the knowledge graph to verify the accuracy and completeness of the relationship.
[0074] Preferably, the loss function is used to embed entities and relationships to build a patent knowledge graph system, including:
[0075] The graph elements, relations and result graph elements in the patent knowledge graph are defined as the triples (h, r, t) of the patent knowledge graph, and the entities and relations in the knowledge graph are embedded using the loss function. The loss function is:
[0076]
[0077] Among them, the head entity h is the graph element, the relationship r is the description of the relationship between the graph elements, the tail entity t is the result graph element, S is the positive sample set, S' is the negative sample set, d represents the distance function, [] + It means taking the positive part, and γ is the interval parameter.
[0078] The patent document data is cleaned and preprocessed, including text cleaning, text segmentation, part-of-speech tagging, and stop word removal. The entities and relationships in the knowledge graph are embedded through the loss function, and the main features (h, r, t) of the patent document data are embedded in the loss function to improve the prediction accuracy of the model based on the patent knowledge graph task. The model updates each parameter through back propagation to reduce the loss between the true value and the predicted value, so that the predicted value generated by the model is closer to the true value, thereby achieving the purpose of learning.
[0079] Preferably, the using similarity algorithm comprises:
[0080] A convolutional neural network model is used to perform similarity analysis on the semantics of entities and relationships that match the search information. The keywords and query conditions of the search information are used as the initial input of the convolutional neural network, and the patent names, graph level nodes, and search keywords generated by the fuzzy search are traversed;
[0081] The similarity of each layer of the network is calculated based on the similarity matching scoring function. If the similarity is greater than a preset threshold, it is used as the input of the next level of network. After multiple iterations, the search result with the highest similarity to the search information is output as the optimal search result.
[0082] In this application, a convolutional neural network is used to perform similarity analysis on the semantics of matching entities and relationships, that is, based on the search keywords and query conditions as input, the patent names, graph level nodes, and search keywords obtained by traversing the fuzzy search are used, and the similarity of the search results is calculated at each layer of the convolutional neural network using a similarity matching scoring function. If the similarity is greater than a set threshold (such as 0.8), it is used as the input of the next level network. After several iterations, the search results become closer and closer to the search target, greatly improving the search accuracy and efficiency.
[0083] In a specific embodiment, the actual search is similar to a piece of information with loopholes. Through the convolutional neural network, layer by layer, some useless information (such as information referring to different application stages of the same patent application text, ambiguous and irrelevant synonyms and synonyms, information with low similarity to the target search information, etc.) is continuously deleted from the association relationship of the knowledge graph, and the search target is gradually and accurately located, which greatly improves the search efficiency and accuracy. Since ordinary people cannot accurately describe the search conditions, by adopting this system, ordinary people can use ordinary understanding means, combined with the intelligent search of this system, to reach the desired search target.
[0084] Preferably, the convolutional neural network model is used to perform similarity analysis on the semantics of entities and relationships matching the search information, including:
[0085] Locating the patent technology field and patent classification number associated with the search information through the patent knowledge graph system, and classifying the searched entities according to different patent technology fields and patent classification numbers;
[0086] Performing similarity evaluation on the patent names and patent abstracts of the entity objects classified by the search and the keywords of the search information;
[0087] If the similarity is less than the preset threshold, the patent search result is discarded;
[0088] If the similarity is greater than the preset threshold, it will be used as the relevant input for the next node level network.
[0089] From the above process, it can be seen that the retrieval is to locate the relevant patent fields and detailed sub-classifications through the knowledge graph. However, after the classification, it is still necessary to evaluate the similarity of the patent name title and content summary of the retrieval entity. Those below the set threshold are directly discarded, and those that meet the requirements are used as relevant inputs for the next node level. By removing repeated useless text information and retrieval results with low similarity to the retrieval target, the efficiency and accuracy of the retrieval can be further improved.
[0090] Preferably, the identified entities, relationships and attributes are stored in a graph database to build a patent knowledge graph system, including:
[0091] Taking patent basic information, patent inventors, and patent applicants as entities, relationships between entities are established based on the attribute information of the entities to form the patent knowledge graph system including entity nodes and entity node relationships.
[0092] In the patent knowledge graph of this application, entities include the following types: basic patent information, patent inventors, and patent applicants. For each entity, there is a series of attributes used to describe a series of intrinsic attributes of the entity. For the above three entities, the attributes considered are as follows:
[0093] The basic patent information attributes include: application number, grant number, validity period, keywords, abstract, main classification number, publication number, publication date, IPC classification number, and technical field;
[0094] The attributes of patent inventors include: inventor’s name, inventor’s organization, inventor’s address;
[0095] The attributes of a patent applicant include: applicant name, applicant nature, and applicant address.
[0096] Preferably, the entity node relationship includes node relationships between entities of the same type and node relationships between entities of different types;
[0097] The node relationships between entities of the same type include node relationships between patents, node relationships between inventors, and node relationships between applicants;
[0098] Among them, the node relationship between patents is the relationship between the basic information attributes of patents. For example, there may be a hierarchical relationship between patent classification numbers and technical fields, and there may be a relationship between patent application numbers, publication numbers, and authorization numbers, referring to different application stages of the same patent application text, or representing patent predecessor relationships, indicating whether patent A is a predecessor patent of patent B, including priority claims based on patent A or divisional cases based on patent A as the parent case.
[0099] The node relationships between the different types of entities include the node relationship between the patent and the inventor, the node relationship between the patent and the applicant, and the node relationship between the inventor and the applicant.
[0100] Preferably, the similarity between two patent texts is calculated by a cosine similarity algorithm to establish a node relationship between the patents, including:
[0101] The calculation formula of the cosine similarity algorithm is:
[0102]
[0103] Among them, the numerator K·K' represents the dot product of vectors K and K' (that is, the elements at corresponding positions are multiplied and then added), and the denominator ||K||·||K'|| represents the norm product of vectors K and K' (that is, the square root of the sum of the squares of their respective elements is multiplied).
[0104] Define word segmentation vectors K = {k1, k2, ..., kn} and K' = {k'1, k'2, ..., k'm} to represent the word segmentation vectors of patent A and patent B respectively, where ki and k'i represent the word frequencies of words in the keyword set in patent A and patent B respectively. By calculating the cosine similarity, the similarity value between patent A and patent B is obtained;
[0105] If the similarity between patent A and patent B is greater than a preset threshold, a node relationship between patent A and patent B is established.
[0106] Furthermore, the similarity between two patent texts is calculated based on an improved similarity algorithm based on cosine similarity, where cosine similarity represents the multiplicative product of two vectors in a vector space divided by the product of the lengths (sizes) of the two vectors, and the calculation formula is as follows:
[0107]
[0108] The similarity value ranges from [-1, 1], where -1 represents that the two patent texts are completely dissimilar, and 1 represents that the two patent texts are completely similar.
[0109] By calculating the cosine similarity between patents through the above process, we can get the similarity value between patent A and patent B, which reflects the degree of text similarity between them under the keyword set, and helps to associate multiple related patents with high similarity to the search target as alternatives for the optimal search results and output them. The closer the similarity value is to 1, the more similar the two patent texts are; the closer the similarity value is to 0, the less similar the two patent texts are.
[0110] Furthermore, the keyword search is segmented, the original value range is [-1,1], and the assumption of conditional independence is added.
[0111] Add a preset condition vector between vectors A and B, expressed as
[0112]
[0113] According to the assumed conditions, the number and relationship of adjacent points between A, B and the conditional vector are calculated respectively.
[0114]
[0115] The value of cosine similarity is given by
[0116] Change to
[0117] If the words used in two sentences in the patent text are closer, it means that the targets they refer to are closer. A threshold of 0.5 is set as the basis for preprocessing classification.
[0118] Preferably, an attention mechanism algorithm is introduced into the convolutional neural network model to focus on entities and relationships with high weight values in the patent documents, wherein the entities with high weight values are set patent keywords.
[0119] In this application, a convolutional neural network model is designed to combine knowledge graph embedding and text features for representation learning and retrieval of patent documents. The convolutional neural network model uses the following calculation formula:
[0120] Conv(x)=σ(W*x+b);
[0121] Among them, X is the input feature, W is the convolution kernel, b is the bias, * represents the convolution operation, and σ is the activation function.
[0122] Furthermore, the Self-Attention algorithm uses the following calculation formula:
[0123]
[0124] Among them, Q, K, and V represent query, key, and value respectively. K Dimensions for queries and keys.
[0125] An attention mechanism is introduced into the model to focus on important entities and relations in the literature to improve retrieval efficiency and accuracy.
[0126] In other embodiments, a multi-level information fusion mechanism is introduced into the model to fuse the knowledge graph information and text information to improve the model's ability to understand the content of the document. Through multi-level information fusion, the model can comprehensively utilize information at different levels to improve the relevance of the search results.
[0127] Furthermore, patent document datasets with knowledge graph information can be used for model training, and model parameters can be optimized using optimization algorithms such as back-propagation and gradient descent to improve the performance and generalization ability of the model.
[0128] In other embodiments, the iterative genetic algorithm comprises:
[0129] Using the search conditions, a new fictitious individual is created and placed in the patent knowledge graph branch with the highest similarity value. The number of iteration layers and termination conditions are set, and the optimal individual is output, so that each individual passing through the iterative genetic algorithm meets the set search target.
[0130] The iterative genetic algorithm is used for effective retrieval, which includes the following steps:
[0131] Initialization: Set the evolutionary generation counter t←0, set the maximum evolutionary generation T, and randomly generate M individuals as the initial population P(0).
[0132] Individual evaluation: Calculate the fitness of each individual in the population P(t).
[0133] Selection operation: Apply the selection operator to the group.
[0134] Crossover operation: Apply the crossover operator to the group.
[0135] Mutation operation: Apply the mutation operator to the population.
[0136] After selection, crossover and mutation operations, the population P(t) obtains the next generation population P(t+1).
[0137] Termination condition judgment: If t≤T, then: t←t+1, go to step 2 individual evaluation; if t>T, the individual with the maximum fitness obtained in the evolution process is output as the optimal solution and the calculation is terminated.
[0138] Given a sorted sequence \(K = \langle k_1, k_2, \ldots, k_n\rangle\) of \(n\) keys (without loss of generality, assume \(k_1 \lt k_2 \lt \ldots \lt k_n\)), for each key \(k_i\), there is a probability \(p_i\) representing its search frequency. Construct a binary search tree \(T\) based on \(k_i\) and \(p_i\), where each \(k_i\) corresponds to a node in the tree. If the search object \(x\) is equal to some \(k_i\), then the node \(k_i\) can definitely be found in \(T\); if \(x \lt k_1\) or \(x \gt k_n\) or \(k_i \lt x \lt k_{i + 1}\) (\(1\leq i \lt n\)), then the search fails in \(T\). To this end, introduce external nodes \(d_0, d_1, \ldots, d_n\) to represent values not in \(K\), called dummy nodes. Here, each \(d_i\) represents an interval, \(d_0\) represents all values less than \(k_1\), \(d_n\) represents all values greater than \(k_n\), and for \(i = 1, 2, \ldots, n - 1\), \(d_i\) represents all values between \(k_i\) and \(k_{i + 1}\). At the same time, each \(d_i\) also has a probability \(q_i\) representing the frequency that the search object \(x\) exactly falls into the interval \(d_i\). The binary search tree with the minimum expected search cost, that is, the optimal binary search tree, can ensure finding the optimal solution to the problem of meeting the retrieval target.
[0139] Specifically, let \(m(i, j)\) be the optimal solution with respect to the sequence \(S(i, j)\) and the access probability distribution \(P(i, j)\), then there is
[0140] \(m(i, j)=\min\{m(i, k - 1)+m(k + 1, j)+w(i, j)\}\);
[0141] where \((1\leq i\leq j\leq n, i\leq k\leq j)\)
[0142] \(m(i, i - 1)=0, 1\leq i\leq n\),
[0143] \(w(i, j)=w(i, j - 1)+b(j)+a(j)\),
[0144] \(w(i, i - 1)=a(i - 1)\)
[0145] where \(1\leq i\leq n\).
[0146] Using the optimization problem of the maximum value of the objective function, its transformation is
[0147]
[0148] L min : Preset a relatively small number, the minimum objective function value evolved to the current generation, the minimum objective function value of the current generation or several recent generations.
[0149] Under the combined action of the selection operator and the mutation operator, a new independent preset individual \(P(m)\) is added, then there is
[0150]
[0151] Among them, the smaller D(H), the easier it is to survive. The survival probability of each offspring is:
[0152] P S ≈1-D(H)P(m),
[0153] satisfy:
[0154]
[0155] Where, t: the tth generation of the evolution process, H: mode H,
[0156] m(H,t): the number of cells in the current population P(t) that are compatible with H.
[0157] The average fitness of the tth generation,
[0158] f(H,t): The average fitness of all individuals implied in the population.
[0159] Through the above-mentioned iterative genetic algorithm, the historical best individual is output, so that each individual passing through the iterative genetic algorithm meets the set retrieval target, ensuring that the retrieval result is more accurate and reliable.
[0160] Embodiment 2
[0161] like Figure 1 to Figure 2 As shown, in order to improve the retrieval efficiency of patent documents, lower the threshold for patent retrieval, and ensure that the retrieval results are more accurate, reliable, efficient and convenient, further, a system using the patent document intelligent retrieval method based on knowledge graph is provided in this embodiment, including:
[0162] Data collection unit 1, used to obtain patent document data from various data sources and establish a patent database;
[0163] Data processing unit 2, used for processing patent document data to obtain entity types, entity attributes and entity relationships of the data;
[0164] Knowledge graph construction unit 3, used to store the identified entities, relationships and attributes into the graph database to build a patent knowledge graph system;
[0165] The intelligent retrieval unit 4 is used to use a similarity algorithm to output a retrieval result with the highest similarity to the retrieval information as an optimal retrieval result.
[0166] The data collection unit 1 is used to collect patent document data, including patent abstracts, claims, etc. The source of patent documents can be obtained from multiple channels such as patent offices and patent databases.
[0167] The data processing unit 2 performs preprocessing and standardization on the collected patent documents through data format conversion, including entity recognition and extraction, relationship extraction, patent similarity evaluation, etc., so as to facilitate the subsequent construction of the patent knowledge graph.
[0168] The knowledge graph construction unit 3 deduplicates the collected patent document data, further optimizes the data after entity extraction, and finally stores the cleaned and standardized patent documents in a distributed manner in the graph database to build a patent knowledge graph system to facilitate subsequent processing and retrieval.
[0169] The intelligent retrieval unit 4 parses the query request, identifies the query keywords and query conditions, matches the query request with the entities and relationships in the patent knowledge graph, finds the entities and relationships related to the query request, and uses a similarity algorithm to output the search result with the highest similarity to the search information as the optimal search result.
[0170] With the cooperation of various unit modules of the above system, through data collection and knowledge graph, the correlation between patents is effectively identified, and the search between related patent contents is realized with the help of graph matching method, which reduces the difficulty and steps of traditional search methods such as keyword-based search methods, and then uses similarity calculation to give the similarity between related patents, thereby improving the search efficiency of patent documents, lowering the threshold for patent search, and ensuring that the search results are more accurate, reliable, efficient and convenient.
[0171] The present invention is described by preferred embodiments, and those skilled in the art will appreciate that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. The present invention is not limited to the specific embodiments disclosed herein, and other embodiments falling within the claims of this application are within the scope of protection of the present invention.
[0172] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of technical features or steps not listed in the claims. The word "a" or "an" preceding a technical feature does not exclude the presence of a plurality of such technical features. The present invention may be implemented by means of hardware comprising several different technical features and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0173] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0174] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0175] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0176] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0177] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0178] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0179] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms should not be understood as necessarily referring to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0180] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the present invention.
Claims
1. A patent document intelligent retrieval method based on knowledge graph, characterized in that: The method comprises: S10: Collect patent document data from various data sources, obtain patent application text information and patent attribute information, and establish a patent database; S20: performing preprocessing operations on the patent document data in the patent database, including text cleaning, text segmentation, part-of-speech tagging and model training; S30: Performing standardization processing on the text data after preprocessing to obtain entity types, entity attributes, and entity relationships of the data, storing the identified entities, relationships, and attributes in a graph database, and building a patent knowledge graph system; S40: According to the keywords and other query conditions of the search information, the search information is matched with the entities and relationships in the patent knowledge graph system, and the search result with the highest similarity to the search information is output as the optimal search result using a similarity algorithm and an iterative genetic algorithm.
2. The patent document intelligent retrieval method based on knowledge graph according to claim 1 is characterized in that: The step of performing a standardization operation on the text data after the preprocessing operation includes: Perform text cleaning, text segmentation, part-of-speech tagging, stop word removal and model training on patent document data to obtain pre-processed text data after eliminating useless text, clean and construct data and separate the data according to the similarity algorithm; A named entity recognition model is used on the preprocessed text data to identify the entity types and entity attributes in the patent knowledge graph. An entity linking algorithm is used to link the identified entities to the corresponding entity nodes in the knowledge graph to obtain the attribute and relationship information of the entities in the knowledge graph. Use a relationship extraction model to extract the relationships between entities from patent document data, and compare the extracted relationship information with the relationships in the knowledge graph to verify whether the relationships are accurate and complete; Use the loss function to embed entities and relationships and build a patent knowledge graph system.
3. The patent document intelligent retrieval method based on knowledge graph according to claim 2 is characterized in that: The loss function is used to embed entities and relationships and build a patent knowledge graph system, including: The graph elements, relations and result graph elements in the patent knowledge graph are defined as the triples (h, r, t) of the patent knowledge graph, and the entities and relations in the knowledge graph are embedded using the loss function. The loss function is: Among them, the head entity h is the graph element, the relationship r is the description of the relationship between the graph elements, the tail entity t is the result graph element, S is the positive sample set, S' is the negative sample set, d represents the distance function, [] + It means taking the positive part, and γ is the interval parameter.
4. The patent document intelligent retrieval method based on knowledge graph according to claim 1 is characterized in that: The similarity algorithm is used, including: A convolutional neural network model is used to perform similarity analysis on the semantics of entities and relationships that match the search information. The keywords and query conditions of the search information are used as the initial input of the convolutional neural network, and the patent names, graph level nodes, and search keywords generated by the fuzzy search are traversed; The similarity of each layer of the network is calculated based on the similarity matching scoring function. If the similarity is greater than a preset threshold, it is used as the input of the next level of network. After multiple iterations, the search result with the highest similarity to the search information is output as the optimal search result.
5. The patent document intelligent retrieval method based on knowledge graph according to claim 4 is characterized in that: The convolutional neural network model is used to perform similarity analysis on the semantics of entities and relationships matching the search information, including: Locating the patent technology field and patent classification number associated with the search information through the patent knowledge graph system, and classifying the searched entities according to different patent technology fields and patent classification numbers; Performing similarity evaluation on the patent names and patent abstracts of the entity objects classified by the search and the keywords of the search information; If the similarity is less than the preset threshold, the patent search result is discarded; If the similarity is greater than the preset threshold, it will be used as the relevant input for the next node level network.
6. The patent document intelligent retrieval method based on knowledge graph according to claim 1 is characterized in that: The identified entities, relationships and attributes are stored in a graph database to build a patent knowledge graph system, including: Taking patent basic information, patent inventors, and patent applicants as entities, relationships between entities are established based on the attribute information of the entities to form the patent knowledge graph system including entity nodes and entity node relationships.
7. The method for intelligent retrieval of patent documents based on knowledge graph according to claim 6 is characterized in that: The entity node relationship includes node relationships between entities of the same type and node relationships between entities of different types; The node relationships between entities of the same type include node relationships between patents, node relationships between inventors, and node relationships between applicants; The node relationships between the different types of entities include the node relationship between the patent and the inventor, the node relationship between the patent and the applicant, and the node relationship between the inventor and the applicant.
8. The method for intelligent retrieval of patent documents based on knowledge graph according to claim 7 is characterized in that: The similarity between two patent texts is calculated by the cosine similarity algorithm to establish the node relationship between the patents, including: The calculation formula of the cosine similarity algorithm is: Define the word segmentation vectors K and K' to represent the word segmentation vectors of patent A and patent B respectively, where ki and k'i represent the word frequencies of the words in the keyword set in patent A and patent B respectively, calculate the cosine similarity by the cosine similarity algorithm, and obtain the similarity value between patent A and patent B; If the similarity between patent A and patent B is greater than a preset threshold, a node relationship between patent A and patent B is established.
9. The patent document intelligent retrieval method based on knowledge graph according to claim 1, characterized in that: The iterative genetic algorithm comprises: Using the search conditions, a new fictitious individual is created and placed in the patent knowledge graph branch with the highest similarity value. The number of iteration layers and termination conditions are set, and the optimal individual is output, so that each individual passing through the iterative genetic algorithm meets the set search target.
10. A system using the patent document intelligent retrieval method based on knowledge graph as described in any one of claims 1 to 9, characterized in that: include: A data collection unit (1) is used to obtain patent document data from multiple data sources and establish a patent database; A data processing unit (2) is used to process the patent document data to obtain entity types, entity attributes and entity relationships of the data; A knowledge graph construction unit (3) is used to store the identified entities, relationships and attributes into a graph database to build a patent knowledge graph system; The intelligent retrieval unit (4) is used to use a similarity algorithm to output a retrieval result with the highest similarity to the retrieval information as an optimal retrieval result.
Citation Information
Cited By
Community governance model construction method based on convolutional neural network
CN118864210A
A community governance model construction method based on a convolutional neural network
CN118864210B
Patent text structured processing and multi-hop semantic query method and system
CN122152808A
