PapSwin-MatchNet: A Dual-Expert CNN–Transformer Network with Spatial Correspondence and Adaptive Routing for Cervical Cell Classification
Md. Shakil Bhuiyan, Chinmoy Karmakar, Azizur Rahman, Md. Saymon Hosen Polash, Pintu Chandra Shill, Abdulrahman S. Alturki, Jia Uddin
Key points
From the paper's conclusion- These findings suggest that correspondence-aware fusion offers a reproducible approach to cervical-cell image classification, although patient-level and external clinical validation remain necessary before clinical use.
Abstract
Cervical cell classification is challenging because morphologically similar categories may differ in nuclear, cytoplasmic, and textural characteristics. This study introduces PapSwin-MatchNet, a dual-expert CNN–Transformer framework combining ConvNeXt-Atto for local morphology with a partial Swin-Tiny branch for contextual representation. Bidirectional Spatial Correspondence Matching (BSCM) estimates position-wise agreement and mediates bidirectional cross-attention, while the Match-Conditioned Class Router (MCCR) adaptively integrates branch features using reliability, prediction disagreement, feature agreement, and low-rank relational correction. On the five-class SIPaKMeD benchmark, the model achieved 97.08% ± 0.41% accuracy, 0.9707 ± 0.0042 macro F1, 0.9638 ± 0.0050 MCC, and 0.9981 ± 0.0006 macro-averaged ROC AUC across five matched seeds, with 8.65 million parameters. Six baselines and eight additional configurations were compared. Image-level five-fold cross-validation yielded 97.06% ± 0.96% accuracy. A seed-42 source-cluster-disjoint SIPaKMeD test achieved 95.68% accuracy and 0.9543 macro F1.However, pHash screening identified 138 candidate near-duplicate pairs (51 with Hamming distance d≤5) that were not manually inspected; therefore, residual near-duplicate leakage across partitions cannot be completely excluded. On the additional 962-image, four-class liquid-based cytology (LBC) dataset, filename-group-disjoint testing achieved 83.33% accuracy and 0.6389 macro F1. All 61 filename-derived groups were assigned to mutually exclusive partitions, with zero group overlap. Nevertheless, patient- and slide-level independence could not be established because verified patient and slide identifiers were unavailable, limiting claims of patient-independent generalization. Ablation, hyperparameter sensitivity, paired statistical testing, and controlled perturbations examined model behavior. Grad-CAM++ and SmoothGrad provided qualitative explanations, and a browser-based application demonstrated research deployment feasibility. These findings suggest that correspondence-aware fusion offers a reproducible approach to cervical-cell image classification, although patient-level and external clinical validation remain necessary before clinical use.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Integrating domain-specific convolutional features with Swin Transformers for transparent cervical cancer diagnostics.Frontiers in oncology · 2026
- Cervical cancer classification using a novel hybrid approachFrontiers in Oncology · 2025
- A Hybrid Deep Learning Framework for High‐Precision and Efficient Cervical Cancer DetectionIET Image Processing · 2026
- Comparative Evaluation of CNN, Vision Transformer, and Swin Transformer Feature Representations with CatBoost for Bethesda Classification of Multi-Cell Cervical Cytology Image PatchesBioMedInformatics · 2026
- When Cell Crops Share a Parent: Measuring and Isolating Acquisition Leakage in Cervical Cytology BenchmarksarXiv · 2026
- CERVEX: A Foundation-Model Framework With Built-In Explainable AI for Automated Cervical Cytology Classification From Pap Smear ImagesmedRxiv · 2026