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
- Fangjie Zhao
- Xiaonan Yang (ORCID: https://orcid.org/0000-0002-3353-6982)
- Huiqin Jiang (ORCID: https://orcid.org/0000-0002-3316-877X)
- Ling Ma (ORCID: https://orcid.org/0000-0002-3424-3540)
- Xing Dong
- Xin Zhao (ORCID: https://orcid.org/0000-0001-9369-714X)
- Zhaohui Tong (ORCID: https://orcid.org/0000-0002-5341-6857)
- Jinhong Tan (ORCID: https://orcid.org/0000-0003-4213-961X)
- Željko Ban (ORCID: https://orcid.org/0000-0003-1712-0597)
- Xianxu Zeng (ORCID: https://orcid.org/0000-0002-0457-9908)
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