Patent risk assessment method based on large language model

Through the patent risk assessment method based on the large language model, the deep learning model is used to semantically encode the image and text data of patent documents, which solves the accuracy problem of patent similarity evaluation in the existing technology and achieves accurate similarity of patent documents. Degree calculations and efficient workflow.

CN118569653APending Publication Date: 2024-08-30SHENZHEN AIMALL TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411053154.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing technology has low accuracy in patent similarity evaluation. Keyword matching is weak in judging synonyms and synonyms. Statistical features ignore contextual semantics. Syntactic analysis performs poorly in processing long texts and complex sentences, leading to misjudgments and analysis. deviation.

Method used

A patent risk assessment method based on a large language model is adopted to extract image and non-image information from patent documents, encode image and text data, build a patent database, and use deep learning models for semantic encoding and feature extraction to achieve the integration of the documents to be analyzed with The similarity of documents in the patent database is accurately calculated.

Benefits of technology

It improves the accuracy of patent similarity evaluation, significantly improves work efficiency, reduces the burden on patent examiners and researchers, and provides support for patent examination and technological innovation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569653A
    Figure CN118569653A
Patent Text Reader

Abstract

The invention discloses a patent risk assessment method based on a large language model, and the method comprises the steps: extracting the picture information and non-picture information of a plurality of patent files, extracting the image data of the patent files from the picture information of each patent file, and extracting the text data of the patent files from the non-picture information of each patent file; encoding the character data and the image data of each patent file, and constructing a patent library by using the encoded character data and the encoded image data; and performing comparative analysis on the to-be-analyzed files based on the patent library to obtain a similarity result of the to-be-analyzed files. According to the method, the accuracy of patent similarity evaluation can be improved, the working efficiency can be remarkably improved, the burden of patent researchers and researchers is relieved, and powerful support is provided for patent review and technical innovation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a patent risk assessment method based on a large language model. Background Art

[0002] With the rapid development of global science and technology, the number of patent applications has increased year by year. The huge patent document library has brought great challenges to patent examiners, researchers and enterprises. In the patent examination process, accurately and efficiently judging the similarity between patents is a key link.

[0003] At present, the evaluation of patent similarity mainly relies on traditional text matching algorithms, which are usually based on methods such as keyword matching, statistical features and syntactic analysis. However, these methods have the following problems: the limitations of keyword matching. The keyword matching method has weak judgment ability on synonyms, near-synonyms and semantic similarity, and it is easy to miss potential related patents. The insufficiency of statistical features. The statistical feature method mainly relies on statistical data such as word frequency and inverse document frequency in the literature, ignoring the deep semantic relationship between contexts. The complexity of syntactic analysis. The syntactic analysis method performs poorly when processing long texts, complex sentence structures and cross-sentence relationships, and is prone to analysis bias and misjudgment. In summary, the accuracy of the current evaluation and analysis of patent similarity is still lacking. Summary of the invention

[0004] The purpose of this application is to provide a patent risk assessment method based on a large language model to solve the technical problem that the traditional method in the prior art has low accuracy in evaluating and analyzing the similarity of patents. The many technical effects that can be produced by the preferred technical solution among the many technical solutions provided in this application are described in detail below.

[0005] To achieve the above objectives, this application provides the following technical solutions: The first aspect of the present application provides a patent risk assessment method based on a large language model, including: extracting image information and non-image information of multiple patent documents, extracting image data of the patent document from the image information of each of the patent documents, and extracting text data of the patent document from the non-image information of each of the patent documents; encoding the text data and the image data of each of the patent documents respectively, and constructing a patent library using the encoded text data and the encoded image data; performing comparative analysis on the files to be analyzed based on the patent library to obtain similarity results of the files to be analyzed.

[0006] In some embodiments, the non-image information includes table information; extracting the text data of the patent document from the table information includes: converting the extracted table information into HTML structure information; performing prompt design on the HTML structure information to obtain a text description, and the text description serves as the text data of the patent document.

[0007] In some embodiments, the non-image information also includes specific information; extracting the text data of the patent document from the specific information includes: obtaining the specific information of the patent document by means of regularized extraction, and using the obtained specific information as the text data of the patent document; wherein the regularized extraction includes: defining multiple rules for the specific information; and extracting the specific information based on the set rules.

