arXiv:2510.00495cs.CVcs.AI2025-10NeurIPS被引 15

用正常和异常样本共同指导跨域异常检测,提升精度。

Normal-Abnormal Guided Generalist Anomaly Detection

  • 结合正常与异常样本作为参考,构建可迁移的异常表征
  • 在多个基准上显著优于现有通用异常检测方法
  • 适合需要真实场景多类型样本的工业异常检测应用

通用异常检测(GAD)旨在通过原始领域训练统一模型,以检测新目标领域的异常。以往方法仅使用正常样本作为参考,忽略了实际场景中常存在的异常样本所蕴含的有价值信息。为此,我们提出一种更贴近现实的方法:正常-异常引导的通用异常检测,利用正常与异常样本共同作为参考,指导跨域异常检测。我们引入正常-异常通用学习(NAGL)框架,包含两个关键组件:残差挖掘(RM)与异常特征学习(AFL)。RM从正常-异常参考残差中提取异常模式,建立可迁移的异常表征;AFL通过残差映射自适应学习查询图像中的异常特征,实现实例级异常识别。该方法有效利用正常与异常参考样本,实现更准确高效的跨域异常检测。在多个基准上的大量实验表明,本方法显著优于现有GAD方法。这是首个在通用异常检测中采用正常与异常样本混合作为参考的工作。代码与数据集见:https://github.com/JasonKyng/NAGL。

原文摘要 · Abstract (English)

Generalist Anomaly Detection (GAD) aims to train a unified model on an original domain that can detect anomalies in new target domains. Previous GAD methods primarily use only normal samples as references, overlooking the valuable information contained in anomalous samples that are often available in real-world scenarios. To address this limitation, we propose a more practical approach: normal-abnormal-guided generalist anomaly detection, which leverages both normal and anomalous samples as references to guide anomaly detection across diverse domains. We introduce the Normal-Abnormal Generalist Learning (NAGL) framework, consisting of two key components: Residual Mining (RM) and Anomaly Feature Learning (AFL). RM extracts abnormal patterns from normal-abnormal reference residuals to establish transferable anomaly representations, while AFL adaptively learns anomaly features in query images through residual mapping to identify instance-aware anomalies. Our approach effectively utilizes both normal and anomalous references for more accurate and efficient cross-domain anomaly detection. Extensive experiments across multiple benchmarks demonstrate that our method significantly outperforms existing GAD approaches. This work represents the first to adopt a mixture of normal and abnormal samples as references in generalist anomaly detection. The code and datasets are available at https://github.com/JasonKyng/NAGL.

异常检测跨域通用模型

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