Method and system for patent classification

By expanding the labeled data set to train the classification model, and using the classification and clustering results to filter unlabeled data for expansion, the problem of insufficient labeled data in traditional methods is solved, and patent classification with high accuracy and high generalization ability is achieved. Model.

CN118690246APending Publication Date: 2024-09-24INST OF MICROELECTRONICS CHINESE ACAD OF SCI LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410861528.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Traditional patent classification methods face the problems of insufficient annotated data and low classification accuracy. Especially in specific fields or emerging fields, it is difficult to obtain sufficient annotated data, which limits the learning ability and generalization ability of the model.

Method used

The classification model is trained by performing data expansion on the labeled data set, using the model to classify the unlabeled data set, determining the data to be supplemented based on the classification results and clustering results, performing data expansion and feeding it back to the labeled data set, and iterative training to Improve model performance.

Benefits of technology

It achieves the acquisition of a highly accurate classification model with a small amount of labeled data, makes full use of unlabeled data, and improves the model's generalization ability and classification accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690246A
    Figure CN118690246A
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, and discloses a patent classification method and system, and the method comprises the steps: carrying out the data expansion of a labeled data set, and training a classification model, and obtaining a first classification model; using a first classification model to classify the label-free data set, and taking all label-free data of which the confidence is greater than a preset confidence threshold in a classification result as first data to be supplemented; determining second to-be-supplemented data according to the classification result, the first to-be-supplemented data and the clustering result of the label-free data set; and expanding the second to-be-supplemented data, adding the expanded second to-be-supplemented data into the expanded labeled data set, and training the first classification model to obtain a trained classification model. According to the method and the device, the high-quality label-free data can be obtained, the expanded data is added to the label data set to train the first classification model, so that the quantity of the high-quality label-free data is used for model training, and the label-free patent data is fully utilized to obtain the classification model with high accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method and system for patent classification. Background Art

[0002] In today's era of information explosion, patent texts, as an important form of intellectual property, play a key role. Patent classification is of great significance in helping patent retrieval, knowledge management and technological innovation. However, due to the complexity and diversity of patent texts, traditional patent classification methods based on rules or manual annotation often face challenges such as insufficient annotation data and low classification accuracy. Moreover, in the field of patent classification, patent texts usually have complex structures and specialized terminology, and models need to be trained to learn the features of the text to achieve accurate classification. However, in practical applications, patent text data is usually limited, and annotating patent data is a time-consuming and expensive task. Especially for patent texts in some specific or emerging fields, it is difficult to obtain sufficient annotated data to support the training of supervised learning methods, making it difficult for the model to accurately capture the characteristics and rules of the patent text, thereby limiting the learning and generalization capabilities of the model.

[0003] In summary, there is a need to provide a method and system for patent classification that can fully utilize unlabeled patent data and has high accuracy. Summary of the invention

[0004] To solve the above problems, this application proposes a method for patent classification, including:

[0005] After data expansion is performed on the labeled data set, a classification model is trained to obtain a first classification model;

[0006] Classify the unlabeled data set using the first classification model, and use all unlabeled data in the classification results whose confidence is greater than a preset confidence threshold as first data to be supplemented;

[0007] Determining second data to be supplemented according to the classification result, the first data to be supplemented, and a clustering result of the unlabeled data set;

[0008] The second data to be supplemented is expanded and added to the expanded labeled data set, and the first classification model is trained to obtain a trained classification model.

[0009] Preferably, before training the classification model after data expansion of the labeled data set to obtain the first classification model, the method further includes:

[0010] Obtain patent texts and obtain patent text datasets;

[0011] According to the labels in the patent text, the patent text dataset is divided into a labeled dataset and an unlabeled dataset; wherein the labeled data includes the patent text and sample labels.

[0012] Preferably, the training of the classification model after data expansion of the labeled data set to obtain the first classification model includes:

[0013] Performing data enhancement on the labeled data in the labeled data set to obtain enhanced labeled data;

