利用正常和异常样本共同学习通用异常特征,提升少样本异常检测泛化能力。
Beyond Normal References: Discriminative Few-Shot Anomaly Detection

- 通过消除正常变化噪声,提取异常相关偏差特征
- 在8个真实数据集上优于现有方法,对未见异常也有效
- 适合需要高泛化能力的工业缺陷检测场景
本文研究一种实用的少样本异常检测(FSAD)设置——判别性FSAD,即推理时仅提供少量正常和异常样本作为参考。现有方法仅依赖正常样本进行正则匹配,忽略了异常样本中的判别信息;而直接拟合两类样本又易过拟合已见异常。为此,我们提出IDEAL框架,通过同时利用两类参考样本学习可泛化的异常偏差模式。IDEAL包含两个新组件:1)正常变异擦除器,用于抑制干扰性的正常变化,突出与异常相关的偏差表征;2)内在偏差编码器,将去噪后的偏差表征分解为最具判别力的正交偏差方向向量。推理时,通过投影到学习到的内在偏差向量上,计算查询样本与正常样本的偏差得分,实现对已见及未见异常的有效泛化。在8个真实世界数据集上的实验表明,IDEAL在未见异常上具有优异泛化性能,持续超越现有最先进方法。代码与数据将在https://github.com/mala-lab/IDEAL发布。
原文摘要 · Abstract (English)
This paper considers a practical few-shot anomaly detection (FSAD) setting, termed discriminative FSAD, where a limited number of both normal and anomalous examples are available as references during inference. Existing FSAD methods rely on normal-only references through normality matching, ignoring the discriminative clues in anomalous references, while directly fitting both references can overfit to the seen anomalies. We introduce IDEAL, an intrinsic deviation learning framework that leverages both reference types to learn intrinsic deviation patterns characterizing generalizable abnormality as deviations from normality. IDEAL decomposes the learning process into two novel components: 1) a Normal Variation Eraser to suppress nuisance normal variations that may lead to noisy deviations from normality, thereby highlighting anomaly-relevant deviation representations; 2) an Intrinsic Deviation Encoder to decompose these denoised deviation representations into intrinsic deviation vectors capturing the most discriminative orthogonal deviation directions. At inference, IDEAL scores query-to-normal deviations preserved after projection onto the learned intrinsic deviation vectors, enabling generalization for both seen and unseen anomalies. Extensive experiments on eight real-world datasets show that IDEAL generalizes effectively to unseen anomalies and consistently outperforms existing state-of-the-art FSAD methods. Code and data will be available at \href{https://github.com/mala-lab/IDEAL}{https://github.com/mala-lab/IDEAL}.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。