A patient-aware benchmarking of CNN and transformer architectures for breast cancer histopathology classification
Veeram Priyanka, Modigari Narendra, Tharasi Dilleswar Rao
Vellore Institute of Technology University
Key points
From the paper's conclusion- The proposed patient-aware benchmarking framework enhances reproducibility and provides a robust foundation for future research, supporting the development of clinically translatable AI systems for breast cancer diagnosis.
Abstract
Introduction Breast cancer diagnosis using histopathological imaging remains a critical yet challenging task, requiring automated systems that generalize reliably across patients and varying imaging conditions. While deep learning models have shown strong performance, many prior studies employ image-wise data splits that introduce patient-level data leakage, resulting in overly optimistic and potentially misleading evaluations. This study aims to address this limitation by establishing a rigorous, leakage-free benchmarking framework for binary breast cancer histopathology classification. Methods A comprehensive evaluation of nine deep learning architectures was conducted on the BreaKHis dataset, comprising 7,909 images from 82 patients. The models include six convolutional neural networks (ResNet50, MobileNetV2, VGG16, DenseNet121, Xception, and EfficientNetB0), one modern convolutional architecture (ConvNeXt), and two transformer-based models (Swin-Small and Swin-Base). A strict 5-fold patient-aware cross-validation protocol was implemented to ensure that images from the same patient were not shared between training and validation sets. All models were trained under identical experimental conditions. Performance was assessed using accuracy, precision, recall, and F1-score, reported as mean ± standard deviation. Statistical significance was evaluated using paired t -tests and Wilcoxon signed-rank tests with Bonferroni correction. Results All evaluated architectures demonstrated comparable performance, achieving mean accuracies in the range of 0.91-0.93. ResNet50 achieved the highest mean accuracy (0.9267 ± 0.0435) and F1-score (0.9472), although differences among models were marginal. Statistical analysis confirmed that no pairwise differences were statistically significant ( p > 0.05 after correction). Magnification-wise analysis indicated that intermediate resolutions (40× and 200×) provided more discriminative features, whereas higher magnification (400×) resulted in reduced performance due to limited contextual information. Discussion The findings highlight that, under a rigorously controlled and leakage-free evaluation protocol, architectural differences among modern deep learning models do not lead to statistically significant performance variations. Instead, evaluation design plays a more critical role in determining reliable outcomes. The proposed patient-aware benchmarking framework enhances reproducibility and provides a robust foundation for future research, supporting the development of clinically translatable AI systems for breast cancer diagnosis.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A review of current imaging techniques for histopathology-based breast cancer diagnosis with comparative insights using machine learning and deep learning models and its challenges and future directionsPeerJ Computer Science · 2026
- A comparative study of advanced deep learning architectures for breast cancer classification on ultrasound and histological imagesResults in Engineering · 2025
- Interpretable Deep Learning Models for Breast Cancer Diagnosis Using Medical ImagingarXiv · 2026
- Reducing False Negatives in AI-Based Breast Histopathology: A Clinically Oriented Evaluation of Deep Learning Models Under Domain Shift.Diagnostics (Basel, Switzerland) · 2026
- HistoBreastCAD: an integrated deep learning framework for segmentation and multiclass classification of whole-slide breast histopathology images.Frontiers in bioinformatics · 2026
- Optimizing YOLOv11 for automated classification of breast cancer in medical imagesScientific Reports · 2025