Semi-supervised tumor segmentation method based on adaptive copying and pasting of iterative pseudo labels

Through the iterative pseudo-label adaptive copy-and-paste method and the bidirectional copy-and-paste strategy, the problem of insufficient applicability of existing semi-supervised tumor segmentation methods in multiple tumor lesion areas and small-volume tumor patients is solved, and more accurate and robust medicine is achieved. Image segmentation is close to the effect of fully supervised learning.

CN118570459AActive Publication Date: 2024-08-30NORTHWESTERN POLYTECHNICAL UNIV

Patent Information

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

AI Technical Summary

Technical Problem

Existing semi-supervised tumor segmentation methods have limited applicability when dealing with multiple tumor lesion areas or small-volume tumor patients, and ignore the data enhancement strategy between labeled and unlabeled data, leading to the problem of incorrect pseudo-label prediction.

Method used

It uses an iterative pseudo-label adaptive copy-and-paste method, integrates bidirectional uncertainty into an adaptive enhancement strategy, and gradually aligns the pseudo-labels generated by the student model with the predictions of the teacher model. It combines the bidirectional copy-and-paste strategy to effectively utilize labeled and unlabeled data to construct IPA-CP network model.

Benefits of technology

The accuracy and robustness of medical image segmentation are significantly improved on esophageal tumor and liver tumor data sets, outperforming state-of-the-art semi-supervised methods, especially in small tumor segmentation, and approaching the performance of fully supervised learning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570459A
    Figure CN118570459A
Patent Text Reader

Abstract

The invention discloses a semi-supervised tumor segmentation method based on adaptive copying and pasting of iterative pseudo labels, and the method comprises the steps: integrating bidirectional uncertainty into an adaptive enhancement strategy to highlight the prediction difference between a teacher model and a student model, and gradually aligning the pseudo labels generated by the student model with the prediction of the teacher model in an iterative manner. And generating a pseudo tag with richer information for the unmarked sample. According to the method, a bidirectional copying and pasting strategy is combined, and marked and unmarked data can be effectively utilized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of pattern recognition, and in particular relates to a semi-supervised tumor segmentation method. Background Art

[0002] Recent advances in deep learning have had a huge impact on medical image segmentation, especially in tumor segmentation tasks. For example, Wang et al. proposed an architecture based on U-Net and ResBlock for fully automatic brain tumor segmentation in MRI images. Christ et al. used a cascaded fully convolutional neural network (FCNN) to automatically segment liver and tumors. However, current medical tumor segmentation methods mainly rely on a large amount of labeled data. The scarcity of high-quality annotated datasets and the difficulty of annotation seriously hinder the development and optimization of segmentation models. In addition, many variants of U-Net and non-U-Net architectures, especially in the field of 3D medical imaging, usually have a large number of parameters, which not only increases the computational complexity but also hinders the application of these models in reality. Semi-supervised learning (SSL) utilizes both labeled and unlabeled data, providing an effective solution to the challenges posed by the annotation bottleneck, and has attracted considerable attention in medical image processing. Semi-supervised learning techniques can be roughly divided into three categories: (1) Methods based on consistency regularization: For example, URPC improves the reliability of predictions by minimizing the difference between each pyramid prediction and its collective mean. (2) Methods based on self-training and pseudo-labeling: For example, Chaitanya et al. used pseudo-labels of unlabeled images to improve pixel-level feature learning by integrating local contrast loss. (3) Methods based on adversarial learning: ACTS combines adversarial learning with consistency learning and explores a new adversarial network based on dynamic convolution and liver and skin lesion segmentation.

[0003] Despite significant progress in recent years, current semi-supervised methods still have limitations. Most semi-supervised methods, such as UA-MT and Bidirectional Copy Paste (BCP), mainly target organs with larger shapes and fewer lesion areas, limiting their applicability to the study of patients with multiple tumor lesions or small tumor volumes. Secondly, some methods, such as MCF and MCNet+, mainly focus on embedding additional components in the backbone network and designing mixed loss functions, neglecting the exploration of data augmentation strategies between labeled and unlabeled data. Some semi-supervised methods train labeled and unlabeled data separately, ignoring the importance of consistency learning. At the same time, due to the differences between different tumors and between teacher and student models, current methods for improving pseudo-labels still inevitably have incorrect predictions. Summary of the invention

