arXiv:2602.19611cs.CV2026-02被引 2

用检索增强方法抑制噪声,提升异常检测精度

RAID: Retrieval-Augmented Anomaly Detection

  • 从分层向量库中检索多层级正常样本,构建粗到细的匹配流程
  • 通过引导式专家混合网络,自适应抑制匹配噪声,生成精细异常图
  • 在多个数据集上表现领先,尤其适合少样本和跨数据集场景

无监督异常检测旨在通过测试图像与正常模板间的对应关系识别异常区域。现有方法主要依赖图像重建或模板检索,但存在固有挑战:测试图像与正常模板之间的匹配会因类内差异、对应不准确和模板有限而引入噪声。观察到检索增强生成(RAG)将检索样本直接用于生成过程,我们以此视角重新思考无监督异常检测,提出 extbf{RAID}——一种抗噪声的检索增强异常检测框架。RAID从分层向量数据库中检索类别级、语义级和实例级表示,形成由粗到精的处理流程。通过匹配代价体关联输入与检索样例,再经由引导式混合专家(MoE)网络,利用检索样本自适应抑制匹配噪声,生成细粒度异常图。RAID在MVTec、VisA、MPDD和BTAD基准上,在全样本、少样本及多数据集设置下均达到领先性能。

原文摘要 · Abstract (English)

Unsupervised Anomaly Detection (UAD) aims to identify abnormal regions by establishing correspondences between test images and normal templates. Existing methods primarily rely on image reconstruction or template retrieval but face a fundamental challenge: matching between test images and normal templates inevitably introduces noise due to intra-class variations, imperfect correspondences, and limited templates. Observing that Retrieval-Augmented Generation (RAG) leverages retrieved samples directly in the generation process, we reinterpret UAD through this lens and introduce \textbf{RAID}, a retrieval-augmented UAD framework designed for noise-resilient anomaly detection and localization. Unlike standard RAG that enriches context or knowledge, we focus on using retrieved normal samples to guide noise suppression in anomaly map generation. RAID retrieves class-, semantic-, and instance-level representations from a hierarchical vector database, forming a coarse-to-fine pipeline. A matching cost volume correlates the input with retrieved exemplars, followed by a guided Mixture-of-Experts (MoE) network that leverages the retrieved samples to adaptively suppress matching noise and produce fine-grained anomaly maps. RAID achieves state-of-the-art performance across full-shot, few-shot, and multi-dataset settings on MVTec, VisA, MPDD, and BTAD benchmarks. \href{https://github.com/Mingxiu-Cai/RAID}{https://github.com/Mingxiu-Cai/RAID}.

异常检测检索增强无监督学习

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