DOI 10.1038/s41598-025-87165-7
Detection of cervical cell based on multi-scale spatial information.
Аннотация
Cervical cancer poses a significant health risk to women. Deep learning methods can assist pathologists in quickly screening images of suspected lesion cells, greatly improving the efficiency of cervical cancer screening and diagnosis. However, existing deep learning methods rely solely on single-scale features and local spatial information, failing to effectively capture the subtle morphological differences between abnormal and normal cervical cells. To tackle this problem effectively, we propose a cervical cell detection method that utilizes multi-scale spatial information. This approach efficiently captures and integrates spatial information at different scales. Firstly, we design the Multi-Scale Spatial Information Augmentation Module (MSA), which captures global spatial information by introducing a multi-scale spatial information extraction branch during the feature extraction stage. Secondly, the Channel Attention Enhanced Module (CAE) is introduced to achieve channel-level weighted processing, dynamically optimizing each output feature using channel weights to focus on critical features. We use Sparse R-CNN as the baseline and integrate MSA and CAE into it. Experiments on the CDetector dataset achieved an Average Precision (AP) of 65.3%, outperforming the state-of-the-art (SOTA) methods.
Другие публикации по теме
Перевод полного текста: Перевод в очереди
Полный текст источника
https://creativecommons.org/licenses/by-nc-nd/4.0/
Текст сохранён. Часть иллюстраций пока доступна только в первоисточнике; загрузка будет проверена повторно.
Gang Li
Xinyu Fan
Chuanyun Xu
Pengfei Lv
Ru Wang
Zihan Ruan
Zheng Zhou
Yang Zhang
Corresponding author.
Contributed equally.
Received 2024 Aug 26; Accepted 2025 Jan 16; Collection date 2025.
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ .
Abstract
Cervical cancer poses a significant health risk to women. Deep learning methods can assist pathologists in quickly screening images of suspected lesion cells, greatly improving the efficiency of cervical cancer screening and diagnosis. However, existing deep learning methods rely solely on single-scale features and local spatial information, failing to effectively capture the subtle morphological differences between abnormal and normal cervical cells. To tackle this problem effectively, we propose a cervical cell detection method that utilizes multi-scale spatial information. This approach efficiently captures and integrates spatial information at different scales. Firstly, we design the Multi-Scale Spatial Information Augmentation Module (MSA), which captures global spatial information by introducing a multi-scale spatial information extraction branch during the feature extraction stage. Secondly, the Channel Attention Enhanced Module (CAE) is introduced to achieve channel-level weighted processing, dynamically optimizing each output feature using channel weights to focus on critical features. We use Sparse R-CNN as the baseline and integrate MSA and CAE into it. Experiments on the CDetector dataset achieved an Average Precision (AP) of 65.3%, outperforming the state-of-the-art (SOTA) methods.
Subject terms: Optical imaging, Computer science, Cancer imaging
Introduction
Cervical cancer is the fourth most common cancer and the second most prevalent disease among women living in developing and low-income countries 1 . Approximately 311,000 women worldwide die from this deadly disease 2 . Due to the lack of screening methods and treatment options, over 80% of cervical cancer cases and 85% of cervical cancer-related deaths occur in low-income and developing countries 3 . Cervical cytology screening has been an effective method for diagnosing and preventing cervical cancer. Typically, cytopathologists diagnose using conventional Pap smears or liquid-based preparation slides 4 . If cervical cancer lesions are detected and adequately treated in the early stages, the cure rate is 92% 5 .
Currently, the diagnosis of cervical cancer primarily relies on pathologists identifying lesion cells in cervical cytology images. However, since abnormal cervical cells constitute only a minor fraction of all sample cells in these images, manual slide analysis can be time-consuming, labor-intensive, and prone to errors 6 . Moreover, manual analysis cannot meet the growing demand for diagnostics. To enhance the efficiency of cervical cytology screening, the development of automated cervical cytology analysis is highly necessary. With advancements in image processing methods and computational power, deep learning-based computer-aided diagnostic methods have gained widespread attention 7 . Presently, deep learning-based object detection algorithms 8 – 12 are applied to detect abnormal cells in cervical cytology images, achieving a series of remarkable results in this field 13 – 15 .
Computer-aided slide reading faces three challenges: First, in cervical cytology images, the morphological features of normal and abnormal cells can be highly similar. For example, as shown in Fig. 1 , cells that appear morphologically similar to lesions can be identified as normal by visual inspection. Second, there are issues such as cell adhesion and overlap. Third, factors such as noise, shadows, and interfering objects may be present in the images. Existing algorithms for detecting cervical lesion cells rely solely on single-scale features and local spatial information, which are insufficient to meet the complex demands of cervical cell detection. These algorithms exhibit significant shortcomings in accurately detecting morphologically similar cells. Pathologists determine whether cervical cells are normal or abnormal by observing the cells and comparing them with surrounding cells. Inspired by this approach, we propose that cervical lesion cell detection algorithms should leverage a broader range of spatial information around the detected cells to enhance the model’s ability to capture global spatial information and improve its performance in cervical lesion cell detection. Therefore, in this study introduces a cervical cell detection method based on multi-scale spatial information enhancement. Based on Sparse R-CNN 12 , MSA and CAE are incorporated to extract more spatial information at different scales around cells, achieving more global spatial information fusion and analysis. In particular, during the feature extraction phase, the MSA captures spatial information at different scales around the cells using a multi-scale spatial information extraction branch. Subsequently, the CAE employs a channel attention mechanism to optimize the final output features, enhancing the focus on critical features and thereby achieving better cell detection performance.

The main contributions can be summarized as follows:
We proposed a method that combines multi-scale feature fusion and attention mechanisms to address the limitations in scale and local information capture in cervical cell detection.
We introduced Multi-Scale Spatial Information Augmentation (MSA) and Channel Attention Enhanced (CAE) modules into the baseline model’s neck structure, creating a new integration strategy that enhances feature representation capabilities.
We conducted multiple experiments on the CDetector dataset, and our method outperformed the state-of-the-art (SOTA) method when cascading MSA and CAE.
Related work
Cervical cytology image analysis
In recent years, researchers worldwide have employed various approaches to study cervical cancer detection. Common workflows typically involve a segmentation step followed by an anomaly classification step 16 , 17 . Park et al. 18 proposed using cervical imaging to compare deep learning and machine learning models for cervical cancer detection, finding that the deep learning method ResNet-50 19 outperformed other machine learning methods. Zhang et al. 20 observed that inevitable segmentation errors always lead to decreased classification accuracy of abnormal cells. They introduced the DeepPap model, which applies convolutional neural networks (CNNs) directly to the classification task of cervical cells, thus avoiding pre-segmentation processing. This model performed well on two public datasets, Herlev 2005 21 and HEMLBC 22 , with accuracy rates exceeding 98%. However, their method is still more time-consuming than traditional algorithms. Using CNNs to learn features from cervical cell images has become a trend, as opposed to using manually extracted features 17 , 23 . These methods target single-cell classification, and the number of forward passes is proportional to the cell population, making automatic analysis computationally expensive. Furthermore, these manual methods are slow to process, making clinical applications challenging and negating the significance of automatic recognition by the algorithm.
With the development of deep learning models, many general-purpose models, such as VGG 24 and ResNet 19 , have emerged. These models are pre-trained and validated on large public datasets like ImageNet 25 . Applying these models to the detection of cervical cells can significantly enhance the performance of analyzing cervical pathological cells. Wei et al. 26 proposed a method for detecting cervical glandular cells from whole-slide images using a network module called PolarNet. This module utilizes self-attention mechanisms 27 to quantify the polarity direction features of cervical glandular cells, thereby improving the detection effectiveness of these cells. Liang et al. 28 introduced an end-to-end object detection method called Comparison Detector. This strategy directly learns prototype representations of background and foreground classes, addressing the issue of cervical cell detection in cases of limited data. However, all the aforementioned methods only utilize local background and foreground, ignoring useful spatial contextual information.
Object detection based on spatial context information and attention
Cao et al. 29 incorporated channel attention and spatial attention into Faster R-CNN to propose a novel Attention Feature Pyramid Network (AttFPN) for detecting and classifying abnormal cervical cells in images. This network combines multi-scale feature fusion and attention mechanisms, achieving image-level and case-level classification by automatically detecting abnormal cervical cells in image patches, thus enhancing cell detection performance. Liang et al. 30 introduced a method for detecting abnormal cervical cells, which is a novel cascade RoI feature enhancement scheme based on attention mechanisms. This scheme includes a cell relationship attention module and a global attention module, leveraging the relationships between cells and global contextual information to enhance the representation capability of RoI features. This approach explores the relationships between cells and the global image context to improve detection performance.
The method of shifting attention to the most important regions in an image while ignoring irrelevant parts is known as the attention mechanism 31 . The attention mechanism has been highly successful in both natural language processing and computer vision. In CBAM 32 , an attention-based network was proposed to implicitly and adaptively predict potential critical features by collecting global spatial information through global average pooling. Unlike this, the CAE module enhances the neural network’s ability to learn inter-channel dependencies by adaptively adjusting the weight of each channel, thereby increasing focus on important features. Guo et al. 33 proposed a novel Feature Pyramid Network (FPN) aimed at better utilizing multi-scale features for object detection. By ensuring that multi-scale features contain similar semantic information before feature fusion, they reduce the semantic gap between them, thereby extracting contextual information to minimize information loss at the highest feature levels of the FPN. Therefore, we propose MSA, which significantly enhances the model’s global spatial information capture ability by introducing a multi-scale spatial information extraction branch, thereby improving detection performance in the domain of cervical cell detection.
Methods
We propose using multi-scale spatial information to improve the performance of detection models in cervical cell detection tasks. In FPN 34 , lateral propagation results in information loss in feature channels, and different levels in FPN contain scale-specific feature information that is incompatible with other levels. This hinders the effective fusion of multi-scale features and overlooks the utilization of surrounding spatial information. This issue is particularly pronounced in cervical cell image detection, where normal and abnormal cells may be highly similar in morphology, and the presence of cell adhesion and overlapping phenomena creates a more complex detection environment. Consequently, the model only captures local information and fails to effectively utilize the global information in cervical cytology images.Based on the above observations, we improved the FPN 34 network structure of Sparse R-CNN 12 , as illustrated in Fig. 2 . This network structure includes Multi Scale Spatial Information Augmentation Module (MSA) and Channel Attention Enhancement Module (CAE). Our MSA extracts more spatial information around the target cells by introducing a multi-scale spatial information extraction branch, capturing diverse features. Specifically, the multi-scale spatial information extraction branch is introduced from the C5 layer, aggregating multi-scale spatial information. The aggregated feature map is then fused with the P5 layer feature map and propagated to lower-level layers using the top-down pathway of the FPN, facilitating fusion with features from other levels. To specifically extract and utilize critical information, the CAE module is introduced to perform channel weighting, assigning appropriate weights to each output feature, thereby focusing on crucial features. The following sections will detail the MSA and CAE.