[0014] Merging the enhanced labeled data with the labeled data set to obtain an expanded labeled data set;

[0015] The classification model to be trained is trained using the expanded labeled data set to obtain a first classification model.

[0016] Preferably, the using the first classification model to classify the unlabeled data set and taking all unlabeled data in the classification results with a confidence greater than a preset confidence threshold as the first data to be supplemented includes:

[0017] Classify the unlabeled data set using the first classification model to obtain a classification result for each unlabeled data in the unlabeled data set;

[0018] Determine the unlabeled data whose confidence of all the classification results is greater than a preset confidence threshold, to obtain a plurality of unlabeled data;

[0019] The plurality of unlabeled data are used as first data to be supplemented.

[0020] Preferably, before determining the second data to be supplemented according to the classification result, the first data to be supplemented and the clustering result of the unlabeled data set, the method further includes:

[0021] Perform feature extraction on all unlabeled data in the unlabeled data set to obtain a feature vector for each unlabeled data;

[0022] All the feature vectors are clustered to obtain multiple clustering results of the unlabeled data set.

[0023] Preferably, the determining the second data to be supplemented according to the classification result, the first data to be supplemented and the clustering result of the unlabeled data set includes:

[0024] Obtain the clustering results corresponding to all the unlabeled data in the first data to be supplemented, and obtain multiple first clustering results;

[0025] According to the classification result, determining the classification result ratio of all the unlabeled data corresponding to each clustering result in the multiple first clustering results, and obtaining the classification result ratio corresponding to each clustering result;

[0026] Determine the first data to be supplemented corresponding to the first clustering result whose classification result proportion exceeds a preset proportion threshold, and obtain the second data to be supplemented.

[0027] Preferably, determining the classification result proportion of all the unlabeled data corresponding to each clustering result in the plurality of first clustering results according to the classification result, and obtaining the classification result proportion corresponding to each clustering result, comprises:

[0028] Determine all classification results of all the unlabeled data corresponding to a clustering result to obtain multiple first classification results;

[0029] Determine the classification type of each first classification result and the quantity of each classification type, and obtain each classification type and a first quantity corresponding to each classification type;

[0030] Determine the proportion of each classification type in the one clustering result according to the classification type and the first number, and obtain the classification result proportion corresponding to the one clustering result;

[0031] Continue to perform the step of determining all classification results of all the unlabeled data corresponding to a clustering result to obtain multiple first classification results until the proportion of the classification results corresponding to each clustering result is obtained.

[0032] Preferably, the expanding the second data to be supplemented and adding it to the expanded labeled data set, training the first classification model to obtain a trained classification model, includes:

[0033] Performing data enhancement on the second data to be supplemented to obtain enhanced second data to be supplemented;

[0034] Merging the enhanced second data to be supplemented with the second data to be supplemented to obtain an expanded second data set to be supplemented;

[0035] Merging the second to-be-supplemented data set into the expanded labeled data set to obtain a new labeled data set;

[0036] Using the new labeled data set to train the first classification model to obtain a new first classification model;

[0037] If the number of training times of the new first classification model is less than the preset number of iterations, the new first classification model is used as the first classification model, and the step of using the first classification model to classify the unlabeled data set is continued, and all unlabeled data in the classification results whose confidence is greater than a preset confidence threshold are used as the first data to be supplemented;

[0038] If the number of training times of the new first classification model is equal to or greater than the preset number of iterations, the new first classification model is used as the trained classification model.

[0039] On the second aspect, the present application also proposes a system for patent classification, including:

[0040] A training module is used to perform data expansion on the labeled data set and then train the classification model to obtain a first classification model; expand the second data to be supplemented and then add it to the expanded labeled data set, train the first classification model, and obtain a trained classification model;

[0041] A data supplementation module is used to classify the unlabeled data set using the first classification model, and take all unlabeled data in the classification results whose confidence is greater than a preset confidence threshold as the first data to be supplemented; and determine the second data to be supplemented based on the classification results, the first data to be supplemented and the clustering result of the unlabeled data set.

