Ultrasonic medical image segmentation method based on semi-supervised learning
Through the alternating bidirectional interpolation method of dual-model cross pseudo-labeling, the problem of scarcity of annotated data and insufficient utilization of unlabeled data in ultrasonic medical image segmentation is solved, achieving more efficient and accurate segmentation effects and reducing reliance on high-quality annotation. Improved performance of semi-supervised learning.
Patent Information
- Application Number
- CN202410621525.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-09-06
AI Technical Summary
Due to the scarcity of annotation data and the high dependence on high-quality pixel-level annotations in the existing technology for ultrasound medical image segmentation, the performance improvement of the model in semi-supervised learning is limited, and the two-way copy-and-paste method has problems with high-quality annotation coverage and fixed components. , unable to effectively utilize the semantic information of unlabeled data.
The alternating bidirectional interpolation method based on dual-model cross pseudo-labels is used for semi-supervised learning training. By initializing the large model and the small model, the pseudo-label stability module is used to determine the stability of the generated pseudo-labels, and the model parameters are updated through alternating interpolation and gradient descent. Form implicit consistency regularization, reduce errors of explicit consistency regularization and rely on high-quality annotation.
It improves the shortcomings of the two-way copy-and-paste method, improves the model's utilization of unlabeled data, reduces the reliance on high-quality annotations, improves segmentation performance, and significantly improves the segmentation effect of ultrasound medical images with a small amount of annotations.
Smart Images