[0008] In some embodiments, the non-image information also includes text information; extracting the text data of the patent document from the text information includes: segmenting the text information to obtain multiple text blocks; performing at least one semantic compression mapping on each of the text blocks to obtain compressed information, and the compressed information serves as the text data of the patent document.

[0009] In some embodiments, extracting the image data of the patent document from the image information of each of the patent documents includes: identifying the format of the image information; acquiring the identified image information of the patent document by combining OCR technology with an image processing module, and the image processing module includes at least one of ImageMagick, OpenCV and Pillow.

[0010] In some embodiments, the text data and the image data of each of the patent documents are encoded respectively, and a patent library is constructed using the encoded text data and the encoded image data, including: encoding the text data and the image data using an embedding model to obtain multiple text vectors and multiple image vectors, and using the multiple text vectors and the multiple image vectors as patent information of the corresponding patent documents stored in the patent library.

[0011] In some embodiments, the file to be analyzed includes text type information; the text type information is compared and analyzed based on the patent library to obtain the similarity result of the file to be analyzed, including: extracting the patent information as secondary relevant information through coarse sorting; processing the secondary relevant information through fine sorting to obtain main relevant information; inputting the main relevant information and the text type information into a large language model together to obtain the similarity result of the text type information of the file to be analyzed.

[0012] In some embodiments, it includes: using a dictionary or a knowledge graph to expand keywords in the text type information to obtain expanded text type information, and performing comparative analysis on the expanded text type information based on the patent library.

[0013] In some embodiments, the file to be analyzed includes picture type information; the picture type information is compared and analyzed based on the patent library to obtain a similarity result of the file to be analyzed, including: performing a similarity search on the picture type information through the patent library to obtain multiple related pictures; inputting the picture type information and at least one of the related pictures into a multimodal language model for comparison and analysis to obtain a similarity result of the picture type information of the file to be analyzed.

[0014] The second aspect of the present application provides a processing device, comprising: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors are used to execute the one or more computer programs stored in the memory, so that the one or more processors execute the patent risk assessment method based on the large language model as described above.

[0015] Implementing one of the above technical solutions of this application has the following advantages or beneficial effects: In this application, the ability of deep learning models to understand text can be fully utilized, and by semantically encoding and extracting features from the text data and image data of multiple patent documents, it is possible to accurately calculate the similarity between the document to be analyzed and the patent documents in the patent library, while solving the limitations of single information type processing. In this case, not only can the accuracy of patent similarity evaluation be improved, but also work efficiency can be significantly improved, reducing the burden on patent examiners and researchers, and providing strong support for patent examination and technological innovation. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. It is obvious that the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings: Figure 1 It is a flowchart of a patent risk assessment method based on a large language model according to an embodiment of the present application; Figure 2 It is a schematic diagram of the architecture of an embodiment of the present application; Figure 3 It is a structural block diagram of the processing device of an embodiment of the present application.

[0017] In the figure: 1. processing device; 10. memory; 11. processor. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solutions and advantages of the present application clearer, the various exemplary embodiments to be described below will refer to the corresponding drawings, which constitute a part of the exemplary embodiments, wherein various exemplary embodiments that may be used to implement the present application are described. Unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the present disclosure. It should be understood that they are only examples of processes, methods, and devices that are consistent with some aspects disclosed in the present application as detailed in the attached claims, and other embodiments may also be used, or the embodiments listed herein may be modified in structure and function without departing from the scope and essence of the present application.

[0019] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", etc. indicate the orientation or positional relationship based on the drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the elements referred to must have a specific orientation, be constructed and operated in a specific orientation. The terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The term "multiple" means two or more. The terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, an integral connection, a mechanical connection, an electrical connection, a communication connection, a direct connection, an indirect connection through an intermediate medium, and can be the internal connection of two elements or the interaction relationship between two elements. The term "and / or" includes any and all combinations of one or more related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances.

[0020] In order to illustrate the technical solution described in the present application, a specific embodiment is provided below, and only the parts related to the embodiment of the present application are shown.