[0042] Preferably, it also includes:

[0043] The data acquisition module is used to acquire patent texts to obtain a patent text dataset; and according to the labels in the patent texts, the patent text dataset is divided into a labeled dataset and an unlabeled dataset.

[0044] The advantages of the present application are: by training the classification model after expanding the labeled data set, a first classification model is obtained, and a classification model with high accuracy can be obtained with a small amount of labeled data set; the unlabeled data set is classified by the first classification model, and the second data to be supplemented is determined according to the confidence and clustering results of the unlabeled data set, so that high-quality unlabeled data can be obtained; the second data to be supplemented is expanded and added to the expanded labeled data set to train the first classification model, so that the high-quality unlabeled data can be expanded, and the amount of high-quality unlabeled data can be further increased for model training, so as to make full use of the unlabeled patent data to obtain a classification model with high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] By reading the detailed description of the preferred embodiment below, various other advantages and benefits will become clear to those of ordinary skill in the art. The accompanying drawings are only used for the purpose of illustrating the preferred embodiment and are not to be considered as limiting the present application. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0046] Figure 1 It is a schematic diagram of the steps of a method for patent classification provided by the present application;

[0047] Figure 2 is a schematic diagram of a labeled data set for a method for patent classification provided in the present application;

[0048] Figure 3 is a schematic diagram of an unlabeled data set for a method for patent classification provided in this application;

[0049] Figure 4 It is a flowchart of a method for patent classification provided by this application;

[0050] Figure 5 It is a schematic diagram of a system for patent classification provided in this application. DETAILED DESCRIPTION

[0051] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0052] First, in order to solve the above problems, this application proposes a method for patent classification, such as Figure 1 As shown, including:

[0053] S101, training a classification model after data expansion on a labeled data set to obtain a first classification model;

[0054] S102, using a first classification model to classify the unlabeled data set, and taking all unlabeled data in the classification results whose confidence is greater than a preset confidence threshold as first data to be supplemented;

[0055] S103, determining the second data to be supplemented according to the classification result, the first data to be supplemented and the clustering result of the unlabeled data set;

[0056] S104, expanding the second data to be supplemented and adding it to the expanded labeled data set, training the first classification model, and obtaining a trained classification model.

[0057] Among them, the classification model includes: deep learning model or BERT (Bidirectional Encoder Representations from Transformers) model.

[0058] After data expansion is performed on the labeled data set, a classification model is trained and before the first classification model is obtained, the method further includes: obtaining patent text to obtain a patent text data set; dividing the patent text data set into a labeled data set and an unlabeled data set according to the labels in the patent text; wherein the labeled data includes the patent text and sample labels.

[0059] like Figure 2 and Figure 3 As shown, for the labeled data and unlabeled data in the patent text dataset, the application number F1, title F2, abstract F3 and claim F4 in the patent text constitute the sample features of the patent text, and the main category F5 in the patent text is the sample label (classification label). The labeled dataset includes labeled data (labeled patent text data), and the unlabeled dataset includes unlabeled data (unlabeled patent text data).

[0060] After data augmentation is performed on the labeled data set, a classification model is trained to obtain a first classification model, including: performing data augmentation on the labeled data in the labeled data set to obtain enhanced labeled data; merging the enhanced labeled data with the labeled data set to obtain an augmented labeled data set; and using the augmented labeled data set to train the classification model to be trained to obtain the first classification model.

[0061] Among them, back-translation technology can be used for data enhancement to expand labeled data.

[0062] The unlabeled data set is classified using a first classification model, and all unlabeled data in the classification results whose confidence is greater than a preset confidence threshold are used as first data to be supplemented, including: using the first classification model to classify the unlabeled data set to obtain a classification result for each unlabeled data in the unlabeled data set; determining the unlabeled data whose confidence in all classification results is greater than a preset confidence threshold to obtain multiple unlabeled data; and using the multiple unlabeled data as the first data to be supplemented.

