A Universal Intelligent Classification Algorithm for Pathological Images Based on Sliding Window Attention Mechanism

The pathological diagnosis is the gold standard for qualitative analysis of tumors. Due to the difficulty in extracting complete features from high-resolution whole-slice pathological images, the generality and accuracy of traditional deep learning classification algorithms are limited. This paper proposes an intelligent classification algorithm by combining convolutional neural networks (CNN) and Transformer for pathological images. Firstly, the local and global features of pathological images are extracted using the designed CNN and Transformer hybrid network architecture Furthermore, the Mish activation function is introduced to improve the nonlinear expression ability of the feature extraction network. Finally, by stacking multiple convolutional blocks and residual attention blocks to increase model depth, the classification accuracy is improved. The main contribution lies in the design of a residual module that introduces a sliding window multihead attention mechanism, which enhances the algorithm’s ability to extract contextual information. While effectively reducing computational complexity, it also improves classification accuracy. Experimental results show that the proposed algorithm attains accuracies of 0.987 and 0.947 for classifying benign and malignant lung and breast pathological images, respectively. The algorithm also achieves an accuracy of 0.932 in classifying benign, adenocarcinoma, and squamous cell carcinoma images and 0.841 in distinguishing benign and four subtypes of breast cancer. Moreover, it achieves an accuracy of 0.976 on a private dataset for breast cancer tissue pathological grading, which shows that the algorithm is universal and feasible in multidisease multiclassification tasks and clinical applications.

Authors

Publication Details

Journal
Medinformatics
Published
2025-01-01
DOI
https://doi.org/10.47852/bonviewmedin52025163
Primary Topic
Brain Tumor Detection and Classification
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Universal Intelligent Classification Algorithm for Pathological Images Based on Sliding Window Attention Mechanism

Fangjie Zhao, Xiaonan Yang, Huiqin Jiang, Ling Ma et al.
Medinformatics
Brain Tumor Detection and Classification
article

A Universal Intelligent Classification Algorithm for Pathological Images Based on Sliding Window Attention Mechanism

Fangjie Zhao, Xiaonan Yang, Huiqin Jiang, Ling Ma, Xing Dong, Xin Zhao, Zhaohui Tong, Jinhong Tan, Željko Ban, Xianxu Zeng
article en

Abstract

The pathological diagnosis is the gold standard for qualitative analysis of tumors. Due to the difficulty in extracting complete features from high-resolution whole-slice pathological images, the generality and accuracy of traditional deep learning classification algorithms are limited. This paper proposes an intelligent classification algorithm by combining convolutional neural networks (CNN) and Transformer for pathological images. Firstly, the local and global features of pathological images are extracted using the designed CNN and Transformer hybrid network architecture Furthermore, the Mish activation function is introduced to improve the nonlinear expression ability of the feature extraction network. Finally, by stacking multiple convolutional blocks and residual attention blocks to increase model depth, the classification accuracy is improved. The main contribution lies in the design of a residual module that introduces a sliding window multihead attention mechanism, which enhances the algorithm’s ability to extract contextual information. While effectively reducing computational complexity, it also improves classification accuracy. Experimental results show that the proposed algorithm attains accuracies of 0.987 and 0.947 for classifying benign and malignant lung and breast pathological images, respectively. The algorithm also achieves an accuracy of 0.932 in classifying benign, adenocarcinoma, and squamous cell carcinoma images and 0.841 in distinguishing benign and four subtypes of breast cancer. Moreover, it achieves an accuracy of 0.976 on a private dataset for breast cancer tissue pathological grading, which shows that the algorithm is universal and feasible in multidisease multiclassification tasks and clinical applications.

Medinformatics
Openalex Percentile: Top 90%
Brain Tumor Detection and Classification
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.