[0004] In order to overcome the shortcomings of the prior art, the present invention provides a semi-supervised tumor segmentation method with iterative pseudo-label adaptive copy-paste, which incorporates bidirectional uncertainty into the adaptive enhancement strategy to highlight the prediction difference between the teacher and student models, and iteratively aligns the pseudo-labels generated by the student model with the predictions of the teacher model to generate more informative pseudo-labels for unlabeled samples. This method combines the bidirectional copy-paste strategy to effectively utilize labeled and unlabeled data.

[0005] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0006] Step 1: training set creation;

[0007] Step 1-1: FSD (esophageal fistula tumor) dataset preparation;

[0008] Diagnose esophageal fistulas using images. The dataset used contains CT scans of multiple patients with esophageal fistula cancer. Label the esophageal tumors in the images.

[0009] The entire data set is divided into a training set and a test set; in the training set, N samples are randomly selected for verification;

[0010] Step 1-2: MSD (Medical Segmentation Decathlon Challenge) dataset creation;

[0011] The MSD dataset was created using the liver tumor segmentation challenge dataset. The use cases in the liver tumor segmentation challenge dataset were randomly divided into three subsets: training set, validation set, and test set.

[0012] Step 2: Build the IPA-CP network model training framework;

[0013] Step 2-1: Adaptive enhanced TUAA based on bidirectional uncertainty;

[0014] Use the Mean Teacher architecture to model the prediction difference; adopt both weak and strong enhancement strategies for unlabeled samples; for each unlabeled data sample u i Generate a random region mask M with different hole numbers and sizes i , use an adaptive enhancement strategy to refine the enhancement of unlabeled samples, and adopt a bidirectional uncertainty estimation for each weakly enhanced sample and strongly enhanced sample;

[0015] Step 2-2: Iterative pseudo-label transformation IPT;

[0016] Fine-tune pseudo labels from student and teacher models using IPT strategy and

[0017] Step 2-3: Bidirectional copy and paste supervision BCP;

[0018] Integrate the BCP method to confuse the final image composition and pseudo-labels; binary masks distinguish voxels from foreground or background; omit the "select the largest connected component" strategy;

[0019] Step 3: Construct training loss function;

[0020] The present invention adopts cross entropy loss CE and Dice loss at the same time;

[0021] Step 4: Medical image classification quality score evaluation.

[0022] Preferably, the step 2-1 is specifically:

[0023] For each unlabeled instance u i , use A w (·) Generate a weakly augmented view and use A s (·) Generate a strong augmented view; for each unlabeled data sample u i Generate a random region mask M with different hole numbers and sizes i ; Then, between the strongly enhanced sample and the mask M i A blending step is applied between them; the predictions are calculated as follows:

[0024]

[0025]

[0026] In the formula, represents the segmentation predictions generated by the student model, corresponds to the segmentation predictions generated by the teacher model;

[0027] Prediction of inconsistent P i dif The statement is as follows:

[0028]

[0029] P i dif =||P i s -P i t ||

[0030] Where P i s and P i t It is a pseudo label;

[0031] Use KL (Kullback-Leibler) divergence to quantify the differences between predictions;

[0032] Bidirectional uncertainty estimation is used for each weakly enhanced sample and each strongly enhanced sample;

[0033] The calculation process of uncertainty score is as follows:

[0034]

[0035] Among them, II is the indicator function, τ represents a predefined threshold, represents the divergence of the probability distribution of the student model relative to the teacher model, represents divergence in the opposite direction;

[0036] Adaptively refine the weak-strong enhancement, each unlabeled sample u i Adaptive enhanced version of The statement is as follows:

[0037]

[0038] Introducing a random binary mask M i Changes caused by unlabeled samples is expanded as follows:

[0039]

[0040] Preferably, the step 2-2 is specifically:

[0041] The pseudo-label target is updated as follows:

[0042]

[0043] Where e is the e-th iteration of a total of E training iterations; E is the total number of training rounds.

[0044] Preferably, the steps 2-3 are specifically:

[0045] Small batches of labeled data and unlabeled mini-batches Randomly generate a binary mask M, where (B x |=|B u |); The binary mask distinguishes voxels from foreground or background;

[0046] A two-way approach is used:

