Hybrid transformer-CNN framework for cervical cell segmentation and classification
Automated analysis of cervical cytology images remains a challenging problem in visual pattern recognition due to large intra-class variability, weak object boundaries, and overlapping cellular structures. To address these challenges, we propose a hybrid two-phase deep learning framework that integrates transformer-based global representation learning with convolutional spatial feature modeling for whole-cell segmentation and classification. In the first phase, an improved Vision Transformer segmentation network with a U-Net-style decoder and multi-level skip connections is designed to jointly preserve long-range contextual dependencies and fine-grained boundary information. In the second phase, a hybrid classification architecture performs feature-level fusion of complementary representations extracted from ResNet50V2, DenseNet201, and Vision Transformer backbones, enabling robust modeling of both local texture patterns and global morphological context. Extensive experiments on private liquid-based cytology images and the public SIPaKMeD benchmark demonstrate consistent improvements over single-backbone CNN and standalone transformer baselines. The improved ViT achieved 99.11% pixel-wise accuracy, with a Dice coefficient of 90.09% and an IoU of 81.95% on the Pomeranian dataset. In the classification, the model scored 97.62% multi-class classification accuracy using BBOX-20 with 5-fold cross-validation on the Pomeranian dataset. In addition, it achieves 99.75% binary classification accuracy on the SIPaKMeD dataset using BBOX-20 with a train–test split, while also demonstrating strong cross-dataset generalization. These results indicate that hybrid CNN-Transformer representation learning provides an effective strategy for complex biomedical pattern recognition tasks involving structured objects and heterogeneous imaging conditions.
Authors
- Łukasz Jeleń (ORCID: https://orcid.org/0000-0001-7606-5191)
- Betelhem Zewdu Wubineh (ORCID: https://orcid.org/0000-0002-4790-7449)
- Krzysztof Halawa (ORCID: https://orcid.org/0000-0001-6508-0468)
- Andrzej Rusiecki (ORCID: https://orcid.org/0000-0003-2239-1076)
- Michał Jeleń (ORCID: https://orcid.org/0000-0002-7356-5729)
- María C. Chosia
Institutions
- Wrocław University of Science and Technology (PL)
- Wroclaw Medical University (PL)
- Pomeranian Medical University (PL)
Publication Details
- Journal
- BMC Bioinformatics
- Published
- 2026-12-01
- DOI
- https://doi.org/10.1186/s12859-026-06780-x
- Primary Topic
- AI in cancer detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00