[0021] like Figure 1 As shown, the present application provides a patent risk assessment method based on a large language model, including: S1. Extracting image information and non-image information of multiple patent documents, extracting image data of the patent document from the image information of each patent document, and extracting text data of the patent document from the non-image information of each patent document.

[0022] In some embodiments, multiple patent documents may be obtained, and the patent documents may be in the form of PDF (Portable Document Format) or Word (word processing software). Patent documents may refer to patent application documents provided by patent websites or users. Non-image information may include table information, text information, image information, and specific information.

[0023] In some embodiments, extracting text data of patent documents from table information may include: converting the extracted table information into HTML (HyperText Markup Language) structure information, thereby making use of the features provided by HTML to enhance the expression, organization and interaction capabilities of the table information.

[0024] In some embodiments, the tabular information of the patent document can be obtained. Different methods can be selected based on the format of the patent document to extract the tabular information of the patent document. For example, if the format of the patent document is PDF, the tabular information of the patent document can be extracted through the PyPDF2 library or the Tabula library; if the format of the patent document is Word, the tabular information of the patent document can be extracted through programming libraries, macros and scripts. The PyPDF2 library is a Python library for reading and writing PDF files. The Tabula library is a Java library for extracting tabular data from PDF files.

[0025] In some embodiments, HTML structural information may refer to text information represented by an HTML structure. In some embodiments, table information may be converted to HTML structural information by OCR technology; wherein OCR (Optical Character Recognition) technology refers to a technology that converts text images into editable text formats by scanning and recognizing them. In other embodiments, table information may be converted to HTML structural information by layout analysis recognition technology and table structure recognition technology (TSR). In some embodiments, table information may be converted to HTML structural information by combining OCR technology with the RagFlow (flow layout framework) framework. The RagFlow framework may convert table information into HTML structural information through built-in OCR technology, layout analysis recognition technology, and table structure recognition technology.

[0026] In some embodiments, a prompt design can be performed on the HTML structure information to obtain a text description. The prompt design can guide the large language model to generate specific outputs based on the text description. In this case, it is convenient for the large language model to analyze the table information, which can significantly improve the response quality and accuracy of the large language model. The text description can be used as the text data of the patent document.

[0027] In some embodiments, extracting text data of a patent document from specific information may include: obtaining specific information of the patent document by means of rule-based extraction, and using the obtained specific information as text data of the patent document. Rule-based extraction may include: defining multiple rules for specific information; and extracting specific information based on the set rules.

[0028] In some embodiments, specific information of a patent document may be obtained, and the specific information may be at least one of patent name information, patent abstract information, and claim information of the patent document.

[0029] In some embodiments, rules corresponding to patent name information, rules corresponding to patent summary information, and rules corresponding to claim information can be pre-defined; multiple rules can be different and can be adjusted based on actual needs.

[0030] In some embodiments, the rules may include format features, structural features, and content features. Format features may refer to the size of the font and whether the font is bold; structural features may refer to the position of specific information in the patent document or the special format of the lines before and after the specific information, such as blank lines; content features may refer to the keywords contained in the specific information, etc.

[0031] In some embodiments, specific information may be extracted based on set rules. At least one of the above rules may be adjusted or optimized according to the quality of the extraction result.

[0032] In some embodiments, extracting text data of a patent document from text information may include: segmenting the text information to obtain a plurality of text blocks.

[0033] In some embodiments, text information of a patent document may be obtained. The text information may include all text information of the patent document. The text information may be processed by combining a MapReduce model with a large language model.

[0034] In some embodiments, the text information can be segmented and processed by a MapReduce model to obtain multiple text blocks. The MapReduce model can be used for large-scale data sets, such as parallel computing of text information. In some embodiments, data cleaning can be performed on multiple text blocks, such as removing irrelevant characters, segmenting or tokenizing in the text blocks.

[0035] In some embodiments, semantic compression mapping may be performed on each text block at least once to obtain compression information, which may be used as text data of the patent document.

[0036] In some embodiments, a large language model can be used to perform semantic compression mapping on each text block. In this case, repeated or less relevant verbal descriptions in the text block can be filtered out, thereby obtaining core semantic information.