[0047] First, create a background denoted as X by copying the background of the ith labeled sample and pasting it onto the ith unlabeled sample. l->uMixed samples; then copy the background of the j-th unlabeled sample and paste it on the j-th labeled sample to get an X u->l These processes are expressed by the following equations:

[0048]

[0049]

[0050] Accordingly, in order to train the student network, the supervision signal is generated using the BCP method;

[0051] Using IPT, P i mix Treated as fine-tuned labels for the unlabeled data, the true labels for the labeled images are processed in a similar way:

[0052] Y l->u =M i y i +(1-M i ) i mix , (8)

[0053]

[0054] in,

[0055] Preferably, the step 3 is specifically:

[0056] The calculation formula is as follows:

[0057]

[0058]

[0059] in, represents the student network model, X l->u represents the mixed sample obtained by pasting the background of the i-th labeled sample onto the i-th unlabeled sample, Y l->u represents the mixed sample obtained by pasting the background of the label corresponding to the i-th labeled sample onto the finely adjusted label of the i-th unlabeled sample, X u->l represents the mixed sample obtained by pasting the background of the j-th unlabeled sample onto the j-th labeled sample, Y u->l It represents the mixed sample obtained by pasting the background of the finely adjusted label of the j-th unlabeled sample onto the corresponding label of the j-th labeled sample.

[0060] Preferably, the segmentation quantitative evaluation indicators used for the quality score evaluation include: dice coefficient Dice, Jaccard index JA, 95% Hausdorff distance HD, root mean square error RMSE and average surface distance ASD.

[0061] The beneficial effects of the present invention are as follows:

[0062] This paper proposes a semi-supervised tumor segmentation method based on iterative pseudo-label adaptive copy-paste supervision. Comprehensive experiments on internal esophageal tumor datasets and public liver tumor datasets demonstrate the effectiveness of this method. The model framework of this paper outperforms the most advanced semi-supervised methods in medical image segmentation, and ablation experiments demonstrate the effectiveness of its structure. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 It is the framework diagram of the IPA-CP model of the present invention; wherein, Figure 1 (a) is the weak-strong enhancement module (WSA), Figure 1 (b) is the two-way uncertainty based adaptive enhancement module (TUAA), Figure 1 (c) is the iterative pseudo-label transformation module (IPT), Figure 1 (d) is the bidirectional copy and paste supervision module (BCP).

[0064] Figure 2 Schematic diagram of qualitative analysis results of three cases from FSD data set and three cases from MSD data set according to an embodiment of the present invention. DETAILED DESCRIPTION

[0065] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0066] This paper proposes a simple and effective method, iterative pseudo-label-based adaptive copy-paste supervision (IPA-CP), for tumor segmentation. Bidirectional uncertainty is incorporated into the adaptive enhancement strategy to highlight the prediction differences between the teacher and student models, while an iterative approach is adopted to gradually align the pseudo-labels generated by the student model with the predictions of the teacher model to generate more informative pseudo-labels for unlabeled samples. This method combines the bidirectional copy-paste strategy to effectively utilize labeled and unlabeled data.

[0067] An iterative pseudo-label adaptive copy-paste semi-supervised tumor segmentation method (IPA-CP) is proposed. The process is as follows:

[0068] Step 1: Create training set;

[0069] (1) FSD (esophageal fistula tumor) data set preparation: The present invention uses images to diagnose esophageal fistula, and the data set used contains CT scan images of 558 patients with esophageal fistula cancer. For subsequent accurate analysis, the esophageal tumors in the images were manually annotated and verified by two radiotherapists. The entire data set was divided into a training set and a test set, where the training set contained 390 samples and the test set contained 168 samples. In the training set, 30 samples were randomly selected for verification.

[0070] (2) MSD (Medical Segmentation Decathlon Challenge) dataset production: The Liver Tumor Segmentation Challenge (LiTS) dataset used in the present invention is a CT dataset focused on the segmentation of the liver and its tumors. The dataset collects data from 7 different medical centers. This dataset is one of the most popular liver tumor segmentation datasets and contains 200 CT scan images. These images are divided into 130 training set cases and 70 test set cases. The in-plane resolution of all scans is 512×512, but the number of axial slices is different. Since the corresponding labels of the test set have not yet been published, after removing some scan images without tumors, 116 cases of the training set were retained for analysis. These cases were randomly divided into three subsets: the training set contains 100 samples, the validation set contains 8 samples, and the test set contains 8 samples.

