Research Article
BibTex RIS Cite

Evaluating Vision Transformer Models for Breast Cancer Detection in Mammographic Imaging

Year 2025, , 287 - 313, 26.03.2025
https://doi.org/10.17798/bitlisfen.1583948

Abstract

Breast cancer is a leading cause of mortality among women, with early detection being crucial for effective treatment. Mammographic analysis, particularly the identification and classification of breast masses, plays a crucial role in early diagnosis. Recent advancements in deep learning, particularly Vision Transformers (ViTs), have shown significant potential in image classification tasks across various domains, including medical imaging. This study evaluates the performance of different Vision Transformer (ViT) models—specifically, base-16, small-16, and tiny-16—on a dataset of breast mammography images with masses. We perform a comparative analysis of these ViT models to determine their effectiveness in classifying mammographic images. By leveraging the self-attention mechanism of ViTs, our approach addresses the challenges posed by complex mammographic textures and low contrast in medical imaging. The experimental results provide insights into the strengths and limitations of each ViT model configuration, contributing to an informed selection of architectures for breast mass classification tasks in mammography. This research underscores the potential of ViTs in enhancing diagnostic accuracy and serves as a benchmark for future exploration of transformer-based architectures in the field of medical image classification.

Ethical Statement

The study is complied with research and publication ethics.

