Method for extracting technical problems in patent documents and related equipment
By constructing a specific technical problem extraction model for the patent content and background technology section, the problem of low efficiency and poor accuracy in the extraction of patent documents by existing methods is solved. It realizes complete extraction from sentences to phrases to words, thereby improving the efficiency and accuracy of patent document analysis.
Patent Information
- Application Number
- CN202211242396.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-11
- Publication Date
- 2026-06-19
- Estimated Expiration
- 2042-10-11
AI Technical Summary
Existing methods for extracting technical issues from patent documents suffer from low efficiency and poor accuracy, especially when dealing with semantic features of different parts, where they lack adaptability.
A pre-built technical problem extraction model is adopted to extract technical problems from the patent content based on the semantic characteristics of the patent content. Combined with the semantic characteristics of the background technology, neural networks and rule-based methods are used to process the patent content and background technology separately, thereby improving the effectiveness and accuracy of extraction.
By distinguishing the semantic features of the patent content and background technology section, the efficiency and accuracy of technical problem extraction are improved, and complete technical problem extraction results from coarse to fine are provided to meet the needs of different granularities.
Smart Images

Figure CN115640375B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of text data analysis technology, and in particular to a method and related equipment for extracting technical problems from patent documents. Background Technology
[0002] In recent years, with the increasing volume of patent documents, the need for in-depth processing of these documents has become increasingly urgent. The main content of patent documents includes the technical field, background technology, invention content, description of drawings, and specific embodiments. A detailed breakdown of the main content of a patent can effectively help users find target technical solutions from massive amounts of patent document data. The technical problems in patent documents describe unsolved problems, defects, and deficiencies in the field in which the patent pertains; the patent documents represent improvements made to address these deficiencies.
[0003] Typically, technical issues are extracted from the entire patent document using rule-based or machine learning-based methods. However, different parts of a patent document have different semantic features. Therefore, when extracting technical issues from the entire patent document using a single extraction method, the method has different adaptability to different parts of the patent document, resulting in inefficiency and inaccuracy in the extracted technical issues. Summary of the Invention
[0004] In view of this, the purpose of this application is to propose a method and related equipment for extracting technical problems from patent documents, so as to solve or partially solve the above-mentioned technical problems.
[0005] To achieve the above objectives, the first aspect of this application provides a method for extracting technical problems from patent documents, comprising:
[0006] Obtain the patent content and background technology sections of the target patent document;
[0007] Technical problems are extracted from the patent content or the background technology section to obtain technical problem extraction results. The technical problems are extracted from the patent content section using a pre-built technical problem extraction model, which is constructed based on the semantic characteristics of the patent content section.
[0008] A second aspect of this application provides a device for extracting technical problems from patent documents, comprising:
[0009] The acquisition module is configured to acquire the patent content and background technology sections of the target patent document;
[0010] The extraction module is configured to extract technical issues from the patent content section or the background technology section to obtain technical issue extraction results. The technical issues are extracted from the patent content section using a pre-built technical issue extraction model, which is constructed based on the semantic characteristics of the patent content section.
[0011] A third aspect of this application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in the first aspect.
[0012] A fourth aspect of this application provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method described in the first aspect.
[0013] As can be seen from the above, the technical problem extraction method and related equipment provided in this application have different semantic characteristics in the descriptions of technical problems appearing in the patent content section and the background art section of the target patent document. The patent content section includes the invention content and the invention description. Based on the semantic characteristics of fixed expressions in the sentences of the patent content section, a technical problem extraction model is pre-constructed. This model is used to extract technical problems from the patent content section, avoiding the direct extraction of technical problems from the background art section. This eliminates the impact of paragraph differences between the patent content section and the background art section on the technical problem extraction model, thereby improving the effectiveness and accuracy of technical problem extraction. Attached Figure Description
[0014] To more clearly illustrate the technical solutions in this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0015] Figure 1a This is a schematic diagram illustrating the technical problems described in the background section.
[0016] Figure 1b A schematic diagram illustrating the technical issues in the patent content section;
[0017] Figure 2a This is a flowchart illustrating the method for extracting technical problems from patent documents in embodiments of this application;
[0018] Figure 2b This is a schematic diagram illustrating step 202.
[0019] Figure 2c This is a flowchart illustrating the training process of the entity recognition model in an embodiment of this application.
[0020] Figure 3 This is a flowchart illustrating a method for extracting technical problems from patent documents according to another embodiment of this application;
[0021] Figure 4a This is a schematic diagram of the structure of the technical problem extraction device in the patent document of this application embodiment;
[0022] Figure 4b This is a schematic diagram of the extraction module in an embodiment of this application;
[0023] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.
[0025] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0026] As described in the background section, the technical problem in patent literature describes an unsolved problem, defect, or deficiency currently existing in the field in which the patent pertains. The patent literature represents improvements made to address these deficiencies. Patent technical problems typically appear at the beginning of the "Background Art" and / or "Summary of the Invention" sections of the patent specification. Furthermore, there are cases where the patent technical problem cannot be found in these sections of the patent specification. Analyzing the technical problems of a patent helps researchers gain a clearer understanding of the problems and deficiencies in a field, improves the efficiency of patent analysis, reduces the workload of researchers, and thus promotes the innovation process.
[0027] Technical problems generally reside in the "Background Art" or "Summary of the Invention" sections. Analysis of technical problem data shows that technical problems described in the "Summary of the Invention" section are often more precise and concise. Therefore, extraction should prioritize the "Summary of the Invention" section. If no technical problems are extracted from the "Summary of the Invention" section, then technical problems should be extracted from the "Background Art" section. According to statistics from patent literature, 80% of technical problems are found in the "Background Art" section. Figure 1a As shown, the technical problem of patent A lies in the "Background Art". Another 20% of the patents have their technical problems in the "Summary of the Invention". For example... Figure 1b As shown, the technical problem of patent B exists in the "Invention Content".
[0028] Extracting technical issues involves more than just extracting descriptive sentences; it often requires phrases, words, and other granular expressions to suit different application scenarios. Sentence-level technical issues provide the most comprehensive description, phrase-level issues offer more concise descriptions, while word-level issues are suitable for clustering analysis of a large number of patents. Therefore, technical issue extraction first requires locating the patent issue description sentences in the patent literature, and then extracting issue phrases and words from those sentences. This results in a complete technical issue extraction process, from coarse to fine.
[0029] Currently, there is no complete method or system for extracting technical problems at different granularities. The most common extraction system directly extracts sentences or words, ignoring phrase-level technical problem extraction. For sentence and word-level technical problems, the most common extraction methods include rule-based extraction methods and traditional machine learning-based extraction methods. However, these two types of methods have relatively poor extraction performance and are no longer sufficient to meet accuracy requirements.
[0030] Rule-based extraction methods primarily involve extracting data by developing association rules, sentiment dictionaries, and thesauruses, or by using syntactic rules combined with text filtering. However, this approach requires significant time to develop rules and dictionaries, resulting in low efficiency, long workflows, and high labor costs.
[0031] Extraction methods based on traditional machine learning: This method mainly uses traditional machine learning classification algorithms and information extraction methods to extract technical information, including maximum entropy models, conditional random fields, support vector machines, etc. However, these methods require complex feature engineering by humans, and the quality of feature selection directly determines the model's performance. This method is not suitable for patent information extraction tasks with large datasets, and the extraction accuracy is also not high.
[0032] Therefore, traditional technical problem extraction methods often only focus on technical problem sentences or technical problem words, and currently lack a complete system for extracting technical problems from coarse to fine (from technical problem sentences to technical problem phrases, and then to technical problem words). Furthermore, traditional methods have significant shortcomings in terms of extraction accuracy and cost.
[0033] like Figure 2a As shown, the method in this embodiment includes:
[0034] Step 201: Obtain the patent content section and background technology section of the target patent document.
[0035] In this step, the target patent document refers to an improvement document addressing the technical problem. In this embodiment, the preferred target patent document may be an improvement document that includes the technical problem and addresses it. The patent content section refers to the part explaining how the technical problem is specifically solved; in this embodiment, the preferred patent content section may be the part of the target patent document explaining how the technical problem is specifically solved. The background art section refers to the part explaining the background of the patent's technical solution; in this embodiment, the preferred background art section may be the part of the target patent document explaining the background of the patent's technical solution. For example, the target patent document may be an invention patent or the specification of an invention patent. The patent content section may be a paragraph in the specification labeled "Invention Content" or "Invention Content," and the background art section may be a paragraph in the specification labeled "Background Art." This provides a data foundation for the subsequent extraction of the technical problem.
[0036] Step 202: Extract technical problems from the patent content section or the background technology section to obtain technical problem extraction results. The technical problems are extracted from the patent content section using a pre-built technical problem extraction model, which is constructed based on the semantic characteristics of the patent content section.
[0037] In this step, the technical problem extraction model refers to a model capable of extracting technical problems from text data. In this embodiment, the preferred technical problem extraction model can be a model capable of extracting technical problems from the text data corresponding to the patent content or background technology section. For example, the technical problem extraction model can be a model based on a neural network, a model constructed by combining the characteristics of the text data in the target patent document, or a neural network model constructed by combining the characteristics of the text data in the target patent document.
[0038] Through the above scheme, the expressions regarding technical problems appearing in the patent content section and the background art section of the target patent document have different semantic characteristics. The patent content section includes the invention content and the invention description. Based on the semantic characteristics of sentences with fixed expressions in the patent content section, a technical problem extraction model is pre-constructed. This model is used to extract technical problems from the patent content section, avoiding the direct extraction of technical problems from the background art section. This eliminates the impact of paragraph differences between the patent content section and the background art section on the technical problem extraction model, thereby improving the effectiveness and accuracy of technical problem extraction.
[0039] In some embodiments, such as Figure 2b As shown, step 202 specifically includes:
[0040] Step 2021: The first statement extraction result is extracted from the patent content using the technical problem extraction model.
[0041] Step 2022: Determine whether to extract the technical problem from the background technology section based on whether the first statement extraction result contains a statement corresponding to the technical problem.
[0042] In the above scheme, the first statement extraction result refers to the statement required to extract the technical problem. In this embodiment, the preferred first statement extraction result can be obtained through the technical problem extraction model to extract the statement required to extract the technical problem.
[0043] The above approach provides a basis for determining whether to extract the technical problem from the background section.
[0044] In some embodiments, determining whether to extract the technical problem from the background art section based on whether the first statement extraction result contains a statement corresponding to the technical problem includes:
[0045] Step 20221: Determine whether there is a statement corresponding to the technical problem in the first statement extraction result, and obtain the first determination result.
[0046] Step 20222: In response to determining that the first judgment result is a statement corresponding to the technical problem, the technical problem extraction result is generated based on the first statement extraction result.
[0047] Step 20223: In response to determining that the first judgment result is that there is no statement corresponding to the technical problem, the technical problem is extracted from the background technology part using the background technology extraction model to obtain the second statement extraction result, and the technical problem extraction result is generated based on the second statement extraction result.
[0048] In the above scheme, the first judgment result refers to whether there is a statement corresponding to the technical problem in the first statement extraction result. In this embodiment, the preferred first judgment result can be whether the statement required to extract the technical problem is the statement corresponding to the technical problem. The second statement extraction result refers to the statement corresponding to the technical problem in the background technology section. In this embodiment, the preferred second statement extraction result can be the statement corresponding to the technical problem in the background technology section obtained through the background technology extraction model.
[0049] Background technology extraction model refers to a model capable of extracting technical issues from the text data of the background technology section. In this embodiment, the preferred background technology extraction model can be a model capable of extracting technical issues from the text data corresponding to the background technology section of the target patent document. For example, the background technology extraction model can be a model built based on semantic relationships, a model built by combining the characteristics of the text data in the background technology section, or a semantic relationship model built by combining the characteristics of the text data in the background technology section.
[0050] By employing different models to selectively extract technical issues from the patent content or background technology section, the technical issue extraction model becomes more adaptable to extracting technical issues from different parts of the patent specification. This avoids the impact of paragraph differences between the patent content and background technology sections on the technical issue extraction model, thereby improving the effectiveness and accuracy of technical issue extraction.
[0051] In some embodiments, the technical problem extraction model includes a neural network model, and step 2021 specifically includes:
[0052] Obtain the first separator in the patent content portion, and extract multiple first statements in the patent content portion according to the order of the first separator;
[0053] A predetermined number of the first statements from the plurality of first statements are used as input to the neural network model;
[0054] The neural network model is used to classify the plurality of first statements to obtain classification results, wherein the classification results include: first problem feature statements and non-first problem feature statements, wherein the first problem feature statements are the statements required to extract the technical problem;
[0055] The first problem-feature statement is used as the result of the first statement extraction.
[0056] In the above scheme, the first separator refers to the separator in the patent content section. In this embodiment, the preferred first separator can be a statement separator in the patent content section, such as a period, exclamation mark, semicolon, or carriage return. The first statement refers to a statement in the patent content section. In this embodiment, the preferred first statement can be a statement between two consecutive first separators in the patent content section. The first problem feature statement refers to the statement required for extracting the technical problem. In this embodiment, the preferred first problem feature statement can be a statement obtained through a technical problem extraction model, representing the statement required for extracting the technical problem.
[0057] A neural network model refers to a model that can classify data. In this embodiment, the preferred neural network model can be a model that can perform binary classification on the patent content data.
[0058] Since the "patent content section" often contains a large number of sentences, and the technical issues are usually located at the beginning of this section, a predetermined number of the first five sentences from multiple first statements can be input into the neural network model.
[0059] Specifically, since the description of the technical problem in the "Summary of the Invention" is generally in a relatively fixed form and is relatively easy to extract, it can be treated as a classification task during modeling. Each sentence can be binary classified for prediction; that is, the input is the first sentence, and the output is whether the first sentence is the sentence needed to extract the technical problem. Neural network models such as TextCNN (Text Convolutional Neural Network), FastText (an open-source word vector and text classification tool), and BLSTM (Bi-directional Long Short-Term Memory) can achieve good results without the need for more complex pre-trained models such as BERT (Bidirectional Encoder Representation from Transformers).
[0060] The above scheme, based on the characteristic that the statements about technical issues in the patent content have fixed expressions, uses a neural network model to classify the first statement in the patent content, thereby increasing the adaptability of the technical issue extraction model to extract technical issues from the patent content.
[0061] In some embodiments, a background technology extraction model is used to extract technical issues from the background technology section to obtain a second statement extraction result, including:
[0062] The background technology extraction model is used to extract the second problem feature statement from the background technology part, and the second problem feature statement is matched to obtain the third statement extraction result.
[0063] Determine whether the third statement extraction result contains a statement corresponding to the technical problem, and obtain a second determination result;
[0064] In response to determining that the second judgment result is a statement corresponding to the technical problem, the third statement extraction result is used as the second statement extraction result;
[0065] In response to determining that the second judgment result is that there is no statement corresponding to the technical problem, regular expression matching is performed on the statements in the background technology section to obtain the second statement extraction result.
[0066] In the above scheme, the second problem feature statement refers to the statement required for extracting the technical problem, obtained through the background technology extraction model. In this embodiment, the preferred second problem feature statement can be the statement required for extracting the technical problem, obtained from the background technology section through the background technology extraction model. The third statement extraction result refers to the statement that can be used to obtain the second judgment result. In this embodiment, the preferred third statement extraction result can be the second problem feature statement after matching processing. The second judgment result refers to the judgment result that can provide a reference for subsequently obtaining the second statement extraction result. In this embodiment, the preferred second judgment result can be whether the statement corresponding to the technical problem exists in the third statement extraction result.
[0067] The above scheme allows for the extraction of technical problems from the invention content section, which has a fixed description. However, the background technology section has different semantic characteristics from the invention content section. By using different algorithms to selectively extract technical problems from the background technology section, the paragraph differences between the invention content section and the background technology section can be avoided from affecting the technical problem extraction model.
[0068] In some embodiments, the step of extracting a second problem feature statement from the background technology section using the background technology extraction model and performing matching processing on the second problem feature statement to obtain a third statement extraction result includes:
[0069] Obtain the second delimiter in the background technology section, and extract multiple second statements from the background technology section based on the second delimiter;
[0070] Replace the second delimiter with the start marker and the delimiter;
[0071] The second statement is encoded using the background extraction model based on the start marker and the separator marker to obtain a sentence vector that corresponds one-to-one with the second statement.
[0072] The sentence vector is scored using a squeezing function to obtain the scoring results;
[0073] The second statement whose score is greater than the predetermined score is taken as the second problem feature statement;
[0074] The second problem feature statement is matched based on the serial number in the background section or a pre-set keyword or a first regular expression constructed based on the keyword to obtain the third statement extraction result.
[0075] In the above scheme, the second separator refers to the separator in the background technology section. In this embodiment, the preferred second separator can be a statement separator in the background technology section, such as a period, exclamation mark, semicolon, or carriage return. The second statement refers to a statement in the background technology section. In this embodiment, the preferred second statement can be a statement between two consecutive second separators in the background technology section.
[0076] The start marker can be [CLS], and the separator marker can be [SEP]. The [CLS] marker before each second statement is entered into the output vector of the background extraction model, serving as the sentence vector representation of that second statement. For example: Return Figure 1a The background technology states that "when the belt tension is insufficient, the belt is prone to slippage. Conversely, excessive tension can easily damage the bearings of various auxiliary machines." The input sequence to the model is "[CLS]When the belt tension is insufficient, the belt is prone to slippage[SEP][CLS]And when the tension is excessive, it can easily damage the bearings of various auxiliary machines[SEP]". After scoring each sentence vector using the sigmoid function (an S-shaped function), the second sentence with a score greater than 0.5 is taken as the second problem feature sentence.
[0077] Specifically, because "background technology" often consists of multiple paragraphs, and there are contextual semantic relationships between the sentences in each paragraph, it is usually necessary to capture these contextual semantic relationships to ultimately determine the technical problem. For example, returning to... Figure 1aIn the "Background Art" section of Patent A, without considering the context, sentences 2 and 3 in paragraph
[0002] both describe negative issues. Such sentences are easily identified as technical problem sentences by the model. However, by considering the semantics of the entire background art context, it becomes clear that the technical problem sentence in this patent is the sentence in paragraph
[0003] . Thus, the technical problems in the "Background Art" section have a contextual semantic relationship. If a neural network model is used for extraction, it cannot capture this semantic relationship, thus affecting the extraction effect. This embodiment can use the BertSum (an extractive summarization model) to extract the technical problems in the background art section, and construct a background art extraction model by combining the semantic relationships in the background art section.
[0078] Specifically, BertSum can be composed of a sentence encoding layer and an output decision layer. The sentence encoding layer obtains the sentence vector of the second sentence through the BERT model, and the output decision layer can score the sentence vector by using the sigmoid function, or it can use a transformer (an attention model) or LSTM (Long Short Term Memory) to score the sentence vector.
[0079] The second question feature statement is matched based on the sequence number, pre-set keywords, or a first regular expression constructed based on the keywords. Specifically, for the extraction of consecutive sequence numbers in the second question feature statement, if one sentence is missing during the extraction, it can be added back through matching. Matching can also be performed using keywords or a first regular expression constructed based on those keywords, thereby optimizing the second question feature statement.
[0080] For example, the text in the background technology section is "However, these methods have the following shortcomings: 1. They are inefficient and not user-friendly enough; 2. They greatly shorten the service life; 3. They cause pollution to the environment." After the second delimiter, there are three second statements. If the background technology extraction model only extracts the first and third second statements as the second problem feature statements, then the missing second statement can be added in according to the sequence number.
[0081] The above approach improves the efficiency and accuracy of extracting technical issues from the background section.
[0082] In some embodiments, performing regular expression matching on the statements in the background section to obtain the second statement extraction result includes:
[0083] Obtain the feature words corresponding to the background technology section;
[0084] Construct a second regular expression based on the combination of the feature words;
[0085] The second statement is extracted by matching the multiple second statements according to the second regular expression.
[0086] In the above scheme, the feature words refer to words that can reflect the technical problem. In this embodiment, the preferred feature words can be words that indicate negation in the technical problem. The second regular expression refers to an expression that can match the technical problem. In this embodiment, the preferred second regular expression can be a regular expression constructed based on words that indicate negation. For example, the second regular expression can be "have (the following|some|many)(shortcomings|deficiencies|disadvantages|defects|areas for improvement).*".
[0087] The above approach improves the stability and accuracy of technical problem extraction in the background section.
[0088] In some embodiments, generating the technical problem extraction result based on the first statement extraction result includes:
[0089] The entity recognition model obtained through pre-training is used to extract entities from the first statement extraction result to obtain the first unit word corresponding to the technical problem;
[0090] The first phrase corresponding to the technical problem is generated based on the position of the first unit word in the extraction result of the first statement;
[0091] The first statement extraction result, the first unit word, and the first phrase are combined as the technical problem extraction result.
[0092] In the above scheme, the entity recognition model refers to the model that can extract words from the statements corresponding to technical problems. The preferred entity recognition model in this embodiment can be the NER (Named Entity Recognition) model, such as BERT+CRF (Conditional Random Fields). BERT is a pre-trained language model that can fit the training data very quickly and fully, while CRF is a probabilistic graphical model that can capture the transition dependencies between labels.
[0093] The first unit term refers to words that can express technical problems. In this embodiment, the preferred first unit term can be the problem object, problem attribute, and problem word in the patent content. Problem object: can be a specific physical object in reality, or a computer algorithm, or a drug, or a system, etc., mostly nouns, such as water heater, LSTM algorithm, etc. Problem attribute: generally the physical attribute, or functional attribute, or a certain operation of the object, etc., mostly nouns or verbs, and is a non-specific physical object, such as volume, size, lifespan, working efficiency, accuracy, maintenance, processing, etc. Problem word: generally verbs or adjectives, such as: reduce, limit, less, increase, low, high, expensive.
[0094] In this context, the "problem word" is mandatory, while the "problem object" and "problem attribute" are not necessarily present. For example, in the technical problem "low work efficiency," the "problem attribute" is "work efficiency," and the "problem word" is "low." However, in the problem phrase "lighthouse is easily damaged," the "problem object" is "lighthouse," and the "problem word" is "easily damaged."
[0095] The first phrase refers to a phrase that can express a technical problem. In this embodiment, the preferred first phrase can be a problem phrase in the patent content section. The first statement extraction result includes multiple first phrases.
[0096] Specifically, when constructing the first phrase, the question word in the first unit word is used as the center, and the question objects and question attributes surrounding the question word are merged together with the question word to form the first phrase. For example, the extraction results of the first statement are first divided into clauses using commas as separators. Then, each clause is judged. If a clause contains multiple question words, then each question word, along with its nearest question attributes and question objects, is combined into a question phrase.
[0097] For example, the first statement extraction result is "The purpose of this invention is to overcome the problems of short motor lifespan and low working efficiency in existing equipment." This sentence yields five first-unit words: Problem object = motor, Problem attribute = lifespan, Problem word = short, Problem attribute = working efficiency, Problem word = low. First, the first statement extraction result is divided into clauses, resulting in two clauses. Clause 1, "The purpose of this invention is to overcome the problems of short motor lifespan in existing equipment," has the problem words "Problem object = motor," "Problem attribute = lifespan," and "Problem word = short." Clause 2, "The problem of low working efficiency," has the problem words "Problem attribute = working efficiency" and "Problem word = low." Then, the first phrase can be constructed. The first phrase obtained from clause 1 is "short motor lifespan," and the first phrase from clause 2 is "low working efficiency."
[0098] The above scheme constructs technical problem extraction results at three levels: sentences, phrases, and words, which improves the completeness of the technical problem extraction results and provides complete data support for subsequent searches based on technical problems and cluster analysis of technical problems.
[0099] In some embodiments, generating the technical problem extraction result based on the second statement extraction result includes:
[0100] The entity recognition model obtained through pre-training is used to extract entities from the extraction result of the second statement to obtain the second unit word corresponding to the technical problem;
[0101] A second phrase corresponding to the technical problem is generated based on the position of the second unit word in the extraction result of the second statement;
[0102] The extraction results of the second statement, the second unit word, and the second phrase are combined as the extraction results of the technical problem.
[0103] In the above scheme, the second unit word refers to a word that can represent the technical problem in the background section. In this embodiment, the preferred second unit word can be the problem object, problem attribute, and problem word in the background section. Among them, the problem word must exist, while the problem object and problem attribute are not necessarily present. The second phrase refers to a phrase in the background section that can represent the technical problem. In this embodiment, the preferred second phrase can be a problem phrase in the background section. The second statement extraction result includes multiple second phrases.
[0104] The above scheme constructs technical problem extraction results at three levels: sentences, phrases, and words, which improves the completeness of the technical problem extraction results and provides complete data support for subsequent searches based on technical problems and cluster analysis of technical problems.
[0105] In some embodiments, such as Figure 2c As shown, the training process of the entity recognition model includes:
[0106] Step A: Obtain the training set corresponding to the target patent document.
[0107] Step B: Construct an initial entity recognition model based on the bidirectional coding model and the probabilistic graphical model, wherein the initial entity recognition model includes a bidirectional coding layer and a probabilistic layer.
[0108] Step C: Set the first learning rate of the bidirectional coding layer to a first preset value.
[0109] Step D: Set the second learning rate of the probability layer to a second preset value, wherein the order of magnitude of the first preset value is smaller than the order of magnitude of the second preset value.
[0110] Step E: Train the initial entity recognition model according to the first learning rate, the second learning rate and the training set, and use the trained initial entity recognition model as the entity recognition model.
[0111] In the above scheme, in step B, the bidirectional encoding model can be BERT, the probabilistic graphical model can be CRF, the bidirectional encoding layer can be a BERT layer, and the probabilistic layer can be a CRF layer. In step C, the learning rate of the BERT layer is set to 10. -5 The order of magnitude (around 0.00005). The learning rate of the CRF layer in step D is set to 10. -3 and 10 -2 Around the order of magnitude (around 0.005).
[0112] Specifically, when training entity recognition models, the same learning rate is often used in both the BERT and CRF layers. This training method fails to leverage the true potential of CRF. After pre-training, BERT requires only a very small learning rate (typically 10) for fine-tuning downstream tasks. -5 The magnitude of the training rate (on the order of magnitude) is important; too large a rate might actually prevent convergence. Although the learning rate is small, convergence is fast for most downstream tasks, with many requiring only 2-3 epochs (training iterations) to reach the optimum. However, in CRF, since the transition matrix is largely independent of BERT, when the label distribution output by BERT quickly converges to a better value, CRF still uses a 10^ ... -5 The learning rate is updated too quickly, which makes the gradient of the transition matrix very small, so the transition matrix is hardly updated, and the CRF cannot play its role.
[0113] By using the above scheme, different learning rates are used in the bidirectional encoding layer and the probability layer during training, which avoids the shortcomings of the traditional training method where the initial learning rate of the entity recognition model is not equidistant, and improves the prediction accuracy of the entity recognition model.
[0114] It should be noted that the method in this embodiment can be executed by a single device, such as a computer or server. The method can also be applied in a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method in this embodiment, and the multiple devices will interact with each other to complete the method described.
[0115] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0116] Based on the same inventive concept, and on the basis of the corresponding implementation schemes of the above-mentioned embodiments, the following specific implementations are possible.
[0117] The preferred technical problem in this embodiment is a hierarchical structure comprising a technical problem sentence, a technical problem phrase, and a technical problem term unit. When extracting the hierarchical structure of the technical problem, the technical problem sentence must first be located in the patent specification. Then, the problem phrase and problem term unit are extracted from the technical problem sentence. The problem term unit is further refined into problem object, problem attribute, and problem word. The specific definitions are as follows:
[0118] Problem sentence: A complete sentence that describes the problems, shortcomings, or deficiencies in the field in which the current patent exists.
[0119] Problem phrases: These are phrases in a problem sentence that describe defects, shortcomings, or other issues in technology, systems, or attributes. They mainly include negative emotions and negative viewpoints, such as "low work efficiency" or "high development costs."
[0120] Problem word unit: contains problem object, problem attribute, and problem word.
[0121] The object of the problem can be a concrete physical object, a computer algorithm, a drug, or a system, and is mostly a noun. Examples include: water heater, LSTM algorithm, etc.
[0122] Problem attributes: These are generally physical attributes, functional attributes, or certain operations of an object, mostly nouns or verbs, and are not concrete physical objects. Examples include: volume, size, lifespan, work efficiency, accuracy, repair, processing, etc.
[0123] Problem words: These are generally verbs or adjectives, such as: reduce, limit, less, increase, low, high, expensive.
[0124] Taking patent B as an example, the extracted technical problem structure is as follows:
[0125] Problem statement: This embodiment provides an electric bolt lock testing device and testing method to solve the problem of low testing efficiency of electric bolt locks in the prior art.
[0126] Problem phrase: Low testing efficiency of electric bolt locks
[0127] Problem object: Electric bolt lock
[0128] Problem attribute: Test efficiency
[0129] Problem keyword: low
[0130] This embodiment extracts technical problems in two main steps: the first step is to extract technical problem sentences, and the second step is to extract problem phrases and problem word units.
[0131] 1. Extraction of technical question sentences
[0132] Technical question sentence extraction: The main process of this step is as follows Figure 3 As shown:
[0133] As shown in the flowchart, the "Summary of the Invention" section is first segmented into sentences. Then, a classification model is used to determine whether these sentences are technical problem sentences. If a technical problem is found in the "Summary of the Invention," this result is directly used as the technical problem extraction result for the entire patent. If no technical problem is extracted from the "Summary of the Invention," it is extracted from the "Background Art." This step first segments the content of the "Background Art" section into sentences, then uses BertSum to extract technical problems, and performs some post-processing operations on the extracted results. If a technical problem is extracted in this process, it is directly used as the final result. If no technical problem is extracted, a regular expression matching algorithm is used to extract the technical problem from the "Background Art," and this is output as the final technical problem.
[0134] Sentence division: Use periods, exclamation marks, semicolons, and line breaks as separators to divide a paragraph into individual sentences.
[0135] Classification Model: Since the technical problem sentences in the "Content of Invention" section generally have a relatively fixed format and are relatively easy to extract, we treat it as a classification task during modeling. We perform binary classification prediction on each sentence; that is, the input is a sentence from the "Content of Invention," and the output is a judgment on whether that sentence is a technical problem sentence. For this part, we generally choose neural network models (such as TextCNN, FastText, BLSTM, etc.) which achieve good results without using more complex pre-trained models like BERT. Because the "Content of Invention" section often contains a large number of sentences, and technical problems are usually located at the beginning of this section, we take the first five sentences of the "Content of Invention" as a candidate set and then use a neural network classification model to extract technical problem sentences from this candidate set.
[0136] BertSum Extraction of Problem Sentences: This step extracts technical problem sentences from the "Background Art". While extracting technical problems from the "Background Art" can be treated as a classification task during modeling, classification models often fail to capture contextual semantic relationships, resulting in less than ideal performance. Since the "Background Art" often consists of multiple paragraphs with contextual semantic relationships between sentences, capturing these relationships is usually necessary for final identification of the technical problem. For example, in the "Background Art" of Patent A, without considering the context, sentences 2 and 3 in paragraph
[0002] both describe negative issues, easily identified as technical problem sentences by the model. However, by considering the semantics of the entire "Background Art" context, it becomes clear that the technical problem sentence in this patent is the sentence in paragraph
[0003] .
[0137] As the examples above illustrate, the technical issues in the "background technology" section exhibit contextual semantic relationships. If a classification model is used for extraction, these semantic relationships cannot be captured, thus affecting the extraction results. This embodiment utilizes the BertSum model to extract technical issue sentences from the "background technology" section. This model, originally from the paper "Fine-tune BERT for Extractive Summarization," is designed for extractive summarization. This embodiment uses this model primarily because the technical issues in the "background technology" section often possess contextual semantic relationships. If the task of extracting technical issues from the "background technology" section is simply treated as a classification task, while it may achieve some results, it fails to capture these contextual semantic dependencies, resulting in suboptimal extraction accuracy.
[0138] When performing extractive summarization tasks, BertSum's structure is shown in the figure below. It mainly consists of a sentence encoding layer and an output decision layer. The sentence encoding layer obtains the sentence vector encoding of each sentence in the document through the BERT model. The output decision layer selects and judges each sentence through three different structures (trainsformer, LSTM, sigmoid), scores each sentence, and finally selects the best top-n sentences as the document summary.
[0139] In this embodiment, in the sentence encoding layer, we insert [CLS] and [SEP] tags before and after each sentence in the "Background Art", and use the output vector of the [CLS] tag before each sentence after entering the model as the sentence vector representation of that sentence. For example, for the sentences in the Background Art "When the tension of the belt is insufficient, the belt is prone to slipping. When the tension is too large, it is easy to damage the bearings of various auxiliary machines.", the sequence input to the model is "[CLS]When the tension of the belt is insufficient, the belt is prone to slipping[SEP][CLS]When the tension is too large, it is easy to damage the bearings of various auxiliary machines.[SEP]". In the output judgment layer, in this embodiment, after scoring each sentence through sigmoid, instead of taking the top-n sentences, all sentences with a threshold greater than 0.5 are taken as technical problem sentences.
[0140] Post-processing: Post-process and optimize the BertSum extraction results. For example, for the extraction of consecutive serial numbers, if one of the sentences is missing in the model extraction, it can be supplemented through post-processing. For example, for the patent text "However, these methods have the following deficiencies: 1. The efficiency is relatively low and not user-friendly; 2. The service life is greatly shortened; 3. Environmental pollution is caused.", after sentence splitting, there are three technical problem sentences. If the model only extracts the first and the third technical problem sentences, then the missing second problem sentence can be supplemented according to the serial number. In addition, post-processing can also filter the extraction results through some keywords or regular expressions to optimize the results of the model.
[0141] Regular expression extraction of technical problems: In this step, this embodiment summarizes some common regular expressions for matching technical problem sentences to serve as a backup for the entire extraction process. This step improves the recall rate of technical problem sentence extraction. For example, the regular expression "There are (the following|some|many) (deficiencies|shortcomings|drawbacks|defects|areas to be improved).*" can better match sentences describing technical problems.
[0142] During the experiment of this embodiment, for the precision of technical problem sentence extraction, at the sentence level, the F-value of the precision of all sentence classifications (the comprehensive evaluation index (F-Measure), where the P and R metrics sometimes have contradictory situations, so they need to be considered comprehensively. The most common method is the F-Measure, including Precision, Recall, and F-Measure) is greater than 93%, and the precision of technical problem extraction at the patent level is greater than 76%.
[0143] 2. Extraction of technical problem phrases and technical problem word units
[0144] In this step, this embodiment first extracts question word units from the question sentence, and then merges the entities in the question word units into a question phrase.
[0145] Problem word unit extraction: The problem word unit consists of three parts: problem object, problem attribute, and problem word. These three entities can be extracted from the problem sentence using the NER model, such as BLSTM+CRF and BERT. In this embodiment, BERT+CRF was used to extract the technical problem word units during the experiment, and the total F-score of the three entities was 80%.
[0146] BERT is currently the most commonly used pre-trained language model, capable of fitting training data very quickly and sufficiently. CRF is a classic probabilistic graphical model that can capture the transition dependencies between labels. Therefore, using the BERT+CRF model for NER tasks is one of the most commonly used models in the NLP field. However, currently, when training BERT+CRF, the same learning rate is usually used in both the BERT and CRF layers. This training method fails to leverage the true potential of CRF. This is because after BERT is pre-trained, fine-tuning for downstream tasks requires only a very small learning rate (usually on the order of magnitude); a large learning rate may prevent convergence. Despite the small learning rate, convergence is fast for most downstream tasks, with many tasks converging to the optimum in just 2-3 epochs. In CRF, since the transition matrix is largely independent of BERT, when the label distribution output by BERT converges rapidly to a better value, CRF is still updating at a much slower rate. This results in a very small gradient in the transition matrix, meaning the transition matrix is barely updated, and thus CRF fails to perform its intended function. Therefore, the current training method for the BERT+CRF model has the drawback of unequal learning rate settings for different network layers.
[0147] In this embodiment, different learning rates were set for the BERT and CRF layers during the experiment. The learning rate for the BERT layer was set to the order of magnitude (around 0.00005), while the learning rate for the CRF layer was set to the order of magnitude (around 0.005). In the experiment, using different learning rates for the BERT and CRF layers, compared to using the same learning rate, improved the F-score by 2 percentage points (from 78% to 80%).
[0148] Problem phrase extraction: In a problem phrase, the problem word is required, while the problem object and problem attribute are not necessarily present. For example, in the problem phrase "low work efficiency," the "problem attribute" is "work efficiency," and the "problem word" is "low." In the problem phrase "lighthouse is easily damaged," the "problem object" is "lighthouse," and the "problem word" is "easily damaged."
[0149] A typical sentence contains multiple problem objects, problem attributes, and problem words. In this embodiment, when extracting problem phrases, the problem word is used as the center, and the surrounding problem objects and problem attributes, along with the problem word itself, are merged into a single problem phrase. Specifically, the sentence is first divided into clauses using commas as separators. Then, each clause is evaluated; if a clause contains multiple technical problem words, each problem word, along with its nearest surrounding problem attributes and problem objects, is treated as a problem phrase.
[0150] For example, the technical problem sentence "The purpose of this invention is to overcome the problems of short motor lifespan and low working efficiency in existing equipment" yields five problem word entities: problem object = motor, problem attribute = lifespan, problem word = short, problem attribute = working efficiency, and problem word = low. This embodiment first divides the problem sentence into two clauses. Clause 1, "The purpose of this invention is to overcome the problems of short motor lifespan in existing equipment," has the problem word entity "problem object = motor, problem attribute = lifespan, problem word = short." Clause 2, "the problem of low working efficiency," has the problem word entity "problem attribute = working efficiency, problem word = low." Then, the problem word phrases can be merged. After merging, clause 1 becomes "short motor lifespan," and clause 2 becomes "low working efficiency."
[0151] The technical problem extraction method in the patent documents described above has the same beneficial effects as the technical problem extraction method in the patent documents in any of the foregoing embodiments, and will not be repeated here.
[0152] Based on the same inventive concept, and corresponding to any of the above-described embodiments, this application also provides a technical problem extraction device as described in patent documents.
[0153] refer to Figure 4a The device for extracting technical problems from the patent document includes:
[0154] The acquisition module 401 is configured to acquire the patent content portion and the background technology portion of the target patent document;
[0155] Extraction module 402 is configured to extract technical problems from the patent content portion or the background technology portion to obtain technical problem extraction results. The technical problems are extracted from the patent content portion using a pre-built technical problem extraction model, which is constructed based on the semantic characteristics of the patent content portion.
[0156] In some embodiments, such as Figure 4b As shown, the extraction module 402 specifically includes:
[0157] The first extraction unit 4021 is configured to extract a first statement extraction result from the patent content portion using the technical problem extraction model.
[0158] The determining unit 4022 is configured to determine whether to extract the technical problem from the background technology section based on whether the first statement extraction result contains a statement corresponding to the technical problem.
[0159] In some embodiments, the determining unit specifically includes:
[0160] The first judgment unit is configured to determine whether there is a statement corresponding to the technical problem in the first statement extraction result, and obtain a first judgment result;
[0161] The first generation unit is configured to generate the technical problem extraction result based on the first statement extraction result in response to determining that the first judgment result is a statement corresponding to the technical problem.
[0162] The second extraction submodule is configured to, in response to determining that the first judgment result is that there is no statement corresponding to the technical problem, extract the technical problem from the background technology part using a background technology extraction model to obtain a second statement extraction result, and generate the technical problem extraction result based on the second statement extraction result.
[0163] In some embodiments, the first extraction unit is configured to:
[0164] The technical problem extraction model is used to extract a first feature statement from the patent content portion, resulting in a first statement extraction result, including:
[0165] Obtain the first separator in the patent content portion, and extract multiple first statements in the patent content portion according to the order of the first separator;
[0166] A predetermined number of the first statements from the plurality of first statements are used as input to the neural network model;
[0167] The neural network model is used to classify the plurality of first statements to obtain classification results, wherein the classification results include: first problem feature statements and non-first problem feature statements, wherein the first problem feature statements are the statements required to extract the technical problem;
[0168] The first problem-feature statement is used as the result of the first statement extraction.
[0169] In some embodiments, the second extraction submodule includes:
[0170] The third extraction unit is configured to use the background technology extraction model to extract the second problem feature statement in the background technology part, and to perform matching processing on the second problem feature statement to obtain the third statement extraction result.
[0171] The second judgment unit is configured to determine whether there is a statement corresponding to the technical problem in the third statement extraction result, and obtain a second judgment result.
[0172] The second generation unit is configured to, in response to determining that the second judgment result is a statement corresponding to the technical problem, use the third statement extraction result as the second statement extraction result;
[0173] The third generation unit is configured to perform regular expression matching on the statements in the background technology section in response to determining that the second judgment result is that there is no statement corresponding to the technical problem, so as to obtain the second statement extraction result.
[0174] In some embodiments, the third extraction unit is specifically configured as follows:
[0175] Obtain the second delimiter in the background technology section, and extract multiple second statements from the background technology section based on the second delimiter;
[0176] Replace the second delimiter with the start marker and the delimiter;
[0177] The second statement is encoded using the background extraction model based on the start marker and the separator marker to obtain a sentence vector that corresponds one-to-one with the second statement.
[0178] The sentence vector is scored using a squeezing function to obtain the scoring results;
[0179] The second statement whose score is greater than the predetermined score is taken as the second problem feature statement;
[0180] The second problem feature statement is matched based on the serial number in the background section or a pre-set keyword or a first regular expression constructed based on the keyword to obtain the third statement extraction result.
[0181] In some embodiments, the third generation unit is specifically configured as follows:
[0182] Obtain the feature words corresponding to the background technology section;
[0183] Construct a second regular expression based on the combination of the feature words;
[0184] The second statement is extracted by matching the multiple second statements according to the second regular expression.
[0185] In some embodiments, the first generation unit is specifically configured as follows:
[0186] The entity recognition model obtained through pre-training is used to extract entities from the first statement extraction result to obtain the first unit word corresponding to the technical problem;
[0187] The first phrase corresponding to the technical problem is generated based on the position of the first unit word in the extraction result of the first statement;
[0188] The first statement extraction result, the first unit word, and the first phrase are combined as the technical problem extraction result.
[0189] In some embodiments, the second generation unit is specifically configured as follows:
[0190] The entity recognition model obtained through pre-training is used to extract entities from the extraction result of the second statement to obtain the second unit word corresponding to the technical problem;
[0191] A second phrase corresponding to the technical problem is generated based on the position of the second unit word in the extraction result of the second statement;
[0192] The extraction results of the second statement, the second unit word, and the second phrase are combined as the extraction results of the technical problem.
[0193] In some embodiments, the training process of the entity recognition model in the first generation unit or the second generation unit includes:
[0194] Obtain the training set corresponding to the target patent document;
[0195] An initial entity recognition model is constructed based on a bidirectional coding model and a probabilistic graphical model, wherein the initial entity recognition model includes a bidirectional coding layer and a probabilistic layer;
[0196] Set the first learning rate of the bidirectional coding layer to a first preset value;
[0197] The second learning rate of the probability layer is set to a second preset value, wherein the order of magnitude of the first preset value is smaller than the order of magnitude of the second preset value;
[0198] The initial entity recognition model is trained based on the first learning rate, the second learning rate, and the training set, and the trained initial entity recognition model is used as the entity recognition model.
[0199] For ease of description, the above devices are described in terms of function, divided into various modules. Of course, in implementing this application, the functions of each module can be implemented in one or more software and / or hardware.
[0200] The apparatus of the above embodiments is used to implement the technical problem extraction method in the corresponding patent documents in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0201] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the technical problem extraction method in the patent documents described in any of the above embodiments.
[0202] Figure 5 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.
[0203] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0204] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0205] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.
[0206] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0207] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.
[0208] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.
[0209] The electronic devices described above are used to implement the technical problem extraction method in the corresponding patent documents in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0210] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the technical problem extraction method in the patent document as described in any of the above embodiments.
[0211] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0212] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the technical problem extraction method in the patent document as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0213] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application (including the claims) is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in the details for the sake of brevity.
[0214] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0215] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.
[0216] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.
Claims
1. A method of extracting technical problems in patent documents, characterized by, include: Obtain the patent content and background technology sections of the target patent document; Technical problems are extracted from the patent content or the background technology section to obtain technical problem extraction results. Specifically, a pre-built technical problem extraction model is used to extract the technical problems from the patent content section. This technical problem extraction model is constructed based on the semantic characteristics of the patent content section. The step of extracting technical problems from the patent content or the background technology section to obtain technical problem extraction results includes: The first sentence extraction result is obtained from the patent content using the aforementioned technical problem extraction model. Determine whether there is a statement corresponding to the technical problem in the first statement extraction result, and obtain the first determination result; In response to determining that the first judgment result is a statement corresponding to the technical problem, the technical problem extraction result is generated based on the first statement extraction result; In response to determining that the first judgment result is that there is no statement corresponding to the technical problem, a background technology extraction model is used to extract the technical problem from the background technology part to obtain a second statement extraction result. The technical problem extraction result is generated based on the second statement extraction result. The background technology extraction model is constructed based on the characteristics of the text data in the background technology part.
2. The method of claim 1, wherein, The technical problem extraction model includes a neural network model; The technical problem extraction model is used to extract a first feature statement from the patent content portion, resulting in a first statement extraction result, including: Obtain the first separator in the patent content portion, and extract multiple first statements in the patent content portion according to the order of the first separator; A predetermined number of the first statements from the plurality of first statements are used as input to the neural network model; The neural network model is used to classify the plurality of first statements to obtain classification results, wherein the classification results include: first problem feature statements and non-first problem feature statements, wherein the first problem feature statements are the statements required to extract the technical problem; The first problem-feature statement is used as the result of the first statement extraction.
3. The method of claim 1, wherein, The technical problem is extracted from the background technology section using a background technology extraction model, resulting in the second statement extraction result, including: The background technology extraction model is used to extract the second problem feature statement from the background technology part, and the second problem feature statement is matched to obtain the third statement extraction result. Determine whether the third statement extraction result contains a statement corresponding to the technical problem, and obtain a second determination result; In response to determining that the second judgment result is a statement corresponding to the technical problem, the third statement extraction result is used as the second statement extraction result; In response to determining that the second judgment result is that there is no statement corresponding to the technical problem, regular expression matching is performed on the statements in the background technology section to obtain the second statement extraction result.
4. The method of claim 3, wherein, The process involves using the background technology extraction model to extract the second problem feature statements from the background technology section, and performing matching processing on the second problem feature statements to obtain the third statement extraction result, including: Obtain the second delimiter in the background technology section, and extract multiple second statements from the background technology section based on the second delimiter; Replace the second delimiter with the start marker and the delimiter; The second statement is encoded using the background extraction model based on the start marker and the separator marker to obtain a sentence vector that corresponds one-to-one with the second statement. The sentence vector is scored using a squeezing function to obtain the scoring results; The second statement whose score is greater than the predetermined score is taken as the second problem feature statement; The second problem feature statement is matched based on the serial number in the background section or a pre-set keyword or a first regular expression constructed based on the keyword to obtain the third statement extraction result.
5. The method of claim 4, wherein, The step of performing regular expression matching on the statements in the background technology section to obtain the second statement extraction result includes: Obtain the feature words corresponding to the background technology section; Construct a second regular expression based on the combination of the feature words; The second statement is extracted by matching the multiple second statements according to the second regular expression.
6. The method according to claim 1, characterized in that, The step of generating the technical problem extraction result based on the first statement extraction result includes: The entity recognition model obtained through pre-training is used to extract entities from the first statement extraction result to obtain the first unit word corresponding to the technical problem; The first phrase corresponding to the technical problem is generated based on the position of the first unit word in the extraction result of the first statement; The first statement extraction result, the first unit word, and the first phrase are combined as the technical problem extraction result.
7. The method according to claim 1, characterized in that, The step of generating the technical problem extraction result based on the extraction result of the second statement includes: The entity recognition model obtained through pre-training is used to extract entities from the extraction result of the second statement to obtain the second unit word corresponding to the technical problem; A second phrase corresponding to the technical problem is generated based on the position of the second unit word in the extraction result of the second statement; The extraction results of the second statement, the second unit word, and the second phrase are combined as the extraction results of the technical problem.
8. The method according to claim 6 or 7, characterized in that, The training process of the entity recognition model includes: Obtain the training set corresponding to the target patent document; An initial entity recognition model is constructed based on a bidirectional coding model and a probabilistic graphical model, wherein the initial entity recognition model includes a bidirectional coding layer and a probabilistic layer; Set the first learning rate of the bidirectional coding layer to a first preset value; The second learning rate of the probability layer is set to a second preset value, wherein the order of magnitude of the first preset value is smaller than the order of magnitude of the second preset value; The initial entity recognition model is trained based on the first learning rate, the second learning rate, and the training set, and the trained initial entity recognition model is used as the entity recognition model.
9. A device for extracting technical problems from patent documents, characterized in that, include: The acquisition module is configured to acquire the patent content and background technology sections of the target patent document; The extraction module is configured to extract technical problems from the patent content section or the background technology section to obtain technical problem extraction results. Specifically, a pre-built technical problem extraction model is used to extract the technical problems from the patent content section. This technical problem extraction model is constructed based on the semantic characteristics of the patent content section. The extraction module includes: The first extraction unit is configured to extract a first statement extraction result from the patent content portion using the technical problem extraction model. The first judgment unit is configured to determine whether there is a statement corresponding to the technical problem in the first statement extraction result, and obtain a first judgment result; The first generation unit is configured to generate the technical problem extraction result based on the first statement extraction result in response to determining that the first judgment result is a statement corresponding to the technical problem. The second extraction submodule is configured to, in response to determining that the first judgment result is that there is no statement corresponding to the technical problem, use a background technology extraction model to extract the technical problem from the background technology part, obtain a second statement extraction result, and generate the technical problem extraction result based on the second statement extraction result, wherein the background technology extraction model is constructed based on the characteristics of the text data in the background technology part.
10. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor, when executing the computer program, implements the method as described in any one of claims 1 to 8.
11. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores computer instructions for causing the computer to perform the method of any one of claims 1 to 8.
Citation Information
Patent Citations
Method and device for generating patent summary information, electronic equipment and medium
CN111046168A
Technical problem information mining method and device and storage medium
CN114706974A