[0071] Step 2: Build the IPA-CP network model training framework;

[0072] (1) Bidirectional uncertainty-based adaptive enhancement (TUAA): The present invention uses the Mean Teacher architecture to model the prediction difference. In order to better model the prediction difference, the present invention uses both weak enhancement strategy and strong enhancement strategy for unlabeled samples. In order to further enhance the inconsistency and introduce variability in small tumor data, the present invention uses a weak enhancement strategy for each unlabeled data sample u. i Generate a random area mask M with different hole numbers and sizes i In order to mitigate the potential adverse effects of strong enhancement on data distribution and segmentation performance, the present invention adopts an adaptive enhancement strategy to refine the enhancement of unlabeled samples. The method adopts a bidirectional uncertainty estimation for each weakly enhanced sample and strongly enhanced sample, aiming to highlight the uncertain regions by predicting inconsistency. Figure 1 (a) and Figure 1 (b) The overall structure of the adaptive enhancement strategy based on bidirectional uncertainty is given.

[0073] (2) Iterative Pseudo-label Transformation (IPT): Pseudo-labeling technology is a simple and effective semi-supervised technique in the medical field. Most advanced pseudo-labeling methods emphasize the study of sampling strategies and give priority to high-confidence pseudo-labels. However, these methods may ignore the refinement of pseudo-labels for unlabeled data in Mean Teacher, resulting in the student model being prone to produce predictions with high confidence. It is very challenging to distinguish between foreground and background in tumor segmentation, so it is difficult to select reliable pseudo-labels. To solve this problem, an IPT strategy is proposed to fine-tune the pseudo-labels from the student and teacher models (i.e., and ). This process brings the student model’s predictions closer to the more stable predictions of the teacher model. Figure 1 (c) gives a flow representation of this strategy.

[0074] (3) Bidirectional Copy-Paste Supervision (BCP): In order to simultaneously leverage knowledge from labeled and unlabeled data, a BCP approach is integrated to facilitate the final image composition and pseudo-label confusion. The binary mask distinguishes voxels as foreground (0) or background (1). Figure 1 (d)). The present invention omits the "select the largest connected component" strategy, which is a standard component of BCP. This modification is due to the fact that the original strategy is mainly optimized for the segmentation of large organs, which makes it less effective when segmenting many smaller tumors.

[0075] Step 3: Construct a training loss function;

[0076] Constructing training loss function: Since the student model is trained in a supervised manner, the choice of loss function can be flexible. In order to be consistent with common practices in medical image segmentation, the present invention adopts both cross entropy loss (CE) and Dice loss.

[0077] Step 4: Medical Image Classification Quality Score Evaluation

[0078] Quality score indicators: Quantitative evaluation indicators of esophageal fistula segmentation include: Dice coefficient (Dice), Jaccard index (JA), 95% Hausdorff distance (HD), root mean square error (RMSE) and average surface distance (ASD).

[0079] Example:

[0080] A semi-supervised tumor segmentation method with iterative pseudo-label adaptive copy-paste is as follows:

[0081] Step 1: Create training set;

[0082] (1) FSD (esophageal fistula tumor) dataset preparation: The present invention collected chest CT scan images of 558 patients with esophageal cancer. The characteristics of these scan images are that the Hounsfield unit (HU) ranges from -1024 to 3071, and the voxel size is 0.5429×0.5429×3mm 3 and 1.2519×1.2519×5mm 3 The resolution of chest CT scans ranged from 512×512×71 to 512×512×114. The esophageal tumors in the images were manually annotated and verified by two radiotherapists for subsequent analysis. The entire dataset was divided into a training set and a test set, with the training set containing 390 samples and the test set containing 168 samples. In the training set, 30 samples were randomly selected for verification.