[0063] Before determining the second data to be supplemented according to the classification result, the first data to be supplemented and the clustering result of the unlabeled data set, it also includes: extracting features from all unlabeled data in the unlabeled data set to obtain a feature vector for each unlabeled data; clustering all feature vectors to obtain multiple clustering results of the unlabeled data set.

[0064] The method of determining the second data to be supplemented according to the classification result, the first data to be supplemented and the clustering result of the unlabeled data set includes: obtaining the clustering results corresponding to all the unlabeled data in the first data to be supplemented, and obtaining a plurality of first clustering results; determining the classification result proportion of all the unlabeled data corresponding to each clustering result in the plurality of first clustering results according to the classification result, and obtaining the classification result proportion corresponding to each clustering result; determining the first data to be supplemented corresponding to the first clustering result whose classification result proportion exceeds a preset proportion threshold, and obtaining the second data to be supplemented.

[0065] The preset percentage threshold may be any value between 60% and 90%, such as 70%, 75% or 80%.

[0066] According to the classification results, determine the proportion of classification results of all unlabeled data corresponding to each clustering result in multiple first clustering results, and obtain the proportion of classification results corresponding to each clustering result, including: determining all classification results of all unlabeled data corresponding to a clustering result, and obtaining multiple first classification results; determining the classification type of each first classification result and the number of each classification type, and obtaining each classification type and the first number corresponding to each classification type; determining the proportion of each classification type in a clustering result according to the classification type and the first number, and obtaining the proportion of classification results corresponding to a clustering result; continue to execute the steps of determining all classification results of all unlabeled data corresponding to a clustering result, and obtaining multiple first classification results, until the proportion of classification results corresponding to each clustering result is obtained.

[0067] Among them, the classification result proportion is determined according to the classification result of the unlabeled data and the diverse unlabeled data of each clustering result. The number of first classification results is the number of classification types of all unlabeled data corresponding to a clustering result, that is, assuming that all unlabeled data corresponding to a clustering result include P classification results classified into the same classification type and Q classification results classified into the same classification type, then the number of first classification results is 2. For the classification result proportion, taking a clustering result U including X unlabeled data, and there are only two first classification results of all unlabeled data in the clustering result U as an example, assuming that among the X unlabeled data, a first number Y unlabeled data are classified into the same classification type A by the first classification model, and a first number Z unlabeled data are classified into the same classification type B by the first classification model, then the value (A1) of Y divided by X and the value (B1) of Z divided by X are both the classification result proportions of this clustering result U; if only the value (A1) of Y divided by X is greater than or equal to the preset proportion threshold, then all the first to-be-supplemented data in this clustering result U are taken as the second to-be-supplemented data.

[0068] After expanding the second data to be supplemented, the data is added to the expanded labeled data set, and the first classification model is trained to obtain a trained classification model, including: performing data enhancement on the second data to be supplemented to obtain enhanced second data to be supplemented; merging the enhanced second data to be supplemented with the second data to be supplemented to obtain an expanded second data set to be supplemented; merging the second data set to be supplemented into the expanded labeled data set to obtain a new labeled data set; using the new labeled data set to train the first classification model to obtain a new first classification model; if the number of training times of the new first classification model is less than the preset number of iterations, the new first classification model is used as the first classification model, and the step of using the first classification model to classify the unlabeled data set is continued, and all unlabeled data in the classification results whose confidence is greater than a preset confidence threshold is used as the first data to be supplemented; if the number of training times of the new first classification model is equal to or greater than the preset number of iterations, the new first classification model is used as the trained classification model.

[0069] Among them, the replacement condition for the number of training times being less than the preset number of iterations can also be based on the performance improvement of the first classification model being less than a preset improvement threshold, or the number of newly added high-quality second data to be supplemented being less than a preset supplement number.

[0070] Below, according to Figure 4 , the implementation methods of the present application are further explained.

