Semi-supervised learning cervical intraepithelial neoplasia degree classification method and system combined with generative adversarial network
By combining a semi-supervised learning method with a generative adversarial network and a deep residual network, realistic colposcopy images are generated and self-trained, which solves the problems of sparse data and labeling errors in cervical intraepithelial neoplasia level classification, and improves the classification accuracy and model Generalization ability.
Patent Information
- Application Number
- CN202410738717.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-07
AI Technical Summary
The training results of existing cervical intraepithelial neoplasia grade classification neural network training results are affected by the scale of labeled training data. Due to the scarcity and varying quality of data, manual labeling of data is cumbersome and error-prone, making effective use of image data a challenge.
A semi-supervised learning method combined with a generative adversarial network is used to generate realistic colposcopy images through an improved generative adversarial network (GAN), a super-resolution generative adversarial network (SRGAN) is used to optimize the image, and a deep residual network (ResNet) is used to generate pseudo labels. And improve the classification accuracy of the model through self-training method.
Effectively utilizing a large amount of unlabeled image data, it improves the accuracy of classifying the degree of cervical intraepithelial neoplasia, reduces the risk of misdiagnosis by doctors, enhances the generalization ability of the model, reduces the risk of over-fitting, and adapts to real-world data distribution.
Smart Images

Figure CN118587498A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of deep learning technology, and in particular to a semi-supervised learning method and system for classifying the degree of cervical intraepithelial neoplasia combined with a generative adversarial network. Background Art
[0002] Cervical cancer is one of the most common female cancers worldwide. However, precancerous lesions of cervical cancer last for a long time and are highly likely to be cured in the early stages. The abnormal growth of cells on the surface of the cervix (potential precancerous transformation) is called cervical intraepithelial neoplasia or cervical dysplasia. Professional doctors can use acetic acid, Lugol's iodine solution, and colposcopy to determine whether there are precancerous lesions and make targeted diagnostic opinions. Timely detection of cervical intraepithelial neoplasia (CIN) can prevent and treat cervical cancer and save women's lives.
[0003] Artificial intelligence (AI) based on deep learning has shown important application value in medical diagnosis. In recent years, many scholars have tried to use deep learning methods to classify the level of cervical lesions in colposcopic images to assist clinical triage of patients and improve the diagnostic efficiency of colposcopists.
[0004] However, the existing neural network training results for cervical intraepithelial neoplasia grade classification are affected by the scale of labeled training data. Training neural networks requires a large number of professional annotated data sets, but public data sets in this field are scarce and of varying quality. Collecting and labeling data is cumbersome, time-consuming, and expensive. Manually labeled data can also have errors due to the level or fatigue of professional doctors. Therefore, it is particularly important to more effectively utilize image data and a large amount of unlabeled image data. Summary of the invention
[0005] In order to solve the above technical problems, the present invention proposes a semi-supervised learning method and system for classifying the degree of cervical intraepithelial neoplasia combined with a generative adversarial network, which more effectively utilizes image data and a large amount of unlabeled image data to improve the accuracy of the classification model.
[0006] On the one hand, to achieve the above-mentioned purpose, the present invention provides a method for classifying the degree of cervical intraepithelial neoplasia by semi-supervised learning combined with a generative adversarial network, comprising:
[0007] Generate a realistic colposcopic acetic acid image based on an improved generative adversarial network (GAN), optimize the realistic colposcopic acetic acid image through a super-resolution generative adversarial network (SRGAN), and generate a target colposcopic acetic acid image;
[0008] Generate a pseudo label for the target colposcopic acetic acid image based on a deep residual network ResNet, and train the ResNet network based on the target colposcopic acetic acid image and an image with a real label until the pseudo label no longer changes, and retain the trained ResNet network;
[0009] The vaginal acetoscopy image to be classified is input into the trained ResNet network to classify the degree of cervical intraepithelial neoplasia.
[0010] Preferably, the improved generative adversarial network GAN is a network that introduces Wasserstein distance to replace the JS divergence used in the traditional generative adversarial network, and the fully connected layer of the discriminator in the original generative adversarial network is modified to a convolutional layer, and the fully connected layer of the generator is modified to a transposed convolution.
[0011] Preferably, the improved generative adversarial network GAN is trained with colposcopic acetic acid image samples, and the realistic colposcopic acetic acid image is generated using the trained network.
[0012] Preferably, the loss functions of the discriminator and the generator in the improved generative adversarial network GAN are respectively:
[0013]
[0014] Where, L D is the discriminator loss function, is the gradient calculation, m is the number of discretized equal-division points in the summation interval, f is the Wasserstein distance used, G(z) is the false image generated by the generator, and L G is the generator loss function.
[0015] Preferably, the realistic colposcopic acetic acid image is optimized by a super-resolution generative adversarial network (SRGAN), comprising:
[0016] The super-resolution generative adversarial network SRGAN is trained, and based on the trained super-resolution generative adversarial network SRGAN, the realistic colposcopic acetic acid image is optimized to enlarge the image size and refine the image texture details.
[0017] Preferably, the super-resolution generative adversarial network SRGAN is trained based on the colposcopic acetic acid image by:
[0018]
[0019] In the formula, θ G and θ D are the network parameters of the generator and the discriminator, represents the discriminator network, represents the generator network, I HR is high-resolution image data, I LR is low-resolution image data, is a fake high-resolution image generated by the generator, For the discriminator to distinguish the real high-resolution image, The discriminator is used to distinguish the fake high-resolution images generated by the generator, p train (I LR ) is the probability distribution of the real high-resolution image, p G (I LR ) is the probability distribution of the false high-resolution image generated after inputting the low-resolution image to the generator, is the mathematical expectation of the probability that a sample taken from the true high-resolution image distribution is judged by the discriminator as a true high-resolution sample, For the false data p generated from the generator G (I LR )The false high-resolution image obtained after the samples sampled from the distribution are generated by the generator and sent to the discriminator is the expectation of the negative logarithm of the predicted probability.
[0020] Preferably, training the ResNet network based on the target colposcopic acetic acid image and the image with the real label comprises:
[0021] The self-training method uses the pictures with real labels in the original data set to first train the deep residual network ResNet, then judges the target colposcopic acetic acid image and the unlabeled data in the original data set to generate pseudo labels, and adds the obtained data annotated with pseudo labels to the original data to continue training until the pseudo labels no longer change and the training is completed.
[0022] Preferably, the deep residual network ResNet is first trained using pictures with real labels in the original data set, pseudo labels are generated for unlabeled data, and then the pseudo label learning method in semi-supervised learning is used to self-train ResNet, wherein the loss function of pseudo label learning is:
[0023]
[0024] Where L is the loss function of pseudo-label learning, which is divided into the real label part and the pseudo-label part. The weight of the pseudo-label part is adjusted using α(t), α(t) is the weight factor for balancing labeled and unlabeled data, n is the number of labeled data, m is the number of unlabeled data, and y is i is the true label of the i-th labeled data, y′ jis the predicted label of the jth unlabeled data, i.e., the pseudo label, f(x i ) is the model’s prediction for the i-th labeled data, f(x j ) is the model’s prediction for the jth unlabeled data.
[0025] On the other hand, to achieve the above-mentioned purpose, the present invention also provides a semi-supervised learning cervical intraepithelial neoplasia degree classification system combined with a generative adversarial network, comprising:
[0026] Dataset acquisition unit: used to acquire colposcopy acetic acid image datasets, including images with real labels for biopsy result diagnosis confirmation and unlabeled images without biopsy results. The unlabeled images are used to train the improved generative adversarial network and the super-resolution generative adversarial network, and are used as the deep residual network for self-training. The images with real labels are used for self-training of the deep residual network.
[0027] Loss function calculation unit: used to calculate the loss functions of different networks, wherein the deep residual network uses a cross entropy loss function, and the discriminator and generator in the improved generative adversarial network and the super-resolution generative adversarial network each have a different mutually adversarial loss function;
[0028] A realistic colposcopic acetic acid image generation unit: used to train the colposcopic acetic acid images in the data set through an improved generative adversarial network and a super-resolution generative adversarial network, and optimize the realistic colposcopic acetic acid images through a super-resolution generative adversarial network SRGAN;
[0029] Cervical intraepithelial neoplasia degree classification unit: used to extract colposcopic image features through a deep residual network for classification, and obtain low-grade squamous intraepithelial lesion results or high-grade squamous intraepithelial lesion results.
[0030] Compared with the prior art, the present invention has the following advantages and technical effects:
[0031] The present invention uses a deep learning method to evaluate the degree of cervical intraepithelial neoplasia on colposcopic acetic acid images, which can be used to assist clinical doctors in making judgments without errors due to fatigue, and can also reduce the possibility of misdiagnosis by doctors; the semi-supervised learning method is used to effectively utilize the image data set that was previously unusable due to the lack of real labels, maximize the use of data, and combine with the generative adversarial network for semi-supervised learning. The generated data further expands the data set, improves the generalization ability of the model, reduces the risk of overfitting, better adapts to the situation where the colposcopic image sample coverage is insufficient, reduces the impact of data bias, makes the model more adaptable to the data distribution in the real world, improves its practical application value, and improves the accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0033] Figure 1 This is a flow chart of a method for classifying the degree of cervical intraepithelial neoplasia using semi-supervised learning combined with a generative adversarial network according to an embodiment of the present invention;
[0034] Figure 2 A schematic diagram of a classic generative adversarial network model according to an embodiment of the present invention;
[0035] Figure 3 This is a schematic diagram of the semi-supervised learning cervical intraepithelial neoplasia degree classification process according to an embodiment of the present invention;
[0036] Figure 4 This is a comparison chart of the experimental accuracy results of the embodiment of the present invention and the accuracy of other classic networks;
[0037] Figure 5 This is a comparison chart of the experimental recall rate results of the embodiment of the present invention and the accuracy rates of other classic networks;
[0038] Figure 6 This is a comparison chart of the F1-Score experimental results of an embodiment of the present invention and the accuracy of other classic networks. DETAILED DESCRIPTION
[0039] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0040] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0041] The present invention proposes a semi-supervised learning method for classifying the degree of cervical intraepithelial neoplasia combined with a generative adversarial network. Figure 1 ,include:
[0042] Generate a realistic colposcopic acetic acid image based on an improved generative adversarial network (GAN), optimize the realistic colposcopic acetic acid image through a super-resolution generative adversarial network (SRGAN), and generate a target colposcopic acetic acid image;
[0043] Generate a pseudo label for the target colposcopic acetic acid image based on a deep residual network ResNet, and train the ResNet network based on the target colposcopic acetic acid image and an image with a real label until the pseudo label no longer changes, and retain the trained ResNet network;
[0044] The vaginal acetoscopy image to be classified is input into the trained ResNet network to classify the degree of cervical intraepithelial neoplasia.
[0045] Specifically, the improved generative adversarial network (GAN) is a network that introduces Wasserstein distance to replace the JS divergence used in the traditional generative adversarial network, and modifies the fully connected layer of the discriminator in the original generative adversarial network into a convolutional layer, and the fully connected layer of the generator into a transposed convolution.
[0046] The improved generative adversarial network (GAN) is trained with colposcopic acetic acid image samples, and the trained network is used to generate the realistic colposcopic acetic acid image.
[0047] Among them, the loss functions of the discriminator and generator in the improved generative adversarial network GAN are:
[0048]
[0049] Where, L D is the discriminator loss function, is the gradient calculation, m is a constant, is the number of discretized equal-division points in the summation interval, f is the Wasserstein distance used, G(z) is the false image generated by the generator, and L G is the generator loss function.
[0050] Specifically, the realistic colposcopic acetic acid images are optimized through the super-resolution generative adversarial network SRGAN, including:
[0051] A super-resolution generative adversarial network SRGAN is trained, and based on the trained super-resolution generative adversarial network SRGAN, the realistic colposcopic acetic acid image is optimized to enlarge the image size and refine the image texture details.
[0052] The super-resolution generative adversarial network SRGAN is trained based on the colposcopic acetic acid image by:
[0053]
[0054] In the formula, θ G and θ D are the network parameters of the generator and the discriminator, represents the discriminator network, represents the generator network, IHR is high-resolution image data, I LR is low-resolution image data, is a fake high-resolution image generated by the generator, For the discriminator to distinguish the real high-resolution image, The discriminator is used to distinguish the fake high-resolution images generated by the generator, p train (I LR ) is the probability distribution of the real high-resolution image, p G (I LR ) is the probability distribution of the false high-resolution image generated after inputting the low-resolution image to the generator, is the mathematical expectation of the probability that a sample taken from the true high-resolution image distribution is judged by the discriminator as a true high-resolution image, For the false data p generated from the generator G (I LR ) The samples sampled from the distribution are sent to the discriminator after being generated by the generator, and the negative logarithm of the predicted probability is expected.
[0055] Furthermore, the ResNet network is trained based on the target colposcopic acetic acid images and images with real labels, including:
[0056] The self-training method uses the images with real labels in the original data set to first train the deep residual network ResNet, then judges the target colposcopic acetic acid image and the unlabeled data in the original data set to generate pseudo labels, and then adds the obtained data annotated with pseudo labels to the original data to continue training until the pseudo labels no longer change and the training is completed.
[0057] After training the deep residual network ResNet using pictures with real labels in the original data set, pseudo labels are generated for unlabeled data, and then the pseudo label learning method in semi-supervised learning is used to self-train ResNet, where the loss function of pseudo label learning can be expressed as:
[0058]
[0059] Where L is the loss function of pseudo-label learning, which is divided into the real label part and the pseudo-label part. The weight of the pseudo-label part is adjusted using α(t), α(t) is the weight factor for balancing labeled and unlabeled data, n is the number of labeled data, m is the number of unlabeled data, and y is i is the true label of the i-th labeled data, y′ j is the predicted label of the jth unlabeled data, i.e., the pseudo label, f(x i) is the model’s prediction for the i-th labeled data, f(x j ) is the model’s prediction for the jth unlabeled data.
[0060] The degree of cervical intraepithelial neoplasia was classified by comprehensively considering whether there were acetowhite epithelium, punctate blood vessels, cuff-like glandular openings, and inlays in the colposcopic image, and the condition was divided into low-grade squamous intraepithelial lesion or high-grade squamous intraepithelial lesion.
[0061] Furthermore, the present invention also provides a semi-supervised learning cervical intraepithelial neoplasia degree classification system combined with a generative adversarial network, comprising:
[0062] Dataset acquisition unit: used to acquire colposcopy acetic acid image datasets, including images with real labels for biopsy result diagnosis confirmation and unlabeled images without biopsy results. The unlabeled images are used to train the improved generative adversarial network and the super-resolution generative adversarial network, and are used as the deep residual network for self-training. The images with real labels are used for self-training of the deep residual network.
[0063] Loss function calculation unit: used to calculate the loss functions of different networks, wherein the deep residual network uses a cross entropy loss function, and the discriminator and generator in the improved generative adversarial network and the super-resolution generative adversarial network each have a different mutually adversarial loss function;
[0064] A realistic colposcopic acetic acid image generation unit: used to train the colposcopic acetic acid images in the data set through an improved generative adversarial network and a super-resolution generative adversarial network, and optimize the realistic colposcopic acetic acid images through a super-resolution generative adversarial network SRGAN;
[0065] Cervical intraepithelial neoplasia degree classification unit: used to extract colposcopic image features through a deep residual network for classification, and obtain low-grade squamous intraepithelial lesion results or high-grade squamous intraepithelial lesion results.
[0066] In order to more clearly express the technical solution of the present invention, a specific embodiment is provided below to introduce the solution: a semi-supervised learning method for classifying the degree of cervical intraepithelial neoplasia combined with a generative adversarial network, the process of which includes:
[0067] The Wasserstein distance is introduced to improve the generative adversarial network (GAN), replacing the JS divergence used in the traditional generative adversarial network, and solving problems such as mode collapse and gradient disappearance in the training process of the generative adversarial network.
[0068] The loss functions of the discriminator and generator in the traditional generative adversarial network are as follows:
[0069]
[0070]
[0071] Among them, D represents the distance calculated using JS divergence.
[0072] After introducing Wasserstein distance, the loss functions of the discriminator and generator are as follows:
[0073]
[0074] Among them, f represents the use of Wasserstein distance;
[0075]
[0076] The gradient penalty method is used to make the discriminator in the network meet the 1-Lipschitz condition (the first-order derivative is not greater than K) after the introduction of Wasserstein distance. After the penalty term is added to the loss function of the discriminator, its loss function is:
[0077]
[0078] Among them, P g To generate data, P r For real data.
[0079] Compared with the original loss function, only the gradient penalty constraint is added.
[0080] in
[0081]
[0082] An improved generative adversarial network was trained using colposcopy acetic acid images, and realistic small-size colposcopy images were generated using the trained network.
[0083] The colposcopy acetic acid images are used to train the super-resolution generative adversarial model, which includes a generator and a discriminator module. The generator generates super-resolution images from low-resolution images, and the discriminator determines whether they are true or false. The goal of the generator is to make it difficult for the discriminator to determine that the generated images are false, and the goal of the discriminator is to distinguish between true and false images as much as possible. The two are in conflict with each other, and their objective function is as follows:
[0084]
[0085] Among them, θ G and θ D are the network parameters of the generator and the discriminator, represents the discriminator network, represents the generator network, I HR is high-resolution image data, ILR is low-resolution image data, is a fake high-resolution image generated by the generator, For the discriminator to distinguish the real high-resolution image, The discriminator is used to distinguish the fake high-resolution images generated by the generator, p train (I LR ) is the probability distribution of the real high-resolution image, p G (I LR ) is the probability distribution of the false high-resolution image generated after inputting the low-resolution image to the generator, is the mathematical expectation of the probability that a sample taken from the true high-resolution image distribution is judged by the discriminator as a true high-resolution image, For the false data p generated from the generator G (I LR ) The samples sampled from the distribution are sent to the discriminator after being generated by the generator, and the negative logarithm of the predicted probability is expected.
[0086] The ultimate goal is to train a generative function that can generate a corresponding high-resolution image from the output low-resolution image, as shown in the formula: Final output high-resolution image
[0087] After the training is completed, the network is used to process the previously generated small-size images, perform image super-resolution, expand the image size, refine the texture details and improve the image quality.
[0088] The deep residual network was selected as the backbone network for the classification of cervical intraepithelial neoplasia. The Wasserstein distance was used to improve the generative adversarial network and the super-resolution generative adversarial network to generate realistic colposcopy images as unlabeled data expansion datasets, and the network was trained using the self-training method in semi-supervised learning.
[0089] Use the images with real labels in the original data set to train the deep residual network for a period of time, then judge the generated realistic colposcopy images and the unlabeled data in the original data set to generate pseudo labels, that is, select the labels of the samples with the most certain prediction probability as the real labels, and add the obtained pseudo-labeled data to the original data for continued training. From the goal point of view, it is hoped that the network can make more confident judgments regardless of whether the predicted result is right or wrong. According to the assumption of semi-supervised learning, the decision boundary should pass through areas with relatively sparse data, that is, low-density areas, as much as possible, so as to avoid dividing dense sample data points on both sides of the decision boundary. In other words, the model needs to make low-entropy predictions for unlabeled data, that is, entropy minimization. The pseudo-label method is conducive to entropy minimization, that is, the goal of pseudo-labeling is actually entropy minimization. The loss function of pseudo-label learning can be expressed as:
[0090]
[0091] Where L is the loss function of pseudo-label learning, which is divided into the real label part and the pseudo-label part. The weight of the pseudo-label part is adjusted using α(t), α(t) is the weight factor for balancing labeled and unlabeled data, n is the number of labeled data, m is the number of unlabeled data, and y is i is the true label of the i-th labeled data, y j ′ is the predicted label of the jth unlabeled data, i.e., the pseudo label, f(x i ) is the model’s prediction for the i-th labeled data, f(x j ) is the model’s prediction for the jth unlabeled data.
[0092] After training with pseudo-labeled data and real data for a period of time, update the pseudo-labels and continue training until the pseudo-labels basically do not change.
[0093] The self-trained deep residual network was finally used to classify the degree of cervical intraepithelial neoplasia. It was tested on an independent colposcopic acetic acid image dataset and divided into low-grade squamous intraepithelial lesions and high-grade squamous intraepithelial lesions.
[0094] like Figure 2 As shown in the figure, the schematic diagram of the classic generative adversarial network model consists of a discriminator and a generator, and its working principle is based on the adversarial game between two neural networks.
[0095] The task of the generator is to learn to generate data samples that are similar to real data. It receives a random noise as input and tries to convert it into an output that is similar to a real data sample. The goal of the generator is to fool the discriminator as much as possible so that it cannot distinguish between the generated data and the real data. The task of the discriminator is to distinguish between fake samples generated by the generator and real data samples. It receives input data and then tries to classify it as real data or generated data. The goal of the discriminator is to distinguish between these two types of data as accurately as possible. During the training process, the generator and the discriminator compete against each other. The generator tries to fool the discriminator by generating more realistic data, while the discriminator strives to improve its accuracy to distinguish between real data and generated data. As the training progresses, the confrontation between the generator and the discriminator will cause the generator to gradually learn the skills to generate more realistic data samples, while the discriminator becomes more accurate.
[0096] Eventually, when the training reaches equilibrium, the generator will be able to generate data that is very similar or even indistinguishable from real data samples, while the discriminator will be unable to effectively distinguish between generated data and real data.
[0097] In the first step, the goal is to generate realistic colposcopic acetic acid images. Real colposcopic acetic acid images are used as real data, and are input into the discriminator together with the false images generated by the generator for judgment. Improving the network using Wasserstein distance does not change its working principle. The quality of the output colposcopic acetic acid images is improved by the confrontation between the generator and the discriminator, and finally realistic colposcopic acetic acid images are output.
[0098] The super-resolution generative adversarial network has the same working principle. Its working principle is still based on the framework of the generative adversarial network, while combining the residual network and the perceptual loss function.
[0099] In this network, the realistic image that the generator needs to generate is a super-resolution image, and the random noise input to the generator is a random low-resolution image. The task of the generator is to convert the low-resolution input image into a high-resolution output image. It receives a low-resolution image as input and tries to generate an image similar to the original high-resolution image. Unlike traditional upsampling methods, the generator of the super-resolution generative adversarial network achieves super-resolution by learning high-frequency textures and details. The task of the discriminator is to distinguish between the super-resolution images generated by the generator and the real high-resolution images. The generated realistic images it receives are super-resolution images generated by the generator, and the real data received are real high-resolution images, and it tries to classify them as real images or generated images. The goal of the discriminator is to distinguish between these two types of images as accurately as possible.
[0100] The generator and the discriminator compete with each other to continuously improve each other's performance through a game of games. The generator tries to generate more realistic high-resolution images to fool the discriminator, while the discriminator strives to improve its accuracy to distinguish between real images and generated images.
[0101] Figure 3 Schematic diagram of the semi-supervised learning process for classifying the degree of cervical intraepithelial neoplasia.
[0102] First, the deep residual network is trained using the pictures with real labels in the original data set. After a period of iteration, the generated realistic colposcopy images and the unlabeled data in the original data set are judged to generate pseudo labels for them, that is, the label of the sample with the most certain prediction probability is selected as the real label; after integrating the obtained pseudo-annotated data with the original picture data set with real labels to form a new data set, the new data set is used to continue training the network, and after a period of iteration, the network is used to generate new pseudo labels. After integrating the data set with new pseudo labels with the original picture data set with real labels to form a new data set, the new data set is used to continue training the network, and the above process is repeated until the pseudo labels basically no longer change.
[0103] Figure 4-Figure 6 The semi-supervised learning method for cervical intraepithelial neoplasia classification combined with generative adversarial networks was used to conduct experiments on a dataset of more than 2,600 real labeled images and 5,000 images generated by generative adversarial networks. The performance of the model obtained on the same test set of more than 800 images was compared with the performance of several other common networks and the same network without this method when trained on the same real labeled dataset.
[0104] Accuracy is the most commonly used indicator in classification models, which describes the proportion of samples correctly predicted by the classifier. In this method, it is the proportion of the degree of cervical intraepithelial neoplasia represented by the correctly predicted images to the total number of images. Precision refers to the proportion of true positive examples among all samples predicted as positive examples by the classifier.
[0105] The accuracy expression is:
[0106] Recall refers to the proportion of samples successfully predicted as positive examples by the classifier among all true positive examples. In this method, it refers to the proportion of samples predicted as high-grade squamous intraepithelial lesions among the total number of true high-grade squamous intraepithelial lesions.
[0107] The recall expression is:
[0108] The F1 score is the harmonic mean of precision and recall, which takes into account the precision and recall of the model. The higher the F1 score, the better the overall performance of the model.
[0109] The F1 score expression is: in
[0110] In all expressions, TP represents the number of true positives, that is, the number of high-grade squamous intraepithelial lesions judged as high-grade squamous intraepithelial lesions; TN represents the number of true negatives, that is, the number of low-grade squamous intraepithelial lesions judged as low-grade squamous intraepithelial lesions; FP represents the number of false positives, that is, the number of low-grade squamous intraepithelial lesions mistakenly judged as high-grade squamous intraepithelial lesions; FN represents the number of false negatives, that is, the number of high-grade squamous intraepithelial lesions mistakenly judged as low-grade squamous intraepithelial lesions.
[0111] This embodiment also provides a semi-supervised learning cervical intraepithelial neoplasia degree classification system combined with a generative adversarial network, including:
[0112] Dataset acquisition unit: used to acquire colposcopy acetic acid image datasets, including images with real labels for biopsy result diagnosis confirmation and unlabeled images without biopsy results. The unlabeled images are used to train the improved generative adversarial network and the super-resolution generative adversarial network, and are used as the deep residual network for self-training. The labeled images are used for self-training of the deep residual network.
[0113] Loss function calculation unit: used to calculate the loss functions of different networks, wherein the deep residual network uses a cross entropy loss function, and the discriminator and generator in the improved generative adversarial network and the super-resolution generative adversarial network each have a different mutually adversarial loss function;
[0114] A realistic colposcopic acetic acid image generation unit: used to train the colposcopic acetic acid images in the data set through an improved generative adversarial network and a super-resolution generative adversarial network, and optimize the realistic colposcopic acetic acid images through a super-resolution generative adversarial network SRGAN;
[0115] Cervical intraepithelial neoplasia degree classification unit: used to extract colposcopic image features through a deep residual network for classification, and obtain low-grade squamous intraepithelial lesion results or high-grade squamous intraepithelial lesion results.
[0116] This application uses a deep learning method to evaluate the degree of cervical intraepithelial neoplasia in colposcopy acetic acid images, which can be used to assist clinical doctors in making judgments without errors due to fatigue and can also reduce the possibility of misdiagnosis by doctors; the semi-supervised learning method effectively utilizes the image data set that could not be used in the past due to the lack of real labels, maximizes the use of data, and combines the generative adversarial network for semi-supervised learning. The generated data further expands the data set, improves the generalization ability of the model, reduces the risk of overfitting, better adapts to the situation where the colposcopy image sample coverage is insufficient, and reduces the impact of data bias. Make the model more adaptable to the data distribution in the real world, improve its practical application value, and improve accuracy.
[0117] The above are only preferred specific implementations 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 should be based on the protection scope of the claims.
Claims
1. A semi-supervised learning method for classifying the degree of cervical intraepithelial neoplasia combined with a generative adversarial network, characterized in that: include: Generate a realistic colposcopic acetic acid image based on an improved generative adversarial network (GAN), optimize the realistic colposcopic acetic acid image through a super-resolution generative adversarial network (SRGAN), and generate a target colposcopic acetic acid image; Generate a pseudo label for the target colposcopic acetic acid image based on a deep residual network ResNet, and train the ResNet network based on the target colposcopic acetic acid image and an image with a real label until the pseudo label no longer changes, and retain the trained ResNet network; The vaginal acetoscopy image to be classified is input into the trained ResNet network to classify the degree of cervical intraepithelial neoplasia.
2. According to claim 1, the semi-supervised learning method for classifying the degree of cervical intraepithelial neoplasia combined with a generative adversarial network is characterized in that: The improved generative adversarial network GAN is a network that introduces Wasserstein distance to replace the JS divergence used in the traditional generative adversarial network, and modifies the fully connected layer of the discriminator in the original generative adversarial network into a convolutional layer, and the fully connected layer of the generator into a transposed convolution.
3. The method for classifying the degree of cervical intraepithelial neoplasia by semi-supervised learning combined with a generative adversarial network according to claim 2, characterized in that: The improved generative adversarial network GAN is trained with colposcopic acetic acid image samples, and the trained network is used to generate the realistic colposcopic acetic acid image.
4. The method for classifying the degree of cervical intraepithelial neoplasia by semi-supervised learning combined with a generative adversarial network according to claim 3, characterized in that: The loss functions of the discriminator and the generator in the improved generative adversarial network GAN are: Where, L D is the discriminator loss function, is the gradient calculation, m is the number of discretized equal-division points in the summation interval, f is the Wasserstein distance used, G(z) is the false image generated by the generator, and L G is the generator loss function.
5. The method for classifying the degree of cervical intraepithelial neoplasia by semi-supervised learning combined with a generative adversarial network according to claim 1, characterized in that: The realistic colposcopic acetic acid image is optimized by a super-resolution generative adversarial network SRGAN, including: The super-resolution generative adversarial network SRGAN is trained, and based on the trained super-resolution generative adversarial network SRGAN, the realistic colposcopic acetic acid image is optimized to enlarge the image size and refine the image texture details.
6. The method for classifying the degree of cervical intraepithelial neoplasia by semi-supervised learning combined with a generative adversarial network according to claim 1, characterized in that: The super-resolution generative adversarial network SRGAN is trained based on the colposcopic acetic acid image by: In the formula, θ G and θ D are the network parameters of the generator and the discriminator, represents the discriminator network, represents the generator network, I HR is high-resolution image data, I LR is low-resolution image data, is a fake high-resolution image generated by the generator, For the discriminator to distinguish the real high-resolution image, The discriminator is used to distinguish the fake high-resolution images generated by the generator, p train (I LR ) is the probability distribution of the real high-resolution image, p G (I LR ) is the probability distribution of the false high-resolution image generated after inputting the low-resolution image to the generator, is the mathematical expectation of the probability that a sample taken from the true high-resolution image distribution is judged by the discriminator as a true high-resolution sample, For the false data p generated from the generator G (I LR )The false high-resolution image obtained after the samples sampled from the distribution are generated by the generator and sent to the discriminator is the expectation of the negative logarithm of the predicted probability.
7. The method for classifying the degree of cervical intraepithelial neoplasia by semi-supervised learning combined with a generative adversarial network according to claim 1, characterized in that: The ResNet network is trained based on the target colposcopic acetic acid image and the image with the real label, including: The self-training method uses the pictures with real labels in the original data set to first train the deep residual network ResNet, then judges the target colposcopic acetic acid image and the unlabeled data in the original data set to generate pseudo labels, and adds the obtained data annotated with pseudo labels to the original data to continue training until the pseudo labels no longer change and the training is completed.
8. The method for classifying the degree of cervical intraepithelial neoplasia by semi-supervised learning combined with a generative adversarial network according to claim 7, characterized in that: After training the deep residual network ResNet using pictures with real labels in the original data set, pseudo labels are generated for unlabeled data, and then the pseudo label learning method in semi-supervised learning is used to self-train ResNet, where the loss function of pseudo label learning is: Where L is the loss function of pseudo-label learning, which is divided into the real label part and the pseudo-label part. The weight of the pseudo-label part is adjusted using α(t), α(t) is the weight factor for balancing labeled and unlabeled data, n is the number of labeled data, m is the number of unlabeled data, and y is i is the true label of the i-th labeled data, y j ′ is the predicted label of the jth unlabeled data, i.e., the pseudo label, f(x i ) is the model’s prediction for the i-th labeled data, f(x j ) is the model’s prediction for the jth unlabeled data.
9. A semi-supervised learning cervical intraepithelial neoplasia classification system combined with a generative adversarial network, characterized in that: include: Dataset acquisition unit: used to acquire colposcopy acetic acid image datasets, including images with real labels for biopsy result diagnosis confirmation and unlabeled images without biopsy results. The unlabeled images are used to train the improved generative adversarial network and the super-resolution generative adversarial network, and are used as the deep residual network for self-training. The images with real labels are used for self-training of the deep residual network. Loss function calculation unit: used to calculate the loss functions of different networks, wherein the deep residual network uses a cross entropy loss function, and the discriminator and generator in the improved generative adversarial network and the super-resolution generative adversarial network each have a different mutually adversarial loss function; A realistic colposcopic acetic acid image generation unit: used for training the colposcopic acetic acid images in the data set by using an improved generative adversarial network and a super-resolution generative adversarial network, and optimizing the realistic colposcopic acetic acid images by using a super-resolution generative adversarial network SRGAN; Cervical intraepithelial neoplasia degree classification unit: used to extract colposcopic image features through a deep residual network for classification, and obtain low-grade squamous intraepithelial lesion results or high-grade squamous intraepithelial lesion results.
Citation Information
Patent Citations
Infrared face image super-resolution reconstruction method based on generative adversarial network
CN108805809A
Method for constructing dermatoglyph classification prediction model by introducing ResNet deep learning network
CN110321785A
Cervical cell image semi-supervised learning method based on generative adversarial network
CN113887725A
Brain PET image super-resolution method, system, device and processing terminal
CN114004748A
Semi-supervised organ tissue image segmentation method and system based on double adversarial network
CN115439486A