[0037] In some embodiments, a large language model can be used to perform at least one semantic compression mapping on each text block to obtain compressed information. In this case, the long text and complex sentence structure information in the text information can be refined into core semantic representations, which can break through the token number limit of the large language model.

[0038] In some embodiments, the semantic compression mapping may include dimensionality reduction, clustering, and mapping. Dimensionality reduction may refer to reducing the dimension of the semantic representation of each text block using dimensionality reduction techniques such as PCA (Principal Component Analysis), t-SNE (t-Distributed Stochastic Neighbor Embedding), or autoencoders; clustering may refer to clustering the semantic representation after dimensionality reduction to discover the theme or key concept in each text block; mapping may refer to mapping the semantic representation of each text block to a feature space, where the point distance in the feature space can reflect the similarity of the original semantics.

[0039] In some embodiments, text information that has undergone at least one semantic compression mapping can be used as text data of a patent document.

[0040] In some embodiments, extracting the image data of the patent document from the image information of each patent document may include: identifying the format of the image information. In some embodiments, the image information may refer to multiple images in the patent document. In some embodiments, the formats of multiple images in the patent document may be identified, and then the images after successful identification may be extracted. In this way, it is possible to avoid extracting useless image information and achieve accurate extraction.

[0041] In some embodiments, the image information of the identified patent document can be obtained by OCR technology. The image information of the identified patent document can be obtained by combining OCR technology with an image processing module. The image processing module can include at least one of ImageMagick, OpenCV (Open Source Computer Vision Library) and Pillow.

[0042] In some embodiments, the extracted picture information can be used as image data of the patent document.

[0043] S2. Encode the text data and image data of each patent document respectively, and construct a patent library using the encoded text data and the encoded image data.

[0044] In some embodiments, the text data and image data of each patent document are encoded respectively, and the encoded text data and the encoded image data are used to construct a patent library, including: encoding the text data and the image data using an embedding model to obtain multiple text vectors and multiple image vectors, and using the multiple text vectors and multiple image vectors as patent information of the corresponding patent document stored in the patent library. Figure 2 The high-dimensional vector library shown is a patent library. The patent library can store patent information of multiple patent documents. The patent information of each patent document can include multiple corresponding text vectors and multiple corresponding image vectors.

[0045] In some embodiments, the text data may be encoded to obtain a plurality of text vectors. In some embodiments, the text vector may be an embedding vector. In the process of encoding the text data, the text data may be converted into a vector representation in a high-dimensional space, i.e., an embedding vector. In some embodiments, the text data may be encoded using an embedding model, which may include at least one of a Word2Vec model (word vector model), a GloVe model (global vector model), FastText (fast text), BERT (bidirectional encoder representation), ChatMindAi-3, ELMo (dependency language model), Flair (a library providing language-specific modifier embeddings), and XLM (cross-language model).

[0046] In some embodiments, the text data may be encoded using a multilingual embedding model, which can solve the language bias problem in the multilingual patent text similarity calculation, thereby improving practicality and generalization.

[0047] In some embodiments, pixel points of image data may be obtained. Image data may be preprocessed based on pixel points. Preprocessing may include normalization, scaling, and cropping. By preprocessing image data, it is possible to ensure that data input to the embedding model is in a uniform format and suitable for processing by the embedding model.

[0048] In some embodiments, the image data may be resized and converted to a color space based on pixels. On the one hand, the embedding model usually requires a fixed-size input, and by obtaining pixels, the image data can be resized to meet the requirements of the embedding model; on the other hand, the embedding model may require a specific color space, such as grayscale or RGB (red, green, blue color mode) input, and by processing pixels, the image data can be converted to the required color space.

[0049] In some embodiments, the image data may be encoded in high-dimensional vector form using an embedding model to obtain multiple image vectors. The image vector may be an embedding vector. The embedding model may be an optimal image embedding model obtained through multiple rounds of experiments on image information of patent documents. Thus, by using the embedding model obtained through multiple rounds of practical tests, the image distortion during the decoding process can be reduced.

