arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.05552cs.CV
收藏

一种语言无关的基础模型足以实现通用视觉异常检测

One Language-Free Foundation Model Is Enough for Universal Vision Anomaly Detection

Tencent YouTu Lab(腾讯优图实验室)

Bin-Bin Gao, Chengjie Wang

AI总结:

本文提出了一种简单、通用且有效的通用视觉异常检测框架UniADet,通过解耦分类和分割任务,实现了对多种基础模型的适应,并在多个实际应用场景中表现出色。

摘要:

通用视觉异常检测(AD)旨在识别异常图像并分割异常区域,以应对开放和动态场景,遵循零样本和少样本范式,无需任何数据集特定的微调。我们近期在视觉-语言基础模型的广泛应用中取得了显著进展。然而,当前方法往往在复杂的提示工程、复杂的适应模块和具有挑战性的训练策略上遇到困难,最终限制了它们的灵活性和通用性。为了解决这些问题,本文重新思考了视觉-语言模型在AD中的基本机制,并提出了一种 embarrassingly简单、通用且有效的通用视觉异常检测(UniADet)框架。具体来说,我们首先发现语言编码器用于推导异常分类和分割的决策权重,并证明对于通用AD来说并不必要。其次,我们提出了一种 embarrassingly简单的方法,完全解耦分类和分割,并解耦跨层特征,即学习不同任务和层次特征的独立权重。UniADet 非常简单(仅学习解耦的权重)、参数高效(仅有0.002M可学习参数)、通用(适应各种基础模型)且有效(在14个真实世界AD基准测试中超越了最先进的零样本/少样本方法,并首次超越了全样本AD方法)涵盖了工业和医疗领域。我们将提供UniADet的代码和模型在https://github.com/gaobb/UniADet。

英文摘要:

Universal visual anomaly detection (AD) aims to identify anomaly images and segment anomaly regions towards open and dynamic scenarios, following zero- and few-shot paradigms without any dataset-specific fine-tuning. We have witnessed significant progress in widely use of visual-language foundational models in recent approaches. However, current methods often struggle with complex prompt engineering, elaborate adaptation modules, and challenging training strategies, ultimately limiting their flexibility and generality. To address these issues, this paper rethinks the fundamental mechanism behind visual-language models for AD and presents an embarrassingly simple, general, and effective framework for Universal vision Anomaly Detection (UniADet). Specifically, we first find language encoder is used to derive decision weights for anomaly classification and segmentation, and then demonstrate that it is unnecessary for universal AD. Second, we propose an embarrassingly simple method to completely decouple classification and segmentation, and decouple cross-level features, i.e., learning independent weights for different tasks and hierarchical features. UniADet is highly simple (learning only decoupled weights), parameter-efficient (only 0.002M learnable parameters), general (adapting a variety of foundation models), and effective (surpassing state-of-the-art zero-/few-shot by a large margin and even full-shot AD methods for the first time) on 14 real-world AD benchmarks covering both industrial and medical domains. We will make the code and model of UniADet available at https://github.com/gaobb/UniADet.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