[0083] (2) MSD (Medical Segmentation Decathlon Challenge) dataset production: The Liver Tumor Segmentation Challenge (LiTS) dataset used in the present invention is a CT dataset focused on the segmentation of the liver and its tumors. The dataset collects data from 7 different medical centers. This dataset is one of the most popular liver tumor segmentation datasets and includes 200 CT scan images. These images are divided into 130 training set cases and 70 test set cases. The in-plane resolution of all scans is 512×512, but the number of axial slices is different. Since the corresponding labels of the test set have not yet been published, after removing some scan images without tumors, 116 cases of the training set were retained for analysis. These cases were randomly divided into three subsets: the training set contains 100 samples, the validation set contains 8 samples, and the test set contains 8 samples.

[0084] Step 2: Build the IPA-CP network model training framework;

[0085] (1) Bidirectional Uncertainty-Based Adaptive Enhancement (TUAA): Following existing methods, the present invention uses the MeanTeacher architecture to model prediction differences. The main goals of this structure are twofold: (1) to encourage the student model to acquire more robust learning capabilities. (2) to amplify prediction inconsistencies and introduce more variability, especially in the context of small tumor data. In order to better model prediction differences, the present invention uses both weak and strong enhancement strategies for unlabeled samples. For each unlabeled instance u i , use A w (·) Generate a weakly augmented view and use A s (·) generates a strongly augmented view. To further enhance the inconsistency and introduce variability in small tumor data, the present invention generates a strongly augmented view for each unlabeled data sample u i Generate a random area mask M with different hole numbers and sizes iThen, between the strongly enhanced sample and the mask M i A blending step is applied between them. The predictions are calculated as follows:

[0086]

[0087]

[0088] here, represents the segmentation prediction generated by the student model, and corresponds to the segmentation predictions generated by the teacher model. Finally, the predictions for inconsistent P i dif It can be expressed as follows:

[0089]

[0090] P i dif =||P i s -P i t ||

[0091] Where P i s and P i t It is a pseudo label.

[0092] In semi-supervised tumor segmentation, accurately assessing the uncertainty of unlabeled data faces two challenges - the lack of precise labels and the need to effectively capture subtle differences between the predictions of the teacher and student models. To address these two challenges, a bidirectional uncertainty estimation strategy is designed to evaluate the inconsistency between the segmentation results produced by the two models. The present invention uses the KL (Kullback-Leibler) divergence to quantify the differences between predictions. In order to mitigate the potential adverse effects of strong enhancement on data distribution and segmentation performance, the present invention develops an adaptive enhancement strategy to refine the enhancement of unlabeled samples. This method uses bidirectional uncertainty estimation for each weakly enhanced sample and strongly enhanced sample, aiming to highlight uncertain areas through prediction inconsistencies. A symmetric uncertainty threshold method was initially implemented, focusing on prediction areas with high uncertainty. The calculation process of the uncertainty score is as follows:

[0093]

[0094] Among them, II is the indicator function, τ represents a predefined threshold used to filter out voxels with high uncertainty levels, represents the divergence of the probability distribution of the student model relative to the teacher model, and Indicates the divergence in the opposite direction. In this way, samples that show greater uncertainty in the teacher and student models are assigned larger μ values. The present invention further refines the weak-strong enhancement adaptively. Each unlabeled sample u i Adaptive enhanced version of is expressed as follows:

[0095]

[0096] To simulate the difference in prediction, the present invention introduces a random binary mask M i Unlabeled samples is expanded as follows:

[0097]

[0098] In this way, the diversity of tumor characterization is continuously enhanced.

[0099] (2) Iterative Pseudo-label Transformation (IPT): Pseudo-labeling technology is a simple and effective semi-supervised technique in the medical field. Most advanced pseudo-labeling methods emphasize the study of sampling strategies and give priority to high-confidence pseudo-labels. However, these methods may ignore the refinement of pseudo-labels for unlabeled data in Mean Teacher, resulting in the student model being prone to produce predictions with high confidence. It is very challenging to distinguish between foreground and background in tumor segmentation, so it is difficult to select reliable pseudo-labels. To solve this problem, an IPT strategy is proposed to fine-tune the pseudo-labels from the student and teacher models (i.e., P i s and P i t ). This process brings the predictions of the student model closer to the more stable predictions of the teacher model. The pseudo-label target is updated as follows:

[0100]

[0101] Wherein, e is the e-th iteration of the total E training iterations. In actual implementation, the number of training rounds is recorded as e, and E is the total number of training rounds. Therefore, the present invention generates more robust and more diverse pseudo labels for unlabeled samples. Figure 1 (c) gives a flow representation of this strategy.