References

  • M. Arnold et al., "Current and future burden of breast cancer: Global statistics for 2020 and 2040," The Breast, vol. 66, pp. 15-23, 2022.
  • C. I. Lee and J. G. Elmore, "Beyond survival: a closer look at lead-time bias and disease-free intervals in mammography screening," JNCI: Journal of the National Cancer Institute, vol. 116, no. 3, pp. 343-344, 2024.
  • L. N. Fuzzell et al., "Cervical cancer screening in the United States: Challenges and potential solutions for underscreened groups," Preventive Medicine, vol. 144, p. 106400, 2021.
  • G. Savarese et al., "Global burden of heart failure: a comprehensive and updated review of epidemiology," Cardiovascular Research, vol. 118, no. 17, pp. 3272-3287, 2022.
  • S. Sriussadaporn et al., "Ultrasonography increases sensitivity of mammography for diagnosis of multifocal, multicentric breast cancer using 356 whole breast histopathology as a gold standard," Surgical Practice, vol. 26, no. 3, pp. 181-186, 2022.
  • N. Pashayan et al., "Personalized early detection and prevention of breast cancer: ENVISION consensus statement," Nature Reviews Clinical Oncology, vol. 17, no. 11, pp. 687-705, 2020.
  • L. Nicosia et al., "History of mammography: analysis of breast imaging diagnostic achievements over the last century," Healthcare, vol. 11, no. 11, p. 1596, 2023.
  • C. Poggi, "The Evolution of the Radiographer’s Educational Path: EBP and Communication Skills in the Mammography Room," in Breast Imaging Techniques for Radiographers, Springer Nature Switzerland, 2024, pp. 259-276.
  • H. O. Kolade-Yunusa and U. D. Itanyi, "Outcome of mammography examination in asymptomatic women," Annals of African Medicine, vol. 20, no. 1, pp. 52-58, 2021.
  • L. Abdelrahman et al., "Convolutional neural networks for breast cancer detection in mammography: A survey," Computers in Biology and Medicine, vol. 131, p. 104248, 2021.
  • D. Barba et al., "Breast cancer, screening and diagnostic tools: All you need to know," Critical Reviews in Oncology/Hematology, vol. 157, p. 103174, 2021.
  • W. Y. Sung et al., "Experiences of women who refuse recall for further investigation of abnormal screening mammography: A qualitative study," International Journal of Environmental Research and Public Health, vol. 19, no. 3, p. 1041, 2022.
  • H. J. Han et al., "Characteristics of breast cancers detected by screening mammography in Taiwan: a single institute’s experience," BMC Women's Health, vol. 23, no. 1, p. 330, 2023.
  • A. Aleissaee et al., "Transformers in remote sensing: A survey," Remote Sensing, vol. 15, no. 7, p. 1860, 2023.
  • Y. Liu et al., "A survey of visual transformers," IEEE Transactions on Neural Networks and Learning Systems, 2023.
  • A. Khan et al., "A survey of the recent architectures of deep convolutional neural networks," Artificial Intelligence Review, vol. 53, pp. 5455-5516, 2020.
  • A. Agarwal and N. Ratha, "Deep Learning in Computer Vision Progress and Threats," in Applications of Artificial Intelligence, Big Data and Internet of Things in Sustainable Development, vol. 23, 2022.
  • A. Dosovitskiy et al., "An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale," arXiv:2010.11929, 2020.
  • Y. Yuan et al., "Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet," in Proc. ECCV, 2021, pp. 558–576.
  • A. Steiner et al., "How to train your vit? data, augmentation, and regularization in vision transformers," arXiv preprint arXiv:2106.10270, 2021.
  • X. Wu et al., "CTransCNN: Combining transformer and CNN in multilabel medical image classification," Knowledge-Based Systems, vol. 281, p. 111030, 2023.
  • M. Hayat et al., "Hybrid Deep Learning EfficientNetV2 and Vision Transformer (EffNetV2-ViT) Model for Breast Cancer Histopathological Image Classification," IEEE Access, 2024.
  • G. Ayana and S. W. Choe, "Vision transformers-based transfer learning for breast mass classification from multiple diagnostic modalities," Journal of Electrical Engineering & Technology, vol. 19, no. 5, pp. 3391-3410, 2024.
  • M. L. Abimouloud et al., "Advancing breast cancer diagnosis: token vision transformers for faster and accurate classification of histopathology images," Visual Computing for Industry, Biomedicine, and Art, vol. 8, no. 1, p. 1, 2025.
  • NHS to launch world’s biggest trial of AI breast cancer diagnosis, The Guardian, Feb. 4, 2025. [Online]. Available: https://www.theguardian.com/society/2025/feb/04/nhs-to-launch-worlds-biggest-trial-of-ai-breast-cancer-diagnosis.
  • Kaggle, "Mammography Dataset from INbreast, MIAS and DDSM," accessed Nov. 4, 2024. [Online]. Available: https://www.kaggle.com/datasets/emiliovenegas1/mammography-dataset-from-inbreast-mias-and-ddsm.
  • M. A. Al-Antari et al., "Evaluation of deep learning detection and classification towards computer-aided diagnosis of breast lesions in digital X-ray mammograms," Computer Methods and Programs in Biomedicine, vol. 196, p. 105584, 2020.
  • X. Li et al., "Multiparametric magnetic resonance imaging for predicting pathological response after the first cycle of neoadjuvant chemotherapy in breast cancer," Investigative Radiology, vol. 50, no. 4, pp. 195-204, 2015.
  • L. G. Falconí et al., "Transfer learning in breast mammogram abnormalities classification with mobilenet and nasnet," in 2019 International Conference on Systems, Signals and Image Processing (IWSSIP), 2019, pp. 109-114.
  • W. Hu et al., "A state-of-the-art survey of artificial neural networks for whole-slide image analysis: from popular convolutional neural networks to potential visual transformers," Computers in Biology and Medicine, vol. 161, p. 107034, 2023.
  • S. K. Hamed et al., "Enhanced Feature Representation for Multimodal Fake News Detection Using Localized Fine-Tuning of Improved BERT and VGG-19 Models," Arabian Journal for Science and Engineering, pp. 1-17, 2024.
  • Y. Fang et al., "You only look at one sequence: Rethinking transformer in vision through object detection," Advances in Neural Information Processing Systems, vol. 34, pp. 26183-26197, 2021.
  • Z. Zeng et al., "You only sample (almost) once: Linear cost self-attention via Bernoulli sampling," in International Conference on Machine Learning, PMLR, 2021, pp. 12321-12332.
  • A. Rehman, "Transformers in Computer Vision: Recent Advances and Applications," International Journal of Advanced Engineering Technologies and Innovations, vol. 1, no. 1, 2022.
  • M. Hassanin et al., "Visual attention methods in deep learning: An in-depth survey," Information Fusion, vol. 108, p. 102417, 2024.
  • M. Li et al., "SACNN: Self-attention convolutional neural network for low-dose CT denoising with self-supervised perceptual loss network," IEEE Transactions on Medical Imaging, vol. 39, no. 7, pp. 2289-2301, 2020.
  • M. H. Guo et al., "Beyond self-attention: External attention using two linear layers for visual tasks," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 45, no. 5, pp. 5436-5447, 2022.
  • R. Divya and J. Prabhakar, "Vision Transformer-based Model for Human Action Recognition in Still Images," Journal of Computational Analysis and Applications, vol. 33, no. 08, pp. 522-531, 2024.
  • E. Şahin et al., "Multi-objective optimization of ViT architecture for efficient brain tumor classification," Biomedical Signal Processing and Control, vol. 91, p. 105938, 2024.
  • Marqo, "Introduction to Vision Transformers," accessed Nov. 4, 2024. [Online]. Available: https://www.marqo.ai/course/introduction-to-vision-transformers.
  • A. Sriwastawa and J. A. Arul Jothi, "Vision transformer and its variants for image classification in digital breast cancer histopathology: A comparative study," Multimedia Tools and Applications, vol. 83, no. 13, pp. 39731-39753, 2024.
  • V. Jain et al., "Transformers are adaptable task planners," in Conference on Robot Learning, PMLR, 2023, pp. 1011-1037.
  • S. Wang et al., "When transformer meets robotic grasping: Exploits context for efficient grasp detection," IEEE Robotics and Automation Letters, vol. 7, no. 3, pp. 8170-8177, 2022.
  • L. Xu et al., "Mctformer+: Multi-class token transformer for weakly supervised semantic segmentation," IEEE Transactions on Pattern Analysis and Machine Intelligence, 2024.
  • A. Deihim et al., "STTRE: A Spatio-Temporal Transformer with Relative Embeddings for multivariate time series forecasting," Neural Networks, vol. 168, pp. 549-559, 2023.
  • W. Wang et al., "Semi-supervised vision transformer with adaptive token sampling for breast cancer classification," Frontiers in Pharmacology, vol. 13, p. 929755, 2022.
  • H. E. Kim et al., "Transfer learning for medical image classification: A literature review," BMC Medical Imaging, vol. 22, no. 1, p. 69, 2022.
  • L. Xu et al., "Multi-class token transformer for weakly supervised semantic segmentation," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022, pp. 4310-4319.
  • O. S. Khedr et al., "The classification of bladder cancer based on Vision Transformers (ViT)," Scientific Reports, vol. 13, no. 1, p. 20639, 2023.
