Systematic Evaluation of Hybrid Vision Transformers and Convolutional Neural Networks for Enhanced Breast Cancer Histopathology Classification
Abstract
The classification of breast cancer from histopathological slides is a critical task in oncology, requiring a balance between fine-grained cellular texture recognition and global tissue architecture. While Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs) have achieved high performance, their relative behavior under matched patient-wise evaluation remains important for model selection. This paper presents a systematic evaluation of five ImageNet-initialized architectures on the BreaKHis 40X dataset, including a ConvNeXt-Hybrid variant that adds one Global Multi-Head Self-Attention block to the final ConvNeXt feature map. Across the dataset-provided patient-wise train/test partitions repeated over five splits, ConvNeXt-Hybrid achieved 89.77% ± 1.62% accuracy, 0.9530 ± 0.0185 Receiver Operating Characteristic Area Under the Curve (ROC-AUC), and 0.9681 ± 0.0194 Precision-Recall Area Under the Curve (PR-AUC). This performance was statistically indistinguishable from ConvNeXt-Base (89.63% ± 2.95% accuracy; exact Wilcoxon p = 1.00), but consistently higher than Swin-Base (85.68% ± 2.67% accuracy; paired t-test p = 0.0028; exact Wilcoxon p = 0.0625). Since 0.0625 is the smallest attainable two-sided exact Wilcoxon p-value at n = 5, the Swin comparison represents maximal non-parametric evidence at this sample size. Additional analyses include computational-cost profiling, attention-head sensitivity, Gradient- weighted Class Activation Mapping (Grad-CAM)visualization, a frozen-feature multi-instance patch aggregator, within-BreaKHis magnification-shift tests, and BreAst Cancer Histology (BACH) external validation using zero-shot and frozen-head protocols. Overall, the results support a bounded conclusion: explicit global attention is useful for a window-constrained Swin backbone, but it does not provide a statistically detectable improvement over a strong ConvNeXt backbone in this setting.
Keywords
Supporting Institution
References
- A. M. Alhassan, An improved breast cancer classification with hybrid chaotic sand cat and Remora Optimization, PLOS One 19 (4) (2024) e0300622.
- F. A. Spanhol, L. S. Oliveira, C. Petitjean, L. Heutte, A dataset for breast cancer histopathological image classification, IEEE Transactions on Biomedical Engineering 63 (7) (2016) 1455–1462.
- R. Brixtel, S. Bougleux, O. L´ ezoray, Y. Caillot, B. Lemoine, M. Fontaine, D. Nebati, A. Renouf, Whole slide image quality in digital pathology: Review and perspectives, IEEE Access 10 (2022) 131005–131035.
- M. Asadi-Aghbolaghi, A. Darbandsari, A. Zhang, A. Contreras-Sanz, J. Boschman, P. Ahmadvand, M. K¨ obel, D. Farnell, D. G. Huntsman, A. Churg, P. C. Black, G. Wang, C. B. Gilks, H. Farahani, A. Bashashati, Learning generalizable AI models for multi-center histopathology image classification, npj Precision Oncology 8 (1) (2024) 151.
- A. S. Syed Fiaz, B. Raza, M. Faheem, A. Raza, A deep fusion-based vision transformer for breast cancer classification, Healthcare Technology Letters 11 (6) (2024) 471–484.
- F. A. Spanhol, L. S. Oliveira, C. Petitjean, L. Heutte, Breast cancer histopathological image classification using CNN, Proceedings of the International Joint Conference on Neural Networks, Vancouver, 2016, pp. 2560–2567.
- M. Z. Alom, C. Yakopcic, M. S. Nasrin, T. M. Taha, V. K. Asari, Breast Cancer Classification from Histopathological Images with Inception Recurrent Residual Convolutional Neural Network, Journal of Digital Imaging 32 (4) (2019) 605–617.
- N. Ahmad, S. Asghar, S. A. Gillani, Transfer learning-assisted multi-resolution breast cancer histopathological images classification, The Visual Computer 38 (8) (2022) 2751–2770.
Details
Primary Language
English
Subjects
Computer Vision, Image Processing, Pattern Recognition, Deep Learning
Journal Section
Research Article
Publication Date
June 30, 2026
Submission Date
May 24, 2026
Acceptance Date
June 26, 2026
Published in Issue
Year 2026 Volume: 7 Number: 1