[0071] like Figure 4 As shown, in the data preparation stage, the implementation method of the present application divides the acquired patent text dataset into a labeled dataset LD and an unlabeled dataset UD. The patent text in the labeled dataset contains the patent text and sample labels, such as Figure 2 As shown in the figure, different colors correspond to different fields. Application number F1, title F2, abstract F3, and claim F4 constitute the sample features of the patent text, and the main category F5 is the sample label. The unlabeled patent text only contains the patent text, such as Figure 3 As shown, compared with the labeled sample, the main category F5 field is missing. Among them, the patent text as a labeled data set and an unlabeled data set may not include the content in the specification.

[0072] like Figure 4As shown, for the obtained unlabeled data set UD, it is necessary to input the unlabeled patent text data set UD into a deep learning model such as a BERT model for feature extraction, and obtain the vector representation (feature vector) of the patent text of each unlabeled data through the encoding layer of the model. These feature vectors capture the key information in the patent text and can effectively distinguish different patent texts in a high-dimensional space. Then, a clustering algorithm, such as a K-means clustering algorithm, is used to cluster the feature vectors extracted from the BERT model to obtain the clustering result UD' of each unlabeled data. The K-means algorithm is a distance-based clustering method that divides data into K groups in an iterative manner so that the data points in the same group are as similar as possible, while the data points between different groups are as different as possible. Through the K-means clustering algorithm, the unlabeled data in the unlabeled data set can be divided into different groups (clustering results) according to the feature vectors of the unlabeled data, and the patent texts in each group may have similar characteristics or themes in terms of semantics and content.

[0073] The self-training stage includes an initial stage and an iterative stage. The initial stage is the first stage of self-training. First, the labeled data in the labeled data set is enhanced, such as using back-translation technology to expand the labeled data set LD to obtain enhanced labeled data, and the enhanced labeled data is merged with the labeled data set LD to obtain the expanded labeled data set LD'. Back-translation technology is the process of translating the source language text into the target language text and then translating it back to the source language. The back-translated samples are used as additional training data and used together with the original training data to train the model. Afterwards, the classification model is initialized using the expanded labeled data set LD', that is, an initial classification model, such as a Bert model or a deep learning model, is trained using the expanded labeled data set LD' to obtain the first classification model.

[0074] The iteration phase is the second phase of self-training. First, the first classification model is used to classify and predict the data in the unlabeled data set UD, and a confidence score is assigned to each predicted classification result. The classification results are screened based on the preset confidence threshold, and the unlabeled data with a predicted confidence score higher than the preset confidence threshold are screened out as candidate data, that is, the first data to be supplemented. Secondly, the first data to be supplemented is screened in combination with the clustering result UD'. For each candidate data (unlabeled data) in the first data to be supplemented, the classification labels predicted by other data points in the cluster to which it belongs are checked by the first classification model. If most of the data points within the cluster (such as more than 70%) are predicted to be classified into the same category (classification type), that is, the classification result ratio exceeds the preset ratio threshold, then it is considered that the consistency of these unlabeled data is strong and they are high-quality data. After that, the labeled data set is expanded, and multiple first data to be supplemented whose classification result ratio exceeds the preset ratio threshold are used as the second data to be supplemented. The back-translation technology is also used to increase the amount of data of the second data to be supplemented, and then added to the expanded labeled data set LD'. Since the second data to be supplemented has been predicted by the first classification model to obtain classification results, these classification results are used as labels for the second data to be supplemented, so that the second data to be supplemented becomes labeled data. After enhancement, the expanded labeled data set LD' is merged and updated to obtain an updated labeled data set. Then, the first classification model is retrained using the updated labeled data set. During the retraining process, the second data to be supplemented continues to be obtained from the unlabeled data set to expand the labeled data set. For the training of the first classification model, the above steps are repeated until the iteration termination conditions are met, such as reaching the maximum number of iterations, the model performance improvement is not obvious, or the number of newly added high-quality data is small, then a trained classification model is obtained.

