Guided Self-attention: Find the Generalized Necessarily Distinct Vectors for Grain Size Grading

Fang Gao, Xuetao Li, Jiabao Wang, Shengheng Ma, Jun Yu
10/8/2024
cs.CV

No official code found. Best implementation: xtli12/RGMP (9 stars, MIT, last commit 2026-01-17).

Abstract

With the development of steel materials, metallographic analysis has become increasingly important. Unfortunately, grain size analysis is a manual process that requires experts to evaluate metallographic photographs, which is unreliable and time-consuming. To resolve this problem, we propose a novel classifi-cation method based on deep learning, namely GSNets, a family of hybrid models which can effectively introduce guided self-attention for classifying grain size. Concretely, we build our models from three insights:(1) Introducing our novel guided self-attention module can assist the model in finding the generalized necessarily distinct vectors capable of retaining intricate rela-tional connections and rich local feature information; (2) By improving the pixel-wise linear independence of the feature map, the highly condensed semantic representation will be captured by the model; (3) Our novel triple-stream merging module can significantly improve the generalization capability and efficiency of the model. Experiments show that our GSNet yields a classifi-cation accuracy of 90.1%, surpassing the state-of-the-art Swin Transformer V2 by 1.9% on the steel grain size dataset, which comprises 3,599 images with 14 grain size levels. Furthermore, we intuitively believe our approach is applicable to broader ap-plications like object detection and semantic segmentation.

View on arXivView PDF

Code Implementations(1)

xtli12/RGMPCommunity67%
MIT

Guided Self-attention: Find the Generalized Necessarily Distinct Vectors for Grain Size Grading

91C++, CudaDec 16, 20229 months agoMIT

Similar Papers

Cite this paper

@article{gao2024guided,
  title  = {Guided Self-attention: Find the Generalized Necessarily Distinct Vectors for Grain Size Grading},
  author = {Fang Gao and Xuetao Li and Jiabao Wang and Shengheng Ma and Jun Yu},
  year   = {2024},
  eprint = {2410.05762},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.05762v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.05762.svg)](https://codeofpaper.com/paper/2410.05762)

Discussion