[0102] (3) Bidirectional Copy-Paste Supervision (BCP): In order to simultaneously leverage knowledge from labeled and unlabeled data, the BCP method described in is integrated to facilitate the final image composition and pseudo-label confusion. and unlabeled mini-batches Randomly generate a binary mask M, where (B x |=|B u|). The binary mask distinguishes voxels from foreground (0) or background (1) (e.g. Figure 1 (d)). The present invention uses a bidirectional approach: first, a background denoted as X is created by copying the background of the i-th labeled sample and pasting it onto the i-th unlabeled sample. l->u Then copy the background of the jth unlabeled sample and paste it on the jth labeled sample to get an X u->l These processes can be expressed by the following equations:

[0103]

[0104]

[0105] Accordingly, in order to train the student network, the BCP method is used to generate the supervision signal. Using the IPT technique, P i mix is considered as the fine-tuned labels for the unlabeled data. The true labels for the labeled images are processed in a similar way:

[0106] Y l->u =M i y i +(1-M i ) i mix , (8)

[0107]

[0108] in, The present invention omits the "select the largest connected component" strategy, which is a standard component of BCP. This modification is due to the fact that the original strategy is mainly optimized for the segmentation of large organs, making it less effective when segmenting many smaller tumors.

[0109] Step 3: Construct a training loss function;

[0110] Constructing training loss function: Since the student model is trained in a supervised manner, the choice of loss function can be flexible. In order to be consistent with the common practice in medical image segmentation, the present invention uses both cross entropy loss (CE) and Dice loss. The calculation formula is as follows:

[0111]

[0112]

[0113] in, represents the student network model, X l->urepresents the mixed sample obtained by pasting the background of the i-th labeled sample onto the i-th unlabeled sample, Y l->u represents the mixed sample obtained by pasting the background of the label corresponding to the i-th labeled sample onto the finely adjusted label of the i-th unlabeled sample, X u->l represents the mixed sample obtained by pasting the background of the j-th unlabeled sample onto the j-th labeled sample, Y u->l It represents the mixed sample obtained by pasting the background of the finely adjusted label of the j-th unlabeled sample onto the corresponding label of the j-th labeled sample.

[0114] Step 4: Implementation details and evaluation measures;

[0115] (1) Implementation details: The method of the present invention is implemented using an NVIDIA RTX 3090 graphics card under the PyTorch and MONAI framework. The batch size is set to 2, the esophageal tumor patch size is 160×160×80, and the liver tumor patch size is 112×112×64. The Adam optimizer uses a polynomial learning rate strategy, where the initial learning rate is 2.5×10-4 multiplied by The power is 0.9. The total training iterations for esophageal tumors are set to 6000 and for liver tumors are set to 42000. The EMA decay weight factor α is set to 0.99. 3D U-Net is used as the base network. All performances are obtained from the average of 3 runs.

[0116] (2) Evaluation measures: Quantitative evaluation indicators of esophageal fistula segmentation include: Dice coefficient (Dice), Jaccard index (JA), 95% Hausdorff distance (HD), root mean square error (RMSE) and average surface distance (ASD).

[0117] This paper proposes a semi-supervised tumor segmentation method based on iterative pseudo-label adaptive copy-paste supervision. Figure 1, segmentation and diagnosis of esophageal fistula through CT scans. This method uses a simple and effective adaptive enhancement technique based on bidirectional inconsistency to enhance the diversity of tumor representation, uses an iterative pseudo-label conversion strategy to guide the prediction to a more robust pseudo-label, and combines a bidirectional copy-paste (BCP) mechanism to promote the model to learn from labeled and unlabeled data. In addition, the present invention conducts sufficient experiments on the internal esophageal tumor dataset and the public liver tumor dataset to verify the effectiveness of the method. The performance on the FSD dataset is: at 10% and 20% labeled data ratio, it shows superior performance in all five evaluation indicators, which is better than other semi-supervised methods such as ICT, CCT, URPC, CPS, RD, ACL, BCP, MCF, etc. As shown in Table 1, with only 10% labeled data, IPA-CP significantly outperforms the second best model, and the Dice score increases by 8% compared with the baseline model. In addition, it is worth noting that the overall performance of the present invention is close to the performance of fully supervised learning using a 100% labeled dataset. These results verify the effectiveness of IPA-CP in esophageal tumor segmentation.

