arXiv:2412.20870cs.CV2024-12中稿 · Pattern Recognitio…被引 25

提出新方法在含噪数据下实现无监督异常检测,适合工业实际场景。

SoftPatch+: Fully Unsupervised Anomaly Classification and Segmentation

  • 用记忆机制和噪声判别器在图像块层面自动去噪,提升模型鲁棒性。
  • 在10%~40%噪声下仍保持领先性能,优于现有最先进方法。
  • 特别适合高噪声工业质检场景,无需标注即可部署。

主流无监督异常检测(包括图像级分类与像素级分割)在学术数据集上表现良好,但在真实应用中受限于理想干净训练数据的假设。实际场景中噪声数据不可避免,但鲜有研究关注。本文首次提出完全无监督工业异常检测框架(即含噪数据下的无监督异常检测)。提出基于记忆的SoftPatch与SoftPatch+方法,在块级别高效去噪。通过噪声判别器生成块级异常分数,用于剔除噪声并构建核心集前的预处理;分数存入内存库以软化异常边界。相比现有方法,SoftPatch保持正常数据强建模能力,缓解核心集过自信问题;SoftPatch+更具鲁棒性,尤其在噪声比例10%至40%的真实工业检测场景中表现优异。在MVTecAD、ViSA和BTAD多个基准上,全面实验验证其性能超越当前最优方法。且在无噪声设定下,表现接近传统无监督方法。代码已开源:https://github.com/TencentYoutuResearch/AnomalyDetection-SoftPatch。

原文摘要 · Abstract (English)

Although mainstream unsupervised anomaly detection (AD) (including image-level classification and pixel-level segmentation)algorithms perform well in academic datasets, their performance is limited in practical application due to the ideal experimental setting of clean training data. Training with noisy data is an inevitable problem in real-world anomaly detection but is seldom discussed. This paper is the first to consider fully unsupervised industrial anomaly detection (i.e., unsupervised AD with noisy data). To solve this problem, we proposed memory-based unsupervised AD methods, SoftPatch and SoftPatch+, which efficiently denoise the data at the patch level. Noise discriminators are utilized to generate outlier scores for patch-level noise elimination before coreset construction. The scores are then stored in the memory bank to soften the anomaly detection boundary. Compared with existing methods, SoftPatch maintains a strong modeling ability of normal data and alleviates the overconfidence problem in coreset, and SoftPatch+ has more robust performance which is articularly useful in real-world industrial inspection scenarios with high levels of noise (from 10% to 40%). Comprehensive experiments conducted in diverse noise scenarios demonstrate that both SoftPatch and SoftPatch+ outperform the state-of-the-art AD methods on the MVTecAD, ViSA, and BTAD benchmarks. Furthermore, the performance of SoftPatch and SoftPatch+ is comparable to that of the noise-free methods in conventional unsupervised AD setting. The code of the proposed methods can be found at https://github.com/TencentYoutuResearch/AnomalyDetection-SoftPatch.

异常检测无监督工业质检去噪

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。