Patented breakthrough computing method, device, electronic device and readable storage medium
Through semantic analysis of the patent to be detected and its previous and later patent data sets, semantic similarity is calculated to improve the accuracy of patent analysis, solve the problem of semantic information loss in the existing technology, and provide evaluation indicators for innovation and influence.
Patent Information
- Application Number
- CN202410211496.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-02-26
AI Technical Summary
The existing technology easily loses semantic information during patent analysis and evaluation, resulting in inaccurate analysis results.
By obtaining the patent to be detected and its previous and later patent data sets, semantic analysis is performed, and semantic similarity and evaluation results are calculated to improve the accuracy of analysis.
It integrates the semantic information of patents, improves the accuracy of patent evaluation, and provides evaluation indicators for innovation and influence.
Smart Images

Figure CN118297758B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of natural language processing and patent analysis technology. Specifically, the present application relates to a patent breakthrough computing method, device, electronic device and computer-readable storage medium. Background Art
[0002] Patents play an important role in innovative technologies and R&D results. The innovation of patents applied for by enterprises directly affects the competitive advantage of enterprises in innovation construction. Through the analysis and evaluation of patents, enterprises can understand their own innovation capabilities and enhance their competitiveness. At the same time, patents are also an important way to discover important strategic technology resources, which is of great significance to the strategic development of enterprises.
[0003] When analyzing and evaluating patents, existing technologies mostly use text analysis methods, such as keyword extraction methods and subject word modeling methods, which are prone to loss of semantic information of patents and result in inaccurate results of patent analysis and evaluation. Summary of the invention
[0004] The embodiments of the present application provide a patented breakthrough computing method, device, electronic device, computer-readable storage medium, and computer program product, which can solve the above-mentioned problems of the prior art. The technical solution is as follows:
[0005] According to a first aspect of an embodiment of the present application, a patent breakthrough calculation method is provided, the method comprising:
[0006] Obtaining a patent to be detected, a first patent data set, and a second patent data set, wherein the first patent data set includes patents whose application dates are within a preset time period before the application date of the patent to be detected, and the second patent data set includes patents whose application dates are within a preset time period after the application date of the patent to be detected;
[0007] Perform semantic analysis on the patent to be detected, each patent in the first patent data set and the second patent data set respectively, obtain a preset number of patents with the highest semantic similarity to the patent to be detected from the first patent data set as the third patent data set, and obtain a preset number of patents with the highest semantic similarity to the patent to be detected from the second patent data set as the fourth patent data set;
[0008] The semantic similarities between each patent in the third patent data set and the patent to be detected are summed up as the first value, the semantic similarities between each patent in the fourth patent data set and the patent to be detected are summed up as the second value, and the ratio of the second value to the first value is used as the evaluation result of the patent to be detected.
[0009] According to a second aspect of an embodiment of the present application, a patent breakthrough computing device is provided, the device comprising:
[0010] An acquisition module, used to acquire a patent to be detected, a first patent data set, and a second patent data set, wherein the first patent data set includes patents with application dates within a preset time period before the application date of the patent to be detected, and the second patent data set includes patents with application dates within a preset time period after the application date of the patent to be detected;
[0011] An analysis module is used to perform semantic analysis on the patent to be detected, each patent in the first patent data set and the second patent data set, respectively, to obtain a preset number of patents with the highest semantic similarity to the patent to be detected from the first patent data set as a third patent data set, and to obtain a preset number of patents with the highest semantic similarity to the patent to be detected from the second patent data set as a fourth patent data set;
[0012] A determination module is used to sum the semantic similarities between each patent in the third patent data set and the patent to be detected as a first value, sum the semantic similarities between each patent in the fourth patent data set and the patent to be detected as a second value, and use the ratio of the second value to the first value as the evaluation result of the patent to be detected.
[0013] According to a third aspect of an embodiment of the present application, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory, and when the processor executes the program, the steps of the method provided in the first aspect are implemented.
[0014] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method provided in the first aspect are implemented.
[0015] According to the fifth aspect of the embodiment of the present application, a computer program product is provided, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. When a processor of a computer device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, so that the computer device executes the steps of implementing the method provided in the first aspect.
[0016] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0017] By determining the application date of the patent to be detected, the first patent data set and the second patent data set are determined; by performing semantic analysis on the patent to be detected, each patent in the first patent data set and each patent in the second patent data set, a first preset number of patents with the greatest first semantic similarity to the patent to be detected are obtained from the first patent data set as the third data set, and a first preset number of patents with the greatest first semantic similarity to the patent to be detected are obtained from the second patent data set as the fourth data set. That is, when evaluating the patent to be detected, the embodiment of the present application integrates the semantic information of each patent, thereby improving the accuracy of the evaluation of the patent to be detected; in the embodiment of the present application, each patent in the third patent data set is obtained. The application date of the patent is before the application date of the patent to be detected. The sum of the first semantic similarities between each patent in the third data set and the patent to be detected is taken as the first value, so that the first value can represent the creativity of the patent to be detected. The application date of each patent in the fourth patent data set is after the application date of the patent to be detected. The sum of the first semantic similarities between each patent in the fourth data set and the patent to be detected is taken as the second value, so that the second value can represent the influence of the patent to be detected. By determining the ratio of the second value to the first value, the ratio of the second value to the first value is taken as the breakthrough of the patent to be detected, and the breakthrough is determined as the evaluation indicator of the patent to be detected, thereby improving the accuracy of the evaluation of the patent to be detected. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0019] Figure 1 A schematic diagram of the system architecture for implementing patent breakthrough computing provided in an embodiment of the present application;
[0020] Figure 2 A schematic diagram of a patented breakthrough calculation method provided in an embodiment of the present application;
[0021] Figure 3 A flowchart of a second semantic analysis model retraining method provided in an embodiment of the present application;
[0022] Figure 4 A flowchart of a method for obtaining a first semantic analysis model provided in an embodiment of the present application;
[0023] Figure 5 Another schematic diagram of a process flow in a patented breakthrough calculation method provided in an embodiment of the present application;
[0024] Figure 6 A schematic diagram of the structure of a patented breakthrough computing device provided in an embodiment of the present application;
[0025] Figure 7 A schematic diagram of the structure of an electronic device for patented breakthrough computing provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.
[0027] It will be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation as other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the technical field. It should be understood that when we say that an element is "connected" or "coupled" to another element, the one element may be directly connected or coupled to the other element, or it may refer to that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein indicates at least one of the items defined by the term, for example, "A and / or B" may be implemented as "A", or as "B", or as "A and B".
[0028] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0029] First, several terms involved in this application are introduced and explained:
[0030] Natural language processing (NLP) is an important direction in the fields of computer science and artificial intelligence. It studies various theories and methods that can achieve effective communication between people and computers using natural language. Natural language processing is a science that integrates linguistics, computer science, and mathematics. Therefore, research in this field will involve natural language, that is, the language people use in daily life, so it is closely related to the study of linguistics. Natural language processing technology usually includes text processing, semantic understanding, machine translation, robot question answering, knowledge graph and other technologies.
[0031] The Bidirectional Encoder Representations from Transformers (BERT) model is a new language representation model. The BERT model aims to pre-train deep bidirectional representations based on the left and right contexts of all layers. Therefore, the pre-trained BERT representations can be fine-tuned with only one additional output layer to create the current optimal model for many tasks (such as question answering and language reasoning) without making extensive modifications to the task-specific architecture. The A Lite BERT (ALBERT) model is a natural language processing model based on the Transformer model structure. Through parameter sharing and cross-layer parameter sharing, the amount of parameters is effectively reduced, and the efficiency and performance of the model are improved. The ALBERT model has achieved excellent performance in many NLP tasks and is widely used in text classification, named entity recognition, question answering systems and other fields.
[0032] The Generative Pre-Training (GPT) model is a new language representation model. GPT was first proposed in the paper "Improving Language Understanding by Generative Pre-Training". It aims to use unsupervised pre-training and supervised fine-tuning to solve language understanding tasks. GPT is a general representation model that is suitable for a variety of tasks and can achieve very good results without modifying the task architecture.
[0033] The Bidirectional and Auto-Regressive Transformers (BART) model is an Encoder-Decoder model architecture based on Transformer. It increases text noise by means of word deletion, sentence arrangement transformation, document rotation, word filling, etc., and decodes the noisy input into the original text. Through training, a sequence-to-sequence encoder is obtained, which achieves better results in generation tasks such as question answering, translation, and summarization. The patented breakthrough computing method, device, electronic device, computer-readable storage medium, and computer program product provided by this application are intended to solve the above technical problems of the prior art.
[0034] The following describes several exemplary embodiments to illustrate the technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application. It should be noted that the following embodiments can refer to, draw on or combine with each other, and the same terms, similar features and similar implementation steps in different embodiments will not be described repeatedly.
[0035] See also Figure 1 , Figure 1 A schematic diagram of a system architecture for implementing patented breakthrough computing provided in an embodiment of the present application, wherein a terminal 101 and a server 102 can be directly or indirectly connected via wired or wireless communication, and the embodiment of the present application is not limited to this.
[0036] In some embodiments, terminal 101 is a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, smart voice interaction device, smart home appliance, vehicle-mounted terminal, etc., but is not limited thereto. Terminal 101 is installed with a program for inputting the patent to be detected and the first patent data set and the second patent data set. After terminal 101 obtains the patent to be detected and the first patent data set and the second patent data set, it sends the patent to be detected and the first patent data set and the second patent data set to server 102. Server 102 performs semantic analysis on the first patent data set and the second patent data set of the patent to be detected, generates a third patent data set and a fourth patent data set, and generates a first value based on the third patent data set and the patent to be detected, generates a second value based on the fourth patent data set and the patent to be detected, and implements the evaluation of the patent to be detected according to the ratio of the second value to the first value.
[0037] Those skilled in the art will appreciate that the number of the above terminals may be more or less. For example, the above terminal may be only one, or the above terminals may be dozens or hundreds, or more. The embodiment of the present application does not limit the number of terminals and device types.
[0038] In some embodiments, the server 102 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. Server 102 is used to provide background services for applications that support image acquisition. In some embodiments, server 102 undertakes the main computing work and terminal 101 undertakes the secondary computing work; or, server 102 undertakes the secondary computing work and terminal 101 undertakes the main computing work; or, server 102 and terminal 101 use a distributed computing architecture for collaborative computing.
[0039] The following describes the solution in the embodiment of the present application using the server as the execution entity.
[0040] The present application provides a patented breakthrough calculation method, such as Figure 2As shown, the method includes S201, S202 and S203:
[0041] S201. Obtain a patent to be detected, a first patent data set, and a second patent data set, wherein the first patent data set includes patents whose application dates are within a preset time period before the application date of the patent to be detected, and the second patent data set includes patents whose application dates are within a preset time period after the application date of the patent to be detected.
[0042] In the embodiment of the present application, the patent to be detected is a patent that needs to be evaluated, and the first patent data set includes multiple patents with application dates within a preset time period before the application date of the patent to be detected, and the second patent data set includes multiple patents with application dates within a preset time period after the application date of the patent to be detected. In some embodiments, the preset time period can be 5 years. For example, the application date of the patent to be detected is January 3, 2019, and the preset time period is 5 years. Then, the application dates of multiple patents in the first data set are between January 3, 2014 and January 3, 2019, and the application dates of multiple patents in the second data set are all between January 3, 2019 and January 3, 2024.
[0043] In some embodiments, the first patent data set includes multiple patents with publication dates within a preset time period before the publication date of the patent to be detected, and the second patent data set includes multiple patents with publication dates after the publication date of the patent to be detected.
[0044] In the embodiment of the present application, the first patent data set and the second patent data set can be obtained from a Chinese patent bibliographic database, which includes the patent search system of the China National Intellectual Property Administration (CNIPA), the China Patent Information Network, and professional commercial databases such as HowNet and Wanfang Data. These databases provide a large number of Chinese patents and can be used to retrieve and browse various patent information. They usually provide information such as patent titles, abstracts, claims, etc., which facilitates patent search and research.
[0045] In some embodiments, in order to improve the efficiency of evaluating the patents to be detected, when obtaining the first patent data set and the second patent data set, the technical field is limited in the Chinese patent title database, that is, only patents in the same technical field as the patent to be detected are obtained.
[0046] S202, perform semantic analysis on the patent to be detected, the first patent data set, and each patent in the second patent data set respectively, obtain a first preset number of patents with the highest first semantic similarity with the patent to be detected from the first patent data set as the third patent data set, and obtain a first preset number of patents with the highest first semantic similarity with the patent to be detected from the second patent data set as the fourth patent data set.
[0047] Considering that the prior art usually only performs text analysis on the patent to be tested when evaluating the patent to be tested, such as analyzing the text information of the technical field, patent name, keywords, claims, etc., without considering the semantic information in the patent, resulting in inaccurate evaluation results of the patent, in this embodiment of the application, semantic analysis is performed on the patent to be tested, each patent in the first patent data set, and each patent in the second patent data set respectively.
[0048] Those skilled in the art should understand that both the first patent data set and the second patent data set include a large number of patents. Therefore, the embodiment of the present application obtains a first preset number of patents with the highest semantic similarity to the patent to be detected in the first patent data set and the second patent data set in the embodiment of the present application, and uses the first preset number of patents in the first patent data set as the third patent data set, and uses the second preset number of patents in the second patent data set as the fourth patent data set, so that the patent to be detected is subsequently evaluated based on the patents in the third patent data set and the fourth patent data set. In some embodiments, the first preset number can be 50, that is, 50 patents are obtained in the first patent data set and the second patent data set, respectively.
[0049] S203. Sum the first semantic similarities between each patent in the third patent data set and the patent to be detected as the first value, sum the first semantic similarities between each patent in the fourth patent data set and the patent to be detected as the second value, and use the ratio of the second value to the first value as the evaluation result of the patent to be detected.
[0050] In the embodiment of the present application, the patent to be detected is evaluated based on the sum of the semantic similarities between the patents in the third patent data set and the patent to be detected, and the sum of the semantic similarities between the patents in the fourth patent data set and the patent to be detected.
[0051] In the embodiment of the present application, the sum of the semantic similarities between the patents in the third patent data set and the patent to be detected is taken as the first value. The first value is used to represent the backward similarity (BS) of the patent to be detected, and is used to measure the innovativeness of the patent to be detected. Specifically, the first value is shown in the following formula:
[0052]
[0053] Where j represents the patent to be tested, τ represents the preset time period, and B j,τ is the third patent data set in the embodiment of the present application, i represents any patent in the third patent data set, and p j,i Represents the first semantic similarity between patent j to be detected and patent i.
[0054] In the embodiment of the present application, the sum of the semantic similarities between the patents in the fourth patent data set and the patent to be detected is taken as the second value. The second value is used to represent the forward similarity (FS) of the patent to be detected, and is used to measure the influence of the patent to be detected. Specifically, the second value is shown in the following formula:
[0055]
[0056] Where j represents the patent to be tested, τ represents the preset time period, and F j,τ represents the fourth patent data set in the embodiment of the present application, i represents any patent in the fourth patent data set, and ρ j,i Represents the first semantic similarity between patent j to be detected and patent i.
[0057] In the embodiment of the present application, the ratio of the second value to the first value is taken as the breakthrough, as shown in the following formula:
[0058]
[0059] The second numerical value indicates the influence of the patent to be detected. It should be understood that the greater the first semantic similarity between the patent to be detected and the patent applied for in the preset time period after the application date of the patent to be detected, the greater the influence of the patent to be detected. The first numerical value indicates the innovativeness of the patent to be detected. It should be understood that the greater the first semantic similarity between the patent applied for in the preset time period before the application date of the patent to be detected and the patent to be detected, the smaller the innovativeness of the patent to be detected. In the embodiment of the present application, the ratio of the second numerical value to the first numerical value is used as the breakthrough of the patent to be detected, and the patent to be detected is evaluated based on the breakthrough of the patent to be detected.
[0060] The breakthrough of a patent is determined by the innovation and influence of the patent. The greater the influence and innovation of the patent, the greater the breakthrough of the patent. In the embodiment of the present application, the innovation of the patent is measured by the first semantic similarity between the patent and the patents applied for before the patent application date, and the influence of the patent is measured by the first semantic similarity between the patent and the patents applied for after the patent application date. The ratio of the influence of the patent to the creativity of the patent is used as the breakthrough of the patent. The patent breakthrough calculation method provided by the embodiment of the present application provides a new evaluation index for patent evaluation, which is conducive to discovering patents with more research value.
[0061] In the embodiment of the present application, the first patent data set and the second patent data set are determined by the application date of the patent to be detected; by performing semantic analysis on the patent to be detected, each patent in the first patent data set and each patent in the second patent data set, a first preset number of patents with the greatest first semantic similarity to the patent to be detected are obtained from the first patent data set as the third data set, and a first preset number of patents with the greatest first semantic similarity to the patent to be detected are obtained from the second patent data set as the fourth data set. That is, when evaluating the patent to be detected, the embodiment of the present application integrates the semantic information of each patent, thereby improving the accuracy of the evaluation of the patent to be detected; in the embodiment of the present application, the third patent data set is used as the fourth data set. The application date of each patent is before the application date of the patent to be detected, and the sum of the first semantic similarities between each patent in the third data set and the patent to be detected is taken as the first value, so that the first value can represent the creativity of the patent to be detected. The application date of each patent in the fourth patent data set is after the application date of the patent to be detected, and the sum of the first semantic similarities between each patent in the fourth data set and the patent to be detected is taken as the second value, so that the second value can represent the influence of the patent to be detected. By determining the ratio of the second value to the first value, the ratio of the second value to the first value is taken as the breakthrough of the patent to be detected, and the breakthrough is determined as the evaluation indicator of the patent to be detected, thereby improving the accuracy of the evaluation of the patent to be detected.
[0062] Based on the above embodiments, as an optional embodiment, semantic analysis is performed on the patent to be detected and each patent in the first patent data set, including:
[0063] For any one of the patent to be detected, the first patent data set, and the second patent data set, the patent is input into a pre-trained first semantic analysis model to obtain a first vector representation of the patent output by the first semantic analysis model, where the first vector representation is used to characterize initial semantic information of the patent;
[0064] The patent is whitened to obtain a second vector representation of the patent, where the second vector representation represents the semantic information after the whitening transformation.
[0065] In an embodiment of the present application, a semantic analysis is performed on the patent to be detected through a first semantic analysis model to obtain a first vector representation of the patent to be detected, a semantic analysis is performed on each patent in the first patent data set to obtain a first vector representation of each patent in the first patent data set, and a semantic analysis is performed on each patent in the second patent data set to obtain a first vector representation of each patent in the first patent data set.
[0066] In an embodiment of the present application, the first semantic analysis model can be a pre-trained BART model. The BART model can describe the characteristics of character level, word level, sentence level and even inter-sentence relations, and realize polysemous expression of the same word. The BART model can be the general Chinese BART-base pre-trained model provided in the toolkit UER-py, wherein the specific parameters include: hidden layer vector length: 768; number of heads: 12; number of attention layers: 6; maximum input length: 1024; learning rate: 5e-5.
[0067] For any patent to be detected, each patent in the first patent data set, and each patent in the second patent data set, extract the name, abstract, claims and other data of the patent, and perform data cleaning on the above data, which includes deleting text that does not contain semantic information, such as "featured in that", and deleting punctuation marks. Input the processed data into the first semantic analysis model to obtain the first vector representation of the patent. Since the first vector output by the first semantic analysis model can reflect the semantic information of the corresponding patent, the first vector representation can represent the initial semantic information of the corresponding patent.
[0068] In an embodiment of the present application, taking into account the anisotropy problem between the multiple first vectors output by the first semantic information model, the first vector representation corresponding to the above-mentioned patent is whitened. It should be understood by those skilled in the art that the vector representation obtained after deep learning may be concentrated in one position, and the similarity between the vectors may be so high that the correlation between the data cannot be accurately represented. Therefore, the first vector representation of the above-mentioned patent to be detected, the first vector representation of each vector in the first patent data set, and the first vector representation of each vector in the second patent data set are whitened to obtain the second vector representation of the patent to be detected, the second vector representation of each patent in the first patent data set, and the second vector representation of each patent in the second patent data set. The second vector representation of each patent is used to characterize the semantic information of the corresponding patent after the whitening transformation.
[0069] In an embodiment of the present application, by adding the whitening_size parameter in the first semantic analysis model, principal component analysis (PCA) is performed on the first vector representation of the patent to be detected, the first vector representation of each vector in the first patent data set, and the first vector of each vector in the second patent data set to achieve whitening transformation.
[0070] In an embodiment of the present application, a first vector representation of a patent to be detected, each patent in a first patent data set, and each patent in a second patent data set is obtained through a first semantic analysis model to characterize the initial semantic information of the corresponding patent. A second vector representation of the patent to be detected, each patent in the first patent data set, and each patent in the second patent data set is obtained by whitening the first vector representation of the patent to be detected, each patent in the first patent data set, and each patent in the second patent data set through the first semantic analysis model to solve the anisotropy problem between the first vector representations. The second vector representation of each patent is used as the semantic information of each patent, so that a first preset number of patents with the highest first semantic similarity to the patent to be detected are obtained from the first patent data set based on the second vector representation of each patent, and a first preset number of patents with the highest first semantic similarity to the patent to be detected are obtained from the second patent data set.
[0071] Based on the above embodiments, as an optional embodiment, obtaining a first preset number of patents having the highest first semantic similarity with the patent to be detected from the first patent data set includes:
[0072] According to the second vector representation of the patent to be detected and each patent in the first patent data set, a first preset number of first reference patents in the first patent data set are obtained, and the first reference patent is the patent with the smallest distance between the second vector representations of the patent to be detected in the first patent data set. The first reference patent is used as the patent in the first patent data set with the highest first semantic similarity with the patent to be detected.
[0073] In the embodiment of the present application, the second vector representation of the patent to be detected is used to characterize the semantic information of the patent to be detected, and the second vector representation of each patent in the first patent data set is used to characterize the semantic information of each corresponding patent. For each patent in the first patent data set, a first preset number of first reference patents with the smallest distance between the second vector representation of the patent to be detected is determined. In some embodiments, the distance between the second vector representations can be a Euclidean distance, also known as an L2 distance.
[0074] In the prior art, when obtaining the first preset number of first reference patents with the smallest distance between the second vector representation of the patent to be detected, a brute force search strategy is generally adopted, that is, for any patent in the first patent data set, the distance between the patent and the second vector representation of the patent to be detected is determined, and then the distance between each patent in the first patent data set and the second vector representation of the patent to be detected is sorted. Since the first patent data set includes a huge number of patents, it takes a lot of time to obtain the first preset number of first reference patents with the smallest distance between the second vector representation of the patent to be detected in the first patent data set based on the brute force search strategy, and the search efficiency is low. Therefore, in order to improve the search efficiency, in the embodiment of the present application, a hierarchical navigable small world (HNSW) algorithm is used to determine the first preset number of first reference patents in the first patent data set. The HNSW algorithm is a graph-based K-neighbor search algorithm. The algorithm utilizes the characteristics of the small world network. From a local perspective, the connection of nodes of the same type presents regularity, and from a global perspective, the connection of nodes of different types presents randomness, so as to realize efficient search of the graph. The HNSW algorithm is used to calculate the K nearest neighbors of the patent to be detected with respect to each patent in the first patent data set. The L2 distance is selected for index construction, and the parameter settings of the algorithm during the index construction process include: ef_construction=200, M=16.
[0075] Those skilled in the art should understand that the distance between the second vector representations can reflect the first semantic similarity between the corresponding patents, so in the embodiment of the present application, the first reference patent is used as the patent with the highest first semantic similarity with the patent to be detected in the first patent data set. The first preset number of first reference patents is used as the third patent data set.
[0076] Based on the above embodiments, as an optional embodiment, obtaining a first preset number of patents having the highest first semantic similarity with the patent to be detected from the first patent data set includes:
[0077] According to the second vector representations of the patent to be detected and each patent in the second patent data set, a first preset number of second reference patents in the second patent data set are obtained, the second reference patent is the patent with the smallest distance between the second vector representations of the patent to be detected in the second patent data set, and the second reference patent is used as the patent in the second patent data set with the highest first semantic similarity with the patent to be detected. The first preset number of second reference patents is used as the fourth patent data set.
[0078] In the embodiment of the present application, the method of obtaining the second reference patent is the same as the method of obtaining the first reference patent described above, and will not be described in detail here.
[0079] In an embodiment of the present application, a first preset number of first reference patents are determined by analyzing the distance between the second vector representation of the patent to be detected and the second vector representation of each patent in the first patent data set through the HNSW algorithm of K-nearest neighbor search, and a first preset number of second reference patents are determined by analyzing the distance between the second vector representation of the patent to be detected and the second vector representation of each patent in the second patent data set through the HNSW algorithm of K-nearest neighbor search, thereby improving the efficiency of obtaining the first reference patent and the second reference patent.
[0080] Based on the above embodiments, as an optional embodiment, the training method of the first semantic analysis model includes:
[0081] Obtain an initial language model, which is trained based on text information in a general field;
[0082] Acquire a fifth patent data set, the fifth patent data set includes a plurality of first sample patents, determine text information of each first sample patent, the text information includes at least one of title information, abstract information, and claim information;
[0083] Data processing is performed on the text information of each first sample patent, and the data processing includes: data cleaning processing and data format processing; the data cleaning processing at least includes deleting punctuation information, and the data format processing includes processing the cleaned text information into a data format preset by the initial language model;
[0084] The text information of each first sample patent after data processing is input into the initial language model for multiple rounds of iterative training until the preset conditions are met, and the model after iterative training is used as the second semantic analysis model.
[0085] In an embodiment of the present application, the initial language model may be a BART model, which is pre-trained based on text information in a general field. The UER-py toolkit provides a BART-base pre-trained model as the BART model in an embodiment of the present application. In some embodiments, the initial language model may also be a BERT model or an ALBERT model.
[0086] In an embodiment of the present application, all patents in the Chinese patent bibliography database are used as the fifth patent data set, and the initial language model is trained by the fifth patent data set. The fifth patent data set includes multiple first sample patents, and the text information of each first sample patent is extracted, including extracting at least one of the title information, abstract information, and claim information of each first sample patent. In some embodiments, the fifth patent data set is obtained for the technical field of the patent to be detected, that is, the patents in the Chinese patent bibliography database whose technical field is the same as the technical field of the patent to be detected constitute the fifth patent data set. For example, if the patent to be detected is in the field of new material research, the fifth patent data set is a new material patent data set obtained from the Chinese bibliography patent database.
[0087] In the embodiment itself, data processing is performed on the text information of each first sample patent, including data cleaning and data format processing. Data cleaning includes deleting punctuation marks in the text information of each first sample patent, and may also include deleting fields that do not contain semantic information in the text information of each first sample patent, such as "characterized in that". Data cleaning is used to improve the efficiency and accuracy of training the initial language model; data format processing includes converting the text information after data cleaning into a data format preset by the initial language model, so that the initial language model is trained based on multiple first sample patents.
[0088] In the embodiment of the present application, the text information of each first sample patent after data processing is input into the initial language model for iterative training. The training process is unsupervised training, so there is no need to define training labels. After the preset conditions are met, the training is stopped. The preset conditions can be the number of rounds of iterative training that meets the preset conditions. The model after iterative training is used as the second semantic analysis model. In the embodiment of the present application, the second semantic analysis model can be used as the first semantic analysis model.
[0089] In an embodiment of the present application, a Chinese patent title database is used as a fifth patent data set, and unsupervised training is performed on an initial language model based on the fifth patent data set, so that the initial language model can learn the semantic information of the patent, so that the initial language model after iterative training can output the first vector representation of the patent for the input patent.
[0090] Based on the above embodiments, as an optional embodiment, the training method of the first semantic analysis model further includes:
[0091] Acquire multiple sample patents to be tested, and for each sample patent to be tested, acquire a second preset number of first sample patents with the highest second semantic similarity with the patent to be tested from the fifth patent data set based on the second semantic analysis model as a sixth patent data set corresponding to the sample patent to be tested;
[0092] For each sample patent to be detected, specify the third semantic similarity between the sample patent to be detected and each first sample patent in the corresponding sixth patent data set;
[0093] For each sample patent to be detected, the second semantic analysis model is trained according to the difference between the second semantic similarity and the third semantic similarity corresponding to the sample patent to be detected and each first sample patent in the sixth patent data set.
[0094] In an embodiment of the present application, in order to further improve the accuracy of determining the breakthrough of the patent to be tested and to improve the accuracy of evaluating the patent to be tested, the second semantic analysis model obtained above is retrained. A plurality of sample patents to be tested are obtained, the number of the sample patents to be tested may be 5, and the technical field to which each sample patent to be tested belongs may be the same as the technical field of the patent to be tested. For each sample patent to be tested, a second preset number of first sample patents with the highest second semantic similarity to the patent to be tested is obtained from the fifth patent data set based on the second semantic analysis model, and the second preset number of first sample patents is used as the corresponding sixth patent data set of the corresponding sample patent to be tested, wherein the second preset number may be 100. For each sample patent to be tested, a semantic analysis is performed on the sample patent to be tested and each patent in the fifth patent data set based on the second semantic analysis model, and a second preset number of first sample patents is obtained from the fifth patent data set.
[0095] In an embodiment of the present application, for each sample patent to be detected, the sample patent to be detected and each patent in the fifth patent data set can be input into the second semantic analysis model to obtain the fifth vector representation corresponding to each patent in the sample patent to be detected and the fifth patent data set output by the second semantic analysis model, and the fifth vector representation corresponding to each patent in the sample patent to be detected and the fifth patent data set is whitened to obtain the sixth vector representation corresponding to each patent in the sample patent to be detected and the fifth patent data set. Based on the HNSW algorithm, a second preset number of patents with the smallest distance between the sixth vector representation of the sample patent to be detected is obtained in the fifth patent data set, and the second preset number of patents with the smallest distance between the sixth vector representation of the sample patent to be detected is used as the sixth patent data set. The distance between the sixth vector representations can be the Euclidean distance, wherein the HNSW algorithm is used to calculate the K nearest neighbors of the sample patent to be detected with respect to each patent in the fifth patent data set, and the index construction selects the L2 distance, and the parameter settings of the algorithm in the index construction process include: ef_construction = 200, M = 16.
[0096] In an embodiment of the present application, for each sample patent to be detected, a third semantic similarity between the sample patent to be detected and each first sample patent in the sixth patent data set is specified. The third semantic similarity is used to represent the true semantic similarity between the sample patent to be detected and each first sample patent in the sixth patent data set. The third semantic similarity can be obtained by multiple experts scoring the semantic similarity between the patent to be detected and each first sample patent.
[0097] In an embodiment of the present application, for each sample patent to be detected and each first sample patent in the sixth patent data set of the sample patent to be detected, the difference between the second semantic similarity and the third semantic similarity between the sample patent to be detected and the first sample patent is determined. It can be understood that if the difference between the second semantic similarity and the third semantic similarity between the sample patent to be detected and the first sample patent is larger, it means that the second semantic similarity between the sample patent model to be detected and the first sample patent obtained based on the second semantic analysis model is less accurate. Therefore, according to the difference between the second semantic similarity and the third semantic similarity between the sample patent to be detected and the first sample patent, the second semantic analysis model is continued to be trained.
[0098] Based on the above embodiments, as an optional embodiment, training the second semantic analysis model includes:
[0099] For each sample patent to be detected, determine the difference between the second semantic similarity and the third semantic similarity corresponding to the sample patent to be detected and each first sample patent in the sixth patent data set, and use the first sample patent whose difference is greater than a preset threshold as the second sample patent corresponding to the sample patent to be detected;
[0100] For each second sample patent corresponding to each sample patent to be detected, multiple third sample patents corresponding to the second sample patent are obtained, where the third sample patent is generated by a preset large language model based on the text information of the second sample patent, and the third semantic similarity between the sample patent to be detected and the second sample patent is used as the third semantic similarity between the sample patent to be detected and each third sample patent;
[0101] Each first sample patent in the sixth patent data set corresponding to each sample patent to be detected and each third sample patent are used as the fourth sample patent, the fourth sample patent is used as the training sample, and the third semantic similarity between the fourth sample patent and the corresponding sample patent to be detected is used as the training label of each fourth sample patent, and the second semantic analysis model is trained for multiple rounds of iterations until the iteration stop condition is met, and the initial model obtained in the last round of iterations is used as the first semantic analysis model, and the second semantic analysis model is used as the initial model of the first round of iterations;
[0102] Among them, for each round of iterative training, it includes:
[0103] For each first sample patent and each fourth sample patent, extract features of the first sample patent and the fourth sample patent through the initial model of this round of iteration to obtain a third vector representation of the fourth sample patent;
[0104] Performing a whitening transformation on each fourth sample patent to obtain a fourth vector representation of the fourth sample patent;
[0105] Obtaining a fourth semantic similarity between the sample patent to be detected and each fourth sample patent according to the distance between the fourth vector representations of the sample patent to be detected and each fourth sample patent;
[0106] For each fourth sample patent, the loss value of the initial model is determined according to the fourth semantic similarity between the fourth sample patent and the sample patent to be detected, and the third semantic similarity between the fourth sample patent and the sample patent to be detected. If the loss value is less than the second preset threshold, the iterative training is stopped. If the loss value is greater than the second preset threshold, the model parameters of the initial model are adjusted to obtain the initial model for the next iteration.
[0107] In the embodiment of the present application, for each sample patent to be detected, the second semantic similarity between the sample patent to be detected and each first sample patent in the sixth patent data set is obtained through the second semantic analysis model; the third semantic similarity between the sample patent to be detected and each first sample patent in the sixth patent data set is obtained by expert scoring, which is used to represent the true semantic similarity between the sample patent to be detected and each first sample patent in the sixth patent data set. For each first sample patent in the sixth patent data set of the sample patent to be detected, if the difference between the second semantic similarity and the third semantic similarity between the first sample patent and the sample patent to be detected exceeds the first preset threshold, the first sample patent is used as the second sample patent of the sample patent to be detected.
[0108] In the embodiment of the present application, for each sample patent to be detected, the number of second sample patents corresponding to the sample patent to be detected may be small, so the second sample patents corresponding to the sample patent to be detected are expanded, and the expanded second sample patents are used as the third sample patent. For any second sample patent of the sample patent to be detected, the text information of the second sample patent is obtained, the text information of the second sample patent is input into the preset large language model, and the preset large language model is instructed to output the text information of multiple patents similar to the text information of the second sample patent, the text information of the second sample patent and the text information of the corresponding multiple patents are used as the third sample patent, and the third semantic similarity between the sample patent to be detected and the second sample patent is used as the third semantic similarity between the sample patent to be detected and the third sample patent.
[0109] In the embodiment of the present application, the preset large language model can be a ChatGPT model, a Wenxin Yiyan model, a Tongyi Qianwen or an iFlytek Spark cognitive large model, etc. In some embodiments, when the expert scores, the reason for the third semantic similarity between the sample patent to be tested and the second sample patent will be given. When the third sample patent corresponding to the second sample patent is generated by the preset large language model, the large language model is set with relevant instructions, i.e., prompts, according to the reason for the expert scoring, to generate corresponding text information. For example, for the patent to be tested "A fiber raw material dye and its preparation method" and the third sample patent "A cationic easy-to-dye nylon 66 resin and its preparation method", the expert gives the third semantic similarity of the two as 0.3, and the reasons include: 1. The technology is not related: the dye belongs to industrial pigment technology and is not related to the resin synthesis technology; 2. The dye contains multiple components obtained by physical mixing, and the resin is obtained by chemical changes from multiple components; 3. Solve the deficiencies of the existing technology and improve product performance. When generating the third sample patent corresponding to the patent "A Cationic Dyeable Nylon 66 Resin and Its Preparation Method" based on the large language model, the prompt is set to: Generate an abstract similar to the abstract of the patent below, where the generated content must include the three words "resin", "synthesis technology" and "chemical change".
[0110] In an embodiment of the present application, each first sample patent and each third sample patent in the sixth patent data set corresponding to each sample patent to be detected are used as fourth sample patents, and the second semantic analysis model is retrained based on each fourth sample patent. The third semantic similarity corresponding to each fourth sample patent and the corresponding sample patent to be detected is used as a training label for each fourth sample patent. The second semantic analysis model is trained for multiple rounds of iterations, and the initial model obtained in the last round of iterations is used as the first semantic analysis model, and the second semantic analysis model is used as the initial model of the first round of iterations.
[0111] In an embodiment of the present application, for each round of iterative training, for each fourth sample patent, feature extraction is performed on the fourth sample patent through the initial model of this round of iteration to obtain the third vector representation of the fourth sample patent, and a whitening transformation is performed on the third vector representation of each fourth sample patent to obtain the fourth vector representation of the fourth sample patent.
[0112] In an embodiment of the present application, the fourth semantic similarity between the sample patent to be detected and each fourth sample patent is obtained based on the distance between the fourth vector representations of the sample patent to be detected and each fourth sample patent. The distance between the fourth vector representations can be the Euclidean distance also known as the L2 distance.
[0113] For each fourth sample patent corresponding to each sample patent to be detected, determine the fourth semantic similarity between the fourth sample patent and the sample patent to be detected. According to the third semantic similarity corresponding to each fourth sample patent corresponding to each sample patent to be detected, and the third semantic similarity corresponding to each fourth sample patent corresponding to each sample patent to be detected, determine the loss value of the initial model, if the loss value is less than the second preset threshold, stop iterative training, if the loss value is greater than the second preset threshold, adjust the model parameters of the initial model, and obtain the initial model of the next iteration.
[0114] In an embodiment of the present application, the second semantic analysis model is generated by unsupervised training based on the BART model, so the initial model of each round of iteration is also generated based on BART model training. During the training process, when the loss value is greater than the second preset threshold, the model parameters of the initial model are adjusted. Technical personnel in this field should understand that the BART model includes an encoder and a decoder. When adjusting the model parameters, only the parameters of the decoder are adjusted to improve the efficiency of the training model.
[0115] In the embodiment of the present application, the loss value of each round of iteration process for each sample patent to be detected and each third sample corresponding to the sample patent to be detected is a cross entropy loss value, which is specifically shown in the following formula:
[0116]
[0117] Among them, y represents the third semantic similarity corresponding to the fourth sample patent, Indicates the fourth semantic similarity corresponding to the fourth sample patent.
[0118] In some embodiments, in order to focus on the loss values of the second sample patent and the third sample patent of each sample patent to be detected, the second semantic analysis model can be trained only based on the second sample patent of each sample patent to be detected.
[0119] like Figure 3 As shown, Figure 3A flow chart of retraining the second semantic analysis model provided in an embodiment of the present application, wherein for each sample patent to be detected, a second preset number of first sample patents in the sixth patent data set corresponding to each sample patent to be detected are obtained, and through expert evaluation feedback, the third semantic similarity between each first sample patent in the sixth patent data set and the corresponding sample patent to be detected is obtained, and the multiple first sample patents in the sixth patent data set are divided into a positive data set and a negative data set, wherein the difference between the second semantic similarity and the third semantic similarity between each first sample patent in the positive data set and the corresponding sample patent to be detected is less than a first preset threshold, and each first sample patent in the negative data set is used as a second sample patent, and the difference between the second semantic similarity and the third semantic similarity between the second sample patent and the corresponding sample patent to be detected is greater than the preset threshold. Since it was found during the experiment that the number of patents in the positive dataset is much larger than the number of patents in the negative dataset, in order to balance the number of patents in the positive dataset and the number of patents in the negative dataset, the patents in the negative dataset are text-enhanced, and a text-enhanced annotation dataset is established, that is, the negative dataset is expanded based on a preset large language model so that the ratio of the number of patents in the positive dataset to the number of patents in the negative dataset reaches a preset value, which can be 3:1. A plurality of third sample patents are obtained based on the multiple text information of the patents generated by the preset large language model, and the positive dataset, the negative dataset, and the third sample patent generated based on the negative dataset are used as an expert evaluation annotation dataset. It can be understood that the expert evaluation annotation dataset includes the first sample patent in the sixth patent dataset and the expanded third sample patent. Based on the expert evaluation annotation dataset, the BART model is fine-tuned, that is, the second semantic analysis model is retrained.
[0120] like Figure 4 As shown, Figure 4The flowchart of the method for obtaining the first semantic analysis model provided in the embodiment of the present application is exemplarily shown. In the pre-training stage, a BART model is generated based on pre-training of a large-scale general data set, and the BART model is further trained based on a new material patent data set. Here, each patent in the new material patent data set is in the same technical field as the patent to be detected. The BART model is unsupervisedly trained to obtain a second semantic analysis model. The second semantic analysis model is used to output a fifth vector representation for each sample patent to be detected and each patent in the new material patent data set. In the post-processing stage, a whitening transformation is performed on the fifth vector representation outputted from each sample patent to be detected and the new material patent data set to generate a sixth vector representation for each sample patent to be detected and each patent in the new material patent data set. The HNSW algorithm obtains, for each sample patent to be detected, a second preset number of first sample patents with the largest second semantic similarity with the patent to be detected, and uses each first sample patent in the sixth patent data set as a similar patent of the corresponding sample patent to be detected. Based on the similar patents of each sample patent to be detected, an expert evaluation data set is constructed, and the expert evaluation data set includes a positive example data set and a negative example data set. The negative example patent data set is expanded based on the large language model, and the expanded patents and the expert evaluation data set are used as expert evaluation annotation data sets. In the fine-tuning stage, the second semantic analysis model is fine-tuned based on the expert evaluation annotation data set to obtain the first semantic analysis model.
[0121] In an embodiment of the present application, the second sample patent corresponding to each sample patent to be detected is determined by obtaining the difference between the second semantic similarity and the third semantic similarity corresponding to each first sample patent in the sixth patent data set, and the second sample patent is used to indicate that the second semantic similarity obtained based on the second semantic analysis model is inaccurate. Text information is generated for the second sample patent through a preset large language model and used as the third sample patent to expand the second sample patent. Finally, the second semantic analysis model is iteratively trained based on the fourth sample patent composed of the first sample patent and the third sample patent.
[0122] Iterative training is performed using each fourth sample patent as a training sample and the third semantic similarity corresponding to each fourth sample patent as a training label. In each round of iteration, the model parameters of the initial model in each round of iteration are adjusted according to the loss value in this round of iteration. In this process, only the decoder parameters of the initial model are adjusted to improve the efficiency of the training model.
[0123] Based on the above embodiments, as an optional embodiment, a first preset number of first reference patents in a first patent data set is obtained, and then the following steps are further included:
[0124] For each first reference patent, transform the distance between the second vector representation of the first reference patent and the patent to be detected to obtain a first semantic similarity between the first reference patent and the patent to be detected;
[0125] Obtaining a first preset number of second reference patents in the second patent data set, and then further comprising:
[0126] For each second reference patent, the distance between the second vector representation of the second reference patent and the patent to be detected is transformed to obtain the first semantic similarity between the first reference patent and the patent to be detected.
[0127] In the embodiment of the present application, for each first reference patent, based on the distance between the second vector representation of the first reference patent and the patent to be detected, the first semantic similarity between the first reference patent and the patent to be detected is determined, as shown in the following formula:
[0128]
[0129] Wherein, d represents the distance between the second vector representation of the first reference patent and the patent to be detected, and ρ represents the first semantic similarity between the first reference patent and the patent to be detected. It can be understood that for two patents, the smaller the distance between the second vector representations of the two patents, the greater the first semantic similarity of the two patents. Therefore, based on the distance between the second vector representations of the first reference patent and the patent to be detected, the first semantic similarity between the first reference patent and the patent to be detected is obtained by performing a transformation.
[0130] Similarly, the method for determining the first semantic similarity between the second reference patent and the patent to be detected is the same as the method for determining the first semantic similarity between the first reference patent and the patent to be detected, and will not be repeated here.
[0131] On the basis of the above embodiments, as an optional embodiment, for each sample patent to be detected and the first sample patent of each sample patent to be detected, the second semantic similarity between the sample patent to be detected and the first sample patent is obtained by transforming the distance between the sixth vector representation of the sample patent to be detected and the first sample patent, as shown in the following formula:
[0132]
[0133] Wherein, d represents the distance between the sixth vector representation of the first sample patent and the sample patent to be detected, and ρ represents the second semantic similarity between the first sample patent and the sample patent to be detected.
[0134] On the basis of the above embodiments, as an optional embodiment, for each sample patent to be detected, and the fourth sample patent of each sample patent to be detected, the fourth semantic similarity between the sample patent to be detected and the fourth sample patent is obtained by transforming the distance between the fourth vector representation of the sample patent to be detected and the first sample patent, as shown in the following formula:
[0135]
[0136] Wherein, d represents the distance between the fourth vector representation of the fourth sample patent and the sample patent to be detected, and ρ represents the fourth semantic similarity between the fourth sample patent and the sample patent to be detected.
[0137] like Figure 5 As shown, Figure 5 A flow chart of another patent breakthrough calculation method provided for an embodiment of the present application. In the embodiment of the present application, a whitening transformation is combined with a BART model to obtain a BART-Whitening pre-trained model, which is generated through unsupervised training of the fifth patent data set. The BART-Whitening pre-trained model is fine-tuned using an expert evaluation annotation data set, that is, the BART-Whitening pre-trained model is retrained, and the fine-tuned BART-Whitening pre-trained model is used as a BART-Whitening pre-trained text representation model to generate a second vector representation for the patent to be detected, each patent in the first patent data set corresponding to the patent to be detected, and each patent in the second patent data set corresponding to the patent to be detected. Based on a hierarchical navigable small-world algorithm, similarity is calculated for the second vector representations of the above-mentioned massive high-dimensional patents to be detected, each patent in the first patent data set, and each patent in the second data set, a patent breakthrough index is established, and the breakthrough of the patent to be detected is obtained.
[0138] The representation method based on the BART model and whitening transformation provided in the embodiment of the present application is recorded as the BART-Whitening text representation optimization method. The BART-Whitening text representation optimization method is compared with the discrete representation method based on feature selection, the LDA representation optimization method based on perplexity and TextRank weight, the Word2vec representation method based on Tencent word vector expression, and the BART-Whitening text representation optimization method in terms of the accuracy of obtaining the first semantic similarity between different patents.
[0139] Randomly select 5 patents to be tested in the graphene Chinese patent database and 100 third reference patents corresponding to each patent to be tested with the highest first semantic similarity to the patent to be tested. Five experts in the field of new materials score each third reference sample patent and give the third semantic similarity between each third reference patent and the corresponding patent to be tested. Further determine the vector representation of different text representation methods in each third reference patent and the corresponding patent to be tested, so as to determine the first semantic similarity between each third reference patent and the corresponding patent to be tested. According to the first semantic similarity between each third reference patent and the corresponding patent to be tested obtained by each method, calculate the Spearman rank correlation coefficient of different methods. As shown in Table 1, the patent evaluation method provided in the embodiment of the present application obtains the best result of the first semantic similarity.
[0140] The Spearman rank correlation coefficient is a statistic used to measure the monotonic relationship between two variables. The correlation coefficient is obtained by calculating the rank of the variables. The specific calculation method is that for each patent to be tested, the value of the first semantic similarity between it and the third reference patent is The value of the third semantic similarity with the third reference patent is The Spearman rank correlation coefficient of the patent to be tested is as follows:
[0141]
[0142] in, Respectively represent r u 、r v The mean value, σ(r u ),σ(r v ) represent r u 、r v The standard deviation of .
[0143] For each vector representation method, the mean of the Spearman rank correlation coefficients of all patents to be tested based on this method is obtained as the Spearman rank correlation coefficient of this method. Spearman rank correlation coefficients of different methods
[0144] Table 1 Spearman rank correlation coefficients of different methods
[0145] Text Representation Method Spearman rank correlation coefficient Discrete Representation Method Based on Feature Selection 0.0332 LDA representation optimization method based on perplexity and TextRank weight 0.0329 Word2vec representation method based on Tencent word vector expression 0.4761 BART-Whitening text representation optimization method 0.7953
[0146] The following compares the efficiency of the HNSW algorithm with other algorithms in obtaining a preset number of first semantic similarities with the patent to be detected. The second vector representation of 3037 fourth reference patents with 256 dimensions generated by the BART-Whitening method for the patent to be detected is selected for direct calculation, where the fourth reference patent is a patent in the same technical field as the patent to be detected in the Chinese patent title database. The first semantic similarity between the second vector representations is calculated using direct calculation, local sensitive hashing, and HNSW. The calculation time of each algorithm is shown in Table 2. The hierarchical navigable small world algorithm based on the graph structure greatly improves the calculation efficiency.
[0147] Table 2 Comparison of time efficiency of different algorithms
[0148]
[0149] The patent breakthrough calculation method provided in the embodiment of the present application is applied to the patent evaluation analysis in the field of graphene, and the graphene Chinese patent data set is selected to determine the patent breakthrough. Since the number of patent applications in the field of graphene has been uneven over the years, and the number of graphene patent applications has gradually increased since 2015, multiple patents to be tested between 2015 and 2017 are selected from the graphene Chinese patent data set, and the five years before and after each patent to be tested are calculated, wherein the breakthrough values of all patents to be tested are normalized by max-min.
[0150] The normalized breakthrough value range is between [0, 1]. It can be found that most of the patents to be tested have small breakthrough values. Table 3 shows the information of patents with higher breakthrough values each year, including the patent title, application year, applicant, citations and breakthrough value.
[0151] By identifying multiple highly breakthrough patents in the field of graphene technology, these patents can be studied and analyzed to determine the cutting-edge research direction in the field of graphene technology. Therefore, the patent breakthrough degree calculation method provided in the embodiment of the present application can mine patents with research value in various fields and find research directions with research value in various fields.
[0152] Table 3 Breakthrough of some patents in the field of graphene
[0153]
[0154] The present application embodiment provides a patent breakthrough computing device, such as Figure 6 As shown, the patent breakthrough computing device includes: an acquisition module 601, an analysis module 602 and a determination module 603, wherein:
[0155] An acquisition module 601 is used to acquire a patent to be detected, a first patent data set, and a second patent data set, wherein the first patent data set includes patents whose application dates are within a preset time period before the application date of the patent to be detected, and the second patent data set includes patents whose application dates are within a preset time period after the application date of the patent to be detected;
[0156] The analysis module 602 is used to perform semantic analysis on the patent to be detected, the first patent data set and each patent in the second patent data set respectively, obtain a preset number of patents with the highest semantic similarity with the patent to be detected from the first patent data set as the third patent data set, and obtain a preset number of patents with the highest semantic similarity with the patent to be detected from the second patent data set as the fourth patent data set;
[0157] Determination module 603 is used to sum the semantic similarities between each patent in the third patent data set and the patent to be detected as the first value, sum the semantic similarities between each patent in the fourth patent data set and the patent to be detected as the second value, and use the ratio of the second value to the first value as the evaluation result of the patent to be detected.
[0158] The patented breakthrough computing device of the embodiment of the present application can execute the steps of the patented breakthrough computing method shown in the aforementioned embodiment of the present application, and its implementation principle is similar and will not be repeated here.
[0159] In an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory. The processor executes the above-mentioned computer program to implement the steps of the patent breakthrough calculation method. Compared with the related art, the following can be achieved: determining the first patent data set and the second patent data set by the application date of the patent to be detected; performing semantic analysis on the patent to be detected, each patent in the first patent data set, and each patent in the second patent data set, obtaining a first preset number of patents with the greatest first semantic similarity to the patent to be detected from the first patent data set as a third data set, and obtaining a first preset number of patents with the greatest first semantic similarity to the patent to be detected from the second patent data set as a fourth data set, that is, when evaluating the patent to be detected, the embodiment of the present application comprehensively analyzes the patent to be detected. The semantic information of each patent; in the embodiment of the present application, the application date of each patent in the third patent data set is before the application date of the patent to be detected, and the sum of the first semantic similarities between each patent in the third data set and the patent to be detected is taken as the first numerical value, so that the first numerical value can represent the creativity of the patent to be detected; the application date of each patent in the fourth patent data set is after the application date of the patent to be detected, and the sum of the first semantic similarities between each patent in the fourth data set and the patent to be detected is taken as the second numerical value, so that the second numerical value can represent the influence of the patent to be detected, and the ratio of the second numerical value to the first numerical value is determined, and the ratio of the second numerical value to the first numerical value is used as the breakthrough of the patent to be detected, and the breakthrough is determined as the evaluation index of the patent to be detected, thereby improving the accuracy of the evaluation of the patent to be detected.
[0160] In an alternative embodiment, an electronic device is provided, such as Figure 7 As shown, Figure 7 The electronic device 4000 shown includes: a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, such as through a bus 4002. Optionally, the electronic device 4000 may also include a transceiver 4004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.
[0161] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0162] The bus 4002 may include a path to transmit information between the above components. The bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0163] The memory 4003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation herein.
[0164] The memory 4003 is used to store the computer program for executing the embodiment of the present application, and the execution is controlled by the processor 4001. The processor 4001 is used to execute the computer program stored in the memory 4003 to implement the steps shown in the above method embodiment.
[0165] Among them, the electronic equipment package may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., as well as fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0166] The embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented. Compared with the prior art, it can be implemented as follows: determining the first patent data set and the second patent data set by the application date of the patent to be detected; performing semantic analysis on the patent to be detected, each patent in the first patent data set, and each patent in the second patent data set, obtaining a first preset number of patents with the greatest first semantic similarity to the patent to be detected from the first patent data set as the third data set, and obtaining a first preset number of patents with the greatest first semantic similarity to the patent to be detected from the second patent data set as the fourth data set, that is, when evaluating the patent to be detected, the embodiment of the present application integrates the semantic information of each patent; in the embodiment of the present application, the application date of each patent in the third patent data set is used as the third data set. The application date is before the application date of the patent to be tested, and the sum of the first semantic similarities between each patent in the third data set and the patent to be tested is taken as the first value, so that the first value can represent the creativity of the patent to be tested. The application date of each patent in the fourth patent data set is after the application date of the patent to be tested, and the sum of the first semantic similarities between each patent in the fourth data set and the patent to be tested is taken as the second value, so that the second value can represent the influence of the patent to be tested. By determining the ratio of the second value to the first value, the ratio of the second value to the first value is taken as the breakthrough of the patent to be tested, and the breakthrough is determined as the evaluation indicator of the patent to be tested, thereby improving the accuracy of the evaluation of the patent to be tested.
[0167] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0168] The embodiment of the present application also provides a computer program product, including a computer program, which can implement the steps and corresponding contents of the aforementioned method embodiment when executed by a processor. Compared with the prior art, it can achieve: determining the first patent data set and the second patent data set through the application date of the patent to be detected; performing semantic analysis on the patent to be detected, each patent in the first patent data set, and each patent in the second patent data set, obtaining a first preset number of patents with the greatest first semantic similarity to the patent to be detected from the first patent data set as the third data set, and obtaining a first preset number of patents with the greatest first semantic similarity to the patent to be detected from the second patent data set as the fourth data set, that is, when evaluating the patent to be detected, the embodiment of the present application integrates the semantic information of each patent; in the embodiment of the present application, the application date of each patent in the third patent data set is used as the third data set. The application date is before the application date of the patent to be tested, and the sum of the first semantic similarities between each patent in the third data set and the patent to be tested is taken as the first value, so that the first value can represent the creativity of the patent to be tested. The application date of each patent in the fourth patent data set is after the application date of the patent to be tested, and the sum of the first semantic similarities between each patent in the fourth data set and the patent to be tested is taken as the second value, so that the second value can represent the influence of the patent to be tested. By determining the ratio of the second value to the first value, the ratio of the second value to the first value is taken as the breakthrough of the patent to be tested, and the breakthrough is determined as the evaluation indicator of the patent to be tested, thereby improving the accuracy of the evaluation of the patent to be tested.
[0169] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that shown or described in the drawings.
[0170] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage in these sub-steps or stages may also be executed at different times respectively. In different scenarios of execution time, the execution order of these sub-steps or stages may be flexibly configured according to demand, and the embodiment of the present application does not limit this.
[0171] The above is only an optional implementation method for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the solution of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.
Claims
1. A patented breakthrough computing method, characterized in that, include: Obtaining a patent to be detected, a first patent data set, and a second patent data set, wherein the first patent data set includes patents whose application dates are within a preset time period before the application date of the patent to be detected, and the second patent data set includes patents whose application dates are within a preset time period after the application date of the patent to be detected; Using a pre-trained first semantic analysis model, semantic analysis is performed on the patent to be detected, each patent in the first patent data set, and the second patent data set, and a first preset number of patents with the highest first semantic similarity to the patent to be detected are obtained from the first patent data set as a third patent data set, and a first preset number of patents with the highest first semantic similarity to the patent to be detected are obtained from the second patent data set as a fourth patent data set; The first semantic similarities between each patent in the third patent data set and the patent to be detected are summed as the first value, the first semantic similarities between each patent in the fourth patent data set and the patent to be detected are summed as the second value, and the ratio of the second value to the first value is used as the evaluation result of the patent to be detected; The training method of the first semantic analysis model includes: Obtain an initial language model; Acquire a fifth patent dataset, the fifth patent dataset including a plurality of first sample patents, determine text information of each first sample patent, the text information including at least one of title information, abstract information, and claim information; Based on the text information of each first sample patent, the initial language model is iteratively trained for multiple rounds until the preset conditions are met to obtain a second semantic analysis model; Acquire multiple sample patents to be tested, and for each sample patent to be tested, acquire a second preset number of first sample patents with the highest second semantic similarity with the patent to be tested from the fifth patent data set based on the second semantic analysis model as a sixth patent data set corresponding to the sample patent to be tested; For each sample patent to be detected, specifying a third semantic similarity between the sample patent to be detected and each first sample patent in the corresponding sixth patent data set; For each sample patent to be detected, determine the difference between the second semantic similarity and the third semantic similarity corresponding to the sample patent to be detected and each first sample patent in the sixth patent data set, and use the first sample patent whose difference is greater than a preset threshold as the second sample patent corresponding to the sample patent to be detected; For each second sample patent corresponding to each sample patent to be detected, a plurality of third sample patents corresponding to the second sample patent are obtained, wherein the third sample patent is generated by a preset large language model according to the text information of the second sample patent, and the third semantic similarity between the sample patent to be detected and the second sample patent is used as the third semantic similarity between the sample patent to be detected and the third sample patent; Each first sample patent and each third sample patent in the sixth patent data set corresponding to each sample patent to be detected are used as the fourth sample patent, the fourth sample patent is used as a training sample, and the third semantic similarity between the fourth sample patent and the corresponding sample patent to be detected is used as the training label of the fourth sample patent, and the second semantic analysis model is trained for multiple rounds of iterations until the iteration stop condition is met, and the initial model obtained in the last round of iterations is used as the first semantic analysis model, and the second semantic analysis model is used as the initial model of the first round of iterations; Among them, for each round of iterative training, it includes: For each fourth sample patent, extract features of the fourth sample patent through the initial model of this round of iteration to obtain a third vector representation of the fourth sample patent; Performing a whitening transformation on the third vector representation of each fourth sample patent to obtain a fourth vector representation of the fourth sample patent; Obtaining a fourth semantic similarity between the sample patent to be detected and each fourth sample patent according to a distance between the fourth vector representations of the sample patent to be detected and each fourth sample patent; For each fourth sample patent, the loss value of the initial model is determined according to the fourth semantic similarity between the fourth sample patent and the sample patent to be detected and the third semantic similarity between the fourth sample patent and the sample patent to be detected. If the loss value is less than the second preset threshold, the iterative training is stopped. If the loss value is greater than the second preset threshold, the model parameters of the initial model are adjusted to obtain the initial model for the next iteration.
2. The method according to claim 1, characterized in that The performing semantic analysis on the patent to be detected and each patent in the first patent data set respectively includes: For any one of the patent to be detected, the first patent data set, and the second patent data set, input the patent into a pre-trained first semantic analysis model to obtain a first vector representation of the patent output by the first semantic analysis model, where the first vector representation is used to characterize initial semantic information of the patent; A whitening transformation is performed on the first vector representation of the patent to obtain a second vector representation of the patent, wherein the second vector representation represents semantic information after the whitening transformation.
3. The method according to claim 2, characterized in that The step of obtaining a first preset number of patents having the highest first semantic similarity with the patent to be detected from the first patent data set includes: According to the second vector representations of the patent to be detected and each patent in the first patent data set, a first preset number of first reference patents in the first patent data set are obtained, wherein the first reference patent is the patent in the first patent data set with the smallest distance between the second vector representation of the patent to be detected, and the first reference patent is used as the patent in the first patent data set with the highest first semantic similarity with the patent to be detected; The step of obtaining a first preset number of patents having the highest first semantic similarity with the patent to be detected from the second patent data set includes: According to the second vector representation of the patent to be detected and each patent in the second patent data set, a first preset number of second reference patents in the second patent data set are obtained, and the second reference patent is the patent in the second patent data set with the smallest distance between the second vector representation of the patent to be detected, and the second reference patent is used as the patent in the second patent data set with the highest first semantic similarity with the patent to be detected.
4. The method according to claim 2, characterized in that: The initial language model is trained based on text information in a general field; The training method of the first semantic analysis model also includes: Performing data processing on the text information of each of the first sample patents, the data processing comprising: data cleaning processing and data format processing; the data cleaning processing at least comprises deleting punctuation information, and the data format processing comprises processing the cleaned text information into a data format preset by the initial language model; The text information of each first sample patent after the data processing is input into the initial language model for multiple rounds of iterative training until the preset conditions are met, and the model after the iterative training is used as the second semantic analysis model.
5. The method according to claim 3, characterized in that: The step of obtaining a first preset number of first reference patents in the first patent data set further includes: For each first reference patent, transform the distance between the first reference patent and the second vector representation of the patent to be detected to obtain a first semantic similarity between the first reference patent and the patent to be detected; The step of obtaining a first preset number of second reference patents in the second patent data set further includes: For each second reference patent, the distance between the second reference patent and the second vector representation of the patent to be detected is transformed to obtain the first semantic similarity between the second reference patent and the patent to be detected.
6. A patented breakthrough computing device, characterized in that: include: An acquisition module, used to acquire a patent to be detected, a first patent data set, and a second patent data set, wherein the first patent data set includes patents with application dates within a preset time period before the application date of the patent to be detected, and the second patent data set includes patents with application dates within a preset time period after the application date of the patent to be detected; An analysis module, used to perform semantic analysis on the patent to be detected, each patent in the first patent data set and the second patent data set respectively through a pre-trained first semantic analysis model, obtain a preset number of patents with the highest semantic similarity to the patent to be detected from the first patent data set as a third patent data set, and obtain a preset number of patents with the highest semantic similarity to the patent to be detected from the second patent data set as a fourth patent data set; A determination module, configured to sum the semantic similarities between each patent in the third patent data set and the patent to be detected as a first value, sum the semantic similarities between each patent in the fourth patent data set and the patent to be detected as a second value, and use the ratio of the second value to the first value as the evaluation result of the patent to be detected; The training method of the first semantic analysis model includes: Obtain an initial language model; Acquire a fifth patent dataset, the fifth patent dataset including a plurality of first sample patents, determine text information of each first sample patent, the text information including at least one of title information, abstract information, and claim information; Based on the text information of each first sample patent, the initial language model is iteratively trained for multiple rounds until the preset conditions are met to obtain a second semantic analysis model; Acquire multiple sample patents to be tested, and for each sample patent to be tested, acquire a second preset number of first sample patents with the highest second semantic similarity with the patent to be tested from the fifth patent data set based on the second semantic analysis model as a sixth patent data set corresponding to the sample patent to be tested; For each sample patent to be detected, specifying a third semantic similarity between the sample patent to be detected and each first sample patent in the corresponding sixth patent data set; For each sample patent to be detected, determine the difference between the second semantic similarity and the third semantic similarity corresponding to the sample patent to be detected and each first sample patent in the sixth patent data set, and use the first sample patent whose difference is greater than a preset threshold as the second sample patent corresponding to the sample patent to be detected; For each second sample patent corresponding to each sample patent to be detected, a plurality of third sample patents corresponding to the second sample patent are obtained, wherein the third sample patent is generated by a preset large language model according to the text information of the second sample patent, and the third semantic similarity between the sample patent to be detected and the second sample patent is used as the third semantic similarity between the sample patent to be detected and the third sample patent; Each first sample patent and each third sample patent in the sixth patent data set corresponding to each sample patent to be detected are used as the fourth sample patent, the fourth sample patent is used as a training sample, and the third semantic similarity between the fourth sample patent and the corresponding sample patent to be detected is used as the training label of the fourth sample patent, and the second semantic analysis model is trained for multiple rounds of iterations until the iteration stop condition is met, and the initial model obtained in the last round of iterations is used as the first semantic analysis model, and the second semantic analysis model is used as the initial model of the first round of iterations; Among them, for each round of iterative training, it includes: For each fourth sample patent, extract features of the fourth sample patent through the initial model of this round of iteration to obtain a third vector representation of the fourth sample patent; Performing a whitening transformation on the third vector representation of each fourth sample patent to obtain a fourth vector representation of the fourth sample patent; Obtaining a fourth semantic similarity between the sample patent to be detected and each fourth sample patent according to a distance between the fourth vector representations of the sample patent to be detected and each fourth sample patent; For each fourth sample patent, the loss value of the initial model is determined according to the fourth semantic similarity between the fourth sample patent and the sample patent to be detected and the third semantic similarity between the fourth sample patent and the sample patent to be detected. If the loss value is less than the second preset threshold, the iterative training is stopped. If the loss value is greater than the second preset threshold, the model parameters of the initial model are adjusted to obtain the initial model for the next iteration.
7. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