[0118] In order to intuitively demonstrate the micro-tumor segmentation capability brought by IPA-CP, qualitative experiments were conducted on the FSD and MSD datasets. The visualization of several typical segmentation results is shown in Figure 2. Figure 2 For larger tumors, such as the esophageal tumor case in the second row, the prediction results of IPA-CP are basically consistent with the true label, while other methods either produce a large number of false positives or miss key tumor areas. Figure 2 In the fourth row, IPA-CP successfully captured and identified small tumors on the MSD dataset, while other semi-supervised methods failed to successfully identify them. The IPA-CP method designed by the present invention shows more accurate tumor segmentation results, while other methods often incorrectly segment non-target areas or fail to identify all tumors. This is mainly due to the presence of a large number of ambiguous and significantly different-sized tumor voxels in CT images, and models originally designed for larger organs often perform poorly in the segmentation of such voxels.

[0119] The present invention conducts ablation studies to verify the effectiveness of each proposed component, including WSA, BCP, TUE, IPT and PDI under the Mean Teacher architecture, and the results are shown in Table 2. Ablation experiments are performed using 10% / 90% (labeled / unlabeled) samples on the FSD / MSD dataset. As shown in the analysis of Table 2, on the FSD dataset, the introduction of WSA alone can improve Dice by about 2%. BCP significantly improves the performance of all indicators by combining the data diversity brought by labeled and enhanced unlabeled tumor data. In addition, combining TUE with WSA improves Dice by more than 3%, highlighting the impact of flexible data enhancement on model effectiveness. On the MSD dataset, the introduction of BCP and TUE significantly improves the performance of the model of the present invention compared with the baseline model, with Dice increasing from 33.73% to 43.98%. This may be due to the effective use of TUE in refining over-enhanced data. The performance improvement brought by IPT (37.23% vs. 38.22%) demonstrates the importance of improving pseudo-labels, and IPT effectively makes the prediction close to the more stable prediction results of the self-teacher model. The improvements resulting from the introduction of PDI validate that PDI has a more accurate segmentation effect when dealing with relatively small tumors.

[0120] Figure 2 Qualitative analysis results for three cases from the FSD dataset and three cases from the MSD dataset. From left to right, the 3D tumor segmentation results generated by different state-of-the-art SSL methods for 10% labeled data and 90% unlabeled data are shown, and the last column shows the segmentation label.

[0121] Table 1

[0122]

[0123] Table 2 Segmentation performance in ablation experiments on the FSD / MSD dataset using 10% (36 / 10) labeled data.

[0124]

[0125] Table 1 shows the experimental results of the IPA-CP method of the present invention and the most advanced SSL method on the FSD and MSD datasets. Note that 10% (36 / 10) means using 10% of the labeled data, and the number of labeled data corresponding to the MSD and FSD datasets is 36 / 10.

Claims

1. A semi-supervised tumor segmentation method with iterative pseudo-label adaptive copy-paste, characterized in that: The steps include: Step 1: training set creation; Step 1-1: FSD dataset preparation; Diagnose esophageal fistulas using images. The dataset used contains CT scans of multiple patients with esophageal fistula cancer. Label the esophageal tumors in the images. The entire data set is divided into a training set and a test set; in the training set, N samples are randomly selected for verification; Step 1-2: MSD data set preparation; The MSD dataset was created using the liver tumor segmentation challenge dataset. The use cases in the liver tumor segmentation challenge dataset were randomly divided into three subsets: training set, validation set, and test set. Step 2: Build the IPA-CP network model training framework; Step 2-1: Adaptive enhanced TUAA based on bidirectional uncertainty; Use the Mean Teacher architecture to model prediction differences; use both weak and strong enhancement strategies for unlabeled samples; For each unlabeled data sample u i Generate a random region mask M with different hole numbers and sizes i , use an adaptive enhancement strategy to refine the enhancement of unlabeled samples, and adopt a bidirectional uncertainty estimation for each weakly enhanced sample and strongly enhanced sample; Step 2-2: Iterative pseudo-label transformation IPT; Fine-tune pseudo labels from student and teacher models using IPT strategy and Step 2-3: Copy and paste the BCP in both directions; Integrate the BCP method to confound the final image composition and pseudo-labels; binary masks distinguish voxels from foreground or background; omit the "select the largest connected component" strategy; Step 3: Construct training loss function; The present invention adopts cross entropy loss CE and Dice loss at the same time; Step 4: Medical image classification quality score evaluation.

