arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.13845cs.CV
收藏

将 Diffusion Model 的力量引入缺陷检测

Bring the Power of Diffusion Model to Defect Detection

Institute of Artificial Intelligence and Robotics, Xi’an Jiaotong University(西安交通大学人工智能与机器人研究所)

Xuyi Yu

AI总结:

本文将 diffusion model 的高阶语义建模能力引入缺陷检测,通过预训练 DDPM 构建并压缩特征库,设计动态交叉融合方法优化检测模型,并利用知识蒸馏将能力迁移至轻量级基线,在多个工业数据集上取得有竞争力的结果。

摘要:

由于工业生产过程的高复杂性和技术要求,表面缺陷不可避免地会出现,这严重影响了产品质量。尽管现有的轻量级检测网络效率很高,但由于缺乏语义信息,它们容易对非显著缺陷产生误检或漏检。相比之下,diffusion model 能够在去噪过程中生成高阶语义表示。因此,本文旨在将 diffusion model 的高阶建模能力融入检测模型,以更好地辅助困难目标的分类和定位。首先,预训练去噪扩散概率模型(DDPM)以提取去噪过程的特征,构建为特征库。特别是,为避免 dataloader 加载高维特征导致的潜在内存瓶颈,设计了残差卷积变分自编码器(ResVAE)进一步压缩特征库。将图像分别输入图像主干网络和特征库进行特征提取和查询。对查询到的潜在特征进行重构和过滤,以获得高维 DDPM 特征。提出动态交叉融合方法,充分细化 DDPM 的上下文特征以优化检测模型。最后,采用知识蒸馏将高阶建模能力迁移回轻量级基线模型,且不增加额外效率开销。实验结果表明,我们的方法在多个工业数据集上取得了有竞争力的结果。

英文摘要:

Due to the high complexity and technical requirements of industrial production processes, surface defects will inevitably appear, which seriously affects the quality of products. Although existing lightweight detection networks are highly efficient, they are susceptible to false or missed detection of non-salient defects due to the lack of semantic information. In contrast, the diffusion model can generate higher-order semantic representations in the denoising process. Therefore, the aim of this paper is to incorporate the higher-order modelling capability of the diffusion model into the detection model, so as to better assist in the classification and localization of difficult targets. First, the denoising diffusion probabilistic model (DDPM) is pre-trained to extract the features of denoising process to construct as a feature repository. In particular, to avoid the potential bottleneck of memory caused by the dataloader loading high-dimensional features, a residual convolutional variational auto-encoder (ResVAE) is designed to further compress the feature repository. The image is fed into both image backbone and feature repository for feature extraction and querying respectively. The queried latent features are reconstructed and filtered to obtain high-dimensional DDPM features. A dynamic cross-fusion method is proposed to fully refine the contextual features of DDPM to optimize the detection model. Finally, we employ knowledge distillation to migrate the higher-order modelling capabilities back into the lightweight baseline model without additional efficiency cost. Experiment results demonstrate that our method achieves competitive results on several industrial datasets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