# Few-Shot Steel Defect Detection Based on a Fine-Tuned Network with Serial Multi-Scale Attention
###### Abstract  
Detecting defects on a steel surface is crucial for the quality enhancement of steel, but its effectiveness is impeded by the limited number of high-quality samples, diverse defect types, and the presence of interference factors such as dirt spots. Therefore, this article proposes a fine-tuned deep learning approach to overcome these obstacles in unstructured few-shot settings. Initially, to address steel surface defect complexities, we integrated a serial multi-scale attention mechanism, concatenating attention and spatial modules, to generate feature maps that contain both channel information and spatial information. Further, a pseudo-label semi-supervised learning algorithm (SSL) based on a variant of the locally linear embedding (LLE) algorithm was proposed, enhancing the generalization capability of the model through information from unlabeled data. Afterwards, the refined model was merged into a fine-tuned few-shot object detection network, which applied extensive base class samples for initial training and sparsed new class samples for fine-tuning. Finally, specialized datasets considering defect diversity and pixel scales were constructed and tested. Compared with conventional methods, our approach improved accuracy by 5.93% in 7-shot detection tasks, markedly reducing manual workload and signifying a leap forward for practical applications in steel defect detection. few-shot object detection; steel defects; feature pyramid; attention mechanism; semi-supervised learning +
Footnote †: journal: Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Engineering, Medical Engineering, Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Engineering, Medical Engineering, Engineering, Medical Engineering, Medical Engineering, Engineering, Medical Engineering, Medical Engineering, Engineering, Medical Engineering, Medical Engineering, Medical Engineering, Engineering, Medical Engineering, Engineering, Medical Engineering, Engineering, Medical Engineering, Medical Engineering,, Medical Engineering, Engineering, Medical Engineering, Medical Engineering, Engineering, Medical Engineering, Medical Engineering, Medical Engineering,, Medical Engineering, Medical Engineering,, Medical Engineering, Engineering, Medical Engineering, Medical Engineering, Medical Engineering,, Medical Engineering,, Medical Engineering,, Medical Engineering, Medical Engineering,, Medical Engineering,, Medical Engineering, Medical Engineering,, Medical Engineering,, Medical EngineeringFor few-shot object detection, the prevailing methods have predominantly depended on extensive training with a large dataset of labeled images. However, in practical scenarios, obtaining a sufficient quantity of labeled images is often infeasible, and the labeling process itself proves to be labor-intensive and costly.