[0050] In some embodiments, the embedding model can encode the image data through a neural network structure. The embedding model can be a CNN (Convolutional Neural Network), an autoencoder, a Transformer, and a SOTA (State Of The Art) model, such as at least one of ResNet (Residual Network) and EfficientNet (Efficient Network). The neural network structure may include a convolutional layer, a pooling layer, and a fully connected layer, wherein the convolutional layer can extract local features of the image data, the pooling layer can reduce the dimension of the image data, and the fully connected layer can convert the learned features into an embedded vector of a fixed size.

[0051] In some embodiments, the embedding model may also reduce the dimension of the image vector through dimensionality reduction techniques such as principal component analysis and output multiple image vectors.

[0052] In some embodiments, multiple text vectors and multiple image vectors can be used as patent information of a patent document, that is, one patent information can include multiple text vectors and multiple image vectors corresponding to one patent document. The patent information of a patent document has a corresponding relationship with the text vector and the image vector. In some embodiments, the patent information of multiple patent documents can be stored in a patent library, that is, the patent library can store the patent information of at least one patent document.

[0053] To summarize, this application, by performing the above-mentioned processing on patent documents, obtains patent information and stores it in a patent library, thereby enabling partitioned and block-based vectorized storage of specific information, image information, table information, and text information of the entire patent document, that is, enabling fine-grained information storage.

[0054] S3. Comparative analysis can be performed on the files to be analyzed based on the patent library to obtain similarity results of the files to be analyzed.

[0055] In some embodiments, the file to be analyzed may refer to a patent file provided by a user or downloaded from a patent website. Multiple files to be analyzed may be compared with patent information in a patent library to obtain similarity results of the files to be analyzed. The similarity results may be used to evaluate the degree of similarity between the files to be analyzed and the patent files in the patent library.

[0056] In some embodiments, the file to be analyzed may include text type information and image type information. In some embodiments, the file to be analyzed may be a picture, any text information, or one of the patent documents. In this case, the information input, that is, the file to be analyzed, can be more diversified, that is, it can support multiple types of information input. In this case, no matter what is input is a picture, a piece of arbitrary text information, or a file (such as doc (document file format), pdf, etc.), the most similar patent information can be retrieved from the patent library.

[0057] In some embodiments, performing comparative analysis on text type information based on a patent library to obtain similarity results of files to be analyzed may include: extracting patent information of patent files from the patent library as secondary related information through coarse sorting; processing the secondary related information through fine sorting to obtain primary related information; inputting the primary related information and text type information into a large language model together to obtain similarity results of the text type information of files to be analyzed.

[0058] In some embodiments, extracting patent information of patent documents from a patent library as secondary relevant information by rough sorting may include: calculating the cosine similarity between text type information and multiple text vectors; and obtaining patent information of patent documents as secondary relevant information based on multiple cosine similarities and preset thresholds. If the cosine similarity is greater than or equal to the preset threshold, it can be considered that the patent document corresponding to the text vector has a high similarity with the text type information, and therefore the patent information corresponding to the cosine similarity greater than or equal to the preset threshold can be obtained as secondary relevant information. In some embodiments, the patent information of the patent document with the highest similarity can be obtained as secondary relevant information.

[0059] In some embodiments, the secondary related information may be reversely sorted, thereby being able to be sorted according to the similarity of the secondary related information.

[0060] In some embodiments, processing the secondary related information by fine sorting to obtain the primary related information may include: re-sorting the secondary related information using a reranker sorting model. Thus, the reliability of the patent information retrieved from the patent library can be ensured. In some embodiments, the reranker sorting model may be a reranker sorting model obtained after training based on a large amount of semantic information. The reranker sorting model may be at least one of a RankNet (ranking network), a DRMM (Deep Rank Mercer Metric), a DSSM (Deep SemanticSimilarity Model), a BM25 (Best Matching 25) model, and a TF-IDF (Term Frequency-Inverse Document Frequency) model.

[0061] In some embodiments, after the main related information and the text type information are prompted, a design text can be obtained; the design text is input into the large language model to obtain the similarity result of the text type information of the file to be analyzed. In this case, the prompt design can enable the large language model to more effectively compare the main related information and the text type information, reduce misunderstandings and errors, and improve accuracy and efficiency.

