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

EfficientAD:毫秒级延迟的精确视觉异常检测

EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latencies

MVTec Software GmbH(MVTec软件有限公司)

Kilian Batzner, Lars Heckler, Rebecca König

AI总结:

提出轻量级特征提取器与师生模型结合,实现毫秒级延迟的精确视觉异常检测,并整合全局自动编码器处理逻辑异常,在32个工业数据集上刷新检测与定位标准。

摘要:

检测图像中的异常是一项重要任务,尤其是在实时计算机视觉应用中。在这项工作中,我们专注于计算效率,并提出了一种轻量级特征提取器,在现代GPU上处理一张图像的时间不到一毫秒。然后,我们采用师生(student-teacher)方法来检测异常特征。我们训练一个学生网络来预测正常(即无异常)训练图像提取的特征。在测试时,由于学生网络无法预测异常图像的特征,从而实现了异常的检测。我们提出了一种训练损失,阻止学生网络在正常图像之外模仿教师特征提取器。这使我们能够大幅降低师生模型的计算成本,同时提高异常特征的检测能力。此外,我们还解决了具有挑战性的逻辑异常的检测问题,这些异常涉及正常局部特征的无效组合,例如物体顺序错误。我们通过高效地整合一个全局分析图像的自动编码器来检测这些异常。我们在来自三个工业异常检测数据集集合的32个数据集上评估了我们的方法,称为EfficientAD。EfficientAD为异常的检测和定位都树立了新的标准。在延迟为两毫秒、吞吐量为每秒六百张图像的情况下,它能够快速处理异常。加上其低错误率,这使其成为实际应用中经济高效的解决方案,并为未来研究奠定了富有成效的基础。

英文摘要:

Detecting anomalies in images is an important task, especially in real-time computer vision applications. In this work, we focus on computational efficiency and propose a lightweight feature extractor that processes an image in less than a millisecond on a modern GPU. We then use a student-teacher approach to detect anomalous features. We train a student network to predict the extracted features of normal, i.e., anomaly-free training images. The detection of anomalies at test time is enabled by the student failing to predict their features. We propose a training loss that hinders the student from imitating the teacher feature extractor beyond the normal images. It allows us to drastically reduce the computational cost of the student-teacher model, while improving the detection of anomalous features. We furthermore address the detection of challenging logical anomalies that involve invalid combinations of normal local features, for example, a wrong ordering of objects. We detect these anomalies by efficiently incorporating an autoencoder that analyzes images globally. We evaluate our method, called EfficientAD, on 32 datasets from three industrial anomaly detection dataset collections. EfficientAD sets new standards for both the detection and the localization of anomalies. At a latency of two milliseconds and a throughput of six hundred images per second, it enables a fast handling of anomalies. Together with its low error rate, this makes it an economical solution for real-world applications and a fruitful basis for future research.

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

↑