cs.CVNov 22, 2026

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

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

Organizations: Shenzhen Campus of Sun Yat-sen University · Hunan University

Abstract

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.

Figures & tables

Explore similar work

CardsList
  1. Proximity-CLIP: Text-Guided Semantic Proximity Learning for Zero-Shot Anomaly Detection

    Sep 7, 2026Manwen Yang, Leqian Ding, Yu Guo +1VLM AdaptationAnomaly Localization

  2. VFAD: Variational Semantic Prompting Meets Frequency-Adaptive Representation Learning for Zero-Shot Anomaly Detection

    Jul 31, 2026Peng Chen, Kaige Li, Wei Wang +5VLM AdaptationFrequency-Domain Feature Learning

  3. FB-CLIP: Fine-Grained Zero-Shot Anomaly Detection with Foreground-Background Disentanglement

    Mar 20, 2026Ming Hu, Yongsheng Huo, Mingyu Dou +6Zero-Shot Anomaly DetectionAnomaly Detection