A Few-Shot Steel Surface Defect Generation Method Based on Diffusion Models

基于扩散模型的少射次钢材表面缺陷生成方法

阅读:1

Abstract

Few-shot steel surface defect generation remains challenging due to the limited availability of training samples and the complex visual characteristics of industrial defects. Traditional data augmentation techniques often fail to capture the diverse manifestations of defects, resulting in suboptimal detection performance. While existing stable diffusion models possess robust generative capabilities, they encounter domain knowledge transfer limitations when applied to industrial settings. To address these constraints, stable industrial defect generation (stableIDG) is proposed, which enhances stable diffusion through three key improvements: (1) fine-tuning with low-rank embedding adaptation to accommodate steel surface defect generation; (2) implementation of personalized identifiers associated with defect regions to prevent malformation during generation; and (3) development of a mask-guided defect learning mechanism that directs network attention toward critical defect regions, thereby enhancing the fidelity of generated details. The method was validated on a newly constructed Medium and Heavy Plate Surface Defect Dataset (MHPSD) from a real industrial environment. Experiments demonstrated that stableIDG achieved better image generation quality compared to existing methods, such as textual inversion. Furthermore, when the generated samples were used for data augmentation, the detection network performance was effectively enhanced. Detection recall significantly improved for both defect classes, increasing from 0.656 to 0.908 for Inclusion defects and from 0.86 to 0.986 for Foreign Object Embedding defects. These results demonstrate the effectiveness of the proposed method for industrial defect detection in data-scarce scenarios.

特别声明

1、本页面内容包含部分的内容是基于公开信息的合理引用;引用内容仅为补充信息,不代表本站立场。

2、若认为本页面引用内容涉及侵权,请及时与本站联系,我们将第一时间处理。

3、其他媒体/个人如需使用本页面原创内容,需注明“来源:[生知库]”并获得授权;使用引用内容的,需自行联系原作者获得许可。

4、投稿及合作请联系:info@biocloudy.com。