Semi-supervised learning method for cervical cell images based on generative adversarial network
By generating an adversarial network training negative sample distribution and combining the bias risk of unlabeled data sets, the problem of poor performance of cervical cell image classification models is solved, the classification accuracy and efficiency of cervical cell images are improved, and efficient secondary classification of cervical cell images is achieved. Classification.
Patent Information
- Application Number
- CN202111247110.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-26
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-10-26
AI Technical Summary
When the existing technology uses a small amount of labeled cervical cell image data sets to train a classification model, the performance of the model on real data is poor, and the distribution of unlabeled samples in the semi-supervised learning method is assumed to be negative samples, causing the classification decision boundary to deviate Real segmentation boundaries lead to model performance degradation.
Use the generative adversarial network to train the negative sample distribution, and combine the cost function of the generative adversarial network with the bias risk of the unlabeled data set to automatically learn the unlabeled negative sample distribution, which is used to augment the labeled sample data set and pass through higher-level Feature evaluation enhances sample quality, thereby improving the classification accuracy of cervical cell images.
It improves the classification accuracy and efficiency of cervical cell images, enhances the utilization of labeled and unlabeled data sets, reduces the over-fitting problem of the model, and achieves efficient cell classification.
Smart Images

Figure CN113887725B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer vision, and in particular relates to a semi-supervised learning method for cervical cell images based on a generative adversarial network. Background Art
[0002] At present, image classification labeled data can be obtained in large quantities, but it is difficult to obtain a large number of labeled images of pathological sections for gynecological cervical cancer screening. When a classification model is trained using a small amount of labeled cervical cell image data sets, the model performance often becomes very poor when the model method is used on real data. In the daily film reading and screening work of the hospital pathology department, pathologists will manually read the images, identify abnormal cells and normal cells from the cervical cell images, and judge the possibility of the examinee suffering from cancer based on the number of abnormal cells and the condition of the lesions. The hospital information system has accumulated some labeled normal cervical cell image data sets, which are also positive sample data sets. In the daily work of the pathology department, it is easier for staff to obtain a large amount of unlabeled cervical cell image data. Using unlabeled data together with the positive sample labeled data of interest to train the classification model is the research content of partial supervised learning methods (i.e., semi-supervised learning).
[0003] There are several semi-supervised learning methods, among which a two-stage positive sample and unlabeled sample learning method has a better research prospect. Its advantages are that it does not require prior knowledge of the data set in advance, can automatically detect the noise of the most likely misclassified samples, and accelerate the labeling of the data set through an iterative algorithm. In the previous research work on positive sample and unlabeled sample learning methods, the entire distribution of unlabeled samples was often taken as negative, which does not conform to the assumption of the true label of the data, and often leads to the performance degradation of the final semi-supervised learning classification model. The most fundamental reason for the degradation of the classification model performance is that the classification decision boundaries of the positive and negative samples learned by the model deviate from the true segmentation boundary, and there is a model training estimation bias. In order to reduce the training bias, a binary condition can be added to the training loss function to avoid the estimation bias. In addition, if the number of positive and negative labeled samples is increased and reasonable data augmentation is performed, the training bias can also be reduced. Therefore, the present invention proposes a semi-supervised learning method for cervical cell images that adds a binary condition to the loss function and increases the labeled negative samples with the help of a generative adversarial network to overcome the problem of overfitting of classifier training. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a semi-supervised learning method for cervical cell images based on a generative adversarial network. The method does not require prior knowledge information of cervical cell images, automatically learns the distribution of negative sample data of cervical cell images, can augment the labeled sample data set, and use higher-level features to evaluate the quality of the augmented sample data. The method can simultaneously improve the utilization rate of simple and complex, labeled and unlabeled cervical cell image data sets, thereby improving the accuracy and efficiency of cervical cell classification and efficiently performing cell binary classification.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a semi-supervised learning method for cervical cell images based on a generative adversarial network, comprising the following steps:
[0006] (1) Train the generative adversarial network to generate negative sample distribution;
[0007] (2) Train the classifier to learn the discrimination boundary between positive and negative samples;
[0008] (3) Based on the trained classifier model, the detected unknown single cell images are classified.
[0009] The specific steps of step (1) are:
[0010] (1-1) Set the number of training iterations T1;
[0011] (1-2) From the noise prior distribution p z Extract {Z (1) , z (2) , ..., z (m)}, a total of m noise samples are used as the sample data of the minimum batch;
[0012] (1-3) From the unlabeled data distribution p U Extract A total of m noise samples are used as the sample data of the minimum batch;
[0013] (1-4) Use the stochastic probability gradient descent SGD algorithm to update the discriminator D:
[0014]
[0015] (1-5) From the noise prior distribution p z Extract {z (1) , z (2) , ..., z (m)}, a total of m noise samples are used as the sample data of the minimum batch;
[0016] (1-6) Use the Adam algorithm to update the generator G:
[0017]
[0018] (1-7) If the iteration number T1 is reached, the training iteration is terminated.
[0019] The specific steps of step (2) are:
[0020] (2-1) Set the number of training iterations T2;
[0021] (2-2) From the positive sample distribution p p Extract {x p (1) , x p (2) , ..., x p (m)}, a total of m positive samples are used as the sample data of the minimum batch;
[0022] (2-3) From the noise prior distribution p z Extract {z (1) , z (2) , ..., z (m)}, a total of m noise samples are used as the sample data of the minimum batch;
[0023] (2-4) Using the Adam algorithm, update the generator C:
[0024]
[0025] Among them, C(x) is the classification decision function, is the positive sample data, z (i) is random noise data;
[0026] (2-5) If the iteration number T2 is reached, the training iteration is terminated.
[0027] The beneficial effects of the above technical solution of the present invention are as follows:
[0028] The above technical solution of the present invention is beneficial to the intelligent analysis of cervical cell images. The semi-supervised learning of the generative adversarial network is adopted. The present invention combines the cost function of the generative adversarial network with the bias risk of the unlabeled data set, forcing the discriminator D of the generative adversarial network to distinguish the negative samples from the distribution of the positive samples, and in turn guides the generator G of the generative adversarial network, so that G can learn the distribution of the unlabeled negative samples from the unlabeled data set, and finally use the learned negative sample distribution and the labeled positive sample data to train the classifier to classify the cervical cell images. The design of the present invention does not require prior knowledge information of cervical cell images, automatically learns the distribution of negative sample data of cervical cell images, can augment the labeled sample data set, and use higher-level features to evaluate the quality of the augmented sample data, which can simultaneously improve the utilization rate of simple and complex, labeled and unlabeled cervical cell image data sets, thereby improving the accuracy and efficiency of cervical cell classification, and efficiently performing cell binary classification. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 Schematic diagram of the semi-supervised learning method proposed in the present invention;
[0030] Figure 2 Schematic diagram of the generator structure of the generative adversarial network in the present invention. DETAILED DESCRIPTION
[0031] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0032] The present invention provides a semi-supervised learning method for cervical cell images based on a generative adversarial network, which uses a generative adversarial network for semi-supervised learning, combines the cost function of the generative adversarial network with the bias risk of an unlabeled data set, forces the discriminator D of the generative adversarial network to distinguish negative samples from the distribution of positive samples, and in turn guides the generator G of the generative adversarial network, so that G can learn the distribution of unlabeled negative samples from the unlabeled data set, and finally uses the learned negative sample distribution and labeled positive sample data to train a classifier to classify cervical cell images. The design of the present invention does not require any prior knowledge information to automatically learn the distribution of unlabeled negative samples, while achieving the extraction and optimization of the essential features of cervical cell images.
[0033] Based on the above theory, the present invention provides a semi-supervised learning method for cervical cell images based on a generative adversarial network, comprising the following steps:
[0034] (1) Train the generative adversarial network to generate negative sample distribution; the specific steps are:
[0035] (1-1) Set the number of training iterations T1;
[0036] (1-2) From the noise prior distribution p z Extract {z (1) , z (2) , ..., z (m)}, a total of m noise samples are used as the sample data of the minimum batch;
[0037] (1-3) From the unlabeled data distribution p U Extract A total of m noise samples are used as the sample data of the minimum batch, where is the unlabeled sample data;
[0038] (1-4) Use the stochastic probability gradient descent SGD algorithm to update the discriminator D:
[0039]
[0040] (1-5) From the noise prior distribution p z Extract {z (1) , z (2) , ..., z (m)}, a total of m noise samples are used as the sample data of the minimum batch;
[0041] (1-6) Use the Adam algorithm to update the generator G:
[0042]
[0043] (1-7) If the iteration number T1 is reached, the training iteration is terminated.
[0044] (2) Train the classifier to learn the discrimination boundary between positive and negative samples. The specific steps are:
[0045] (2-1) Set the number of training iterations T2;
[0046] (2-2) From the positive sample distribution p p Extract {x p (1) , x p (2) , ..., x p (m)}, a total of m positive samples are used as the sample data of the minimum batch;
[0047] (2-3) From the noise prior distribution p z Extract {z (1) ,z (2) ,…z (m)}, a total of m noise samples are used as the sample data of the minimum batch;
[0048] (2-4) Using the Adam algorithm, update the generator C:
[0049]
[0050] (2-5) If the iteration number T2 is reached, the training iteration is terminated.
[0051] (3) Based on the trained classifier model, the detected unknown single cell images are classified.
[0052] The inventors conducted experiments on the technical solution of the present invention. The experiment used two data sets, Herlev and SIPAKMED, which contained 917 and 4049 cervical single cell images respectively. Half of the data in each data set was retained as unlabeled data samples, and the remaining half was divided into a training set and a test set. First, the remaining half of the data set was divided into a 90% training set and a 10% test set, and then the negative sample distribution was generated using the unlabeled sample data. The classifier model was then trained using the training set and the negative sample distribution, and finally the test samples were classified using the classification model with the optimal parameters. Finally, the accuracy of binary cell classification on the test sets of the two data sets reached more than 90%, which is a significant improvement over existing methods.
[0053] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A semi-supervised learning method for cervical cell images based on generative adversarial networks, characterized in that: The steps include: (1) Train the generative adversarial network to generate negative sample distribution; (2) Train the classifier to learn the discrimination boundary between positive and negative samples; (3) Classify the detected unknown single cell images based on the trained classifier model; The specific steps of step (1) are: (1-1) Set the number of training iterations T1; (1-2) From the noise prior distribution p z Extract {z (1) , z (2) , ..., z (m) }, a total of m noise samples are used as the sample data of the minimum batch, where z (i) is a random noise sample; (1-3) From the unlabeled data distribution p U Extract A total of m noise samples are used as the sample data of the minimum batch, where is the unlabeled sample data; (1-4) Use the probabilistic stochastic gradient descent algorithm to update the discriminator D: Among them, D(x) is the decision function, G(z) is the generated sample data, is the unlabeled sample data, z (i) is random noise data, is the positive sample data; (1-5) From the noise prior distribution p z Extract {z (1) , z (2) , ..., z (m) }, a total of m noise samples are used as the sample data of the minimum batch, where z (i) is a random noise sample; (1-6) Use the probabilistic gradient descent Adam algorithm to update the generator G: Among them, D(x) is the decision function, G(z) is the generated sample data; (1-7) If the number of iterations T1 is reached, the training iteration is terminated; The specific steps of step (2) are: (2-1) Set the number of training iterations T2; (2-2) From the positive sample distribution p p Extract {x p (1) , x p (2) , ..., x p (m) }, a total of m positive samples are used as the sample data of the minimum batch; (2-3) From the noise prior distribution p z Extract {z (1) , z (2) , ..., z (m) }, a total of m noise samples are used as the sample data of the minimum batch; (2-4) Using the Adam algorithm, update the generator C: Among them, C(x) is the classification decision function, is the positive sample data, z (i) is random noise data; (2-5) If the iteration number T2 is reached, the training iteration is terminated.
