Answers are grounded in this paper and cite their sources.
Automated classification of metallographic microstructures is challenged by subtle inter-class differences, substantial intra-class variations, and sparse discriminative regions. Conventional convolutional neural networks have limited ability to model long-range dependencies and cross-scale microstructural patterns, whereas vision Transformers may inadequately capture local textures and grain-boundary details. To address these limitations, an explainable multi-scale enhanced Swin Transformer is proposed for complex metallographic microstructure classification. A convolutional information enhancement module and an efficient multi-scale attention module are integrated into the backbone to strengthen the representation of local textures, grain boundaries, and multi-scale morphological features. Generalized mean pooling is adopted in the classification head, while multi-view crop augmentation, focal loss, and five-crop inference are used to improve robustness. Channel-contribution analysis is subsequently performed to identify discriminative channels associated with five microstructure classes. Channel-response maps demonstrate correspondence between the regions emphasized by the network and characteristic microstructural morphologies. The identified channels are preserved during structured pruning, while low-contribution channels are removed. The proposed model achieves an accuracy of 98.00%, a precision of 98.01%, and a Cohen’s kappa coefficient of 0.9750. After pruning, the parameter count decreases from 28.096 M to 14.043 M, representing a reduction of approximately 50.0%, while retaining competitive classification performance. These results demonstrate that the proposed framework provides an accurate, interpretable, and lightweight approach for automated recognition of complex metallographic microstructures.
No takes yet. Share an insight, caveat, or question.
Shao et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: