PapSwin-MatchNet: A Dual-Expert CNN–Transformer Network with Spatial Correspondence and Adaptive Routing for Cervical Cell Classification

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.

Authors

Institutions

Publication Details

Journal
Bioengineering
Published
2026-11-25
DOI
https://doi.org/10.3390/bioengineering13121436
Primary Topic
AI in cancer detection
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

PapSwin-MatchNet: A Dual-Expert CNN–Transformer Network with Spatial Correspondence and Adaptive Routing for Cervical Cell Classification

Abdulrahman S. Alturki, Jia Uddin, Pintu Chandra Shill, Md. Shakil Bhuiyan et al.
3 links
Bioengineering
AI in cancer detection
article

PapSwin-MatchNet: A Dual-Expert CNN–Transformer Network with Spatial Correspondence and Adaptive Routing for Cervical Cell Classification

Abdulrahman S. Alturki, Jia Uddin, Pintu Chandra Shill, Md. Shakil Bhuiyan, Md. Saymon Hosen Polash, Chinmoy Karmakar, Azizur Rahman
article en

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.

BioengineeringVol. 13(12)
Qassim University (SA), Woosong University (KR), East West University (BD)
Qassim University
Good health and well-being
AI in cancer detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon