arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.29545cs.CVcs.AI
收藏

SCRA-CLIP:用于零样本异常检测的球形上下文表示适配

SCRA-CLIP: Spherical-Contextual Representation Adaptation for Zero-Shot Anomaly Detection

Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区);Hunan University(湖南大学)

Peng Chen, Chao Huang, Wenqiang Wang, Mingbo Yang, Yannan Chen, Yunkang Cao, Wei Wang, Li Shen, Fangjun Huang

AI总结:

本文提出SCRA-CLIP框架,通过SPCP和CGVA技术增强跨模态匹配,在11个工业与医学基准上验证了其零样本异常检测的有效性与泛化能力。

摘要:

视觉语言模型的最新进展通过可迁移的视觉语义表示推动了零样本异常检测(ZSAD),但由于对多样异常模式及其空间上下文的建模不足,细粒度异常检测仍具挑战性。为解决这些问题,本文提出SCRA-CLIP,一种球形上下文表示适配框架,可同时增强异常感知的文本语义和上下文敏感的视觉表示。具体而言,本文引入球形原型条件提示(SPCP),采用冯·米塞斯-费希尔混合模型对正常与异常 patch 特征的方向分布进行建模,将这些状态特定原型融入文本上下文以指导更具判别性的文本表示学习。此外,本文开发上下文偏差引导的视觉适配(CGVA),捕捉局部特征相对于多尺度邻域上下文的偏差,并通过自适应门控优化 patch 表示。通过将分布感知语义建模与上下文敏感视觉适配相结合,SCRA-CLIP 为细粒度异常检测与定位提供更具判别性的跨模态匹配。在11个工业和医学基准上开展的大量实验表明,SCRA-CLIP 在多样未见过的类别与领域中具有有效性和泛化能力,代码将在发表后公开。

英文摘要:

Recent advances in vision-language models have facilitated zero-shot anomaly detection (ZSAD) through transferable visual-semantic representations. However, detecting fine-grained anomalies remains challenging due to inadequate modeling of diverse anomaly patterns and their spatial context. To address these challenges, we propose SCRA-CLIP, a Spherical-Contextual Representation Adaptation framework that jointly enhances anomaly-aware textual semantics and context-sensitive visual representations. Specifically, we introduce Spherical Prototype-Conditioned Prompting (SPCP), which employs von Mises--Fisher mixtures to model the directional distributions of normal and abnormal patch features. These state-specific prototypes are incorporated into textual contexts to guide the learning of more discriminative textual representations. Furthermore, we develop Context-Deviation Guided Visual Adaptation (CGVA), which captures local feature deviations relative to multi-scale neighborhood contexts and refines patch representations through adaptive gating. By integrating distribution-aware semantic modeling with context-sensitive visual adaptation, SCRA-CLIP facilitates more discriminative cross-modal matching for fine-grained anomaly detection and localization. Extensive experiments on 11 industrial and medical benchmarks demonstrate the effectiveness and generalization capability of SCRA-CLIP across diverse unseen categories and domains. The code will be publicly available upon publication.

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

↑