[0062] In some embodiments, performing comparative analysis on the image type information based on the patent library to obtain the similarity results of the files to be analyzed may include: performing similarity retrieval on the image type information through the patent library to obtain multiple related images. Related images may refer to images with greater similarity to the image type information. In some embodiments, the LightGlue (deep matcher) algorithm may be used for similarity retrieval. In some embodiments, at least one of the SuperPoint algorithm (a self-supervised feature point detection algorithm based on deep learning), the ORB (Oriented FAST and Rotated BRIEF, fast feature point extraction and description) algorithm, the SIFT (Scale Invariant Feature Transform, scale invariant feature transform) algorithm, and the SURF (Speeded Up Robust Features, fast robust features) algorithm may also be used for similarity retrieval.

[0063] In some embodiments, the image type information and at least one related image can be input into a multimodal language model for comparative analysis to obtain a similarity result of the image type information of the file to be analyzed. The multimodal language model can include at least one of the ChatMindAi-4V model (Generative Pretrained Transformer), Gemini Ultra model, mPLUG-Owl model, EMU3 (native multimodal world model) and LLaVA (Large Language and Vision Assistant).

[0064] In some embodiments, the keywords in the text type information can be expanded using a dictionary or knowledge graph to obtain expanded text type information, and the expanded text type information can be compared and analyzed based on the patent library. The expanded scope can include at least one of synonyms, near synonyms, and related words.

[0065] In some embodiments, the cosine similarity between the expanded text type information and multiple text vectors can be calculated. In some embodiments, the main related information and the expanded text type information can be input into a large language model to obtain the similarity result of the text type information. In this case, the recognition rate of synonyms and related words can be improved, and the coverage of the search can be increased.

[0066] In some embodiments, a semantic network of the file to be analyzed can be constructed, and the similarity between the file to be analyzed and the patent documents in the patent library can be calculated using the weights of the nodes and edges to obtain the similarity results of the file to be analyzed. In this case, the semantic relationship between the file to be analyzed and the patent documents in the patent library can be better captured, which is more suitable for similarity calculation of files to be analyzed with complex text structures.

[0067] In some embodiments, the weight of each word in the document to be analyzed can be adjusted using the TF-IDF algorithm, context information, word embedding technology, or any combination thereof to obtain adjusted text type information, and then the text type information can be compared and analyzed based on the patent library. In this way, the efficiency of the TF-IDF algorithm can be utilized to improve the ability to capture semantic information.

[0068] In this application, the ability of deep learning models to understand text can be fully utilized. By semantically encoding and extracting features from text data and image data of multiple patent documents, the similarity between the document to be analyzed and the patent documents in the patent library can be accurately calculated, while the limitations of single information type processing can be solved. In this case, not only can the accuracy of patent similarity evaluation be improved, but also work efficiency can be significantly improved, reducing the burden on patent examiners and researchers, and providing strong support for patent examination and technological innovation.

[0069] Those skilled in the art can understand that all or part of the features / steps of the above-mentioned method embodiments can be implemented by methods, data processing systems or computer programs, and these features can be implemented without hardware, entirely by software, or by a combination of hardware and software. The aforementioned computer program can be stored in one or more computer-readable storage media, and the storage medium stores the computer program. When the computer program is executed (such as by a processor), the steps of the above-mentioned patent risk assessment method embodiment based on a large language model are executed.

[0070] The aforementioned storage media that can store program codes include: static hard disks, solid-state hard disks, random access memories (SRAM), electrically erasable programmable read-only memories (EEPROM), erasable programmable read-only memories (EPROM), programmable read-only memories (PROM), read-only memories (ROM), optical storage devices, magnetic storage devices, flash memories, magnetic disks or optical disks and / or combinations of the above devices, that is, they can be implemented by any type of volatile or non-volatile storage devices or combinations thereof.

[0071] The present application also provides an embodiment of a processing device 1, comprising one or more processors 11 and a memory 10; wherein the memory 10 is used to store one or more computer programs, and the one or more processors 11 are used to execute one or more computer programs stored in the memory 10, so that the processor 11 executes the features / steps of the above-mentioned embodiment of the patent risk assessment method based on a large language model.

