SCRA-CLIP: Spherical-Contextual Representation Adaptation for Zero-Shot Anomaly Detection
Peng Chen, Chao Huang, Wenqiang Wang, Mingbo Yang, Yannan Chen, Yunkang Cao, Wei Wang, Li Shen, Fangjun Huang
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.
Create a lesson
Related papers
CLASP: Complementary Layer Selection and Profiling for Zero-Shot OOD Detection using Vision-Language Models
Shared title terminology · Saahil Islam, Adarsh Bhandary Panambur, Teodora Spasojevic et al.
Elicitation format changes zero-shot classification accuracy in a medical vision-language model: a two-center evaluation on colorectal histopathology
Shared title terminology · Anay Sinhal, Amit Sinhal, Arpana Sinhal
Inspect Before You Decide: Evidence-Guided Visual Search for Industrial Anomaly Detection
Shared title terminology · Peng Chen, Chao Huang, Yangyang Liu et al.
Align the Pair, Not the Sample: Representation Alignment for Faster and Better One-Step Generato
Shared title terminology · Mingxiao Li, Xuantuo Huang, Encheng Su et al.
STAGE: Structured Test-Time Adaptation with Global Entropic Soft-coupling for Cross-Subject Brain-to-Image Retrieval
Shared title terminology · Yihang Zou, Ruixi Liang, Chunmei Qing et al.
A colour-marker tracker for pose estimation of slender surgical instruments: vision-language-model-guided adaptive colour calibration
Shared title terminology · Jaesung Hong, Dong Won Lee