Figure CN118608554A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of medical image processing, and in particular relates to an ultrasonic medical image segmentation method. Background Art
[0002] At present, computer-aided diagnosis systems have been developed to assist radiologists in detecting and diagnosing abnormalities, and a large number of pattern recognition technologies have been proposed to assist doctors in their diagnosis. Medical image segmentation is the core task of quantitative and qualitative analysis of medical images, and plays an important role in lesion identification, planning preoperative parameters, and target area delineation. Ultrasound imaging is a non-invasive imaging technology that can display information about the internal sections of the human body in real time. It has the advantages of low cost and high efficiency, and plays a key role in the examination of small organ diseases such as thyroid and breast. However, the low contrast and low signal-to-noise ratio of ultrasound images, the inherent shortcomings of ultrasound images, and the characteristics of lesions have brought challenges to the automatic segmentation of lesions in ultrasound medical images.
[0003] In recent years, the success of deep learning technology can be attributed to the large amount of data. The annotation of natural images is relatively simple and does not require much professional knowledge. After formulating unified annotation requirements, non-professionals can also participate in data annotation. The success of medical image segmentation methods based on deep learning usually depends on pixel-level annotation data. However, it is very difficult and expensive to obtain high-quality pixel-level annotations of medical images. In the field of medical imaging, only experts can provide reliable and accurate annotations. Since ultrasound medical images are generally not archived, the annotations of ultrasound medical images are very few. A small amount of labeled data and a large amount of unlabeled data are more in line with actual clinical scenarios. Semi-supervised learning of medical image segmentation aims to learn the features of medical images by using a small amount of labeled data and a large amount of unlabeled data to obtain high-quality segmentation results. It is a problem that meets both clinical actual needs and is technically challenging.
[0004] Although many researchers have introduced various methods for semi-supervised learning under the framework of semi-supervised learning, these methods usually process labeled samples and unlabeled samples separately during the training process, which may be the key bottleneck for improving the performance of segmentation models under the framework of semi-supervised learning. In the framework of semi-supervised medical image segmentation, researchers mostly use unsupervised consistency regularization to process unlabeled images, focusing on how to use unlabeled data alone under various manual perturbations, that is, labeled images use annotations for basic supervised learning, and unlabeled images are supervised by constructing consistency loss. This method cannot fully mine the semantic information of image samples, especially on unlabeled image samples without annotations, which leads to suboptimal solutions of the model. The bidirectional copy-paste semi-supervised learning method solves the empirical mismatch problem of the distribution of labeled data and unlabeled data to a certain extent. However, the bidirectional copy-paste semi-supervised learning method has the problem of high-quality labeled images being covered and the components of the same image being fixed in the interpolation in the semi-supervised learning task of ultrasound medical images, which is a waste of expensive pixel-level labeled images. In the actual training process, the model learns very little knowledge of images with high-quality annotations, and the impact is greater when there are fewer labeled images. Summary of the invention
[0005] The purpose of the present invention is to provide an ultrasonic medical image segmentation method based on semi-supervised learning to overcome the shortcomings of the prior art and to perform efficient and correct segmentation of ultrasonic medical images using a small number of annotated images and a large number of unannotated images.
[0006] The ultrasonic medical image segmentation method based on semi-supervised learning provided by the present invention adopts alternating bidirectional interpolation based on dual-model cross pseudo-labels to perform semi-supervised learning training, and the specific steps are as follows:
[0007] (1) obtaining an ultrasonic medical image dataset, and performing data enhancement on medical images used for training using a data enhancement strategy to obtain an enhanced ultrasonic medical image training set; the ultrasonic medical image dataset includes annotated ultrasonic medical images and their corresponding pixel-level annotations, and unlabeled ultrasonic medical images;
[0008] (2) Full-image interpolation is performed between labeled ultrasound medical images and unlabeled ultrasound medical images. An image may be a main component or a minor component.
[0009] (3) Initialize two medical image segmentation models, one is a large model, which serves as a teacher model; the other is a small model, which serves as a student model;
[0010] An unlabeled ultrasound medical image is input into a large model to obtain a pseudo label of the unlabeled ultrasound medical image, and the stability of the pseudo label is determined by a pseudo label stability module;
[0011] An unlabeled ultrasound medical image is input into the small model to obtain a pseudo label of the unlabeled ultrasound medical image, and the stability of the pseudo label is determined by a pseudo label stability module;
[0012] (4) If the pseudo-labels generated by the large model are unstable, the small model performs ordinary supervised learning using the labeled ultrasound medical images and their corresponding pixel-level annotations, and updates the parameters of the small model using the gradient descent method; if the pseudo-labels generated by the large model are stable, the pseudo-labels are interpolated with the true labels of the labeled images to supervise the interpolation of the labeled images and the unlabeled images, and the parameters of the small model are updated using the gradient descent method;
[0013] (5) If the pseudo-label generated by the small model is unstable, the large model performs ordinary supervised learning using the labeled ultrasound medical images and their corresponding pixel-level annotations, and updates the parameters of the large model using the gradient descent method; if the pseudo-label generated by the small model is stable, the pseudo-label is interpolated with the true label of the labeled image to supervise the interpolation of the labeled image and the unlabeled image, and the parameters of the large model are updated using the gradient descent method.
[0014] Compared with the prior art, the beneficial effects of the present invention are:
[0015] (1) It improves the problem of high-quality annotated images being covered and the fixed components of the same image in the interpolation in the bidirectional copy-and-paste semi-supervised learning method in the ultrasound medical image segmentation task. It can generate more sample image combinations by alternating interpolation and maintain the ability to learn common semantics from annotated and unannotated images in a bidirectional manner.
[0016] (2) It improves the defects of semi-supervised learning under the mean teacher model framework, namely, the teacher model accumulates too much erroneous knowledge, which leads to the decline of pseudo-label quality, and the problem of being unable to effectively capture the key parameters of the model in medical image segmentation tasks due to the existence of skip-layer connections.
[0017] (3) A strategy of using a relatively large model as the teacher model and a relatively small model as the student model is adopted. The teacher model with high segmentation accuracy and robustness provides high-quality pseudo labels to guide the student model to learn better knowledge and achieve better performance without increasing the inference time of the learned small model.
[0018] (4) The cross-teaching of large and small models forms an implicit consistency regularization, which can produce more stable and accurate pseudo-labels than explicit consistency regularization, and reduce the situation in which different networks make the same predictions but are actually wrong in explicit consistency regularization.
[0019] (5) The present invention can utilize a small amount of annotated images and a large amount of unannotated images to segment ultrasound medical images, and the improvement over other semi-supervised learning methods is significant, reducing the reliance on high-quality pixel-level annotation of ultrasound medical images and alleviating the pressure of annotation of ultrasound medical image datasets. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 The defects of the bidirectional copy-paste method on small lesions.
[0021] Figure 2 The defects of the bidirectional copy-paste method on large lesions.
[0022] Figure 3 Figure 2 is the structure diagram of the EffficientNetb4 U-Net segmentation model with multi-head self-attention layer.
[0023] Figure 4 Schematic diagram of the alternating bidirectional interpolation training method based on dual-model cross-pseudo-labels.
[0024] Figure 5 This is a comparison chart of the segmentation effects of the semi-supervised learning method proposed in the present invention and a semi-supervised learning method with better performance. DETAILED DESCRIPTION
[0025] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0026] Step 1: Obtain an ultrasound medical image dataset, and use a data enhancement strategy to perform data enhancement on the medical images used for training to obtain an enhanced ultrasound medical image training set. Data enhancement strategies are widely used in deep learning, enabling the model to have better recognition capabilities for images of different scales, angles, and lighting conditions, and can effectively improve the generalization and robustness of the model.
[0027] The medical image datasets include but are not limited to:
[0028] The DDTI dataset is a thyroid nodule dataset that contains a set of b-mode ultrasound images from a single device. It comes from the IDIME Ultrasound Center, one of the largest diagnostic imaging centers in Colombia, and performs more than 2,000 thyroid ultrasound examinations associated with fine needle aspiration each year. Due to the difficulty of nodule detection in ultrasound, ultrasound thyroid image analysis is a vast and continuously expanding field with certain challenges.
[0029] The BUSI dataset is an ultrasound breast cancer dataset that contains 780 images obtained by two ultrasound devices (LOGIQ E9 ultrasound and LOGIQ E9 Agile Ultrasound System) at Baheya Hospital. Breast cancer is one of the most common causes of death among women worldwide, and early detection helps reduce the number of early deaths. Since the BUSI dataset contains ultrasound images of normal, benign, and malignant cases of breast cancer, only 647 benign and malignant case images with pixel-level annotations were selected for experimental description.
[0030] The data enhancement strategy in step 1 includes using 90-degree random rotation and random flipping on the training set to perform data enhancement. In addition, the image size of all datasets is resized to 256×256.
[0031] In the semi-supervised learning problem, there are labeled images X l1 and X l2 The true label of is known, which is Y l1 and Y l2 , the unlabeled image is X u1 and X u2 Initialize two medical image segmentation models, one is a large model and the other is a small model. The large model is used as the teacher model. The present invention uses the EffficientNetb4 U-Net segmentation model with a multi-head self-attention layer, see Figure 3 ; The small model is used as a student model, and the present invention uses the basic medical image segmentation model U-Net.
[0032] Step 2: Transform the unlabeled image X u1 and X u2 Input into the student model, block the gradient and forward propagate, the student model generates a pseudo label Y stu1 and Y stu2 ; The unlabeled image X u1 and X u2 Input to the teacher model, block the gradient and forward propagate, the teacher model generates a pseudo label Y tch1 and Y tch2 .
[0033] Step 3: In a batch, use the pseudo-label stability judgment module to judge the stability of the pseudo-labels generated by the student model. If Concat(Y stu1 , Y stu2 ) is unstable, the teacher model performs supervised learning. If Concat(X l1 , X l2 ) When the output of the teacher model is X tchout ,have:
[0034] Losstch = loss(X tchout , Concat(Y l1 , Y l2 )) , (1)
[0035] Update the parameters of the teacher model using the gradient descent method, and the training process of the teacher model for this training ends.
[0036] Within a batch, use the pseudo-label stability judgment module to judge the stability of the pseudo-labels generated by the teacher model. If Concat(Y tch1 , Y tch2 ) is unstable, the student model performs supervised learning. If Concat(X l1 , X l2 ) at the output of the student model is X stuout , there is
[0037] Loss stu = loss(X stuout , Concat(Y l1 , Y l2 )) , (2)
[0038] Update the parameters of the student model using the gradient descent method, and the training process of the student model for this training ends.
[0039] The pseudo-label stability judgment module in step 3 includes class stability and rotation stability judgment. Specifically, in the binary segmentation problem, if the class confidence e is set, e ∈ (0, 0.5), then the predicted probability value on a pixel should have I < e or I > 1 - e to be considered a good prediction. Further, for an entire predicted probability map, the proportion of pixels with good predictions among all pixels should be greater than a threshold stable class , then this probability prediction map is considered class-stable. For an unlabeled image V, assuming the mappings of random rotations of 90 degrees, 180 degrees, or 270 degrees are R, and the mapping of the segmentation model to the input image is f, if MSE[R(f(V)), f(R(V))] < stable rot , where MSE is the mean squared error and stable rot is the rotation stability threshold, then the probability prediction map of this unlabeled image is considered rotation-stable.
[0040] Step 4: If Concat(Y stu1 , Y stu2 ) is stable, in the binary segmentation problem of lesions, pass Y stu1 and Y stu2The value of is mapped to 0 and 1, and the teacher model continues the training process of alternating bidirectional interpolation; if Concat(Y tch1 , Y tch2 ) is stable. In the binary segmentation problem of the lesion, Y is set to tch1 and Y tch2 The values of are mapped to 0 and 1, and the student model continues the training process of alternating bidirectional interpolation.
[0041] Step 5: See Figure 4 , for a labeled image X l1 and the unlabeled image X u1 , with annotated image X l2 and the unlabeled image X u2 , interpolate to get the mixed image X 1 and X 2 ,have:
[0042] X 1 =λX l1 + (1-λ)X u1 , (3)
[0043] X 2 =(1-λ)X l2 +λX u2 , (4)
[0044] Among them, λ∈[0,1] and λ~Beta(α,α), α is a hyperparameter, generally 0.2-0.4. If λ<0.5, then X 2 is a mixture of labeled images; if λ>0.5, then X 1 It is a mixture of annotated images. The distribution of λ is symmetric about 0.5, and the greater probability is a value close to 0 or close to 1, which makes it possible for an image to be the main component or the minority component in the mixture. If in one interpolation, for an annotated image, the interpolation weight λ is less than 0.5, showing a minority component, then in the same iteration, the interpolation weight of another annotated image is 1-λ, showing the main component. This interpolation strategy allows a certain amount of annotated images to be used as the main component in each iteration, and learn high-quality pixel-level annotation information.
[0045] Step 6: See Figure 4 , X 1 and X 2 Input into the student model, forward propagate, and obtain the student model's prediction X S1 and X S2 ; X 1 and X 2 Input into the teacher model, forward propagation, and obtain the teacher model's prediction X T1 and XT2 .
[0046] Step 7: See Figure 4 , for the true label Y l1 and the pseudo-label Y generated by the student model stu1 , the true label Y l2 and the pseudo-label Y generated by the student model stu2 , interpolate to obtain the mixed label Y for supervising the teacher model T1 and Y T2 ,have:
[0047] Y T1 =λY l1 + (1-λ)Y stu1 , (5)
[0048] Y T2 =(1-λ)Y l2 + λY stu2 , (6)
[0049] For the true label Y l1 and the pseudo-label Y generated by the teacher model tch1 , the true label Y l2 and the pseudo-label Y generated by the teacher model tch2 , interpolate to obtain the mixed label Y used to supervise the student model S1 and Y S2 ,have:
[0050] Y S1 =λY l1 + (1-λ)Y tch1 , (7)
[0051] Y S2 =(1-λ)Y l2 + λY tch2 , (8)
[0052] Step 8: See Figure 4 , using the loss function to supervise X S1 and Y S1 , X S2 and Y S2 , to learn the student model,
[0053] Loss stu =0.5×(loss(X S1 , Y S1 ) + loss(X S2 , Y S2 )) , (9)
[0054] The parameters of the student model are updated using gradient descent.
[0055] Use loss function to supervise X T1 and Y T1 , X T2 and Y T2 , to learn the teacher model,
[0056] Loss tch =0.5×(loss(X T1 , Y T1 ) + loss(X T2 , Y T2 )) , (10)
[0057] The parameters of the teacher model are updated using gradient descent.
[0058] The loss in steps 3 and 8 is a loss function, which is illustrated by using the average of binary cross entropy and binary Dice loss commonly used in the semi-supervised segmentation task of medical images.
[0059] The gradient descent method in steps 3 and 8 uses the AdamW optimizer with an initial learning rate of 0.0001 to optimize the parameters, and adopts an optimization method that gradually reduces the basic learning rate as the training cycle (epoch) increases. For the learning rate reduction method, the cosine annealing learning rate adjustment plan is used. With the iteration of the epoch, the learning rate gradually decreases from the initial 0.0001 to 0.00001. The total batch size is set to 8, of which the batch size of the labeled images is 4 and the batch size of the unlabeled images is also 4. In the semi-supervised learning framework, the unlabeled data is often more than the labeled data. Therefore, in one epoch, the labeled data is iterated multiple times and the unlabeled data is iterated once, and a total of 400 epochs are iterated.
[0060] In order to evaluate the segmentation performance of the semi-supervised learning medical image segmentation method proposed in the present invention on ultrasound medical images, the provided method and the following semi-supervised learning methods are compared on the ultrasound medical image segmentation tasks of the DDTI dataset and the BUSI dataset, including Deep Adversarial Networks (DAN), Cross-consistency Training (CCT), Cross Pseudo Supervision (CPS), Cross Teaching between CNN and Transformer (CTCT), Deep Co-Training (DCT), Entropy Minimization (EM), Interpolation Consistency Training (ICT), Mean Teacher (MT), Uncertainty-Aware Mean Teacher (UAMT), Uncertainty Rectified Pyramid Consistency (URPC), and Bidirectional Copy-Paste (BCP).
[0061] In the experimental phase, the DDTI dataset and the BUSI dataset were used for experiments. Both the DDTI dataset and the BUSI dataset are divided into training set, validation set, and test set in a ratio of 3:1:1. According to the research method of semi-supervised learning, considering the difficulty of segmenting ultrasound thyroid nodules and ultrasound breast cancer lesions, two annotation ratios are set for the training set, which are 12.5% and 25% respectively. At the 12.5% annotation ratio, the DDTI dataset has 47 images as annotated images and 335 images as unannotated images; the BUSI dataset has 48 images as annotated images and 340 images as unannotated images. At the 25% annotation ratio, the DDTI dataset has 95 images as annotated images and 287 images as unannotated images; the BUSI dataset has 97 images as annotated images and 291 images as unannotated images.
[0062] The experimental results of different semi-supervised learning methods on the DDTI dataset are shown in Table 1, and the experimental results of different semi-supervised learning methods on the BUSI dataset are shown in Table 2. In the table, the dual-model cross pseudo-label alternating bidirectional interpolation training method (Stable Cross Pseudo Alternating Bidirectional Interpolation) with a pseudo-label stability judgment module proposed in the present invention is referred to as SCPABI.
[0063] It can be seen that in the semi-supervised segmentation task of ultrasound medical images, due to the differences in the morphology and size of thyroid nodules and breast cancer lesions, some comparison methods may not be as effective as fully supervised learning with only labeled images under a specific annotation ratio of a specific data set, which is negative optimization. However, in general, these semi-supervised learning methods are effective and help the model learn unlabeled images. In general, the dual-model cross-pseudo-label alternating bidirectional interpolation training method (SCPABI) with a pseudo-label stability judgment module has the best overall segmentation results. See Figure 5 , a comparison of the segmentation effects of the semi-supervised learning method proposed in the present invention and a semi-supervised learning method with better performance is given at a labeling ratio of 12.5%.
[0064] On the DDTI dataset, the improvement of the alternating bidirectional interpolation semi-supervised learning training method based on dual-model cross pseudo-labels is significant. At a 12.5% annotation ratio, the method proposed by the present invention improves by 12.56% compared to the DSC of full supervised learning; at a 25% annotation ratio, the method proposed by the present invention improves by 9.27% compared to the DSC of full supervised learning.
[0065] On the BUSI dataset, the improvement of the alternating bidirectional interpolation semi-supervised learning training method based on dual-model cross pseudo-labels is also significant. At a 12.5% annotation ratio, the method proposed by the present invention improves the DSC by 15.17% compared to the fully supervised learning; at a 25% annotation ratio, the method proposed by the present invention improves the DSC by 10.57% compared to the fully supervised learning, achieving a DSC of 70.62%, which is higher than the DSC of fully supervised training with annotated images with an annotation ratio of 100%, indicating that the introduction of the large teacher model is extremely beneficial.
[0066] Table 1: Experimental results of different semi-supervised learning methods on the DDTI dataset
[0067]
[0068]
[0069] Table 2: Experimental results of different semi-supervised learning methods on the BUSI dataset
[0070]
Claims
1. A method for ultrasonic medical image segmentation based on semi-supervised learning, characterized in that: The specific steps include: (1) obtaining an ultrasonic medical image dataset, and performing data enhancement on medical images used for training using a data enhancement strategy to obtain an enhanced ultrasonic medical image training set; the ultrasonic medical image dataset includes annotated ultrasonic medical images and their corresponding pixel-level annotations, and unlabeled ultrasonic medical images; (2) Full-image interpolation is performed between labeled ultrasound medical images and unlabeled ultrasound medical images. An image may be a main component or a minor component. (3) Initialize two medical image segmentation models, using a large model as the teacher model and a small model as the student model; An unlabeled ultrasound medical image is input into a large model to obtain a pseudo label of the unlabeled ultrasound medical image, and the stability of the pseudo label is determined by a pseudo label stability module; An unlabeled ultrasound medical image is input into the small model to obtain a pseudo label of the unlabeled ultrasound medical image, and the stability of the pseudo label is determined by a pseudo label stability module; (4) If the pseudo-labels generated by the large model are unstable, the small model performs ordinary supervised learning using the labeled ultrasound medical images and their corresponding pixel-level annotations, and updates the parameters of the small model using the gradient descent method; if the pseudo-labels generated by the large model are stable, the pseudo-labels are interpolated with the true labels of the labeled images to supervise the interpolation of the labeled images and the unlabeled images, and the parameters of the small model are updated using the gradient descent method; (5) If the pseudo-label generated by the small model is unstable, the large model performs ordinary supervised learning using the labeled ultrasound medical images and their corresponding pixel-level annotations, and updates the parameters of the large model using the gradient descent method; if the pseudo-label generated by the small model is stable, the pseudo-label is interpolated with the true label of the labeled image to supervise the interpolation of the labeled image and the unlabeled image, and the parameters of the large model are updated using the gradient descent method.
2. The ultrasonic medical image segmentation method according to claim 1, characterized in that: The data augmentation strategy described in step 1 includes using 90-degree random rotation and random flipping on the training set for data augmentation; in addition, the images of all datasets are resized to 256×256.
3. The ultrasonic medical image segmentation method according to claim 1, characterized in that: The teacher model uses the EffficientNetb4 U-Net segmentation model with a multi-head self-attention layer, and the student model uses the medical image segmentation model U-Net.
4. The ultrasonic medical image segmentation method according to claim 3, characterized in that: In the semi-supervised learning problem, there are labeled images X l1 and X l2 The true label of is known, which is Y l1 and Y l2 , the unlabeled image is X u1 and X u2 ; The initialization of the two medical image segmentation models is to convert the unlabeled image X u1 and X u2 Input to the student model, block the gradient and forward propagate, the student model generates a pseudo label Y stu1 and Y stu2 ; The unlabeled image X u1 and X u2 Input to the teacher model, block the gradient and forward propagate, the teacher model generates a pseudo label Y tch1 and Y tch2 .
5. The method for segmenting an ultrasonic medical image according to claim 4, characterized in that: In a batch, the pseudo-label stability judgment module is used to judge the stability of the pseudo-labels generated by the student model. If Concat(Y stu1 , Y stu2 ) is unstable, the teacher model performs supervised learning. If Concat(X l1 , X l2 ) When the output of the teacher model is X tchout ,have: Loss tch = loss(X tchout ,Concat(Y l1 ,Y l2 )) , (1) The parameters of the teacher model are updated using the gradient descent method, and the training process of the teacher model for this training is completed; In a batch, the pseudo-label stability judgment module is used to judge the stability of the pseudo-labels generated by the teacher model. If Concat(Y tch1 , Y tch2 ) is unstable, the student model performs supervised learning. If Concat(X l1 , X l2 ) The output of the student model is X stuout ,have: Loss stu = loss(X stuout ,Concat(Y l1 ,Y l2 )) , (2) The parameters of the student model are updated using the gradient descent method, and the student model training process for this training is completed.
6. The method for segmenting an ultrasonic medical image according to claim 5, characterized in that: The pseudo-label stability judgment module includes class stability and rotation stability judgment; specifically, in the binary segmentation problem, if the class confidence e is set, where e ∈ (0, 0.5), then a prediction probability value on a pixel that satisfies I < e or I > 1 - e is considered a good prediction; further, for an entire prediction probability map, if the proportion of pixels with good predictions among all pixels is greater than a threshold stable class , then this probability prediction map is considered class-stable; for an unlabeled image V, assuming that the mappings of random rotations of 90 degrees, 180 degrees, or 270 degrees are R, and the mapping of the segmentation model to the input image is f, if MSE[R(f(V)), f(R(V))] < stable rot , where MSE is the mean squared error and stable rot is the rotation stability threshold, then the probability prediction map of this unlabeled image is considered rotation-stable.
7. The method for segmenting an ultrasonic medical image according to claim 6, characterized in that: If Concat(Y stu1 , Y stu2 ) is stable. In the problem of binary segmentation of lesions, Y is set to stu1 and Y stu2 The value of is mapped to 0 and 1, and the teacher model continues the training process of alternating bidirectional interpolation; if Concat(Y tch1 , Y tch2 ) is stable. In the problem of binary segmentation of lesions, Y is set to tch1 and Y tch2 The values of are mapped to 0 and 1, and the student model continues the training process of alternating bidirectional interpolation.
8. The ultrasonic medical image segmentation method according to claim 7, characterized in that: For a labeled image X l1 and the unlabeled image X u1 , with annotated image X l2 and the unlabeled image X u2 , interpolate to get the mixed image X 1 and X 2 : X 1 =λX l1 + (1-λ)X u1 , (3) X 2 =(1-λ)X l2 + λX u2 , (4) Where λ∈[0,1] and λ~Beta(α,α), α is a hyperparameter; if λ<0.5, then X 2 is a mixture of labeled images; if λ>0.5, then X 1 It is a mixture dominated by annotated images; the distribution of λ is symmetric about 0.5, which makes it possible for an image to be the main component or the minor component in the mixture; if in one interpolation, for an annotated image, the interpolation weight λ is less than 0.5, showing as a minor component, then in the same iteration, the interpolation weight of another annotated image is 1-λ, showing as the main component; this interpolation strategy allows a certain amount of annotated images to be used as the main component in each iteration, and to learn high-quality pixel-level annotation information.
9. The ultrasonic medical image segmentation method according to claim 8, characterized in that: X 1 and X 2 Input into the student model, forward propagate, and obtain the student model's prediction X S1 and X S2 ; X 1 and X 2 Input into the teacher model, forward propagate, and obtain the teacher model's prediction X T1 and X T2 .
10. The ultrasonic medical image segmentation method according to claim 9, characterized in that: For the true label Y l1 and the pseudo-label Y generated by the student model stu1 , the true label Y l2 and the pseudo-label Y generated by the student model stu2 , interpolate to obtain the mixed label Y used to supervise the teacher model T1 and Y T2 ,have: AND T1 =LY l1 + (1-λ)Y stu1 , (5) AND T2 (1-λ)Y l2 + λY stu2 , (6) For the true label Y l1 and the pseudo-label Y generated by the teacher model tch1 , the true label Y l2 and the pseudo-label Y generated by the teacher model tch2 , interpolate to obtain the mixed label Y used to supervise the student model S1 and Y S2 ,have: AND S1 =LY l1 + (1-λ)Y tch1 , (7) AND S2 (1-λ)Y l2 + λY tch2 , (8) Using the loss function Loss stu Supervision X S1 and Y S1 , X S2 and Y S2 , to learn the student model: Loss stu =0.5×(loss(X S1 ,Y S1 ) + loss(X S2 ,Y S2 )) , (9) Update the parameters of the student model using gradient descent; Using the loss function Loss tch Supervision X T1 and Y T1 , X T2 and Y T2 , to learn the teacher model: Loss tch =0.5×(loss(X T1 ,Y T1 ) + loss(X T2 ,Y T2 )) , (10) The parameters of the teacher model are updated using gradient descent.
Citation Information
Patent Citations
Semi-supervised medical image segmentation method and device based on dual-model interactive learning
CN114332135A
Bidirectional copying and pasting semi-supervised medical image segmentation method
CN116468746A
Robot fleet management and additive manufacturing for value chain networks
WO2022133330A1
Cited By
Ultrasonic image segmentation model training method, ultrasonic image segmentation method, electronic equipment and storage medium
CN119323713A
Ultrasonic image segmentation model training method, ultrasonic image segmentation method, electronic device and storage medium
CN119323713B
Thyroid nodule segmentation method based on large model and collaborative and consistent training
CN120451156A
Thyroid nodule segmentation method based on large model and collaborative consensus training
CN120451156B
Image annotation boundary automatic correction method and system based on semi-supervised learning
CN121213591A