Year 2025, , 287 - 313, 26.03.2025
https://doi.org/10.17798/bitlisfen.1583948

Abstract

References

  • M. Arnold et al., "Current and future burden of breast cancer: Global statistics for 2020 and 2040," The Breast, vol. 66, pp. 15-23, 2022.
  • C. I. Lee and J. G. Elmore, "Beyond survival: a closer look at lead-time bias and disease-free intervals in mammography screening," JNCI: Journal of the National Cancer Institute, vol. 116, no. 3, pp. 343-344, 2024.
  • L. N. Fuzzell et al., "Cervical cancer screening in the United States: Challenges and potential solutions for underscreened groups," Preventive Medicine, vol. 144, p. 106400, 2021.
  • G. Savarese et al., "Global burden of heart failure: a comprehensive and updated review of epidemiology," Cardiovascular Research, vol. 118, no. 17, pp. 3272-3287, 2022.
  • S. Sriussadaporn et al., "Ultrasonography increases sensitivity of mammography for diagnosis of multifocal, multicentric breast cancer using 356 whole breast histopathology as a gold standard," Surgical Practice, vol. 26, no. 3, pp. 181-186, 2022.
  • N. Pashayan et al., "Personalized early detection and prevention of breast cancer: ENVISION consensus statement," Nature Reviews Clinical Oncology, vol. 17, no. 11, pp. 687-705, 2020.
  • L. Nicosia et al., "History of mammography: analysis of breast imaging diagnostic achievements over the last century," Healthcare, vol. 11, no. 11, p. 1596, 2023.
  • C. Poggi, "The Evolution of the Radiographer’s Educational Path: EBP and Communication Skills in the Mammography Room," in Breast Imaging Techniques for Radiographers, Springer Nature Switzerland, 2024, pp. 259-276.
  • H. O. Kolade-Yunusa and U. D. Itanyi, "Outcome of mammography examination in asymptomatic women," Annals of African Medicine, vol. 20, no. 1, pp. 52-58, 2021.
  • L. Abdelrahman et al., "Convolutional neural networks for breast cancer detection in mammography: A survey," Computers in Biology and Medicine, vol. 131, p. 104248, 2021.
  • D. Barba et al., "Breast cancer, screening and diagnostic tools: All you need to know," Critical Reviews in Oncology/Hematology, vol. 157, p. 103174, 2021.
  • W. Y. Sung et al., "Experiences of women who refuse recall for further investigation of abnormal screening mammography: A qualitative study," International Journal of Environmental Research and Public Health, vol. 19, no. 3, p. 1041, 2022.
  • H. J. Han et al., "Characteristics of breast cancers detected by screening mammography in Taiwan: a single institute’s experience," BMC Women's Health, vol. 23, no. 1, p. 330, 2023.
  • A. Aleissaee et al., "Transformers in remote sensing: A survey," Remote Sensing, vol. 15, no. 7, p. 1860, 2023.
  • Y. Liu et al., "A survey of visual transformers," IEEE Transactions on Neural Networks and Learning Systems, 2023.
  • A. Khan et al., "A survey of the recent architectures of deep convolutional neural networks," Artificial Intelligence Review, vol. 53, pp. 5455-5516, 2020.
  • A. Agarwal and N. Ratha, "Deep Learning in Computer Vision Progress and Threats," in Applications of Artificial Intelligence, Big Data and Internet of Things in Sustainable Development, vol. 23, 2022.
  • A. Dosovitskiy et al., "An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale," arXiv:2010.11929, 2020.
  • Y. Yuan et al., "Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet," in Proc. ECCV, 2021, pp. 558–576.
  • A. Steiner et al., "How to train your vit? data, augmentation, and regularization in vision transformers," arXiv preprint arXiv:2106.10270, 2021.
  • X. Wu et al., "CTransCNN: Combining transformer and CNN in multilabel medical image classification," Knowledge-Based Systems, vol. 281, p. 111030, 2023.
  • M. Hayat et al., "Hybrid Deep Learning EfficientNetV2 and Vision Transformer (EffNetV2-ViT) Model for Breast Cancer Histopathological Image Classification," IEEE Access, 2024.
  • G. Ayana and S. W. Choe, "Vision transformers-based transfer learning for breast mass classification from multiple diagnostic modalities," Journal of Electrical Engineering & Technology, vol. 19, no. 5, pp. 3391-3410, 2024.
  • M. L. Abimouloud et al., "Advancing breast cancer diagnosis: token vision transformers for faster and accurate classification of histopathology images," Visual Computing for Industry, Biomedicine, and Art, vol. 8, no. 1, p. 1, 2025.
  • NHS to launch world’s biggest trial of AI breast cancer diagnosis, The Guardian, Feb. 4, 2025. [Online]. Available: https://www.theguardian.com/society/2025/feb/04/nhs-to-launch-worlds-biggest-trial-of-ai-breast-cancer-diagnosis.
  • Kaggle, "Mammography Dataset from INbreast, MIAS and DDSM," accessed Nov. 4, 2024. [Online]. Available: https://www.kaggle.com/datasets/emiliovenegas1/mammography-dataset-from-inbreast-mias-and-ddsm.
  • M. A. Al-Antari et al., "Evaluation of deep learning detection and classification towards computer-aided diagnosis of breast lesions in digital X-ray mammograms," Computer Methods and Programs in Biomedicine, vol. 196, p. 105584, 2020.
  • X. Li et al., "Multiparametric magnetic resonance imaging for predicting pathological response after the first cycle of neoadjuvant chemotherapy in breast cancer," Investigative Radiology, vol. 50, no. 4, pp. 195-204, 2015.
  • L. G. Falconí et al., "Transfer learning in breast mammogram abnormalities classification with mobilenet and nasnet," in 2019 International Conference on Systems, Signals and Image Processing (IWSSIP), 2019, pp. 109-114.
  • W. Hu et al., "A state-of-the-art survey of artificial neural networks for whole-slide image analysis: from popular convolutional neural networks to potential visual transformers," Computers in Biology and Medicine, vol. 161, p. 107034, 2023.
  • S. K. Hamed et al., "Enhanced Feature Representation for Multimodal Fake News Detection Using Localized Fine-Tuning of Improved BERT and VGG-19 Models," Arabian Journal for Science and Engineering, pp. 1-17, 2024.
  • Y. Fang et al., "You only look at one sequence: Rethinking transformer in vision through object detection," Advances in Neural Information Processing Systems, vol. 34, pp. 26183-26197, 2021.
  • Z. Zeng et al., "You only sample (almost) once: Linear cost self-attention via Bernoulli sampling," in International Conference on Machine Learning, PMLR, 2021, pp. 12321-12332.
  • A. Rehman, "Transformers in Computer Vision: Recent Advances and Applications," International Journal of Advanced Engineering Technologies and Innovations, vol. 1, no. 1, 2022.
  • M. Hassanin et al., "Visual attention methods in deep learning: An in-depth survey," Information Fusion, vol. 108, p. 102417, 2024.
  • M. Li et al., "SACNN: Self-attention convolutional neural network for low-dose CT denoising with self-supervised perceptual loss network," IEEE Transactions on Medical Imaging, vol. 39, no. 7, pp. 2289-2301, 2020.
  • M. H. Guo et al., "Beyond self-attention: External attention using two linear layers for visual tasks," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 45, no. 5, pp. 5436-5447, 2022.
  • R. Divya and J. Prabhakar, "Vision Transformer-based Model for Human Action Recognition in Still Images," Journal of Computational Analysis and Applications, vol. 33, no. 08, pp. 522-531, 2024.
  • E. Şahin et al., "Multi-objective optimization of ViT architecture for efficient brain tumor classification," Biomedical Signal Processing and Control, vol. 91, p. 105938, 2024.
  • Marqo, "Introduction to Vision Transformers," accessed Nov. 4, 2024. [Online]. Available: https://www.marqo.ai/course/introduction-to-vision-transformers.
  • A. Sriwastawa and J. A. Arul Jothi, "Vision transformer and its variants for image classification in digital breast cancer histopathology: A comparative study," Multimedia Tools and Applications, vol. 83, no. 13, pp. 39731-39753, 2024.
  • V. Jain et al., "Transformers are adaptable task planners," in Conference on Robot Learning, PMLR, 2023, pp. 1011-1037.
  • S. Wang et al., "When transformer meets robotic grasping: Exploits context for efficient grasp detection," IEEE Robotics and Automation Letters, vol. 7, no. 3, pp. 8170-8177, 2022.
  • L. Xu et al., "Mctformer+: Multi-class token transformer for weakly supervised semantic segmentation," IEEE Transactions on Pattern Analysis and Machine Intelligence, 2024.
  • A. Deihim et al., "STTRE: A Spatio-Temporal Transformer with Relative Embeddings for multivariate time series forecasting," Neural Networks, vol. 168, pp. 549-559, 2023.
  • W. Wang et al., "Semi-supervised vision transformer with adaptive token sampling for breast cancer classification," Frontiers in Pharmacology, vol. 13, p. 929755, 2022.
  • H. E. Kim et al., "Transfer learning for medical image classification: A literature review," BMC Medical Imaging, vol. 22, no. 1, p. 69, 2022.
  • L. Xu et al., "Multi-class token transformer for weakly supervised semantic segmentation," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022, pp. 4310-4319.
  • O. S. Khedr et al., "The classification of bladder cancer based on Vision Transformers (ViT)," Scientific Reports, vol. 13, no. 1, p. 20639, 2023.
There are 49 citations in total.

Details

Primary Language English
Subjects Artificial Intelligence (Other)
Journal Section Research Article
Authors

Uğur Demiroğlu 0000-0002-0000-8411

Bilal Şenol 0000-0002-3734-8807

Publication Date March 26, 2025
Submission Date November 12, 2024
Acceptance Date March 6, 2025
Published in Issue Year 2025

Cite

IEEE U. Demiroğlu and B. Şenol, “Evaluating Vision Transformer Models for Breast Cancer Detection in Mammographic Imaging”, Bitlis Eren Üniversitesi Fen Bilimleri Dergisi, vol. 14, no. 1, pp. 287–313, 2025, doi: 10.17798/bitlisfen.1583948.

Bitlis Eren University
Journal of Science Editor
Bitlis Eren University Graduate Institute
Bes Minare Mah. Ahmet Eren Bulvari, Merkez Kampus, 13000 BITLIS