Abstract
Accurate segmentation of nasopharyngeal carcinoma is essential to its treatment effect. However, there are several challenges in existing deep learning-based segmentation methods. First, the acquisition of labeled data are challenging. Second, the nasopharyngeal carcinoma is similar to the surrounding tissues. Third, the shape of nasopharyngeal carcinoma is complex. These challenges make the segmentation of nasopharyngeal carcinoma difficult. This paper proposes a novel semi-supervised method named CAFS for automatic segmentation of nasopharyngeal carcinoma. CAFS addresses the above challenges through three mechanisms: the teacher–student cooperative segmentation mechanism, the attention mechanism, and the feedback mechanism. CAFS can use only a small amount of labeled nasopharyngeal carcinoma data to segment the cancer region accurately. The average DSC value of CAFS is 0.8723 on the nasopharyngeal carcinoma segmentation task. Moreover, CAFS has outperformed the state-of-the-art nasopharyngeal carcinoma segmentation methods in the comparison experiment. Among the compared state-of-the-art methods, CAFS achieved the highest values of DSC, Jaccard, and precision. In particular, the DSC value of CAFS is 7.42% higher than the highest DSC value in the state-of-the-art methods.
Keywords: nasopharyngeal carcinoma, deep learning, semi-supervision
1. Introduction
Nasopharyngeal carcinoma [1,2] is one of the most common cancers, wildly occurring around the world. According to global cancer statistics, there were 133,354 new nasopharyngeal carcinoma cases and 80,008 deaths in 2020 [3]. Nasopharyngeal carcinoma is an epithelial carcinoma arising from the nasopharyngeal mucosal lining [4], which is generally observed at the pharyngeal recess of the nasopharynx [5]. In the clinic, nasopharyngeal carcinoma has three types: ascending, descending, and mixed [6]. The ascending type invades the skull base crania and destroys nerves, the descending type metastasizes to distant tissues through cervical lymph, and the mixed type has both. Thus, due to the particular location of nasopharyngeal carcinoma, it is abnormally dangerous once it metastasizes.
Currently, radiotherapy has become one of the most effective methods for treating nasopharyngeal carcinoma [7]. The segmentation of nasopharyngeal carcinoma images significantly affects the effects of radiotherapy [8]. Accurate segmentation would improve the effectiveness of radiotherapy and thus increase patient survival [9]. The traditional method of segmentation is manually operated by the physician. However, due to the irregularity of nasopharyngeal carcinoma tissues, it is often a time-consuming burden for doctors to manually segment the boundaries [10]. Moreover, manual segmentation is often so subjective that doctors with different levels of expertise may come up with different segmentation results [11].
To reduce the burden on physicians, more and more deep learning algorithms are now being utilized to segment medical images [12,13,14]. However, it is difficult for many deep learning models to segment nasopharyngeal carcinoma boundaries accurately. First, lots of deep learning algorithms typically utilize the fully-supervised approach. The fully-supervised approach is that all training data are labeled and the model is trained using these labeled data [15]. This means that the model requires a large amount of labeled data to obtain the expected training results [16]. However, the hardship of annotating interested targets hinders fully-supervised learning in medical imaging. In contrast, unlabeled data are readily available [17]. Second, the imaging characteristics of nasopharyngeal carcinoma usually resemble the surrounding tissue [18,19], making it challenging to identify. That leads many algorithms to mistake the surrounding tissue for nasopharyngeal carcinoma. Third, due to the irregular shape of the nasal cavity, the shape of nasopharyngeal carcinoma is usually very complex as well [20,21], which leads to many algorithms that do not segment the boundaries accurately.
To address the challenges encountered in the above-mentioned conventional methods of fully-supervised segmentation of nasopharyngeal carcinoma, and therefore to improve the efficacy and survival rate of nasopharyngeal carcinoma, this paper proposes an attention-based co-segmentation semi-supervised method named CAFS for automatic segmentation of nasopharyngeal carcinoma. The semi-supervised approach means that only a portion of the training data contains labels, and uses these labeled and unlabeled data to train the model collaboratively [22]. As shown in Figure 1, CAFS contains three primary strategies: the teacher–student cooperative segmentation mechanism, the attention mechanism, and the feedback mechanism. The teacher–student model is typically used in knowledge distillation [23]. In general, the teacher model uses the obtained knowledge to guide the student model training, making the student model have comparable performance to the teacher model. Among CAFS, the teacher–student cooperative segmentation mechanism aims to reduce the number of nasopharyngeal carcinoma labels used. The teacher model learns from a small amount of labeled nasopharyngeal carcinoma data and then generates pseudo-masks for the unlabeled nasopharyngeal carcinoma data. The student model utilizes the unlabeled nasopharyngeal carcinoma data and the pseudo-mask generated by the teacher model to train itself and segment the unlabeled nasopharyngeal carcinoma data. This allows for reducing the use of labeled data. The attention mechanism serves to pinpoint the location of cancer, which zooms in on the target and thus captures more information to localize the nasopharyngeal carcinoma. The feedback mechanism aims to make the segmentation boundaries of nasopharyngeal carcinoma more accurate. The student model is trained on unlabeled data and pseudo-masks and then predicts the labeled data. The prediction results are compared with the ground truth to generate feedback to update the model’s parameters. We trained and validated the performance of CAFS on 3555 nasopharyngeal carcinoma images. The results demonstrate that CAFS performs well in segmenting the nasopharyngeal carcinoma boundaries. CAFS achieved a DSC value of 0.8723, a Jaccard value of 0.7964, a precision value of 0.8849, and a recall value of 0.8796. In addition, we also compare CAFS with state-of-the-art nasopharyngeal carcinoma segmentation methods. In the comparison experiments, CAFS achieved the leading segmentation level, which obtained the highest values of DSC, Jaccard, and precision. In addition, the CAFS segmentation out of the nasopharyngeal carcinoma boundary compared with four other segmentation models is closest to the ground truth.
In general, the main contribution of CAFS are as follows:
The teacher–student cooperative segmentation mechanism allows CAFS to segment nasopharyngeal carcinoma using only a small amount of labeled data;
The attention mechanism could prevent confusing nasopharyngeal carcinoma with surrounding tissues;
The feedback mechanism allows CAFS to segment nasopharyngeal carcinoma more accurately.
2. Related Work
In this section, related studies on Nasopharyngeal Carcinoma segmentation are categorized into fully-supervised methods and semi-supervised methods, which are to be introduced, respectively.
2.1. Fully-Supervised
The most common method for the automatic segmentation of nasopharyngeal carcinoma is the fully-supervised methods [24,25,26,27,28]. In the last few decades, deep learning methods have been increasingly used in medical image segmentation [29,30,31]. Among them, many fully supervised algorithms have been proposed for nasopharyngeal carcinoma segmentation. Convolutional neural networks (CNN) [32] are an effective image segmentation method that captures contextual semantics by computing high-level feature maps [33,34]. Since the pioneering CNN algorithm by Lecun et al., in 1990, more and more improved CNN algorithms for image segmentation have been proposed. Pan et al. [35] improved the typical CNN network by designing dilated convolution at each layer of the FPN to obtain contextual associations, which was applied to nasopharyngeal organ target segmentation. Some other scholars segment nasopharyngeal carcinoma by improving CNN into the CNN-based method with three-dimensional filters [36,37,38]. Ronneberger et al. [39] propose in 2015 a convolutional networks called U-Net for biomedical image segmentation. After that, many segmentation algorithms for medical images were adapted from U-Net. Some scholars combined mechanisms such as attention mechanism and residual connectivity with U-Net to improve segmentation performance and segment the nasopharyngeal carcinoma [40,41,42]. In order to accommodate the volume segmentation of medical images, many U-Net-based 3D models have been developed as well [43,44]. While these fully supervised methods are capable of achieving the excellent segmentation effect, they predicate by using a large amount of labeled data. The fact that reliable labeled data are often tough to obtain as specialized medical knowledge and time are both demanded.
2.2. Semi-Supervised
More and more semi-supervised segmentation methods have been proposed in recent years to confront the challenge of difficult access to annotated data [45]. Self-training is one of the most commonly used semi-supervised methods [46]. It first trains using a small amount of labeled data, then makes predictions on unlabeled data, and finally mixes the excellent predictions with labeled data for training [47,48]. Another common semi-supervised method is co-training, which uses the interworking between two networks to improve the segmentation performance [49,50]. Hu et al. [51] proposed uncertainty and attention guided consistency semi-supervised method to segment nasopharyngeal carcinoma. Lou et al. [52] proposed a semi-supervised method that extends the backbone segmentation network to produce pyramidal predictions at different scales. Zhang et al. [53] then use the teacher’s uncertainty estimates to guide the student and perform consistent learning to uncover more information from the unlabeled data.
Sun et al. [54] also applies the teacher–student paradigm in medical image segmentation. It is worth noting that the mixed supervision in [54] stands for partial dense-labeled supervision from labeled datasets and supplementary loose bounding-box supervision for both labeled and unlabeled data. Our work only uses partial dense-labeled supervision. In addition, Ref. [54] applies bounding-box supervision to provide localization information. In our work, the attention mechanism involves localizing the nasopharyngeal carcinoma target. Moreover, Sun et al. [54] have the teacher model well-trained before providing pseudo label guidance for the student, while we optimize both teacher and student models simultaneously.
In addition to the self-training and the co-training, semi-supervised methods include paradigms such as generative models, transductive support vector machines, and Graph-Based methods as well.
3. Methodology
CAFS contains three primary strategies: the teacher–student cooperative segmentation mechanism, the attention mechanism, and the feedback mechanism, as shown in Figure 2. To address the challenges in the segmentation of nasopharyngeal carcinoma, each mechanism plays an important role respectively.
3.1. Cooperative Segmentation
CAFS contains two models, the teacher and the student models, which cooperate to achieve the segmentation task using a small amount of nasopharyngeal carcinoma labeled data. Although both these two models use U-Net as the structure, the parameters of each are independent of each other at the beginning of training. First, the teacher model is trained by a small amount of labeled data so as to update the parameters of the teacher model. The objective of the training is the Cross-Entropy Loss Function (CELF). The refers to the ground truth, and the refers to the prediction of the teacher model:
(1) |
When the training has reached the expectation, the unlabeled nasopharyngeal carcinoma data are fed into the teacher model to obtain the predicted segmentation pseudo-mask for unlabeled nasopharyngeal carcinoma data.
The same batch of unlabeled data is then fed into the student model and utilizes the generated pseudo-mask as the supervision, thus updating the parameters of the student model. The CELF is used as the objective for training the student model as well. The refers to the prediction of the student model:
(2) |
The final prediction of nasopharyngeal carcinoma segmentation was generated by the student model:
(3) |
The teacher and student models cooperate to make CAFS require only a small amount of labeled nasopharyngeal carcinoma data to complete the segmentation task.
3.2. Attention Mechanism
The function of the attention mechanism [55] is to sift through the many pieces of information that are effective for segmenting nasopharyngeal carcinoma.
In recent years, more and more attention mechanisms have been used in the field of computer vision, such as the external attention mechanism proposed by Guo et al. [56], the self-attention mechanism proposed by Vaswani et al. [57], and the Bottleneck Attention Module proposed by Park et al. [58]. These attention mechanisms play a role in image segmentation to extract information about the details of the target, but they are not dynamically adjustable when used. However, the fact that, in the neuroscience community, the receptive field size of the visual cortex neurons is regulated by the stimulus [59]. Thus, CAFS introduces the adjustable attention mechanism [60]. Thus, it can flexibly deal with the change of target due to the difference in scale during the downsampling.
CAFS fuses the adjustable attention mechanism to the skip connection of the U-Net. The input of the attention mechanism is the feature map output from the encoder downsampling layer, and the output is in the upsampling decoder layer.
Firstly, the input feature map X is transformed by grouped/depthwise convolutions, batch normalization, and ReLU function by using several convolution kernels of particular sizes. Then, different intermediate transformations , , are obtained for different sizes of convolution kernels, respectively.
The results of the transformation of these different sizes of branches are then added together as follows:
(4) |
Then, use global average pooling to process the resulting U, which generates the channel-wise statistics . The channel-wise statistics are then processed through the batch normalization and ReLU functions in turn to obtain a compressed feature map m:
(5) |
Then, calculate the weights of each of the these branches respectively:
(6) |
Finally, the attention map is obtained based on the intermediate transformation results of the above these branches and their weights:
(7) |
Since feature maps of different scales generate different weights for different branches in Equation (6), this is equivalent to a gate that controls the final attention vector generation depending on the scale. Therefore, the attention mechanism adaptively generates attention vectors for output to the upsampling layer under different scale feature map stimuli generated by different downsampling layers.
CAFS fuses the attention mechanism, which enlarges the target area and reduces the background area in the nasopharyngeal carcinoma image while keeping the image size constant. Ultimately, more information can be captured by enlarging the target area and avoiding the confusion of the nasopharyngeal carcinoma area with the surrounding tissues during segmentation.
3.3. Feedback Mechanism
CAFS introduces a feedback mechanism [61], which allows for more accurate segmentation of nasopharyngeal carcinoma boundaries. As stated in Section 3.1, the student model was trained on unlabeled nasopharyngeal carcinoma data and the pseudo-masks to update the parameters. Now have the student model make predictions on labeled nasopharyngeal carcinoma data , and the predictions then compare with the ground truth utilizing the CELF:
(8) |
The comparison results are fed back to the teacher model and then updates the parameters of the teacher model. The refers to the updated parameters of the teacher model.
The prediction results of the student model for the labelled nasopharyngeal cancer data were determined by the parameters of the student model, which relied on the pseudo-label generated by the teacher model for optimisation. The feedback obtained from comparing the prediction results of the student model with the ground truth guides the teacher model to generate improved pseudo-masks, which in turn leads to the generation of more effective student model parameters and more accurate predictions of the nasopharyngeal carcinoma boundaries.
4. Experiments
4.1. Data
The data for this paper were obtained from 83 patients who were diagnosed with nasopharyngeal carcinoma. All patients were scanned by Siemens Aera MRI system on their heads and neck, and contrast was used to enhance the display during the scanning process. We stored the scanned MRI images in Digital Imaging and Communications in Medicine (DICOM) file format. We used the annotation tool itk-snap for 831 images containing nasopharyngeal carcinoma from these 83 patients to annotate and store them as 2D image files. We applied the data augmentation method to augment the datasets. Data augmentation methods include rotating, flipping, and mirroring the images. After augmentation, the number of the images is augmented from the original 831 images to 3555 images. Our data are divided according to patients, though the number of slices included per patient is not exactly equal. We used 57 patients as the training set, 13 patients as the training set, and 13 patients as the test set in a ratio of about ::. This means the data of the same patient can only appear in the training set or the test set, which avoid several consecutive slices in the same patient appearing in the training and test sets respectively and affect the results. In addition, we cropped the area outside the nasal cavity to reduce the computational burden and resized the image to .
4.2. Implementation Details
As described in Section 3.1, we use the U-Net as the network framework, and the parameters of the teacher and the student are independent of each other at the beginning of training. The implementation of CAFS is based on the PyTorch library, which we run on one RTX 3090 GPU. Before formally starting the training, the teacher model should first be pretrained to excellence. We conducted sufficient experiments on the validation set to ultimately determine the optimal set of hyperparameter values by altering the values of the hyperparameters (Table 1) and observing the segmentation results on the validation set. CAFS chooses SGD as the optimizer for both pretraining and the following segmentation training, the weight decay of which is 0.0001. The learning rate is 0.001 for training. The training iterations are 1500. The batch size is 8. In our experiments, we selected 1000 of the total 2874 images in the training set as labeled data and the remaining 1974 as unlabeled data. The experimental results also show that such an allocation achieves the most optimal segmentation performance. Moreover, in the attention mechanism, we use four convolutional kernels of different sizes: 1 × 1, 3 × 3, 5 × 5, and 7 × 7.
Table 1.
Optimizer | Weight Decay | Learning Rate | Training Iterations | Batch Size |
---|---|---|---|---|
SGD | 0.0001 | 0.001 | 1500 | 8 |
4.3. Evaluation Metrics
In this paper, the following metrics are used for evaluation. These evaluation metrics are also used in the subsequent comparison experiments.
is used to measure the similarity of two sets, the value range is [0, 1], the larger the value, the more similar the two sets:
(9) |
is used to calculate the similarity between two sets, defined as the ratio of the size of the intersection of A and B to the size of the union of A and B. The value range is [0, 1], the larger the value, the more similar the two sets:
(10) |
is specific to the prediction results, and it indicates how many of the samples with positive predictions are actually positive samples:
(11) |
where TP and FP are the numbers of true positive and false positive pixels across all images in the valid set and test set.
is for the original sample, and it indicates how many positive cases in the sample were predicted correctly:
(12) |
where TP and FN are the numbers of true positive, and false negative pixels across all images in the valid set and test set.
5. Results
5.1. Performance of CAFS
As we elaborated in Section 2, the teacher model plays a guiding role in the training process and the final prediction of CAFS is carried out by the student model. Therefore, the results in Section 5 are generated by the student model. The results show that CAFS performs excellently on the nasopharyngeal carcinoma segmentation task. The final test metrics: The average DSC value is 0.8723, the average Jaccard coefficient is 0.7964, the average precision is 0.8849, and the average recall is 0.8796. In addition, the average specificity is 0.9447. The displayed metrics and segmentation results illustrate that CAFS can overcome the nasopharyngeal carcinoma segmentation challenges presented in Section 1. First, the implementation of our method uses only a small amount of labeled nasopharyngeal carcinoma data for training. Second, Figure 3 (rows 1, 3, 7) show that, in most cases where nasopharyngeal carcinoma resembles surrounding tissues and is easily confused, CAFS can still accurately segment nasopharyngeal carcinoma from them. Third, Figure 3 (rows 2, 4, 5, 6) shows that CAFS can still do well in the case of irregular nasopharyngeal carcinoma boundaries.
We explored the effect of the amount of labeled data on the experimental results. In the experiment, we alter the amount of labeled data in the training set and observe the metric changes in the results. The training set has a total of 2874 images. We set the number of labeled data to 500, 1000, 1500, and 2000, respectively. The comparison results are shown in Table 2. The experimental results showed that the best results were obtained when the number of labeled data was 1000. It is worth being noticed that Table 2 shows that it is not the case that the more labeled data are used, the better the model segmentation is. The training set contains labeled data and unlabeled data. The teacher model generates pseudo-masks for the unlabeled data in the training set. The student model utilizes the unlabeled data and the pseudo-masks as supervision to update the parameters. If the proportion of labeled data in the training set increases, the proportion of unlabeled data decreases, and fewer data can be used to train the student model, thus the performance of the student model decreases. On the other hand, the decrease in the performance of the student model generates false feedback which misleads the teacher model to generate a worse pseudo-mask.
Table 2.
Number of Labeled Data | DSC | Jaccard | Precision | Recall |
---|---|---|---|---|
500 | 0.8345 | 0.7234 | 0.8378 | 0.8469 |
1000 | 0.8723 | 0.7964 | 0.8849 | 0.8796 |
1500 | 0.8387 | 0.7207 | 0.8342 | 0.8479 |
2000 | 0.8420 | 0.7297 | 0.8413 | 0.8485 |
In addition, to further illustrate the superior feature extraction performance of the adaptive attention mechanism, we conducted comparison experiments with four other state-of-the-art attention mechanisms. In the comparison experiments of attention mechanisms, we fused each attention mechanism into the skip connection layer of the teacher network and the student network, respectively, with the rest of the model remaining unchanged. The four metrics in Section 4.3 are still used to evaluate the performance, and the performance of the model fusing different attention mechanism is shown in Table 3. It can be observed that the adaptive attention mechanism achieves optimal values for all metrics except recall. This indicates that the adaptive attention mechanism has a superior performance.
Table 3.
5.2. Ablation Analysis
Through extensive experiments, we performed ablation analysis to demonstrate the contribution of the modules proposed. CAFS consists of three modules: Cooperative segmentation (C-S), Attention mechanism (Att), and Feedback mechanism (Fb). In this section, we eliminate these three modules in turn and conduct experiments according to the following module combinations: the complete CAFS, removing the Attention mechanism leaving Cooperative segmentation and Feedback mechanism, removing the Feedback mechanism leaving Cooperative segmentation and Attention mechanism, only Cooperative segmentation, and the CAFS without pretraining. The experimental results are shown in Table 4.
Table 4.
Model | DSC | Jaccard | Precision | Recall |
---|---|---|---|---|
C-S + Fb + Att | 0.8723 | 0.7964 | 0.8849 | 0.8796 |
C-S + Fb | 0.8394 | 0.7632 | 0.8425 | 0.8487 |
C-S + Att | 0.8579 | 0.7758 | 0.8562 | 0.8478 |
C-S | 0.8385 | 0.7467 | 0.8312 | 0.8335 |
Without Pre-training | 0.5935 | 0.4376 | 0.4230 | 0.5226 |
The results demonstrate that CAFS performs the worst when only Cooperative segmentation is utilized. Therefore, the attention mechanism and feedback mechanism play an important role in the segmentation of nasopharyngeal carcinoma, which can effectively improve the model performance. For the metric DSC, removing the Feedback mechanism by leaving the Cooperative segmentation and Attention mechanism works better than removing the Attention mechanism by leaving the Cooperative segmentation and Feedback mechanism. Thus, for the DSC, the contribution of the attention mechanism may be greater than the contribution of the feedback mechanism. In addition, notice that, if the teacher model is not pre-trained, the segmentation results of the network will drop sharply. Therefore, pre-training the teacher model well is necessary for CAFS to complete the segmentation task successfully.
5.3. Comparison with State-of-the-Art Models
We compare CAFS with four state-of-the-art models, including U-Net, U-Net with attention mechanism, Duo-SegNet, and TCSM. Among them, the U-Net and U-Net with attention mechanisms are the fully supervised methods. In addition, the Duo-SegNet [66] and TCSM [67] are the semi-supervised methods. In the validation process, we first train the model using the parameters recommended in the corresponding paper and subsequently analyze the performance of each method on the validation set. In the process, the same training set, test set, and validation set are used for all five methods and evaluate them by using the metrics in Section 4.3.
Table 5 shows the metrics performance of the five methods for nasopharyngeal carcinoma segmentation. The specific metrics values for each model are as follows: For U-Net, the DSC is 0.7456, which is 12.67% lower than CAFS, the Jaccard is 0.6868, which is 10.96% lower than CAFS, the precision is 0.6569, which is 22.8% lower than CAFS, the recall is 0.8822, which is 0.26% higher than CAFS. For U-Net with attentional mechanism, the DSC is 0.8198, which is 5.25% lower than CAFS, the Jaccard is 0.7011, which is 9.53% lower than CAFS, the precision is 0.8202, which is 6.46% lower than CAFS, the recall is 0.8309, which is 4.87% lower than CAFS. For Duo-SegNet, the DSC is 0.8130, which is 5.93% lower than CAFS, and the Jaccard is 0.6849, which is 11.15% lower than CAFS, the precision is 0.7966, which is 8.83% lower than CAFS, the recall is 0.8307, which is 4.89% lower than CAFS. For TCSM, the DSC is 0.7970, which is 7.53% lower than CAFS, and the Jaccard is 0.6987, which is 9.77% lower than CAFS, the precision is 0.8014, which is 8.35% lower than CAFS, the recall is 0.8978, which is 1.82% higher than CAFS. Among the metrics of these models, all metric values are highest for CAFS except for TCSM, whose recall is 5% higher than CAFS. These metrics data suggest that CAFS has higher segmentation efficacy for nasopharyngeal carcinoma than these models.
Table 5.
To better compare the performance of each model, we plotted the contents of Table 3 as a radar chart (Figure 4) and drew a P-R curve. The radar plot takes DSC, Jaccard, Precision, and Recall as coordinates, and the more the coordinates are to the outside, the better the corresponding metric is. As can be seen, except for Recall, the other three coordinates of CAFS are all closer to the outside, indicating that CAFS works better. In the PR curve, if the curve of one model wraps the curve of the other model, the former outperforms the latter. Figure 4 shows that the red curve (CAFS) is in the uppermost right position, which indicates that CAFS performs better than the other four models. It is well known that U-Net is a fully supervised method specialized in the segmentation of medical images. In addition, CAFS uses fewer labeled data to achieve better results than the fully supervised methods. In addition, CAFS also achieves better performance than the semi-supervised methods, Duo-SegNet and TCSM.
To intuitively compare the segmentation effect of each model on nasopharyngeal carcinoma, we selected several representative nasopharyngeal carcinoma images in the test set and visualized the segmentation results in Figure 3. In general, the segmentation results of CAFS are closer to the ground truth. In addition, in the images of nasopharyngeal carcinoma that resemble the surrounding tissue (Figure 3 rows 1, 3, 7), the segmentation results of CAFS included the least amount of surrounding tissue, which indicates that CAFS is less likely to confuse nasopharyngeal carcinoma with the surrounding tissue. Moreover, in the images of nasopharyngeal carcinoma with complex boundaries (Figure 3 rows 2, 4, 5, 6), CAFS handles detailed segmentation of complex boundaries more accurately, which shows that CAFS is capable of handling segmentation tasks with complex boundaries.
6. Conclusions
This paper proposes a semi-supervised nasopharyngeal carcinoma segmentation method named CAFS. CAFS employs three strategies to overcome the difficulty of nasopharyngeal carcinoma segmentation. The teacher–student cooperative segmentation mechanism addresses the problem of difficulty to obtain labeled data for nasopharyngeal carcinoma, which allows CAFS to segment using only a small amount of labeled data. The attention mechanism addresses the problem of similarity of the nasopharyngeal carcinoma with surrounding tissues, which prevents the model from confusing them. The feedback mechanism allows CAFS to segment the boundaries of nasopharyngeal carcinoma more accurately. These three approaches have allowed CAFS to perform well in nasopharyngeal carcinoma segmentation.
We analyzed the segmentation performance of CAFS and explored the effect of the amount of labeled data in the training set on the final segmentation results. In addition, we did ablation analysis and proved that each part of our method is effective. Finally, we compare CAFS with state-of-the-art segmentation methods for nasopharyngeal carcinoma, and the results show that CAFS outperforms other methods.
At the same time, there are some limitations of CAFS. First, CAFS uses the framework of U-Net2D, while many medical data are now stored in volumetric, i.e., 3D, format. This means that, when segmenting 3D nasopharyngeal carcinoma data, the volumetric images need to be artificially converted into 2D images, which increases the time cost of segmentation. Second, the teacher model and the student model in CAFS have the same structure, which means that CAFS has to take up more computational resources than the model with only one network. Thus, our future work will focus on adapting CAFS to segmented volume medical data on the one hand, and simplifying the network structure while maintaining excellent performance on the other hand.
Author Contributions
Conceptualization, Y.C., G.H., and X.L.; methodology, Y.C.; validation, Y.C. and T.L.; formal analysis, Y.C.; investigation, Y.C. and T.L; resources, X.L.; writing—original draft preparation, Y.C.; writing—review and editing, Y.C., G.H., and X.L.; visualization, Y.C.; supervision, X.L. and G.H.; project administration, X.L; funding acquisition, G.H. and X.L. All authors have read and agreed to the published version of the manuscript.
Institutional Review Board Statement
The study was conducted according to the guidelines of the Declaration of Helsinki. Ethical review and approval were waived for this study, due to the retrospective nature of the survey.
Informed Consent Statement
Patient consent was waived due to the retrospective design of this study.
Data Availability Statement
The data presented in this study are available on request from the corresponding author. The data are not publicly available due to patient privacy.
Conflicts of Interest
The authors declare no conflict of interest.
Funding Statement
This research was funded by the National Natural Science Foundation of China (61901533, 62101610), the Shenzhen Fundamental Research Program, China (JCYJ20190807154601663), and the China Postdoctoral Science Foundation (2021M693673).
Footnotes
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Mohammed M.A., Abd Ghani M.K., Hamed R.I., Ibrahim D.A. Review on Nasopharyngeal Carcinoma: Concepts, methods of analysis, segmentation, classification, prediction and impact: A review of the research literature. J. Comput. Sci. 2017;21:283–298. doi: 10.1016/j.jocs.2017.03.021. [DOI] [Google Scholar]
- 2.Chua M.L., Wee J.T., Hui E.P., Chan A.T. Nasopharyngeal carcinoma. Lancet. 2016;387:1012–1024. doi: 10.1016/S0140-6736(15)00055-0. [DOI] [PubMed] [Google Scholar]
- 3.Sung H., Ferlay J., Siegel R.L., Laversanne M., Soerjomataram I., Jemal A., Bray F. Global cancer statistics 2020: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J. Clin. 2021;71:209–249. doi: 10.3322/caac.21660. [DOI] [PubMed] [Google Scholar]
- 4.Chen Y.P., Chan A.T., Le Q.T., Blanchard P., Sun Y., Ma J. Nasopharyngeal carcinoma. Lancet. 2019;394:64–80. doi: 10.1016/S0140-6736(19)30956-0. [DOI] [PubMed] [Google Scholar]
- 5.Wei W.I., Sham J.S. Nasopharyngeal carcinoma. Lancet. 2005;365:2041–2054. doi: 10.1016/S0140-6736(05)66698-6. [DOI] [PubMed] [Google Scholar]
- 6.Yao J.J., Qi Z.Y., Liu Z.G., Jiang G.M., Xu X.W., Chen S.Y., Zhu F.T., Zhang W.J., Lawrence W.R., Ma J., et al. Clinical features and survival outcomes between ascending and descending types of nasopharyngeal carcinoma in the intensity-modulated radiotherapy era: A big-data intelligence platform-based analysis. Radiother. Oncol. 2019;137:137–144. doi: 10.1016/j.radonc.2019.04.025. [DOI] [PubMed] [Google Scholar]
- 7.Lee A., Ma B., Ng W.T., Chan A. Management of nasopharyngeal carcinoma: Current practice and future perspective. J. Clin. Oncol. 2015;33:3356–3364. doi: 10.1200/JCO.2015.60.9347. [DOI] [PubMed] [Google Scholar]
- 8.Pham D.L., Xu C., Prince J.L. Current methods in medical image segmentation. Annu. Rev. Biomed. Eng. 2000;2:315–337. doi: 10.1146/annurev.bioeng.2.1.315. [DOI] [PubMed] [Google Scholar]
- 9.Jaffe N., Bruland O.S., Bielack S. Pediatric and Adolescent Osteosarcoma. Volume 152 Springer Science & Business Media; Berlin/Heidelberg, Germany: 2010. [Google Scholar]
- 10.Pirner S., Tingelhoff K., Wagner I., Westphal R., Rilk M., Wahl F., Bootz F., Eichhorn K.W. CT-based manual segmentation and evaluation of paranasal sinuses. Eur. Arch. Oto-Rhino-Laryngol. 2009;266:507–518. doi: 10.1007/s00405-008-0777-7. [DOI] [PubMed] [Google Scholar]
- 11.Chiu S.J., Li X.T., Nicholas P., Toth C.A., Izatt J.A., Farsiu S. Automatic segmentation of seven retinal layers in SDOCT images congruent with expert manual segmentation. Opt. Express. 2010;18:19413–19428. doi: 10.1364/OE.18.019413. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Ching T., Himmelstein D.S., Beaulieu-Jones B.K., Kalinin A.A., Do B.T., Way G.P., Ferrero E., Agapow P.M., Zietz M., Hoffman M.M., et al. Opportunities and obstacles for deep learning in biology and medicine. J. R. Soc. Interface. 2018;15:20170387. doi: 10.1098/rsif.2017.0387. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Gao Z., Chung J., Abdelrazek M., Leung S., Hau W.K., Xian Z., Zhang H., Li S. Privileged modality distillation for vessel border detection in intracoronary imaging. IEEE Trans. Med. Imaging. 2019;39:1524–1534. doi: 10.1109/TMI.2019.2952939. [DOI] [PubMed] [Google Scholar]
- 14.Wu C., Zhang H., Chen J., Gao Z., Zhang P., Muhammad K., Del Ser J. Vessel-GAN: Angiographic reconstructions from myocardial CT perfusion with explainable generative adversarial networks. Future Gener. Comput. Syst. 2022;130:128–139. doi: 10.1016/j.future.2021.12.007. [DOI] [Google Scholar]
- 15.Gao Z., Wu S., Liu Z., Luo J., Zhang H., Gong M., Li S. Learning the implicit strain reconstruction in ultrasound elastography using privileged information. Med. Image Anal. 2019;58:101534. doi: 10.1016/j.media.2019.101534. [DOI] [PubMed] [Google Scholar]
- 16.Zhang M., Zhou Y., Zhao J., Man Y., Liu B., Yao R. A survey of semi-and weakly supervised semantic segmentation of images. Artif. Intell. Rev. 2020;53:4259–4288. doi: 10.1007/s10462-019-09792-7. [DOI] [Google Scholar]
- 17.Guo S., Xu L., Feng C., Xiong H., Gao Z., Zhang H. Multi-level semantic adaptation for few-shot segmentation on cardiac image sequences. Med. Image Anal. 2021;73:102170. doi: 10.1016/j.media.2021.102170. [DOI] [PubMed] [Google Scholar]
- 18.Chong V., Fan Y.F. Detection of recurrent nasopharyngeal carcinoma: MR imaging versus CT. Radiology. 1997;202:463–470. doi: 10.1148/radiology.202.2.9015075. [DOI] [PubMed] [Google Scholar]
- 19.Dumrongpisutikul N., Luangcharuthorn K. Imaging characteristics of nasopharyngeal carcinoma for predicting distant metastasis. Clin. Radiol. 2019;74:818.e9–818.e15. doi: 10.1016/j.crad.2019.06.031. [DOI] [PubMed] [Google Scholar]
- 20.Huang K.W., Zhao Z.Y., Gong Q., Zha J., Chen L., Yang R. Nasopharyngeal carcinoma segmentation via HMRF-EM with maximum entropy; Proceedings of the 2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC); Milan, Italy. 25–29 August 2015; pp. 2968–2972. [DOI] [PubMed] [Google Scholar]
- 21.Tsao S.W., Yip Y.L., Tsang C.M., Pang P.S., Lau V.M.Y., Zhang G., Lo K.W. Etiological factors of nasopharyngeal carcinoma. Oral Oncol. 2014;50:330–338. doi: 10.1016/j.oraloncology.2014.02.006. [DOI] [PubMed] [Google Scholar]
- 22.Zhu X.J. Semi-Supervised Learning Literature Survey. University of Wisconsin-Madison; Madison, WI, USA: 2005. [Google Scholar]
- 23.Hinton G., Vinyals O., Dean J. Distilling the knowledge in a neural network. arXiv. 20151503.02531 [Google Scholar]
- 24.Goodfellow I., Bengio Y., Courville A. Deep Learning. MIT Press; Cambridge, MA, USA: 2016. [Google Scholar]
- 25.Tao G., Li H., Huang J., Han C., Chen J., Ruan G., Huang W., Hu Y., Dan T., Zhang B., et al. SeqSeg: A sequential method to achieve nasopharyngeal carcinoma segmentation free from background dominance. Med. Image Anal. 2022;78:102381. doi: 10.1016/j.media.2022.102381. [DOI] [PubMed] [Google Scholar]
- 26.Li X., Tang M., Guo F., Li Y., Cao K., Song Q., Wu X., Sun S., Zhou J. DDNet: 3D densely connected convolutional networks with feature pyramids for nasopharyngeal carcinoma segmentation. IET Image Process. 2022;16:39–48. doi: 10.1049/ipr2.12248. [DOI] [Google Scholar]
- 27.Li Y., Dan T., Li H., Chen J., Peng H., Liu L., Cai H. NPCNet: Jointly Segment Primary Nasopharyngeal Carcinoma Tumors and Metastatic Lymph Nodes in MR Images. IEEE Trans. Med. Imaging. 2022;41:1639–1650. doi: 10.1109/TMI.2022.3144274. [DOI] [PubMed] [Google Scholar]
- 28.Meng M., Gu B., Bi L., Song S., Feng D.D., Kim J. DeepMTS: Deep multi-task learning for survival prediction in patients with advanced nasopharyngeal carcinoma using pretreatment PET/CT. IEEE J. Biomed. Health Inform. 2022:1–10. doi: 10.1109/JBHI.2022.3181791. [DOI] [PubMed] [Google Scholar]
- 29.Shen D., Wu G., Suk H.I. Deep learning in medical image analysis. Annu. Rev. Biomed. Eng. 2017;19:221–248. doi: 10.1146/annurev-bioeng-071516-044442. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Razzak M.I., Naz S., Zaib A. Deep learning for medical image processing: Overview, challenges and the future. Classif. BioApps. 2018;26:323–350. [Google Scholar]
- 31.Gao Z., Wang X., Sun S., Wu D., Bai J., Yin Y., Liu X., Zhang H., de Albuquerque V.H.C. Learning physical properties in complex visual scenes: An intelligent machine for perceiving blood flow dynamics from static CT angiography imaging. Neural Networks. 2020;123:82–93. doi: 10.1016/j.neunet.2019.11.017. [DOI] [PubMed] [Google Scholar]
- 32.LeCun Y., Boser B., Denker J., Henderson D., Howard R., Hubbard W., Jackel L. Handwritten digit recognition with a back-propagation network. Adv. Neural Inf. Process. Syst. 1989;2:396–404. [Google Scholar]
- 33.Gu J., Wang Z., Kuen J., Ma L., Shahroudy A., Shuai B., Liu T., Wang X., Wang G., Cai J., et al. Recent advances in convolutional neural networks. Pattern Recognit. 2018;77:354–377. doi: 10.1016/j.patcog.2017.10.013. [DOI] [Google Scholar]
- 34.Li Y., Han G., Liu X. DCNet: Densely Connected Deep Convolutional Encoder–Decoder Network for Nasopharyngeal Carcinoma Segmentation. Sensors. 2021;21:7877. doi: 10.3390/s21237877. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Pan X., Dai D., Wang H., Liu X., Bai W. Nasopharyngeal Organ Segmentation Algorithm Based on Dilated Convolution Feature Pyramid; Proceedings of the International Conference on Image, Vision and Intelligent Systems (ICIVIS 2021); Changsha, China. 15–17 June 2021; Berlin/Heidelberg, Germany: Springer; 2022. pp. 45–58. [Google Scholar]
- 36.Yang G., Dai Z., Zhang Y., Zhu L., Tan J., Chen Z., Zhang B., Cai C., He Q., Li F., et al. Multiscale Local Enhancement Deep Convolutional Networks for the Automated 3D Segmentation of Gross Tumor Volumes in Nasopharyngeal Carcinoma: A Multi-Institutional Dataset Study. Front. Oncol. 2022;12:827991. doi: 10.3389/fonc.2022.827991. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Guo F., Shi C., Li X., Wu X., Zhou J., Lv J. Image segmentation of nasopharyngeal carcinoma using 3D CNN with long-range skip connection and multi-scale feature pyramid. Soft Comput. 2020;24:12671–12680. doi: 10.1007/s00500-020-04708-y. [DOI] [Google Scholar]
- 38.Cheng W., Wan S., Zhaodong F., Zhou Q., Lin Q. Automatic Gross Tumor Volume Delineation of Nasopharyngeal Carcinoma in 3D CT Images. Int. J. Radiat. Oncol. Biol. Phys. 2021;111:e381–e382. doi: 10.1016/j.ijrobp.2021.07.1119. [DOI] [Google Scholar]
- 39.Ronneberger O., Fischer P., Brox T. U-net: Convolutional networks for biomedical image segmentation; Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Lima, Peru. 4–8 October 2020; Berlin/Heidelberg, Germany: Springer; 2015. pp. 234–241. [Google Scholar]
- 40.Zhang J., Gu L., Han G., Liu X. AttR2U-Net: A Fully Automated Model for MRI Nasopharyngeal Carcinoma Segmentation Based on Spatial Attention and Residual Recurrent Convolution. Front. Oncol. 2021;11:816672. doi: 10.3389/fonc.2021.816672. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Li F.H., Zhao X.M. MD-Unet: A deformable network for nasal cavity and paranasal sinus tumor segmentation. Signal Image Video Process. 2022;16:1225–1233. doi: 10.1007/s11760-021-02073-3. [DOI] [Google Scholar]
- 42.Tang P., Yang P., Nie D., Wu X., Zhou J., Wang Y. Unified medical image segmentation by learning from uncertainty in an end-to-end manner. Knowl.-Based Syst. 2022;241:108215. doi: 10.1016/j.knosys.2022.108215. [DOI] [Google Scholar]
- 43.Chen H., Qi Y., Yin Y., Li T., Liu X., Li X., Gong G., Wang L. MMFNet: A multi-modality MRI fusion network for segmentation of nasopharyngeal carcinoma. Neurocomputing. 2020;394:27–40. doi: 10.1016/j.neucom.2020.02.002. [DOI] [Google Scholar]
- 44.Lin M., Cai Q., Zhou J. 3D Md-Unet: A novel model of multi-dataset collaboration for medical image segmentation. Neurocomputing. 2022;492:530–544. doi: 10.1016/j.neucom.2021.12.045. [DOI] [Google Scholar]
- 45.Liao W., He J., Luo X., Wu M., Shen Y., Li C., Xiao J., Wang G., Chen N. Automatic delineation of gross tumor volume based on magnetic resonance imaging by performing a novel semi-supervised learning framework in nasopharyngeal carcinoma. Int. J. Radiat. Oncol. Biol. Phys. 2022;113:893–902. doi: 10.1016/j.ijrobp.2022.03.031. [DOI] [PubMed] [Google Scholar]
- 46.Senkyire I.B., Liu Z. Supervised and semi-supervised methods for abdominal organ segmentation: A review. Int. J. Autom. Comput. 2021;18:887–914. doi: 10.1007/s11633-021-1313-0. [DOI] [Google Scholar]
- 47.Cheplygina V., de Bruijne M., Pluim J.P. Not-so-supervised: A survey of semi-supervised, multi-instance, and transfer learning in medical image analysis. Med. Image Anal. 2019;54:280–296. doi: 10.1016/j.media.2019.03.009. [DOI] [PubMed] [Google Scholar]
- 48.Li Y., Chen J., Xie X., Ma K., Zheng Y. Self-loop uncertainty: A novel pseudo-label for semi-supervised medical image segmentation; Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Lima, Peru. 4–8 October 2020; Berlin/Heidelberg, Germany: Springer; 2020. pp. 614–623. [Google Scholar]
- 49.Qiao S., Shen W., Zhang Z., Wang B., Yuille A. Deep co-training for semi-supervised image recognition; Proceedings of the European Conference on Computer Vision (ECCV); Munich, Germany. 8–14 September 2018; pp. 135–152. [Google Scholar]
- 50.Ning X., Wang X., Xu S., Cai W., Zhang L., Yu L., Li W. A review of research on co-training. Concurr. Comput. Pract. Exp. 2021:e6276. doi: 10.1002/cpe.6276. [DOI] [Google Scholar]
- 51.Hu L., Li J., Peng X., Xiao J., Zhan B., Zu C., Wu X., Zhou J., Wang Y. Semi-supervised NPC segmentation with uncertainty and attention guided consistency. Knowl.-Based Syst. 2022;239:108021. doi: 10.1016/j.knosys.2021.108021. [DOI] [Google Scholar]
- 52.Luo X., Liao W., Chen J., Song T., Chen Y., Zhang S., Chen N., Wang G., Zhang S. Efficient semi-supervised gross target volume of nasopharyngeal carcinoma segmentation via uncertainty rectified pyramid consistency; Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Strasbourg, France. 27 September–1 October 2021; Berlin/Heidelberg, Germany: Springer; 2021. pp. 318–329. [Google Scholar]
- 53.Zhang Y., Liao Q., Jiao R., Zhang J. Uncertainty-Guided Mutual Consistency Learning for Semi-Supervised Medical Image Segmentation. arXiv. 2021 doi: 10.2139/ssrn.3990565.2112.02508 [DOI] [PubMed] [Google Scholar]
- 54.Sun L., Wu J., Ding X., Huang Y., Wang G., Yu Y. A teacher–student framework for semi-supervised medical image segmentation from mixed supervision. arXiv. 20202010.12219 [Google Scholar]
- 55.Mnih V., Heess N., Graves A. Recurrent models of visual attention; Proceedings of the 28th Annual Conference on Neural Information; Montreal, QC, Canada. 8–13 December 2014. [Google Scholar]
- 56.Guo M.H., Liu Z.N., Mu T.J., Hu S.M. Beyond self-attention: External attention using two linear layers for visual tasks. arXiv. 2021 doi: 10.1109/TPAMI.2022.3211006.2105.02358 [DOI] [PubMed] [Google Scholar]
- 57.Vaswani A., Shazeer N., Parmar N., Uszkoreit J., Jones L., Gomez A.N., Kaiser Ł., Polosukhin I. Attention is all you need; Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS 2017); Long Beach, CA, USA. 4–9 December 2017. [Google Scholar]
- 58.Park J., Woo S., Lee J.Y., Kweon I.S. Bam: Bottleneck attention module. arXiv. 20181807.06514 [Google Scholar]
- 59.Itti L., Koch C. Computational modelling of visual attention. Nat. Rev. Neurosci. 2001;2:194–203. doi: 10.1038/35058500. [DOI] [PubMed] [Google Scholar]
- 60.Li X., Wang W., Hu X., Yang J. Selective kernel networks; Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; Long Beach, CA, USA. 15–20 June 2019; pp. 510–519. [Google Scholar]
- 61.Zeng X., Huang R., Zhong Y., Sun D., Han C., Lin D., Ni D., Wang Y. Reciprocal Learning for Semi-supervised Segmentation; Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Strasbourg, France. 27 September–1 October 2021; Berlin/Heidelberg, Germany: Springer; 2021. pp. 352–361. [Google Scholar]
- 62.Woo S., Park J., Lee J.Y., Kweon I.S. Cbam: Convolutional block attention module; Proceedings of the European Conference on Computer Vision (ECCV); Munich, Germany. 8–14 September 2018; pp. 3–19. [Google Scholar]
- 63.Hu J., Shen L., Sun G. Squeeze-and-excitation networks; Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City; UT, USA. 18–23 June 2018; pp. 7132–7141. [Google Scholar]
- 64.Wang Q., Wu B., Zhu P., Li P., Zuo W., Hu Q. Supplementary material for ‘ECA-Net: Efficient channel attention for deep convolutional neural networks; Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition; Seattle, WA, USA. 13–19 June 2020; pp. 13–19. [Google Scholar]
- 65.Li Y., Yao T., Pan Y., Mei T. Contextual transformer networks for visual recognition. IEEE Trans. Pattern Anal. Mach. Intell. 2022:1. doi: 10.1109/TPAMI.2022.3164083. [DOI] [PubMed] [Google Scholar]
- 66.Peiris H., Chen Z., Egan G., Harandi M. Duo-SegNet: Adversarial Dual-Views for Semi-Supervised Medical Image Segmentation; Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Strasbourg, France. 27 September–1 October 2021; Berlin/Heidelberg, Germany: Springer; pp. 428–438. [Google Scholar]
- 67.Li X., Yu L., Chen H., Fu C.W., Xing L., Heng P.A. Transformation-consistent self-ensembling model for semisupervised medical image segmentation. IEEE Trans. Neural Networks Learn. Syst. 2020;32:523–534. doi: 10.1109/TNNLS.2020.2995319. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The data presented in this study are available on request from the corresponding author. The data are not publicly available due to patient privacy.