Abstract
Histopathological assessment of tissue biopsies is the main way to diagnose breast cancer. The current truth is that interpreting histopathological images is subjective and typically requires a great deal of effort by busy pathologists. Deep learning has transformed the practice of Digital Pathology, but at this moment, there is no universal agreement on which architecture gives the best performance for multiclass tissue recognition. The goal of this work is to analyze and compare the traditional Convolutional Neural Network (CNN), ResNet-101 and DenseNet-169, to the recently developed Transformer architecture, the Vision Transformer (ViT), by using a systematic benchmarking approach. Our approach involved using a balanced dataset with images from four classes (Benign, InSitu, Invasive, and Normal) and included preparation of images to a standardized input size of 224x224, transfer learning, and standard augmentations. Experimental results indicated that DenseNet-169 performs significantly greater than ResNet-101 (75% accuracy) with an improved accuracy of 96.25% and F1-score of 0.9628 at comparatively low levels of computational power (67.169 GFLOPs). DeiT Base is also an effective diagnostic adjunct, but due to its extensive number of parameters (85.80M) and computational cost, there are clear advantages in using optimized dense CNN architectures in limited clinical resources.
References
Ahmed, F., 2025. Histovit: Vision transformer for accurate and scalable histopathological cancer diagnosis.
Akbari, Y., F. Abdullakutty, S. Al-Maadeed, A. Bouridane, and R. Hamoudi, 2026. Dynamic model scaling based on segmented tumor size for breast cancer detection. Biomedical Signal Processing and Control, 113: 109118.
Alkhafaji, S. K. D., S. Abdulla, H. A. Marhoon, M. Diykh, M. A. Majed, et al., 2026. ECT-DLM: Deep learning-based empirical curvelet transform approach for thoracic disease diagnosis from X-ray images, pp. 37–45.
Dataset, 2025. BACH: Breast cancer histology images.
Gu, Q., N. Prodduturi, and S. N. Hart, 2024. Deep learning in automating breast cancer diagnosis from microscopy images. Proceedings of the 2024 Design of Medical Devices Conference, DMD 2024.
Hasan, M., M. S. Islam, and M. J. Pathan, 2025. An advanced hybrid deep neural network for precise multiclass classification and detection of cancerous and lymphatic node states. 2025 International Conference on Electrical, Computer and Communication Engineering, ECCE 2025.
He, K., X. Zhang, S. Ren, and J. Sun, 2025. Deep residual learning for image recognition.
Huang, G., Z. Liu, L. V. D. Maaten, and K. Q. Weinberger, 2025. Densely connected convolutional networks.
Irmak, G. and A. Saygılı, 2025. Deep learning-based histopathological classification of breast tumors: a multi-magnification approach with state-of-the-art models. Signal, Image and Video Processing, 19: 578–.
Jahan, I., M. E. Chowdhury, S. Vranic, R. M. A. Saady, S. Kabir, et al., 2025. Deep learning and vision transformers-based framework for breast cancer and subtype identification. Neural Computing and Applications, 37: 9311–9330.
Kansal, K., S. Kumar, and K. Kansal, 2025. Advances in deep learning techniques for breast cancer classification: A comprehensive review. Archives of Computational Methods in Engineering, pp. 1–36.
Krishnappa, S. G. and K. R. U. K. Reddy, 2024. Enhancing histopathology breast cancer detection and classification with the deep ensemble graph network. SN Computer Science 5: 1–11.
Liu, Y., X. Liu, and Y. Qi, 2024. Adaptive threshold learning in frequency domain for classification of breast cancer histopathological images. International Journal of Intelligent Systems 2024: 9199410.
Ma, S., H. Du, K. M. Curran, A. Lawlor, and R. Dong, 2024. Adaptive curriculum query strategy for active learning in medical image classification. Lecture Notes in Computer Science 15011 LNCS: 48–57.
Maurya, R., N. N. Pandey, M. K. Dutta, and M. Karnati, 2024. FCCS-Net: Breast cancer classification using multi-level fully convolutional-channel and spatial attention-based transfer learning approach. Biomedical Signal Processing and Control 94: 106258.
Mumuni, A., F. Mumuni, and N. K. Gerrar, 2024. A survey of synthetic data augmentation methods in machine vision. Machine Intelligence Research 2024 21:5 21: 831–869.
Rahaman, M. M., E. K. Millar, and E. Meijering, 2024. Histopathology image classification using supervised contrastive deep learning. Proceedings - International Symposium on Biomedical Imaging.
Rahman, M. A., M. S. H. Khan, Y. Watanobe, J. T. Prioty, T. T. Annita, et al., 2025. Advancements in breast cancer detection: A review of global trends, risk factors, imaging modalities, machine learning, and deep learning approaches. BioMedInformatics 2025, Vol. 5, 5.
Singh, P., R. Kumar, M. Gupta, and A. J. Obaid, 2024. Transfer learning based breast cancer classification using histopathology images. Proceedings of 2nd International Conference on Advancements in Smart, Secure and Intelligent Computing, ASSIC 2024.
Singh, S. K. and K. S. Patnaik, 2025. Patho-AI: A perceptive breast cancer identification and classification using deep learning methods integrated with explainable AI. SN Computer Science 6: 1–17.
Singh, S. K. and K. S. Patnaik, 2026. MammXAI: An XAI integrated adaptive multi-model deep learning approach for breast cancer detection using multi-modality images. Biomedical Signal Processing and Control 113: 109173.
Sumitha, A. and R. S. R. Isaac, 2025. Enhancing breast cancer diagnosis through optimized deep learning and histopathological image analysis. 2025 Global Conference in Emerging Technology, GINOTECH 2025.
Touvron, H., M. Cord, M. Douze, F. Massa, A. Sablayrolles, et al., 2025. Training data-efficient image transformers & distillation through attention.
Ukwuoma, C. C., D. Cai, E. O. Eziefuna, A. Oluwasanmi, S. F. Abdi, et al., 2025. Enhancing histopathological medical image classification for early cancer diagnosis using deep learning and explainable AI – LIME & SHAP. Biomedical Signal Processing and Control 100: 107014.
Wang, Z., P. Wang, K. Liu, P. Wang, Y. Fu, et al., 2024. A comprehensive survey on data augmentation.
Yan, Y., R. Lu, J. Sun, J. Zhang, and Q. Zhang, 2025. Breast cancer histopathology image classification using transformer with discrete wavelet transform. Medical Engineering & Physics 138: 104317.
Yilmaz, M. T., E. Algul, and I. Pacal, 2025. A comparative study of advanced deep learning architectures for breast cancer classification on ultrasound and histological images. Results in Engineering 28: 107600.
Yu, X., J. Tian, Z. Chen, Y. Meng, and J. Zhang, 2024. Predictive breast cancer diagnosis using ensemble fuzzy model. Image and Vision Computing 148: 105146.
Zhang, C., P. Chen, and T. Lei, 2025. Category-weight instance fusion learning for unsupervised domain adaptation on breast cancer histopathology images. Biomedical Signal Processing and Control 99: 106794.

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
