Skip to main content
QUICK REVIEW

[论文解读] Towards Total Online Unsupervised Anomaly Detection and Localization in Industrial Vision

Han Gao, Huiyuan Luo|arXiv (Cornell University)|May 25, 2023
Anomaly Detection Techniques and ApplicationsComputer Science被引用 3
一句话总结

本文提出LeMO,一种用于工业视觉的完全在线无监督异常检测与定位方法,通过使用正交随机噪声初始化原型记忆库,消除了离线数据收集的需求。利用基于对比学习的损失函数,联合在线优化记忆与特征,LeMO在在线设置中达到最先进性能,并在离线和少样本场景中表现具有竞争力。

ABSTRACT

Although existing image anomaly detection methods yield impressive results, they are mostly an offline learning paradigm that requires excessive data pre-collection, limiting their adaptability in industrial scenarios with online streaming data. Online learning-based image anomaly detection methods are more compatible with industrial online streaming data but are rarely noticed. For the first time, this paper presents a fully online learning image anomaly detection method, namely LeMO, learning memory for online image anomaly detection. LeMO leverages learnable memory initialized with orthogonal random noise, eliminating the need for excessive data in memory initialization and circumventing the inefficiencies of offline data collection. Moreover, a contrastive learning-based loss function for anomaly detection is designed to enable online joint optimization of memory and image target-oriented features. The presented method is simple and highly effective. Extensive experiments demonstrate the superior performance of LeMO in the online setting. Additionally, in the offline setting, LeMO is also competitive with the current state-of-the-art methods and achieves excellent performance in few-shot scenarios.

研究动机与目标

  • 解决在数据收集耗时且内存占用高的动态工业环境中,离线异常检测方法的局限性。
  • 通过提出完全在线学习范式,克服现有方法的静态特性,实现实时流式数据处理。
  • 通过引入正交随机噪声进行记忆库初始化,消除对预先收集大规模正常样本的需求。
  • 通过基于对比学习的损失函数,实现记忆原型与图像特征的联合在线优化。
  • 在在线和离线设置中(包括少样本场景)均实现高性能,且计算开销极低。

提出的方法

  • 使用正交随机噪声而非离线数据收集或预训练特征,初始化原型记忆库。
  • 采用可学习记忆机制,在新图像持续流入时动态更新,实现对数据漂移的持续适应。
  • 设计基于对比学习的损失函数,联合优化记忆原型与图像级特征,以增强判别能力。
  • 采用解耦(QR分解)的随机噪声初始化,以提升记忆稳定性与特征表示质量。
  • 实施特征增强的记忆更新策略,在初始化条件较差时增强模型鲁棒性。
  • 采用轻量化主干网络,确保实时工业部署的效率,且具备向零参数训练进一步优化的潜力。

实验结果

研究问题

  • RQ1能否设计一种完全在线的无监督异常检测方法,在避免离线数据收集的同时保持高检测精度?
  • RQ2与传统数据驱动或单图初始化相比,正交随机噪声初始化在性能与稳定性方面表现如何?
  • RQ3对比学习在在线设置中,能在多大程度上实现记忆原型与图像特征的联合优化?
  • RQ4不同记忆更新策略对模型在数据漂移条件下的鲁棒性与检测性能有何影响?
  • RQ5所提方法能否在在线与离线设置中(包括少样本场景)均实现具有竞争力的性能?

主要发现

  • LeMO在MVTec AD数据集的在线设置中达到最高的I-AUROC 97.4%,优于采用随机噪声初始化的基线方法。
  • 解耦随机噪声初始化策略在MVTec AD上取得97.2%的I-AUROC,MPDD上为87.4%,VisA上为93.4%,性能与随机单图初始化相当或更优。
  • 特征增强的记忆更新策略在MPDD上相比无更新或基于学习的更新,在初始化较差时将I-AUROC提升10.7%,展现出强大鲁棒性。
  • LeMO在离线设置中保持了具有竞争力的性能,即使在极少量数据下也达到最先进水平,表明其在少样本场景中具备强大泛化能力。
  • 采用正交解耦特性的较小记忆库尺寸即可实现与SOTA方法相当的性能,显著降低内存占用。
  • 该方法实现了完全在线训练与推理,计算成本极低,极适合实时工业部署。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。