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

GeneralAD:通过关注扭曲特征实现跨领域异常检测

GeneralAD: Anomaly Detection Across Domains by Attending to Distorted Features

University of Amsterdam(阿姆斯特丹大学)

Luc P. J. Sträter, Mohammadreza Salehi, Efstratios Gavves, Cees G. M. Snoek, Yuki M. Asano

AI总结:

提出GeneralAD框架,利用Vision Transformer的块结构特征,通过自监督生成伪异常样本并训练注意力判别器,在语义、近分布和工业异常检测中实现跨领域性能,十个数据集上六项最优。

摘要:

在异常检测领域,方法通常在高级语义或低级工业基准测试中表现出色,但很少能实现跨领域的熟练度。语义异常是指与训练集含义不同的新事物,例如自动驾驶汽车中未见过的物体。相比之下,工业异常是保留语义含义的细微缺陷,例如飞机部件上的裂纹。在本文中,我们提出了GeneralAD,一个旨在以最小的每任务调整在语义、近分布和工业环境中运行的异常检测框架。在我们的方法中,我们利用了Vision Transformers的固有设计,这些模型在图像块上进行训练,从而确保最后的隐藏状态保留基于块的结构。我们提出了一种新颖的自监督异常生成模块,该模块采用诸如噪声添加和洗牌之类的简单操作来扰动块特征,以构建伪异常样本。这些特征被馈送到一个基于注意力的判别器中,该判别器被训练用于对图像中的每个块进行评分。通过这种方式,我们的方法既可以在图像级别准确识别异常,也可以生成可解释的异常图。我们在十个数据集上广泛评估了我们的方法,在六个数据集上取得了最先进的结果,在其余数据集上,对于定位和检测任务,性能与现有方法相当。

英文摘要:

In the domain of anomaly detection, methods often excel in either high-level semantic or low-level industrial benchmarks, rarely achieving cross-domain proficiency. Semantic anomalies are novelties that differ in meaning from the training set, like unseen objects in self-driving cars. In contrast, industrial anomalies are subtle defects that preserve semantic meaning, such as cracks in airplane components. In this paper, we present GeneralAD, an anomaly detection framework designed to operate in semantic, near-distribution, and industrial settings with minimal per-task adjustments. In our approach, we capitalize on the inherent design of Vision Transformers, which are trained on image patches, thereby ensuring that the last hidden states retain a patch-based structure. We propose a novel self-supervised anomaly generation module that employs straightforward operations like noise addition and shuffling to patch features to construct pseudo-abnormal samples. These features are fed to an attention-based discriminator, which is trained to score every patch in the image. With this, our method can both accurately identify anomalies at the image level and also generate interpretable anomaly maps. We extensively evaluated our approach on ten datasets, achieving state-of-the-art results in six and on-par performance in the remaining for both localization and detection tasks.

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

↑