International Journal of Imaging Systems and Technology Biomedical Engineering

Optimization of Breast Cancer Classification in Ultrasound Imaging: A Vision Transformer Model With Image Enhancement

Neilson P. Ribeiro, Felipe R. S. Teles, João O. B. Diniz, Anselmo C. Paiva, Aristófanes C. Silva
Wiley · 2026-11-01 · DOI 10.1002/ima.70488

Abstract

ABSTRACT This study proposes an automated classification model for breast ultrasound images based on the Vision Transformer (ViT) architecture, enhanced with CLAHE and multiscale preprocessing. The cascaded strategy first distinguishes between normal and abnormal images, followed by classification of lesions as benign or malignant. To address class imbalance and morphological variability, class‐balanced data augmentation was applied exclusively to the training images of each fold. The model was evaluated on two public datasets that contain the three classes, BUSI and BUS‐UCLM, using stratified 5‐fold cross‐validation with out‐of‐fold predictions and, on BUS‐UCLM, patient‐level splitting to prevent data leakage. On BUSI, the model achieved an F1‐score of 98.05%, a sensitivity of 96.91%, and an AUC of 0.985 for the normal versus abnormal task, and 93.65%, 94.76%, and 0.981 for the benign versus malignant task. On BUS‐UCLM, the corresponding values were 91.08%, 90.91%, and 0.963, and 89.39%, 88.89%, and 0.960. An ablation study showed consistent gains from each component on both datasets. These results demonstrate the model's ability to identify relevant morphological patterns, highlighting its potential as a diagnostic support tool for breast cancer.

Read at publisher →