2. The semi-supervised tumor segmentation method of iterative pseudo-label adaptive copy-paste according to claim 1, characterized in that: The step 2-1 is specifically as follows: For each unlabeled instance u i , use A w (·) Generate a weakly augmented view and use A s (·) Generate a strongly augmented view; For each unlabeled data sample u i Generate a random region mask M with different hole numbers and sizes i ; Then, between the strongly enhanced sample and the mask M i A blending step is applied between them; the predictions are calculated as follows: In the formula, represents the segmentation predictions generated by the student model, corresponds to the segmentation predictions generated by the teacher model; Inconsistent predictions The statement is as follows: in and It is a pseudo label; Use KL divergence to quantify the differences between predictions; Bidirectional uncertainty estimation is used for each weakly enhanced sample and each strongly enhanced sample; The calculation process of uncertainty score is as follows: Among them, II is the indicator function, τ represents a predefined threshold, represents the divergence of the probability distribution of the student model relative to the teacher model, represents divergence in the opposite direction; Adaptively refine the weak-strong enhancement, each unlabeled sample u i Adaptive enhanced version of The statement is as follows: Introducing a random binary mask M i Changes caused by unlabeled samples is expanded as follows:

3. The semi-supervised tumor segmentation method of iterative pseudo-label adaptive copy-paste according to claim 2, characterized in that: The step 2-2 is specifically as follows: The pseudo-label target is updated as follows: Where e is the e-th iteration of a total of E training iterations; E is the total number of training rounds.

4. The semi-supervised tumor segmentation method of iterative pseudo-label adaptive copy-paste according to claim 3, characterized in that: The steps 2-3 are specifically as follows: Small batches of labeled data and unlabeled mini-batches Randomly generate a binary mask M, where (|B x |=|B u |); The binary mask distinguishes voxels from foreground or background; A two-way approach is used: First, create a background denoted as X by copying the background of the ith labeled sample and pasting it onto the ith unlabeled sample. l->u Mixed samples; then copy the background of the j-th unlabeled sample and paste it on the j-th labeled sample to get an X u->l These processes are expressed by the following equations: Accordingly, in order to train the student network, the supervision signal is generated using the BCP method; Using IPT, Treated as fine-tuned labels for the unlabeled data, the true labels for the labeled images are processed in a similar way: in, 5. The semi-supervised tumor segmentation method of iterative pseudo-label adaptive copy-paste according to claim 4, characterized in that: The step 3 is specifically as follows: The calculation formula is as follows: in, represents the student network model, X l->u represents the mixed sample obtained by pasting the background of the i-th labeled sample onto the i-th unlabeled sample, Y l->u represents the mixed sample obtained by pasting the background of the label corresponding to the i-th labeled sample onto the finely adjusted label of the i-th unlabeled sample, X u->l represents the mixed sample obtained by pasting the background of the j-th unlabeled sample onto the j-th labeled sample, Y u->l It represents the mixed sample obtained by pasting the background of the finely adjusted label of the j-th unlabeled sample onto the corresponding label of the j-th labeled sample.

6. The semi-supervised tumor segmentation method of iterative pseudo-label adaptive copy-paste according to claim 5, characterized in that: The segmentation quantitative evaluation indicators used in the quality score evaluation include: dice coefficient Dice, Jaccard index JA, 95% Hausdorff distance HD, root mean square error RMSE and average surface distance ASD.

Citation Information

Patent Citations

  • Image semantic segmentation method based on dynamic course learning

    CN116977637A

  • System and method for robust pseudo-label generation for semi-supervised object detection

    US20230244924A1

Cited By

  • Semi-supervised abdomen multi-organ CT image segmentation method based on bidirectional anatomical mixing

    CN120707851A

  • Thyroid nodule semi-supervised segmentation method and device based on mixed domain enhancement

    CN121544652A

  • Semi-supervised segmentation method and device for thyroid nodules based on hybrid domain enhancement

    CN121544652B