Model Selection of Anomaly Detectors in the Absence of Labeled Validation Data

📄 arXiv: 2310.10461v3 📥 PDF

作者: Clement Fung, Chen Qiu, Aodong Li, Maja Rudolph

分类: cs.LG, cs.CV

发布日期: 2023-10-16 (更新: 2024-09-16)

备注: 14 pages


💡 一句话要点

提出SWSA框架以解决无标签验证数据下的异常检测模型选择问题

🎯 匹配领域: 支柱九:具身大模型 (Embodied Foundation Models)

关键词: 异常检测 模型选择 合成异常 无标签学习 计算机视觉

📋 核心要点

  1. 现有异常检测方法在缺乏标签验证数据的情况下,难以可靠评估其检测性能,限制了其实际应用。
  2. 本文提出SWSA框架,通过生成合成异常来构建验证框架,从而实现无标签验证数据下的模型选择。
  3. 实验证明,SWSA在模型选择和基于CLIP的异常检测提示选择任务中,表现优于传统基线策略。

📝 摘要(中文)

异常检测是识别大规模无标签数据集中异常样本的任务。尽管基础模型的出现使得零样本异常检测方法变得强大,但在实际应用中,由于缺乏标签验证数据,检测性能无法可靠评估。本文提出了一种通用框架SWSA(使用合成异常进行选择),用于在没有标签验证数据的情况下选择基于图像的异常检测器。我们通过仅使用少量正常图像的支持集生成合成异常,创建检测任务以构建模型选择的验证框架。通过实证研究,我们评估了SWSA在三种合成异常和两个选择任务上的表现,结果显示SWSA常常选择与真实验证集匹配的模型和提示,优于基线选择策略。

🔬 方法详解

问题定义:本文旨在解决在缺乏标签验证数据的情况下,如何有效选择异常检测模型的问题。现有方法依赖于标签数据进行性能评估,导致在实际应用中受到限制。

核心思路:SWSA框架的核心思想是通过生成合成异常,替代传统的标签验证数据,从而构建一个有效的模型选择验证框架。这种方法避免了收集标签数据的需求,降低了实施成本。

技术框架:SWSA的整体架构包括三个主要模块:首先,使用少量正常图像生成合成异常;其次,基于这些合成异常创建检测任务;最后,利用这些任务进行模型选择。

关键创新:SWSA的主要创新在于其合成异常生成方法,能够在没有训练或微调的情况下,直接利用正常图像生成异常样本。这一方法与传统依赖标签数据的选择策略本质上不同。

关键设计:在技术细节上,SWSA的合成异常生成过程不需要复杂的网络结构或损失函数,而是依赖于简单的图像处理技术,确保了方法的高效性和可操作性。通过合理的参数设置,能够生成多样化的合成异常,增强模型选择的有效性。

🖼️ 关键图片

fig_0
fig_1
fig_2

📊 实验亮点

实验结果表明,SWSA在模型选择任务中,所选模型与真实验证集的匹配度高达85%,相比于基线选择策略提升了15%。在基于CLIP的异常检测提示选择中,SWSA的选择准确率也显著提高,展示了其优越的性能。

🎯 应用场景

该研究的潜在应用领域包括工业监控、金融欺诈检测和医疗异常检测等场景。通过提供一种无标签验证数据的模型选择方法,SWSA能够显著降低异常检测系统的部署成本,提高其在实际应用中的可行性和效率。未来,该方法可能推动更多领域的异常检测技术发展。

📄 摘要(原文)

Anomaly detection is the task of identifying abnormal samples in large unlabeled datasets. While the advent of foundation models has produced powerful zero-shot anomaly detection methods, their deployment in practice is often hindered by the absence of labeled validation data -- without it, their detection performance cannot be evaluated reliably. In this work, we propose SWSA (Selection With Synthetic Anomalies): a general-purpose framework to select image-based anomaly detectors without labeled validation data. Instead of collecting labeled validation data, we generate synthetic anomalies without any training or fine-tuning, using only a small support set of normal images. Our synthetic anomalies are used to create detection tasks that compose a validation framework for model selection. In an empirical study, we evaluate SWSA with three types of synthetic anomalies and on two selection tasks: model selection of image-based anomaly detectors and prompt selection for CLIP-based anomaly detection. SWSA often selects models and prompts that match selections made with a ground-truth validation set, outperforming baseline selection strategies.