[0072] The above is only the preferred embodiment of the present application. Those skilled in the art will appreciate that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present application. In addition, under the guidance of the present application, these features and embodiments may be modified to adapt to specific circumstances and materials without departing from the spirit and scope of the present application. Therefore, the present application is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of the present application belong to the protection scope of the present application.

Claims

1. A patent risk assessment method based on a large language model, It is characterized in that include: Extracting image information and non-image information of multiple patent documents, extracting image data of the patent document from the image information of each patent document, and extracting text data of the patent document from the non-image information of each patent document; encoding the text data and the image data of each patent document respectively, and constructing a patent library using the encoded text data and the encoded image data; A comparative analysis is performed on the files to be analyzed based on the patent library to obtain similarity results of the files to be analyzed.

2. According to the patent risk assessment method based on the large language model according to claim 1, It is characterized in that The non-image information includes table information; extracting the text data of the patent document from the table information includes: converting the extracted table information into HTML structure information; performing prompt design on the HTML structure information to obtain a text description, and the text description is used as the text data of the patent document.

3. According to the patent risk assessment method based on the large language model according to claim 1, It is characterized in that The non-image information also includes specific information; extracting the text data of the patent document from the specific information includes: obtaining the specific information of the patent document by means of regularized extraction, and using the obtained specific information as the text data of the patent document; wherein the regularized extraction includes: defining multiple rules for the specific information; and extracting the specific information based on the set rules.

4. According to the patent risk assessment method based on the large language model according to claim 1, It is characterized in that The non-picture information also includes text information; Extracting the text data of the patent document from the text information includes: segmenting the text information to obtain a plurality of text blocks; Perform semantic compression mapping on each of the text blocks at least once to obtain compression information, and the compression information serves as the text data of the patent document.

5. According to the patent risk assessment method based on the large language model according to claim 1, It is characterized in that The method of extracting the image data of the patent document from the image information of each patent document includes: identifying the format of the image information; acquiring the identified image information of the patent document by combining OCR technology with an image processing module, and the image processing module includes at least one of ImageMagick, OpenCV and Pillow.

6. According to the patent risk assessment method based on the large language model according to claim 1, It is characterized in that The text data and the image data of each patent document are encoded respectively, and a patent library is constructed using the encoded text data and the encoded image data, including: encoding the text data and the image data using an embedding model to obtain multiple text vectors and multiple image vectors, and using the multiple text vectors and the multiple image vectors as patent information of the corresponding patent document stored in the patent library.

7. According to the patent risk assessment method based on the large language model according to claim 6, It is characterized in that The file to be analyzed includes text type information; The text type information is compared and analyzed based on the patent library to obtain the similarity result of the file to be analyzed, including: extracting the patent information as secondary relevant information through rough sorting; processing the secondary relevant information through fine sorting to obtain main relevant information; inputting the main relevant information and the text type information into a large language model together to obtain the similarity result of the text type information of the file to be analyzed.

8. According to the patent risk assessment method based on the large language model according to claim 7, It is characterized in that include: Keywords in the text type information are expanded using a dictionary or a knowledge graph to obtain expanded text type information, and a comparative analysis is performed on the expanded text type information based on the patent library.

9. According to the patent risk assessment method based on large language model according to claim 6, It is characterized in that The file to be analyzed includes picture type information; Comparatively analyzing the image type information based on the patent database to obtain a similarity result of the file to be analyzed, including: performing a similarity search on the image type information through the patent database to obtain a plurality of related images; The picture type information and at least one of the related pictures are input into a multimodal language model for comparative analysis to obtain a similarity result of the picture type information of the file to be analyzed.

10. A processing device, It is characterized in that include: one or more processors; A memory for storing one or more computer programs, and one or more processors for executing one or more computer programs stored in the memory, so that one or more processors execute the patent risk assessment method based on a large language model as described in any one of claims 1-9.

Citation Information

Patent Citations

  • Text data retrieval method and device, electronic equipment and storage medium

    CN117435696A

  • Information retrieval method and device based on text extension, electronic equipment and medium

    CN117992573A

  • Conversational image retrieval method and device based on large language model

    CN118051635A

  • File layout analysis and picture information extraction method for big language model RAG questions and answers

    CN118364785A