High-Performance Classification of Breast CancerHistopathological Images Using Fine-TunedVision Transformers on the BreakHis Dataset
Abstract
Breast cancer remains one of the most prevalent and deadly cancers worldwide, making accurate diagnosis critical for effective treatment. Histopathological image classification is a key task in medical diagnostics for cancer detection. This paper presents state-of-the-art performance in histopathological image classification of breast cancer using a novel approach with the Vision Transformer (ViT) model fine-tuned using the BreakHis dataset. The BreakHis dataset, comprising of 7,909 breast cancer histopathological images across various magnification levels, serves as a crucial benchmark for evaluating machine learning models in this domain. While previous works have explored the use of ViTs for this task, our approach fine-tunes a ViT pre-trained on ImageNet using the Ranger optimizer, achieving unprecedented performance. The experimental results show that our fine-tuned ViT model achieves an accuracy of 99.99%, precision of 99.98%, recall of 99.99%, F1 score of 99.99%, specificity of 100.00%, false discovery rate (FDR) of 0.00%, false negative rate (FNR) of 0.02%, false positive rate (FPR) of 0.00%, Matthews correlation coefficient (MCC) of 99.97%, and negative predictive value (NPV) of 99.96%. This model and approach represents the highest accuracy ever achieved for BreakHis binary classification in machine learning using any model, underscoring the potential of Vision Transformers to substantially enhance diagnostic accuracy in histopathological image analysis and improve clinical outcomes. Transfer learning was also performed on the BACH and a histopathological image dataset for breast invasive ductal carcinomas (IDC).
02 /Specification & Classification
Click any tag to browse matching papersReproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Breast Cancer Histopathological Image Classification: A Deep Learning Approach
Mehdi Habibzadeh Motlagh, Mahboobeh Jannesari, … Iman Hajirasouliha·bioRxiv·Jan 4, 2018
- Ensemble-Based Deep Learning for Breast Cancer Detection and Classification in Histopathological Images
Safwan Hungund, Jyoti J. Jadhav·bioRxiv·Dec 9, 2025
- Deep Convolutional Neural Networks for Breast Cancer Histology Image Analysis
Alexander Rakhlin, Alexey Shvets, … Alexandr A. Kalinin·bioRxiv·Apr 2, 2018
- Enhancing Breast Cancer Classification with Stacked Convolutional Neural Networks for Whole-Slide Image Analysis
Tasmiya salim Mujawar·bioRxiv·Jan 2, 2025
- Comparative Analysis of Machine Learning Algorithms for Breast Cancer Classification: SVM Outperforms XGBoost, CNN, RNN, and Others
Prithwish Ghosh, Debashis Chatterjee·bioRxiv·Apr 22, 2024
- Deep Learning-Based Classification of Colorectal Cancer in Histopathology Images for Category Detection
Thang Truong Le, Vinh-Thuyen Nguyen-Truong, … Kiep Thi Quang·Biology Methods and ProtocolsPeer-reviewed·Jan 1, 2025