[0075] In the second aspect, the present application also proposes a system for patent classification, such as Figure 5 As shown, including:

[0076] The training module 100 is used to perform data expansion on the labeled data set and then train the classification model to obtain a first classification model; expand the second data to be supplemented and then add it to the expanded labeled data set, train the first classification model, and obtain a trained classification model;

[0077] The data supplementation module 200 is used to classify the unlabeled data set using the first classification model, and take all the unlabeled data in the classification results whose confidence is greater than a preset confidence threshold as the first data to be supplemented; and determine the second data to be supplemented based on the classification results, the first data to be supplemented and the clustering results of the unlabeled data set.

[0078] The implementation method of the present application also includes: a data acquisition module 300, which is used to acquire patent text and obtain a patent text data set; according to the labels in the patent text, the patent text data set is divided into a labeled data set and an unlabeled data set.

[0079] In the system of the present application, the labeled data set is expanded by enhancing technology, such as back translation technology, so as to increase the amount of data, improve the data quality, and improve the training effect and generalization ability of the classification model. For the unlabeled data set, the unlabeled data with a confidence score higher than the preset confidence threshold in the classification result predicted by the first classification model is first screened out as the first data to be supplemented, and then the first data to be supplemented is further screened in combination with the clustering result. If most of the data points inside the cluster are predicted to be the same category (that is, the classification result proportion of the unlabeled data corresponding to the clustering result exceeds the preset proportion threshold), it is considered that these data in the first data to be supplemented (the second data to be supplemented) are high-quality data, which can be added to the labeled data set for the next round of training, and the above steps are repeated until the iteration termination condition is reached. In this way, while obtaining high-quality unlabeled data, a large amount of annotation of the text can be avoided, effectively reducing the waste of resources and errors that may be generated in the annotation process. By using back translation technology and screening high-quality samples in the unlabeled data set to expand the text data set, the utilization rate of the unlabeled data can be significantly improved, thereby providing richer data resources for model training. The high-quality second data to be supplemented are jointly screened based on the clustering results and the classification results predicted by the classification model, so they can better represent the characteristics and distribution of the entire data set. In the subsequent training process of the first classification model, the first classification model can better learn the essential characteristics of the data, thereby improving its generalization ability. Since the implementation method of the present application makes a large amount of unlabeled patent text data available, the semi-supervised learning method based on these unlabeled data can effectively utilize these data, improve the generalization ability of the trained classification model for patent text data of unknown categories, thereby improving the accuracy of patent classification. The implementation method of the present application is oriented to semi-supervised learning in the field of patent classification, which can effectively improve the diversity and quality of patent text data used for classification model training, help the classification model learn more consistent and stable feature representations, and bring new breakthroughs and opportunities to research and practice in the field of patent classification.

[0080] The above is only a preferred specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for patent classification, It is characterized in that include: After data expansion is performed on the labeled data set, a classification model is trained to obtain a first classification model; Classify the unlabeled data set using the first classification model, and use all unlabeled data in the classification results whose confidence is greater than a preset confidence threshold as first data to be supplemented; Determining second data to be supplemented according to the classification result, the first data to be supplemented, and a clustering result of the unlabeled data set; The second data to be supplemented is expanded and added to the expanded labeled data set, and the first classification model is trained to obtain a trained classification model.

2. The method according to claim 1, It is characterized in that Before training the classification model after data expansion of the labeled data set to obtain the first classification model, the method further includes: Obtain patent texts and obtain patent text datasets; According to the labels in the patent text, the patent text dataset is divided into a labeled dataset and an unlabeled dataset; wherein the labeled data includes the patent text and sample labels.

3. The method according to claim 1, It is characterized in that The step of training a classification model after data expansion of the labeled data set to obtain a first classification model includes: Performing data enhancement on the labeled data in the labeled data set to obtain enhanced labeled data; Merging the enhanced labeled data with the labeled data set to obtain an expanded labeled data set; The classification model to be trained is trained using the expanded labeled data set to obtain a first classification model.

