TIPS Over Tricks: 简单提示用于有效的零样本异常检测
TIPS Over Tricks: Simple Prompts for Effective Zero-shot Anomaly Detection
AI总结:
本文提出TIPS模型,通过改进的backbone和解耦提示策略,在无需复杂模块的情况下提升零样本异常检测的图像和像素级性能。
摘要:
异常检测在安全关键场景中识别预期行为的偏离。当目标领域正常数据不可用时,零样本异常检测(ZSAD)利用视觉语言模型(VLMs)。然而,CLIP的粗略图像-文本对齐限制了定位和检测,因为(i)空间错位和(ii)对细粒度异常的敏感性不足;先前的工作通过复杂的辅助模块进行补偿,但大多忽略了backbone的选择。我们重新审视backbone,并使用TIPS-a通过空间感知目标训练的VLM。虽然TIPS缓解了CLIP的问题,但它暴露了全局和局部特征之间的分布差距。我们通过解耦提示-固定于图像级检测和可学习于像素级定位-以及通过将局部证据注入全局分数来解决这个问题。在不使用CLIP特定技巧的情况下,我们的TIPS-based流程在七个工业数据集上将图像级性能提高1.1-3.9%,像素级提高1.5-6.9%,通过轻量级架构实现强大的泛化能力。代码可在github.com/AlirezaSalehy/Tipsomaly获取。
英文摘要:
Anomaly detection identifies departures from expected behavior in safety-critical settings. When target-domain normal data are unavailable, zero-shot anomaly detection (ZSAD) leverages vision-language models (VLMs). However, CLIP's coarse image-text alignment limits both localization and detection due to (i) spatial misalignment and (ii) weak sensitivity to fine-grained anomalies; prior works compensate with complex auxiliary modules yet largely overlook the choice of backbone. We revisit the backbone and use TIPS-a VLM trained with spatially aware objectives. While TIPS alleviates CLIP's issues, it exposes a distributional gap between global and local features. We address this with decoupled prompts-fixed for image-level detection and learnable for pixel-level localization-and by injecting local evidence into the global score. Without CLIP-specific tricks, our TIPS-based pipeline improves image-level performance by 1.1-3.9% and pixel-level by 1.5-6.9% across seven industrial datasets, delivering strong generalization with a lean architecture. Code is available at github.com/AlirezaSalehy/Tipsomaly.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。