arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.06607cs.CV
收藏

DiAD:一种基于扩散的多类别异常检测框架

DiAD: A Diffusion-based Framework for Multi-class Anomaly Detection

Zhejiang University(浙江大学);Youtu Lab, Tencent(腾讯优图实验室)

Haoyang He, Jiangning Zhang, Hongxu Chen, Xuhai Chen, Zhishan Li, Xu Chen, Yabiao Wang, Chengjie Wang, Lei Xie

AI总结:

本文提出 DiAD 扩散框架,通过语义引导网络、空间感知特征融合和多尺度特征差异实现多类别异常检测,并在 MVTec-AD 与 VisA 上达到先进性能。

摘要:

基于重建的方法已在异常检测中取得显著成果。近来流行的扩散模型具有出色的图像重建能力,这激发了利用它们来增强异常图像重建的研究。然而,在更实际的多类别设置中,这些方法可能面临与图像类别保持和像素级结构完整性相关的挑战。为解决上述问题,我们提出了一种用于多类别异常检测的基于扩散的异常检测(Diffusion-based Anomaly Detection,DiAD)框架,该框架由像素空间自编码器、连接到 Stable Diffusion 去噪网络的潜在空间语义引导(Semantic-Guided,SG)网络,以及特征空间的预训练特征提取器组成。首先,提出 SG 网络用于在重建异常区域的同时保留原始图像的语义信息。其次,我们引入空间感知特征融合(Spatial-aware Feature Fusion,SFF)模块,以在处理大面积重建区域时最大化重建精度。第三,输入图像和重建图像由预训练特征提取器处理,基于在不同尺度提取的特征生成异常图。在 MVTec-AD 和 VisA 数据集上的实验证明了本方法的有效性,其性能超越了最先进方法;例如,在多类别 MVTec-AD 数据集上,定位和检测分别取得 96.8/52.6 和 97.2/99.0(AUROC/AP)。代码将在 https://lewandofskee.github.io/projects/diad 提供。

英文摘要:

Reconstruction-based approaches have achieved remarkable outcomes in anomaly detection. The exceptional image reconstruction capabilities of recently popular diffusion models have sparked research efforts to utilize them for enhanced reconstruction of anomalous images. Nonetheless, these methods might face challenges related to the preservation of image categories and pixel-wise structural integrity in the more practical multi-class setting. To solve the above problems, we propose a Difusion-based Anomaly Detection (DiAD) framework for multi-class anomaly detection, which consists of a pixel-space autoencoder, a latent-space Semantic-Guided (SG) network with a connection to the stable diffusion's denoising network, and a feature-space pre-trained feature extractor. Firstly, The SG network is proposed for reconstructing anomalous regions while preserving the original image's semantic information. Secondly, we introduce Spatial-aware Feature Fusion (SFF) block to maximize reconstruction accuracy when dealing with extensively reconstructed areas. Thirdly, the input and reconstructed images are processed by a pre-trained feature extractor to generate anomaly maps based on features extracted at different scales. Experiments on MVTec-AD and VisA datasets demonstrate the effectiveness of our approach which surpasses the state-of-the-art methods, e.g., achieving 96.8/52.6 and 97.2/99.0 (AUROC/AP) for localization and detection respectively on multi-class MVTec-AD dataset. Code will be available at https://lewandofskee.github.io/projects/diad.

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

↑