arXiv:2411.16110cs.LGcs.CV2024-11中稿 · WACV 2025被引 18

无需标签也能检测异常,还能应对数据污染。

FUN-AD: Fully Unsupervised Learning for Anomaly Detection with Noisy Training Data

  • 用迭代记忆库构建伪标签,自动区分正常与异常样本。
  • 在两个工业数据集上准确率超现有方法,异常比率达1:10仍有效。
  • 适合标注困难、数据有噪声的工业场景,尤其新产线部署。

主流异常检测多基于单类分类,但工业环境常因标注错误或缺乏标签导致训练数据含噪。为此,我们提出一种完全无监督的异常检测方法,可处理未标注且可能被污染的训练数据。该方法基于两点观察:其一,正常样本间的特征距离平均小于异常或异质样本;其二,彼此最近的特征对更可能是同质对,前提是正常数据方差较小。利用第一点,我们设计了迭代重构记忆库(IRMB)的伪标签策略,以识别可信正常样本;第二点则转化为新损失函数,强化互近特征对的类别一致性,缓解任务的病态性。在两个公开工业异常检测基准及语义异常示例上验证,FUN-AD在不同场景和异常/正常比例下均表现优异。代码已开源。

原文摘要 · Abstract (English)

While the mainstream research in anomaly detection has mainly followed the one-class classification, practical industrial environments often incur noisy training data due to annotation errors or lack of labels for new or refurbished products. To address these issues, we propose a novel learning-based approach for fully unsupervised anomaly detection with unlabeled and potentially contaminated training data. Our method is motivated by two observations, that i) the pairwise feature distances between the normal samples are on average likely to be smaller than those between the anomaly samples or heterogeneous samples and ii) pairs of features mutually closest to each other are likely to be homogeneous pairs, which hold if the normal data has smaller variance than the anomaly data. Building on the first observation that nearest-neighbor distances can distinguish between confident normal samples and anomalies, we propose a pseudo-labeling strategy using an iteratively reconstructed memory bank (IRMB). The second observation is utilized as a new loss function to promote class-homogeneity between mutually closest pairs thereby reducing the ill-posedness of the task. Experimental results on two public industrial anomaly benchmarks and semantic anomaly examples validate the effectiveness of FUN-AD across different scenarios and anomaly-to-normal ratios. Our code is available at https://github.com/HY-Vision-Lab/FUNAD.

异常检测无监督学习工业质检

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