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

工业异常检测中的难正常样本感知模板互匹配

Hard-normal Example-aware Template Mutual Matching for Industrial Anomaly Detection

School of Computer Science and Engineering, Sun Yat-sen University(中山大学计算机科学与工程学院);Guangdong Province Key Laboratory of Information Security Technology(广东省信息安全技术重点实验室);Key Laboratory of Machine Intelligence and Advanced Computing, Ministry of Education(机器智能与先进计算教育部重点实验室)

Zixuan Chen, Xiaohua Xie, Lingxiao Yang, Jianhuang Lai

AI总结:

针对工业异常检测中难正常样本易被误判为异常的问题,提出HETMM框架,通过仿射不变模板互匹配(ATMM)和模板压缩(PTS)构建鲁棒决策边界,提升检测精度并实现实时推理与热更新。

摘要:

异常检测器在工业制造中被广泛用于检测和定位查询图像中的未知缺陷,这类检测器基于无异常样本训练,已成功区分异常与多数正常样本。然而,难正常样本分散且与多数正常样本差异大,常被现有方法误判为异常。为此,我们提出难正常样本感知模板互匹配(HETMM)框架,构建鲁棒的基于原型的决策边界。具体而言,HETMM采用仿射不变模板互匹配(ATMM)缓解仿射变换和易正常样本的影响,通过在查询与模板集的 patch 级搜索空间内互匹配像素级原型,准确区分难正常样本与异常,降低误报和漏检率。此外,我们提出 PTS 压缩原始模板集以加速,PTS 选择聚类中心和难正常样本保留原决策边界,使小模板集性能与原集相当。大量实验表明,HETMM 优于现有方法,使用 60 张图像的小模板集在 Quadro 8000 RTX GPU 上实现竞争性性能和实时推理速度(约 26.1 FPS);HETMM 无需训练,可通过直接插入新样本热更新,解决工业制造中的增量学习问题。

英文摘要:

Anomaly detectors are widely used in industrial manufacturing to detect and localize unknown defects in query images. These detectors are trained on anomaly-free samples and have successfully distinguished anomalies from most normal samples. However, hard-normal examples are scattered and far apart from most normal samples, and thus they are often mistaken for anomalies by existing methods. To address this issue, we propose Hard-normal Example-aware Template Mutual Matching (HETMM), an efficient framework to build a robust prototype-based decision boundary. Specifically, HETMM employs the proposed Affine-invariant Template Mutual Matching (ATMM) to mitigate the affection brought by the affine transformations and easy-normal examples. By mutually matching the pixel-level prototypes within the patch-level search spaces between query and template set, ATMM can accurately distinguish between hard-normal examples and anomalies, achieving low false-positive and missed-detection rates. In addition, we also propose PTS to compress the original template set for speed-up. PTS selects cluster centres and hard-normal examples to preserve the original decision boundary, allowing this tiny set to achieve comparable performance to the original one. Extensive experiments demonstrate that HETMM outperforms state-of-the-art methods, while using a 60-sheet tiny set can achieve competitive performance and real-time inference speed (around 26.1 FPS) on a Quadro 8000 RTX GPU. HETMM is training-free and can be hot-updated by directly inserting novel samples into the template set, which can promptly address some incremental learning issues in industrial manufacturing.

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

↑