本文将 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.
Iris: Bringing Real-World Priors into Diffusion Model for Monocular Depth Estimation
Nanjing University of Science and Technology(南京理工大学);State Key Laboratory of Intelligent Manufacturing of Advanced Construction Machinery(先进施工机械智能制造国家重点实验室);Department of Electrical and Computer Engineering, Sungkyunkwan University(成均馆大学电子与计算机工程系);University of Electronic Science and Technology of China(电子科技大学);Zhejiang University(浙江大学)
You Only Erase Once: Erasing Anything without Bringing Unexpected Content
School of Computer Science and Engineering, Sun Yat-sen University, China(中山大学计算机科学与工程学院);Amazon(亚马逊);Key Laboratory of Machine Intelligence and Advanced Computing, Ministry of Education, China(教育部机器智能与先进计算重点实验室)
Few-shot Defect Image Generation based on Consistency Modeling
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);CASI Vision Technology CO., LTD.(中科视景科技有限公司)
Enhancing Glass Defect Detection with Diffusion Models: Addressing Imbalanced Datasets in Manufacturing Quality Control
Department of Applied Statistics & Operations Research (ASOR), Bowling Green State University, Bowling Green, OH, USA(应用统计与运筹学系,布罗金格林州立大学);Data Science Department, Actual Reality Technologies, OH, USA(数据科学系,Actual Reality Technologies)
Point Cloud Diffusion with Global and Local Reconstruction for Instance-Level 3D Anomaly Detection
School of Computer Science, Wuhan University(武汉大学计算机学院);Department of Automation, Tsinghua University(清华大学自动化系);Guangdong Artificial Intelligence and Digital Economy Laboratory (SZ)(广东人工智能与数字经济实验室(深圳))