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

Peng Chen, Chao Huang, Wenqiang Wang, Mingbo Yang, Yannan Chen +4 more
11/22/2026
cs.CVcs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2026scraclip,
  title  = {SCRA-CLIP: Spherical-Contextual Representation Adaptation for Zero-Shot Anomaly Detection},
  author = {Peng Chen and Chao Huang and Wenqiang Wang and Mingbo Yang and Yannan Chen and Yunkang Cao and Wei Wang and Li Shen and Fangjun Huang},
  year   = {2026},
  eprint = {2611.29545},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.29545v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.29545.svg)](https://codeofpaper.com/paper/2611.29545)

Discussion