4. The method according to claim 1, It is characterized in that The step of using the first classification model to classify the unlabeled data set and taking all unlabeled data in the classification results whose confidence is greater than a preset confidence threshold as first data to be supplemented includes: Classify the unlabeled data set using the first classification model to obtain a classification result for each unlabeled data in the unlabeled data set; Determine the unlabeled data whose confidence of all the classification results is greater than a preset confidence threshold, to obtain a plurality of unlabeled data; The plurality of unlabeled data are used as first data to be supplemented.

5. The method according to claim 1, It is characterized in that Before determining the second data to be supplemented according to the classification result, the first data to be supplemented and the clustering result of the unlabeled data set, the method further includes: Perform feature extraction on all unlabeled data in the unlabeled data set to obtain a feature vector for each unlabeled data; All the feature vectors are clustered to obtain multiple clustering results of the unlabeled data set.

6. The method according to claim 1, It is characterized in that The determining the second data to be supplemented according to the classification result, the first data to be supplemented and the clustering result of the unlabeled data set includes: Obtain the clustering results corresponding to all the unlabeled data in the first data to be supplemented, and obtain multiple first clustering results; According to the classification result, determining the classification result ratio of all the unlabeled data corresponding to each clustering result in the multiple first clustering results, and obtaining the classification result ratio corresponding to each clustering result; Determine the first data to be supplemented corresponding to the first clustering result whose classification result proportion exceeds a preset proportion threshold, and obtain the second data to be supplemented.

7. The method according to claim 6, It is characterized in that Determining, according to the classification result, the classification result proportion of all the unlabeled data corresponding to each clustering result in the plurality of first clustering results, and obtaining the classification result proportion corresponding to each clustering result, includes: Determine all classification results of all the unlabeled data corresponding to a clustering result to obtain multiple first classification results; Determine the classification type of each first classification result and the quantity of each classification type, and obtain each classification type and a first quantity corresponding to each classification type; Determine the proportion of each classification type in the one clustering result according to the classification type and the first number, and obtain the classification result proportion corresponding to the one clustering result; Continue to perform the step of determining all classification results of all the unlabeled data corresponding to a clustering result to obtain multiple first classification results until the proportion of the classification results corresponding to each clustering result is obtained.

8. The method according to claim 1, It is characterized in that The method of expanding the second data to be supplemented and adding it to the expanded labeled data set, and training the first classification model to obtain a trained classification model includes: Performing data enhancement on the second data to be supplemented to obtain enhanced second data to be supplemented; Merging the enhanced second data to be supplemented with the second data to be supplemented to obtain an expanded second data set to be supplemented; Merging the second to-be-supplemented data set into the expanded labeled data set to obtain a new labeled data set; Using the new labeled data set to train the first classification model to obtain a new first classification model; If the number of training times of the new first classification model is less than the preset number of iterations, the new first classification model is used as the first classification model, and the step of using the first classification model to classify the unlabeled data set is continued, and all unlabeled data in the classification results whose confidence is greater than a preset confidence threshold are used as the first data to be supplemented; If the number of training times of the new first classification model is equal to or greater than the preset number of iterations, the new first classification model is used as the trained classification model.

9. A system for classifying patents, It is characterized in that include: A training module, used for training a classification model after performing data expansion on a labeled data set to obtain a first classification model; After expanding the second data to be supplemented, the data is added to the expanded labeled data set, and the first classification model is trained to obtain a trained classification model; A data supplementation module is used to classify the unlabeled data set using the first classification model, and take all unlabeled data in the classification results whose confidence is greater than a preset confidence threshold as the first data to be supplemented; and determine the second data to be supplemented based on the classification results, the first data to be supplemented and the clustering result of the unlabeled data set.

10. The system of claim 9, It is characterized in that Also includes: The data acquisition module is used to acquire patent texts to obtain a patent text dataset; and according to the labels in the patent texts, the patent text dataset is divided into a labeled dataset and an unlabeled dataset.