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

基于渐进调优的缺陷感知混合提示优化用于零样本多类型异常检测与分割

Defect-aware Hybrid Prompt Optimization via Progressive Tuning for Zero-Shot Multi-type Anomaly Detection and Segmentation

Corporate Research, Robert Bosch GmbH(罗伯特·博世集团企业研究部);Otto-von-Guericke-University(奥托·冯·格里克大学);Institute for Artificial Intelligence, University of Stuttgart(斯图加特大学人工智能研究所);Faculty of Computer Science, UniVie Doctoral School Computer Science, University of Vienna(维也纳大学计算机科学系);University of Southampton(南安普顿大学)

Nadeem Nazer, Hongkuan Zhou, Lavdim Halilaj, Ylli Sadikaj, Steffen Staab

AI总结:

提出DAPO框架,通过混合提示机制结合可读缺陷描述与可学习嵌入,对齐异常视觉特征与文本语义,在零样本多类型异常检测与分割任务中平均提升AUROC 3.6%和5.2%。

摘要:

最近的视觉语言模型(如CLIP)通过利用文本提示中的高级语义信息,在显著分布偏移下展现了令人印象深刻的异常检测性能。然而,这些模型常常忽略细粒度的缺陷线索,例如孔洞、切口或划痕,这些对于理解异常的本质至关重要。此外,图像和文本之间的模态差距可能导致微妙的视觉证据在文本描述中难以被捕捉。为了解决这一差距,我们通过结构化语义增强了“异常”的表示,弥合了粗粒度异常信号和细粒度缺陷类别之间的鸿沟。我们提出了一种混合提示机制,将缺陷类型的可读描述与可学习的标记嵌入相结合。基于这些想法,我们引入了DAPO,一个缺陷感知的提示优化框架,用于分布偏移下的零样本多类型和二元异常检测与分割。DAPO通过学习结合固定文本锚点和可训练标记嵌入的混合缺陷感知提示,将异常相关的视觉特征与其对应的文本语义对齐。我们在公共基准(MPDD、VisA、MVTec-AD、MAD和Real-IAD)以及一个内部数据集上进行了实验。结果表明,与基线模型相比,DAPO在分布偏移下图像级别的AUROC和平均精度指标上平均提升了3.6%,在零样本设置下定位新型异常类型时AUROC和F1平均提升了5.2%。

英文摘要:

Recent vision-language models (VLMs) like CLIP have shown impressive anomaly detection performance under significant distribution shift by utilizing high-level semantic information through text prompts. However, these models often overlook fine-grained defect cues, e.g., hole, cut, or scratch, that are essential for understanding the anomaly's nature. Moreover, the modality gap between images and text can lead to subtle visual evidence being poorly captured in textual descriptions. To address the gap, we enhance the representation of "abnormal" with structured semantics, bridging coarse anomaly signals and fine-grained defect categories. We propose a hybrid prompting mechanism that combines human-readable descriptions of defect types with learnable token embeddings. Building on these ideas, we introduce DAPO, a Defect-aware Prompt Optimization framework for zero-shot multi-type and binary anomaly detection and segmentation under distribution shift. DAPO aligns anomaly-relevant visual features with their corresponding textual semantics by learning hybrid defect-aware prompts that combine fixed textual anchors with trainable token embeddings. We conducted experiments on public benchmarks (MPDD, VisA, MVTec-AD, MAD, and Real-IAD) and an internal dataset. The results suggest that compared to the baseline models, DAPO achieves a 3.6% average improvement in AUROC and average precision metrics at the image level under distribution shift, and a 5.2% average improvement in AUROC and F1 when localizing novel anomaly types under zero-shot settings.

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

↑