Multi scale spatial information augmentation module
As mentioned above, the detection of cervical cells relies not only on the features of abnormal cells but also on the characteristics of surrounding cells. Therefore, the features of the cells themselves and their spatial relationships with neighboring cells are key elements in cervical cell recognition. Based on this understanding, we aims to further enhance the detection capability of cervical cells by improving the utilization of multi-scale spatial information between cells.
We introduce a multi-scale spatial information extraction branch structure at the C5 layer of the Sparse R-CNN network model. The objective is to inject multi-scale spatial information into the original network. By effectively fusing features of varying resolutions, we strengthen the connections between layers and enrich the representational power of the features. This enables the model to more comprehensively capture the complex information of cervical cells and their surrounding environments. The branch efficiently provides the necessary spatial information, enriching the hierarchical and diverse nature of the features, and improving the model’s spatial awareness of cells and their surroundings, ultimately enhances the accuracy and reliability of cervical cell detection. The structure of MSA is illustrated in Fig. 3 . Firstly, by performing scale-invariant adaptive pooling on the C5 layer feature map of size ,multiple feature maps of different scales ( ) are generated. These feature maps are then upsampled to the size The N feature maps of the same scale are concatenated, and convolution operations are applied to extract more complex non-linear features from the input features, resulting in richer feature representations. The enhanced features are fused with the original features, and spatial weight maps of the same size are generated for each feature. These weight maps are then combined with P5 and propagated downward to fuse with other features at lower levels. MSA not only effectively facilitates interactions between features of different scales, but also significantly deepens the model’s understanding of multi-level feature structures. It enhances the model’s ability to handle subtle structures and complex background information in cervical cell images.

