GlocalCLIP: Object-agnostic Global-Local Prompt Learning for Zero-shot Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
Zero-shot anomaly detection (ZSAD) is crucial for detecting anomalous patterns in target datasets without using training samples, specifically in scenarios where there are distributional differences between the target domain and training data or where data scarcity arises because of restricted access. Although recently pretrained vision-language models demonstrate strong zero-shot performance across various visual tasks, they focus on learning class semantics, which makes their direct application to ZSAD challenging. To address this scenario, we propose GlocalCLIP, which uniquely separates global and local prompts and jointly optimizes them. This approach enables the object-agnostic glocal semantic prompt to effectively capture general normal and anomalous patterns without dependency on specific objects in the image. We refine the text prompts for more precise adjustments by utilizing deep-text prompt tuning in the text encoder. In the vision encoder, we apply V-V attention layers to capture detailed local image features. Finally, we introduce glocal contrastive learning to improve the complementary learning of global and local prompts, effectively detecting anomalous patterns across various domains. The generalization performance of GlocalCLIP in ZSAD was demonstrated on 15 real-world datasets from both the industrial and medical domains, achieving superior performance compared to existing methods. Code will be made available at https://github.com/YUL-git/GlocalCLIP.
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 33 of its 46 references that are in the map. First posted on arXiv 9 Nov 2024.
Builds on
33 of 46 references.
References · 33
- 2017Attention Is All You Needcited by 60,106
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,588
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,043
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,141
- 2021Learning to Prompt for Vision-Language Modelscited by 2,276
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,431
- 2023Vision-Language Models for Vision Tasks: A Surveycited by 837
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 774
- 2021FILIP: Fine-grained Interactive Language-Image Pre-Trainingcited by 627
- 2019Kvasir-SEG: A Segmented Polyp Datasetcited by 588
- 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 511
- 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 399
21 more
- 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
- 2022Expanding Language-Image Pretrained Models for General Video Recognitioncited by 320
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 314
- 2020Multiresolution Knowledge Distillation for Anomaly Detectioncited by 285
- 2023AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detectioncited by 271
- 2023SimpleNet: A Simple Network for Image Anomaly Detection and Localizationcited by 256
- 2023CLIP-Driven Universal Model for Organ Segmentation and Tumor Detectioncited by 224
- 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 222
- 2016Skin Lesion Analysis toward Melanoma Detection: A Challenge at the International Symposium on Biomedical Imaging (ISBI) 2016, hosted by the International Skin Imaging Collaboration (ISIC)cited by 197
- 2019Dice Loss for Data-imbalanced NLP Taskscited by 181
- 2023EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latenciescited by 158
- 2019Segmentation-Based Deep-Learning Approach for Surface-Defect Detectioncited by 145
- 2020Learning and Evaluating Representations for Deep One-class Classificationcited by 133
- 2023RoboCLIP: One Demonstration is Enough to Learn Robot Policiescited by 129
- 2024AdaCLIP: Adapting CLIP with Hybrid Learnable Prompts for Zero-Shot Anomaly Detectioncited by 127
- 2022CALIP: Zero-Shot Enhancement of CLIP with Parameter-free Attentioncited by 103
- 2024PromptAD: Learning Prompts with only Normal Samples for Few-Shot Anomaly Detectioncited by 98
- 2023Pushing the Limits of Fewshot Anomaly Detection in Industry Vision: Graphcorecited by 75
- 2023CLIP-AD: A Language-Guided Staged Dual-Path Model for Zero-shot Anomaly Detectioncited by 58
- 2022CLIPPO: Image-and-Language Understanding from Pixels Onlycited by 54
- 2023HiCLIP: Contrastive Language-Image Pretraining with Hierarchy-aware Attentioncited by 44
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025PromptMoE: Generalizable Zero-Shot Anomaly Detection via Visually-Guided Prompt Mixtures
- 2026VisualAD: Language-Free Zero-Shot Anomaly Detection via Vision Transformer
- 2026TIPS Over Tricks: Simple Prompts for Effective Zero-shot Anomaly Detection
- 2026WMoE-CLIP: Wavelet-Enhanced Mixture-of-Experts Prompt Learning for Zero-Shot Anomaly Detection
- 2026MRAD: Zero-Shot Anomaly Detection with Memory-Driven Retrieval
- 2025KAnoCLIP: Zero-Shot Anomaly Detection through Knowledge-Driven Prompt Learning and Enhanced Cross-Modal Integration
- 2025CoPS: Conditional Prompt Synthesis for Zero-Shot Anomaly Detection
- 2025Towards Zero-Shot Anomaly Detection and Reasoning with Multimodal Large Language Models