JOURNAL ARTICLE

Sparse cross-transformer network for surface defect detection

Xiaohua HuangYang LiYongqiang BaoXiaochun Zhu

Year: 2024 Journal:   Scientific Reports Vol: 14 (1)Pages: 24731-24731   Publisher: Nature Portfolio

Abstract

Quality control processes with automation ensure that customers receive defect-free products that meet their needs. However, the performance of real-world surface defect detection is often severely hindered by the scarcity of data. Recently, few-shot learning has been widely proposed as a solution to the data sufficiency problem by leveraging a limited number of base class samples. However, achieving discriminative and generalization capabilities with few samples remains a challenging task in various surface defect detection scenarios. In this paper, we propose a sparse cross-transformer network (SCTN) for surface defect detection. Specifically, we introduce a residual layer module to enhance the network's ability to retain crucial information. Next, we propose a sparse layer module within the cross-transformer to increase computational efficiency. Finally, we incorporate a squeeze-and-excitation network into the cross-transformer to enhance the attention mechanism between local patches outputted by the transformer encoder. To verify the effectiveness of our proposed method, we conducted extensive experiments on the cylinder liner defect dataset, the NEU steel surface defect dataset, and the PKU-Market-PCB dataset, achieving the best mean average precision of 62.73%, 85.29%, and 88.7%, respectively. The experimental results demonstrate that our proposed method achieves significant improvements compared to state-of-the-art algorithms. Additionally, the results indicate that SCTN enhances the network's discriminative ability and effectively improves generalization across various surface defect detection tasks.

Keywords:
Computer science Transformer Computational biology Artificial intelligence Pattern recognition (psychology) Data mining Biology Engineering Electrical engineering

Metrics

3
Cited By
2.04
FWCI (Field Weighted Citation Impact)
38
Refs
0.82
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Industrial Vision Systems and Defect Detection
Physical Sciences →  Engineering →  Industrial and Manufacturing Engineering
Surface Roughness and Optical Measurements
Physical Sciences →  Engineering →  Computational Mechanics
Advanced Neural Network Applications
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition

Related Documents

JOURNAL ARTICLE

Defect-aware transformer network for intelligent visual surface defect detection

Hongbing ShangChuang SunJinxin LiuXuefeng ChenRuqiang Yan

Journal:   Advanced Engineering Informatics Year: 2023 Vol: 55 Pages: 101882-101882
JOURNAL ARTICLE

ETDNet: Efficient Transformer-Based Detection Network for Surface Defect Detection

Hantao ZhouRui YangRunze HuChang ShuXiaochu TangXiu Li

Journal:   IEEE Transactions on Instrumentation and Measurement Year: 2023 Vol: 72 Pages: 1-14
JOURNAL ARTICLE

Rail surface defect detection using a transformer-based network

Feng GuoJian LiuYu QianQuanyi Xie

Journal:   Journal of Industrial Information Integration Year: 2024 Vol: 38 Pages: 100584-100584
JOURNAL ARTICLE

Adaptive Cross Transformer With Contrastive Learning for Surface Defect Detection

Xiaohua HuangYang LiYongqiang BaoWenming Zheng

Journal:   IEEE Transactions on Instrumentation and Measurement Year: 2024 Vol: 73 Pages: 1-17
© 2026 ScienceGate Book Chapters — All rights reserved.