Channel attention enhanced module
To fully leverage the information differences between features at different levels in cervical cell images and enhance the feature dependencies between channels, CAE was designed to help the model better understand the features obtained through MSA. The structure of CAE is illustrated in Fig. 4 . The module utilizes both global average pooling and global max pooling to focus on the important features within the multi-scale spatial information. These two pooling methods are used to extract and aggregate global information from different spatial locations, resulting in two distinct features. Next, these features are each input into separate convolutions. Finally, the outputs of the two convolutional layers are combined by element-wise summation and passed through a sigmoid activation function to fuse the two types of channel information, resulting in the channel weights. This process can be expressed as follows:
| 1 |
where CAE () denotes the channel attention function and represents the sigmoid function.
Иллюстрация — в первоисточнике ↗
In cervical cytology images, cells exhibit diverse sizes, shapes, and texture features, which are crucial for accurately identifying cell types and their pathological states. Features with higher relevance, particularly those that contribute significantly to classification and diagnosis, are especially important. By adjusting the weights of different features, this strategy enables a focus on the most critical features for the task, allowing the network to pay varying levels of attention based on feature importance. Due to semantic differences between cross-scale feature maps, simple feature fusion may result in aliasing effects, and directly merging these features could lead to a reduction in multi-scale feature representation capability. In consideration of MSA incorporates more feature information, aliasing effects may be more pronounced. Introducing CAE can mitigate the negative impact of aliasing effects. Although incorporating attention modules may increase computational costs, the relatively lightweight design of CAE allows for a significant improvement in network performance with only a minimal increase in computational overhead.
Additionally, shallow features typically contain more detailed and spatial information, which is crucial for detecting small objects or tasks that require precise spatial localization. By applying channel attention mechanisms to shallow feature maps, the model can enhance its focus and discriminative capability regarding different features. This study derives channel weights using features from the P2 layer and then applies channel weighting to the output features of each layer, allowing for better focus on critical features.
Multi-scale training and ensemble prediction loss
The size of the input image also impacts the performance of the detection model. In handling input images, this study employs a multi-scale training approach., where processing the input image at a single scale, similar to image pyramids 35 , the input image is scaled to multiple scales, with feature maps computed and subsequent detection performed for each scale. Multi-scale training provides multiple scale options, and during each iteration, a scale is randomly selected from the available scales to process the input image. This approach aims to enhance the model’s generalization ability to targets of different sizes and improve model robustness.
Furthermore, in optimizing performance, a loss function is established. The ensemble prediction loss generates the optimal bipartite matching between the ground truth objects and predicted values. The matching cost is defined as follows:
| 2 |
Here is the focal loss 10 of predicted classifications and ground truth category labels, is the L1 loss between the center coordinate and the height and width of the predicted and real boxes 36 , and is the generalized IoU loss 37 between the predicted and ground truth bounding box coordinates and dimensions. , and are the coefficients for each component. The final loss is the sum of all paired losses, normalized by the number of targets within the training batch.
Results
This section presents the CDetector dataset 28 , evaluation metrics, and comparsion and ablation experiments conducted on the dataset.
Dataset and implementation details
In the research of cervical cells using deep learning methods, classification and segmentation are the most common tasks. Consequently, the datasets used in these studies are often aimed at these tasks (e.g., Herlev 21 , ISBI 38 , and AgNOR 39 ). In contrast, research that directly performs detection tasks on cervical cells is relatively sparse, with datasets mainly being private and containing a small number of samples. This study uses cervical cytology image data from the publicly available CDetector dataset 28 . This dataset contains a total of 7,410 cervical microscopic images. The training set comprises 6,666 images, and the test set comprises 744 images. Experienced pathologists annotated the cell images. The dataset includes 11 categories: ascus (atypical squamous cells of undetermined significance), asch (atypical squamous cells cannot exclude HSIL), lsil (low-grade squamous intraepithelial lesion), hsil (high-grade squamous intraepithelial lesion), scc (squamous cell carcinoma), agc (atypical glandular cells), trich (trichomonas), cand (candida), flora, herpes, and actin (actinomyces). Table 1 lists the number of each category in the training and test sets.
Table 1.
Distribution of classification instances in the training and test sets.
| Ascus | Asch | lsil | Hsil | Scc | Agc | Trich | Cand | Flora | |
| Train | 902 | 1427 | 877 | 3373 | 319 | 972 | 548 | 217 | 38 |
| Test | 98 | 150 | 109 | 357 | 28 | 122 | 62 | 20 | 7 |
All experiments were conducted based on MMDetection 40 . The baseline model was established using Sparse R-CNN 12 as the foundational model and ResNet-50 19 as the backbone network, providing a strong baseline for subsequent research and optimization. The training was set for 36 epochs, with an initial learning rate of 0.000025, which decayed by a factor of 0.01 after the 8th and 11th epochs. The AdamW optimizer with a weight decay of 0.0001 was used. The parameters in the ResNet-50 backbone were initialized using a pre-trained ImageNet model.
Evaluation metrics
To quantitatively evaluate the performance, this study adopts the standard metrics defined by the COCO dataset 41 : Average Precision (AP) and Average Recall (AR). These two metrics are widely used in cervical cell detection tasks. AP50 and AP75 denote the AP at fixed IoU thresholds of 50% and 75%, respectively. All subsequent AP values are based on percentages. APS, APM, and APL represent the AP for small ( ), medium (322 ), and large ( 962) cells, respectively. The evaluation metrics are calculated as follows:
| 3 |
| 4 |
where TP represents the number of true positive samples (i.e., foreground), TN represents the number of true negative samples (i.e., background), FP represents the number of false positive samples, and FN represents the number of false negative samples.
Comparison experiments
In exploring the task of cervical cell detection, the proposed method was rigorously compared and evaluated against state-of-the-art techniques in the field, such as CBAM 32 and AUGFPN 33 . Through systematic experimental analysis, this comparative study not only aids in a deeper understanding of the proposed method but also provides valuable references and insights for research in the field of cervical cell detection.
By integrating the CBAM 32 module, AUGFPN 33 , and our proposed method into the Sparse R-CNN 12 respectively, a comparative analysis was performed as shown in Table 2 . Our method outperforms the other two methods in cervical cell detection. This improvement can be attributed to the carefully designed network model, which effectively captures more useful spatial feature information and better focuses on critical information within cervical cell images, while effectively suppressing noise and interference. Therefore, our approach demonstrates greater advantages in the field of cervical cell detection.
Table 2.
Comparative experimental results with different methods on Sparse R-CNN.
| Methods | ||||
| Sparse R-CNN 12 | 34.7 | 63.4 | 34.2 | 60.6 |
| Sparse R-CNN+CBAM 32 | 35.2 | 64.6 | 35.6 | 60.8 |
| Sparse R-CNN+AUGFPN 33 | 35.2 | 64.3 | 34.3 | 60.7 |
| Ours | 36.1 | 65.3 | 35.4 | 61.3 |
As shown in Table 2 , our method exhibits significantly higher performance compared to other methods. The experimental results indicate that our approach outperforms the others in both AP and AR metrics, demonstrating the outstanding performance of our method in the cervical cell detection task.
Our method is compared with ten general object detection models and two models specifically designed for cervical cell detection. The general object detection models include Faster R-CNN 9 and DDQ 42 , Double-Head Faster R-CNN 43 , Cascade R-CNN 44 , RetinaNet 10 , Sparse R-CNN 12 ,YOLOv5 48 ,RTMDet 49 ,YOLOv10 50 and YOLOv8 45 . The cervical cell detectors are Faster R-CNN* 46 and Comparison Detector 28 . Except for YOLOv5 48 ,RTMDet 49 ,YOLOv10 50 and YOLOv8 45 , which uses Darknet, all these methods adopt ResNet-50 as the backbone network. Most models were trained for 36 epochs, except for YOLOv5 48 ,RTMDet 49 ,YOLOv10 50 ,YOLOv8 45 and Double-Head Faster R-CNN 43 , which were trained for 300 and 50 epochs, respectively. As previously mentioned, standard multi-scale training techniques were applied to models like Faster R-CNN 9 , Cascade R-CNN 44 , RetinaNet 10 , and Sparse R-CNN 12 .
Table 3 presents the experimental results of all the aforementioned methods on the cervical cell dataset, along with the parameters of different detectors. It can be observed that after integrating MSA and CAE, the performance further improved, achieving 65.3% in AP50, surpassing the baseline by 1.9%. Additionally, the inclusion of multi-scale training strategies enhanced the model’s accuracy and robustness in practical applications. Our method achieved 65.3% in AP50, significantly outperforming all general object detection models and specialized cervical cell detection models. Here, Faster R-CNN* refers to the detection model designed specifically for cervical cells.
Table 3.
Comparative experimental results with different models on the CDetector dataset, where Faster R-CNN* denotes the detection model specifically designed for cervical cells.
| Model | AP | AR | GFLOPs | FPS | Params | ||
| Faster R-CNN 9 | 32.2 | 59.7 | 30.5 | 52.0 | 193.8 | 14.5 | 41.1 |
| DDQ 42 | 34.5 | 64.6 | 33.1 | 60.7 | 200.5 | 12.3 | 97.5 |
| Double-Head 43 | 31.5 | 58.6 | 29.6 | 50.9 | 468.0 | 6.3 | 46.7 |
| Cascade R-CNN 44 | 29.3 | 55.4 | 28.8 | 47.9 | 195.8 | 11.6 | 68.9 |
| RetinaNet 10 | 23.8 | 52.1 | 15.3 | 45.0 | 208.8 | 14.9 | 36.3 |
| Sparse R-CNN 12 | 34.7 | 63.4 | 34.2 | 60.6 | 139.7 | 11.8 | 106.0 |
| YOLOv5 48 | 30.7 | 56.6 | 30.4 | 54.3 | 7.9 | 43.7 | 7.0 |
| YOLOv8 45 | 31.5 | 57.1 | 30.6 | 64.1 | 8.7 | 95.8 | 3.2 |
| RTMDet 49 | 32.1 | 58.3 | 32.8 | 62.7 | 14.7 | 107.6 | 8.9 |
| YOLOv10 50 | 34.3 | 59.4 | 32.2 | 62.3 | 8.2 | 112.5 | 2.7 |
| Faster R-CNN* 46 | – | 61.6 | – | 87.7 | – | – | – |
| Comparison detector 28 | – | 48.8 | – | 64.0 | – | – | – |
| Ours | 36.1 | 65.3 | 35.4 | 61.3 | 139.9 | 11.9 | 107.8 |
The detection results of the model specifically designed for cervical cell detection are taken from the respective papers.
As shown in Table 3 , one-stage methods, such as RetinaNet 10 and YOLOv8 45 , achieve high frame rates (FPS) due to their efficient architectures, significantly enhancing inference speed. Although they excel in speed, they may exhibit slightly lower accuracy in complex cervical cell detection scenarios compared to two-stage detectors.We observed that the average recall rate of YOLOv8 outperforms ours, potentially due to the fixed number of learning proposal boxes employed by Sparse R-CNN, which may fail to encompass the true locations of target objects. Consequently, it becomes challenging to adjust their positions during subsequent iterative optimizations. Furthermore, when multiple cells are densely distributed, sparsity may lead to some targets being overlooked, resulting in a lower recall rate. In contrast, two-stage detectors (e.g., Faster R-CNN 9 , Double-Head 43 , and Cascade R-CNN 44 ) have lower frame rates but demonstrate superior detection performance through more refined candidate box identification and subsequent precise classification and bounding box regression stages. Our proposed method achieves excellent detection accuracy while maintaining a normal frame rate, effectively balancing speed and accuracy. Notably, our method improves performance by 1.9 AP over Sparse R-CNN 12 with only an additional 1.8M parameters. Furthermore, it outperforms cervical cell detectors such as Faster R-CNN* 46 and Comparison Detector 28 , highlighting the superiority of our approach.
Experiments on Other Datasets. Experiments were conducted on the DCCL 47 dataset, which has different characteristics and challenges. This dataset contains 14,432 images across 7 categories and includes a significant number of unlabeled cases, making it more challenging. The experiments utilized the same model architecture as the primary experiments, with training strategies fine-tuned to address the dataset’s specific features. By carefully setting hyperparameters such as learning rate, batch size, and optimizer, the model was effectively trained on this dataset. The results show that our model achieved satisfactory performance on this dataset, with an AP of 24.8% and an AR of 46.6%, as shown in Table 4 . These results indicate that our method demonstrates good generalization across different datasets and can adapt to various scenarios and tasks.
Table 4.
Comparative experimental results on the DCCL dataset with different models.
| Model | AP | AR |
| Faster R-CNN 9 | 20.1 | 31.9 |
| Sparse R-CNN 12 | 23.9 | 44.5 |
| DCCL 47 | 17.1 | – |
| Ours | 24.8 | 46.6 |
where DCCL 47 represents the detection results from the DCCL paper.
Ablation experiments
To thoroughly analyze and validate the effectiveness of MSA and CAE in the proposed model, detailed ablation experiments were conducted on the CDetector dataset 28 . Average Precision (AP) was used as the primary evaluation metric. The modules were added separately to Sparse R-CNN 12 to assess their impact on model performance. This approach aims to rigorously quantify and evaluate the specific contributions of MSA, CAE, and their combination to model performance. The results are shown in Table 5 . From Table 5 , it can be observed that both the MSA and CAE modules individually show similar performance improvements compared to the baseline model, with enhancements in AP. Notably, when MSA and CAE modules are integrated together into the network, there is a further performance boost (approximately 1.4% for AP and 1.9% for AP50). Compared to the baseline, the integration of MSA and CAE results in improved performance. These findings indicate that combining the MSA and CAE modules to enhance feature extraction and recognition capabilities effectively improves detection performance in the field of cervical cell analysis. It should be noted that our method may introduce positional errors, which are however acceptable given that the presence of abnormalities is inevitable in cervical cytology. Hence, accurate classification can be argued to be more critical than position.
Table 5.
Ablation study of MSA and CAE, validating their impact on model performance.
| Methods | AP | ||
| baseline | 34.7 | 63.4 | 34.2 |
| +MSA | 36.1 | 64.7 | 35.1 |
| +CAE | 36.0 | 64.4 | 36.1 |
| +MSA and CAE | 36.1 | 65.3 | 35.9 |
As shown in the experimental results, compared to the baseline model, both MSA and CAE, as well as their combination, effectively utilize multi-scale spatial information and attention mechanisms to achieve better results.The effectiveness of our method can also be demonstrated from the perspective of feature maps, as illustrated in Fig. 5 . Compared to the feature maps generated by Sparse R-CNN, our method significantly enhances the representation of abnormal cervical cells on the feature maps and exhibits a broader global context. This observation strongly suggests that our proposed method outperforms in learning the characteristics of cervical cells.

