Magnification-independent breast cancer diagnosis using a GWO-enhanced vision transformer with multi-stage stain normalization

Breast cancer diagnosis from histopathological images remains a critical yet challenging task due to staining variability, magnification differences, and complex tissue morphology. This study presents a comprehensive preprocessing, balancing, and classification framework for the BreakHis dataset, integrating advanced stain normalization, magnification-wise augmentation, and an optimized Vision Transformer architecture. A four-stage normalization pipeline comprising CLAHE, histogram matching, Shades-of-Gray correction, and Macenko stain normalization was developed to standardize color distribution and enhance structural clarity across 7909 images. To address severe class imbalance, a targeted magnification-specific augmentation strategy expanded the dataset to 11,848 images with equal benign and malignant representation. A Vision Transformer (ViT) model was designed for each of the four magnifications (40X, 100X, 200X, 400X), and further optimized using the Grey Wolf Optimizer (GWO) to automatically tune hyperparameters such as transformer depth, attention heads, embedding dimensions, dropout, and learning rate. Experimental results demonstrate high and consistent performance across magnifications, with accuracies of 92.1%, 92.9%, 93.5%, and 94.0%, respectively. Cross-validation reveals minimal variance, confirming model robustness and generalization. The proposed GWO-ViT framework establishes a reliable, magnification-invariant, and computationally efficient solution for automated breast cancer histopathology classification, offering strong potential for clinical integration.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-03-04
DOI
https://doi.org/10.1038/s41598-026-42490-3
Primary Topic
AI in cancer detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Magnification-independent breast cancer diagnosis using a GWO-enhanced vision transformer with multi-stage stain normalization

Aneesh Wunnava, Prabhat Kumar Sahu, Taiyaba Fatma, Sasanka Choudhury
Scientific Reports
AI in cancer detection
article

Magnification-independent breast cancer diagnosis using a GWO-enhanced vision transformer with multi-stage stain normalization

Aneesh Wunnava, Prabhat Kumar Sahu, Taiyaba Fatma, Sasanka Choudhury
article en

Abstract

Breast cancer diagnosis from histopathological images remains a critical yet challenging task due to staining variability, magnification differences, and complex tissue morphology. This study presents a comprehensive preprocessing, balancing, and classification framework for the BreakHis dataset, integrating advanced stain normalization, magnification-wise augmentation, and an optimized Vision Transformer architecture. A four-stage normalization pipeline comprising CLAHE, histogram matching, Shades-of-Gray correction, and Macenko stain normalization was developed to standardize color distribution and enhance structural clarity across 7909 images. To address severe class imbalance, a targeted magnification-specific augmentation strategy expanded the dataset to 11,848 images with equal benign and malignant representation. A Vision Transformer (ViT) model was designed for each of the four magnifications (40X, 100X, 200X, 400X), and further optimized using the Grey Wolf Optimizer (GWO) to automatically tune hyperparameters such as transformer depth, attention heads, embedding dimensions, dropout, and learning rate. Experimental results demonstrate high and consistent performance across magnifications, with accuracies of 92.1%, 92.9%, 93.5%, and 94.0%, respectively. Cross-validation reveals minimal variance, confirming model robustness and generalization. The proposed GWO-ViT framework establishes a reliable, magnification-invariant, and computationally efficient solution for automated breast cancer histopathology classification, offering strong potential for clinical integration.

Scientific Reports
Siksha O Anusandhan University (IN)
Good health and well-being
Openalex Percentile: Top 38%
AI in cancer detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.