arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.19145cs.CV
收藏

一种SAM引导的双流轻量级异常检测模型

A SAM-guided Two-stream Lightweight Model for Anomaly Detection

Southeast University(东南大学)

Chenghao Li, Lei Qi, Xin Geng

AI总结:

本文提出SAM引导的双流轻量级无监督异常检测模型STLM,通过双流特征表示与重建增强异常判别,在MVTec AD上以约16M参数和20ms推理时间取得98.26%像素级AUC和94.92% PRO,并在VisA和DAGM上验证了有效性。

摘要:

在工业异常检测中,模型效率和移动端友好性成为实际应用中的首要关注点。同时,Segment Anything(SAM)卓越的泛化能力引起了广泛的学术关注,使其成为定位未见异常和多样化真实世界模式的理想选择。在本文中,考虑到这两个关键因素,我们提出了一种SAM引导的双流轻量级无监督异常检测模型(STLM),该模型不仅符合上述两个实际应用需求,而且充分利用了SAM强大的泛化能力。我们采用两个轻量级图像编码器,即我们的双流轻量级模块,并由SAM的知识进行引导。具体而言,一个流被训练用于在正常和异常区域中生成具有判别性和通用性的特征表示,而另一个流则重建没有异常的相同图像,这有效增强了面对异常区域时双流表示的差异性。此外,我们采用一个共享掩码解码器和一个特征聚合模块来生成异常图。我们在MVTec AD基准上进行的实验表明,STLM具有约16M参数,推理时间在20ms以内,在性能上与最先进的方法有效竞争,像素级AUC达到98.26%,PRO达到94.92%。我们进一步在更具挑战性的数据集(如VisA和DAGM)上进行实验,以证明STLM的有效性和泛化能力。

英文摘要:

In industrial anomaly detection, model efficiency and mobile-friendliness become the primary concerns in real-world applications. Simultaneously, the impressive generalization capabilities of Segment Anything (SAM) have garnered broad academic attention, making it an ideal choice for localizing unseen anomalies and diverse real-world patterns. In this paper, considering these two critical factors, we propose a SAM-guided Two-stream Lightweight Model for unsupervised anomaly detection (STLM) that not only aligns with the two practical application requirements but also harnesses the robust generalization capabilities of SAM. We employ two lightweight image encoders, i.e., our two-stream lightweight module, guided by SAM's knowledge. To be specific, one stream is trained to generate discriminative and general feature representations in both normal and anomalous regions, while the other stream reconstructs the same images without anomalies, which effectively enhances the differentiation of two-stream representations when facing anomalous regions. Furthermore, we employ a shared mask decoder and a feature aggregation module to generate anomaly maps. Our experiments conducted on MVTec AD benchmark show that STLM, with about 16M parameters and achieving an inference time in 20ms, competes effectively with state-of-the-art methods in terms of performance, 98.26% on pixel-level AUC and 94.92% on PRO. We further experiment on more difficult datasets, e.g., VisA and DAGM, to demonstrate the effectiveness and generalizability of STLM.

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

↑