In the MMDetection framework 40 , all experiments used the and std based on ImageNet 25 data processing. To determine which mean and std provide the best model performance during normalization, three approaches were tested: (1) using the mean and std provided by the MMDetection framework; (2) using the mean and std from COCO 41 ; and (3) using the mean and std calculated from our own dataset. Experiments were conducted to identify which set of mean and std resulted in the best model performance, as shown in Table 6 . Here, mAP refers to AP50, and all other settings remain the same. Detailed analysis of the results indicated that normalization using the mean and std calculated specifically from the cervical cell dataset achieved optimal model performance. This finding suggests that customized normalization parameters for the cervical dataset significantly enhance model performance.
Table 6.
Training with different means and stds. mAP: here refers to AP50; ours: denotes the mean and std of the cervical cell dataset used in our experiments.
| Methods | Backbone | Mean and Std | mAP |
| Sparse R-CNN | ResNet50 | ImageNet 25 | 64.9 |
| Sparse R-CNN | ResNet50 | COCO 41 | 63.5 |
| Sparse R-CNN | ResNet50 | Ours | 65.3 |
A study on applying channel attention across different layers in CAE. Typically, FPN has four levels, producing feature maps at four different scales. Therefore, CAE has various branches to apply channel weighting to the output features of FPN. This study conducts a series of experiments to determine which level of feature maps yields the best model performance for channel weighting. The ablation results are listed in Table 7 , and the following observations were made through detailed experimental analysis. Firstly, using feature maps from any level for channel weighting effectively improves model performance. Secondly, channel weighting applied to lower-level feature maps achieved better performance compared to using top-level feature maps. Notably, despite the lower resolution of lower-level feature maps, they exhibited superior performance in the model. Based on these findings, we plan to implement the channel attention mechanism using P2 level feature maps to obtain precise channel weights and apply these weights to each output feature, assigning appropriate weights to different features.
Table 7.
Ablation Results of CAE at Different Levels.
| Layer | AP | ||
| P2 | 36.1 | 65.3 | 35.4 |
| P3 | 35.6 | 64.6 | 35.0 |
| P4 | 35.8 | 64.9 | 34.7 |
| P5 | 35.1 | 64.4 | 33.8 |
All experiments were conducted with the inclusion of both MSA and CAE modules.
Discussion
We proposed a cervical cell detection model based on multi-scale spatial information, which is a novel approach that harnesses global spatial information and attention mechanisms. This model offers fresh insights into the research of object detection models within the realm of medical image processing. Experimental results demonstrate that our model achieves higher accuracy in cervical cell recognition tasks compared to numerous prevalent backbone networks. Notably, our model consistently yields favorable outcomes amidst the variations in images and categories introduced by datasets with distinct characteristics, underscoring its robust feature extraction capability. This underscores its immense potential in assisting pathologists with clinical diagnoses.
By introducing a multi-scale spatial information enhancement branch, our model is able to capture global spatial information to augment features. Subsequently, an attention mechanism is utilized to focus on crucial feature information, achieving a fine balance between generalization performance and global feature extraction capabilities. Experimental results reveal that our model outperforms the baseline model by 1.9 percentage points, clearly demonstrating the superiority of our approach.
Furthermore, we conducted a comparative analysis with other detection models, including seven general-purpose object detection models and two specifically designed for cervical cell detection. Our model exhibits a distinct advantage over these counterparts. The poor performance of other hybrid models on cervical cell images is primarily attributed to their inability to leverage global spatial information effectively in the face of the complexity inherent in such images. In the experimental comparison with previous studies, our model consistently achieved the best detection results across different Average Precision thresholds. Notably, this improvement in accuracy was accompanied by only a marginal increase in the number of parameters, indicating that our model represents an ideal choice for cervical cell detection. This underscores the efficiency and effectiveness of our approach in addressing the challenges posed by cervical cell images.
In the ablation study, the inclusion of both MSA and CAE resulted in excellent performance, demonstrating the effectiveness of these structures. By extracting image features at different scales, introducing global spatial information at the initial stage, and focusing on the crucial features obtained through the attention mechanism, the detection performance was significantly enhanced. Moreover, compared to incorporating each module separately, the joint introduction of MSA and CAE yielded even better performance. This indicates that the combined effect of these two modules is more adept at extracting the pathological features of various lesions present in cervical cell images, highlighting their ability to capture the nuances and complexities inherent in such data.
Due to the small number of cervical cell datasets, some limitations of this study are as follows: (1) The limited number of images in certain categories may impact the model’s performance. (2) The class distribution of the dataset is unbalanced, making it difficult to evaluate the model’s detection accuracy for specific cells. (3) During the dataset preparation, we excluded some images labeled as low-quality, yet these types of images are inevitably encountered in real-world scenarios. In the future, We will continue to explore methods for cervical cell detection and expand our work to other medical imaging tasks.
Acknowledgements
This research was funded by the China Chongqing Science and Technology Commission, grant number cstc2014jcyjA40034, cstc2020jscx-msxmX0086, 2024NSCQ-LZX0135; the Chongqing University of Technology graduate education high-quality development project, grant number gzlsz202401; the Chongqing University of Technology - Chongqing LINGLUE Technology Co., LTD. Electronic Information (artificial intelligence) graduate joint training base; the Postgraduate Education and Teaching Reform Research Project in Chongqing, grant number yjg213116; and the Chongqing University of Technology - CISDI Chongqing Information Technology Co., LTD. Computer Technology graduate joint training base.Graduate Student Innovation Program of Chongqing University of Technology,grant number gzlcx20242144.
Author contributions
All authors have made significant contributions to this study. Principle Analysis, G.L., Y.Z. and X.F.; Specific Methods, G.L. and X.F.; Survey and Research, X.F., Z.R. and R.W.; Experimental Verification, P.L. and X.F.; Resource Management, C.X., R.W. and G.L.; Data Analysis, X.F. and R.W.; Writing Draft, X.F.; Review and Editing, Y.Z., G.L., Z.Z., Z.R., X.F., P.L. and C.X.; Supervision, G.L. and C.X.; Project Management, Y.Z.; Funding Support, G.L. and C.X.; All authors have read and agreed to the published version of the manuscript.
Data availability
The data that support the findings of this study are available on request from the corresponding author, Yang Zhang, upon reasonable request. And for further research in this area, we have made the code available at https://github.com/R3cK1eSs/DCC-MSI .
Declarations
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Gang Li and Xinyu Fan contributed equally to this work.
References
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The data that support the findings of this study are available on request from the corresponding author, Yang Zhang, upon reasonable request. And for further research in this area, we have made the code available at https://github.com/R3cK1eSs/DCC-MSI .
Предметные рубрики MeSH
Подготовка и перевод публикации
Обработка статьи · этапы, ошибки и управление
Ошибки и ограничения
История · было → стало
Состояние обновляется каждые 5 секунд, пока блок открыт. Процент показывается только там, где известен объём работы. Пауза останавливает продолжение этапа; текущий запрос к источнику может завершиться.
Тип публикации указан по данным источника. Уровень доказательности автоматически не присваивается.